texworks-0.3-ptex-vine.patch 1.3 KB

123456789101112131415161718192021222324
  1. diff -up texworks-0.3/src/TWApp.cpp\~ texworks-0.3/src/TWApp.cpp
  2. --- texworks-0.3/src/TWApp.cpp~ 2010-10-02 10:38:03.000000000 +0900
  3. +++ texworks-0.3/src/TWApp.cpp 2010-10-02 10:47:37.874000067 +0900
  4. @@ -810,6 +810,8 @@ void TWApp::setDefaultEngineList()
  5. else
  6. engineList->clear();
  7. *engineList
  8. + << Engine("pdfpLaTeX", "pdfplatex" EXE, QStringList("$basename"), true)
  9. + << Engine("pdfepLaTeX", "pdfeplatex" EXE, QStringList("$basename"), true)
  10. << Engine("LaTeXmk", "latexmk" EXE, QStringList("-e") <<
  11. "$pdflatex=q/pdflatex -synctex=1 %O %S/" << "-pdf" << "$fullname", true)
  12. << Engine("pdfTeX", "pdftex" EXE, QStringList("$synctexoption") << "$fullname", true)
  13. @@ -818,7 +820,9 @@ void TWApp::setDefaultEngineList()
  14. << Engine("XeLaTeX", "xelatex" EXE, QStringList("$synctexoption") << "$fullname", true)
  15. << Engine("ConTeXt", "texmfstart" EXE, QStringList("texexec") << "$fullname", true)
  16. << Engine("XeConTeXt", "texmfstart" EXE, QStringList("texexec") << "--xtx" << "$fullname", true)
  17. + << Engine("pBibTeX", "pbibtex" EXE, QStringList("$basename"), false)
  18. << Engine("BibTeX", "bibtex" EXE, QStringList("$basename"), false)
  19. + << Engine("Mendex", "mendex" EXE, QStringList("$basename"), false)
  20. << Engine("MakeIndex", "makeindex" EXE, QStringList("$basename"), false);
  21. defaultEngineIndex = 1;
  22. }
  23. Diff finished. Sat Oct 2 10:47:40 2010