texworks-0.4-ptex-vine.patch 1.4 KB

123456789101112131415161718192021222324
  1. diff -up texworks-0.4.0/src/TWApp.cpp.vine texworks-0.4.0/src/TWApp.cpp
  2. --- texworks-0.4.0/src/TWApp.cpp.vine 2011-03-10 04:02:40.000000000 +0900
  3. +++ texworks-0.4.0/src/TWApp.cpp 2011-03-30 14:38:50.198095360 +0900
  4. @@ -835,6 +835,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. @@ -843,7 +845,9 @@ void TWApp::setDefaultEngineList()
  14. << Engine("XeLaTeX", "xelatex" EXE, QStringList("$synctexoption") << "$fullname", true)
  15. << Engine("ConTeXt (MKII)", "texmfstart" EXE, QStringList("texexec") << "--synctex" << "$fullname", true)
  16. << Engine("XeConTeXt (MKII)", "texmfstart" EXE, QStringList("texexec") << "--xtx" << "--synctex" << "$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. Wed Mar 30 14:38:58 2011