[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new luatex and texinfo.tex
From: |
Gavin Smith |
Subject: |
Re: new luatex and texinfo.tex |
Date: |
Tue, 1 Dec 2015 09:36:55 +0000 |
On 1 December 2015 at 09:32, Gavin Smith <address@hidden> wrote:
> Do you know if \ifpdf will be false for future versions of LuaTeX? If
> so maybe no change is needed.
I spoke too soon - \ifpdf isn't a pdftex extension. From texinfo.tex:
\newif\ifpdf
\newif\ifpdfmakepagedest
% when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1
% can be set). So we test for \relax and 0 as well as being undefined.
\ifx\pdfoutput\thisisundefined
\else
\ifx\pdfoutput\relax
\else
\ifcase\pdfoutput
\else
\pdftrue
\fi
\fi
\fi
So same question for \pdfoutput. I see the memo says \pdfoutput
changes to \outputmode, so that seems good.