On 7/31/2025 3:46 PM, Ulrike Fischer wrote:
Am Thu, 31 Jul 2025 15:44:36 +0200 schrieb luigi scarso:
On Thu, 31 Jul 2025 at 14:43, Ulrike Fischer
<[email protected]> wrote:
When using pdftex then \pdfcreationdate and \pdftexversion works
also in dvi-mode and outputs the date D:20250731142645+02’00’ or
the
sion.
dviluatex on the other side errors with
nexpected use of \pdffeedback.
5 \pdffeedback
creationdate
would it be possible to align both engines more? Despite the pdf
in
names, the commands are useful also in dvi mode.
Do you have a test file ?
--
luigi
\pdffeedback creationdate
\bye
and compile with dviluatex
It makes little sense to initialize the pdf machinery for this feature
and it would be \dvifeedback creationdate then anyway a it relates to
outputmode.
You can just define a command, something like this:
\def\pdfcreationdate
{\directlua{
tex.print(os.date("D:%Y%m%d%H%M%S+00'00'",os.time()))
}}
if needed (assuming the percent character is a letter here).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-luatex mailing list -- [email protected]
To unsubscribe send an email to [email protected]