asymptote-2.00-settings-vine-vl7.patch 887 B

1234567891011121314151617181920212223242526
  1. --- settings.cc.orig 2016-11-15 10:39:44.419656094 +0900
  2. +++ settings.cc 2016-11-15 10:41:51.958651237 +0900
  3. @@ -91,11 +91,11 @@
  4. string HOME="HOME";
  5. string docdir=ASYMPTOTE_DOCDIR;
  6. const char pathSeparator=':';
  7. -string defaultPSViewer="gv";
  8. +string defaultPSViewer="evince";
  9. #ifdef __APPLE__
  10. string defaultPDFViewer="open";
  11. #else
  12. -string defaultPDFViewer="acroread";
  13. +string defaultPDFViewer="evince";
  14. #endif
  15. string defaultGhostscript="gs";
  16. string defaultGhostscriptLibrary="/usr/lib/libgs.so";
  17. @@ -707,7 +707,8 @@
  18. bool getOption() {
  19. string str=optarg;
  20. - if(str == "latex" || str == "pdflatex" || str == "xelatex" ||
  21. + if(str == "platex" ||
  22. + str == "latex" || str == "pdflatex" || str == "xelatex" ||
  23. str == "tex" || str == "pdftex" || str == "luatex" ||
  24. str == "lualatex" || str == "context" || str == "none") {
  25. value=str;