Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. diff -r b46587623486 doc/mkdoc.py
  2. --- a/doc/mkdoc.py Tue Feb 08 18:41:02 2011 +0100
  3. +++ b/doc/mkdoc.py Tue Feb 08 20:32:08 2011 +0100
  4. @@ -84,9 +84,9 @@
  5. labelhack("userguide.rst")
  6. #os.system("pandoc -f rst -t latex -o userguide-body.tex userguide.rst")
  7. os.system("rst2latex.py userguide.rst --output-encoding=utf8 --template=ug-template.tex > UserGuide.tex")
  8. -os.system(r"sed -i 's/\\{\\{clr\\}\\}//g' UserGuide.tex")
  9. -os.system(r"sed -i 's/⬜/$\\square$/g' UserGuide.tex")
  10. -os.system(r"sed -i 's/\\addcontentsline{toc}{section}{Features}//g' UserGuide.tex")
  11. +os.system(r"sed -i -e 's/\\{\\{clr\\}\\}//g' UserGuide.tex")
  12. +os.system(r"sed -i -e 's/⬜/$\\square$/g' UserGuide.tex")
  13. +os.system(r"sed -i -e 's/\\addcontentsline{toc}{section}{Features}//g' UserGuide.tex")
  14. os.system("pdflatex UserGuide.tex")
  15. os.system("pdflatex UserGuide.tex")
  16. #os.system(r"sed -i 's/\\{\\{clr\\}\\}//g' userguide-body.tex")
  17. @@ -101,7 +101,7 @@
  18. fixwikilinks("INSTALL.rst")
  19. os.system("pandoc -f rst -t latex -o install-body.tex INSTALL.rst")
  20. os.system("rst2latex.py INSTALL.rst --output-encoding=utf8 --template=ins-template.tex > INSTALL.tex")
  21. -os.system(r"sed -i 's/\\{\\{clr\\}\\}//g' INSTALL.tex")
  22. +os.system(r"sed -i -e 's/\\{\\{clr\\}\\}//g' INSTALL.tex")
  23. os.system("pdflatex INSTALL.tex")
  24. os.system("pdflatex INSTALL.tex")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement