123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- diff -up asymptote-2.00/settings.cc.orig asymptote-2.00/settings.cc
- --- asymptote-2.00/settings.cc.orig 2010-06-24 02:57:58.000000000 -0400
- +++ asymptote-2.00/settings.cc 2010-06-28 10:07:44.747973803 -0400
- @@ -89,11 +89,11 @@ bool msdos=false;
- string HOME="HOME";
- string docdir=ASYMPTOTE_DOCDIR;
- const char pathSeparator=':';
- -string defaultPSViewer="gv";
- +string defaultPSViewer="evince";
- #ifdef __APPLE__
- string defaultPDFViewer="open";
- #else
- -string defaultPDFViewer="acroread";
- +string defaultPDFViewer="evince";
- #endif
- string defaultGhostscript="gs";
- string defaultDisplay="display";
- diff -up asymptote-2.10/settings.cc\~ asymptote-2.10/settings.cc
- --- asymptote-2.10/settings.cc~ 2011-06-04 15:35:00.435593642 +0900
- +++ asymptote-2.10/settings.cc 2011-06-04 15:54:16.059823589 +0900
- @@ -695,7 +695,8 @@ struct engineSetting : public argumentSe
- bool getOption() {
- string str=optarg;
-
- - if(str == "latex" || str == "pdflatex" || str == "xelatex" ||
- + if(str == "eplatex" || str == "platex" ||
- + str == "latex" || str == "pdflatex" || str == "xelatex" ||
- str == "tex" || str == "pdftex" || str == "context" || str == "none") {
- value=str;
- return true;
- @@ -1131,7 +1132,7 @@ void initSettings() {
- addOption(new boolSetting("keepaux", 0,
- "Keep intermediate LaTeX .aux files"));
- addOption(new engineSetting("tex", 0, "engine",
- - "latex|pdflatex|xelatex|tex|pdftex|context|none",
- + "eplatex|platex|latex|pdflatex|xelatex|tex|pdftex|context|none",
- "latex"));
-
- addOption(new boolSetting("twice", 0,
- @@ -1269,7 +1270,7 @@ void initSettings() {
- addOption(new envSetting("gs", defaultGhostscript));
- addOption(new envSetting("texpath", ""));
- addOption(new envSetting("texcommand", ""));
- - addOption(new envSetting("dvips", "dvips"));
- + addOption(new envSetting("dvips", "pdvips"));
- addOption(new envSetting("dvisvgm", "dvisvgm"));
- addOption(new envSetting("convert", "convert"));
- addOption(new envSetting("display", defaultDisplay));
- @@ -1423,7 +1424,8 @@ bool pdf(const string& texengine) {
- }
-
- bool latex(const string& texengine) {
- - return texengine == "latex" || texengine == "pdflatex" ||
- + return texengine == "eplatex" || texengine == "platex" ||
- + texengine == "latex" || texengine == "pdflatex" ||
- texengine == "xelatex";
- }
-
- Diff finished. Sat Jun 4 15:54:23 2011
|