diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
commit | ecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch) | |
tree | 13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/psfile.h | |
parent | 790995b7e79697514364450bf9c04f1b8d500838 (diff) |
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/psfile.h')
-rw-r--r-- | graphics/asymptote/psfile.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/asymptote/psfile.h b/graphics/asymptote/psfile.h index 2c6ac2dd5a..98e5574b8d 100644 --- a/graphics/asymptote/psfile.h +++ b/graphics/asymptote/psfile.h @@ -137,9 +137,13 @@ protected: std::ostream *out; public: + bool pdftex() {return settings::pdf(settings::getSetting<string>("tex"));} + psfile(const string& filename, bool pdfformat); - psfile() {pdf=settings::pdf(settings::getSetting<string>("tex"));} + psfile() {pdf=pdftex();} + + bool istargetfmt(string outputformat); virtual ~psfile(); |