Patrick Gundlach wrote:
Hi Hans,
when I run a markiv file I don't get any message of the resulting pdf
file. Is this done on purpose?
probably (i overload some things)
May I then ask for a change in behaviour? I'd like to parse the messages
and search for the final pdf.
keep in mind that context --result might overload the name so we cannot
use jobname here.
to cont-new.mkiv add:
\ctxlua{
ctx.register_statistics("result saved in file", "\letterpercent
s.\letterpercent s", function()
return "\outputfilename", (tex.pdfoutput>0 and "pdf") or "dvi"
end)
}
then you can parse for
mkiv lua stats : result saved in file - x.pdf
(i'll add this)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________