diff options
Diffstat (limited to 'Build/source/utils/asymptote/drawlayer.h')
-rw-r--r-- | Build/source/utils/asymptote/drawlayer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/drawlayer.h b/Build/source/utils/asymptote/drawlayer.h index 05876afdfd0..2c16de74500 100644 --- a/Build/source/utils/asymptote/drawlayer.h +++ b/Build/source/utils/asymptote/drawlayer.h @@ -30,7 +30,9 @@ public: bool islabel() {return true;} bool write(texfile *out, const bbox&) { - out->verbatimline("\\newpage"); + out->verbatimline(settings::latex(out->texengine) ? "\\newpage" : + settings::context(out->texengine) ? "}\\eject\\hbox{%" : + "\\eject"); return true; } }; |