summaryrefslogtreecommitdiff
path: root/tex/context/base/core-sys.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-08-11 11:43:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-08-11 11:43:00 +0200
commit7585ddb948c962d7cb485463b54b52d0925b26b2 (patch)
treee3b691c6b69cd46c4fb7ca8a444e215acf894062 /tex/context/base/core-sys.lua
parentfda5a913473511bc21c6424069fcbd520d12b6f0 (diff)
downloadcontext-7585ddb948c962d7cb485463b54b52d0925b26b2.tar.gz
beta 2012.08.11 11:43
Diffstat (limited to 'tex/context/base/core-sys.lua')
-rw-r--r--tex/context/base/core-sys.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/context/base/core-sys.lua b/tex/context/base/core-sys.lua
index 703bcac0f..ddcb6e938 100644
--- a/tex/context/base/core-sys.lua
+++ b/tex/context/base/core-sys.lua
@@ -22,5 +22,9 @@ end
statistics.register("result saved in file", function()
-- suffix will be fetched from backend
- return format( "%s.%s", environment.outputfilename, (tex.pdfoutput>0 and "pdf") or "dvi")
+ if tex.pdfoutput > 0 then
+ return format( "%s.%s, compresslevel %s, objectcompreslevel %s", environment.outputfilename, "pdf", tex.pdfcompresslevel, tex.pdfobjcompresslevel)
+ else
+ return format( "%s.%s", environment.outputfilename, "dvi") -- hard to imagine
+ end
end)