Re: Setting papersize in reference cards
Karl Berry <[email protected]> Thu, 7 Aug 2025 14:54:19 -0600
| Newsgroups | gmane.comp.tex.texhax |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/pipermail/gdb-patches/2025-August/219754.html
As Ulrike said, the \special should only be inserted with dvi output.
>From the previous lines of the patch, I guess there is already code to
set the page dimensions in PDF mode.
uf> \pdfoutput is normally nowaday always defined.
True, but people can in principle still use texinfo.tex with bare
tex, or luatex. So texinfo.tex can't assume that \pdfoutput is defined.
Although I suppose for the refcard there is no need to support bare tex
or xetex and luatex. I don't see a real need to support dvi output,
either, but anyway, not up to us.
FWIW, the code in \internalpagesizes in texinfo.tex to set the paper
size looks valid to me for all engines (given the various other
supporting code in texinfo.tex). --best, karl.