pdffeedback errors in dvi mode
When using pdftex then \pdfcreationdate and \pdftexversion works also in dvi-mode and outputs the date D:20250731142645+02’00’ or the version. dviluatex on the other side errors with ! unexpected use of \pdffeedback. l.85 \pdffeedback creationdate would it be possible to align both engines more? Despite the pdf in the names, the commands are useful also in dvi mode. -- Ulrike Fischer http://www.troubleshooting-tex.de/
On Thu, 31 Jul 2025 at 14:43, Ulrike Fischer
When using pdftex then \pdfcreationdate and \pdftexversion works also in dvi-mode and outputs the date D:20250731142645+02’00’ or the version.
dviluatex on the other side errors with ! unexpected use of \pdffeedback. l.85 \pdffeedback creationdate
would it be possible to align both engines more? Despite the pdf in the names, the commands are useful also in dvi mode.
Do you have a test file ? -- luigi
On Thu, 31 Jul 2025 at 14:43, Ulrike Fischer
wrote: When using pdftex then \pdfcreationdate and \pdftexversion works also in dvi-mode and outputs the date D:20250731142645+02’00’ or
Am Thu, 31 Jul 2025 15:44:36 +0200 schrieb luigi scarso: 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 -- Ulrike Fischer http://www.troubleshooting-tex.de/
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
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 -----------------------------------------------------------------
On Thu, 31 Jul 2025 at 15:46, Ulrike Fischer
\pdffeedback creationdate
\bye
and compile with dviluatex
isn't \dvifeedback ? Anyway, it's not implemented; it seems feasible, but I don't know if it makes sense to spend time on it. In my opinion, the DVI backend is frozen. -- luigi
in luatex85.sty we just locally flip the output mode
{\outputmode=1
\xdef\pdfcreationdate {\pdffeedback creationdate}
}
On Thu, 31 Jul 2025 at 14:46, Ulrike Fischer
Am Thu, 31 Jul 2025 15:44:36 +0200 schrieb luigi scarso:
On Thu, 31 Jul 2025 at 14:43, Ulrike Fischer
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
-- Ulrike Fischer http://www.troubleshooting-tex.de/
_______________________________________________ dev-luatex mailing list -- dev-luatex@ntg.nl To unsubscribe send an email to dev-luatex-leave@ntg.nl
participants (4)
-
David Carlisle -
Hans Hagen -
luigi scarso -
Ulrike Fischer