diff options
author | Marius <mariausol@gmail.com> | 2013-03-13 20:40:18 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-03-13 20:40:18 +0200 |
commit | 81cdb024df2aaf01f5f9d76d956b4c1b80c2ae51 (patch) | |
tree | ffa5e7f78a20b108ebc95017de09162024a52e27 /tex/context/base/lpdf-xmp.lua | |
parent | 793a738b467b82ff9a5c8d2c7bd3b473ada7feba (diff) | |
download | context-81cdb024df2aaf01f5f9d76d956b4c1b80c2ae51.tar.gz |
beta 2013.03.13 19:31
Diffstat (limited to 'tex/context/base/lpdf-xmp.lua')
-rw-r--r-- | tex/context/base/lpdf-xmp.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tex/context/base/lpdf-xmp.lua b/tex/context/base/lpdf-xmp.lua index fbdea8815..061ed0757 100644 --- a/tex/context/base/lpdf-xmp.lua +++ b/tex/context/base/lpdf-xmp.lua @@ -180,9 +180,14 @@ local function flushxmpinfo() Type = pdfconstant("Metadata"), } if trace_xmp then - report_xmp("data flushed (see log file)") - texio.write_nl("log","") - texio.write("log","\n% ",(gsub(blob,"[\r\n]","\n%% ")),"\n") + report_xmp("data flushed, see log file") + logs.pushtarget("logfile") + report_xmp("start xmp blob") + logs.newline() + logs.writer(blob) + logs.newline() + report_xmp("stop xmp blob") + logs.poptarget() end blob = format(xpacket,packetid,blob) if not verbose and tex.pdfcompresslevel > 0 then |