texworks-0.4.1-ptex-vine.patch 1.5 KB

123456789101112131415161718192021222324
  1. diff -up texworks-0.4.1/src/TWApp.cpp.vine texworks-0.4.1/src/TWApp.cpp
  2. --- texworks-0.4.1/src/TWApp.cpp.vine 2011-05-27 14:30:46.000000000 +0900
  3. +++ texworks-0.4.1/src/TWApp.cpp 2011-06-18 19:00:11.782546333 +0900
  4. @@ -835,6 +835,8 @@ void TWApp::setDefaultEngineList()
  5. *engineList
  6. << Engine("LaTeXmk", "latexmk" EXE, QStringList("-e") <<
  7. "$pdflatex=q/pdflatex -synctex=1 %O %S/" << "-pdf" << "$fullname", true)
  8. + << Engine("pdfpLaTeX", "pdfplatex" EXE, QStringList("$basename"), true)
  9. + << Engine("pdfepLaTeX", "pdfeplatex" EXE, QStringList("$basename"), true)
  10. << Engine("pdfTeX", "pdftex" EXE, QStringList("$synctexoption") << "$fullname", true)
  11. << Engine("pdfLaTeX", "pdflatex" EXE, QStringList("$synctexoption") << "$fullname", true)
  12. << Engine("XeTeX", "xetex" EXE, QStringList("$synctexoption") << "$fullname", true)
  13. @@ -842,7 +844,9 @@ void TWApp::setDefaultEngineList()
  14. << Engine("ConTeXt (LuaTeX)", "context" EXE, QStringList("--synctex") << "$fullname", true)
  15. << Engine("ConTeXt (pdfTeX)", "texexec" EXE, QStringList("--synctex") << "$fullname", true)
  16. << Engine("ConTeXt (XeTeX)", "texexec" EXE, QStringList("--synctex") << "--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 Jun 18 19:04:18 2011