-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iftex.sty: incomplete \ifx #12
Comments
@olsak er yes, I think this works correctly but I may see if I can re-organise it to avoid so many
The whole block could possibly be deleted as the koma-script package code changed to avoid the issue that this is protecting against, but I'd like to keep it for compatibility with older releases for a while. It is supposed to work in plain though...... |
1.0d gone to CTAN thanks for the report. |
Minimal example:
\newif \ifpdftex
\input iftex.sty
\end
Process it by "pdftex test" (no LaTeX).
The rerror: ! Incomplete \ifx; all text was ignored after line 243.
Version of iftex.sty: the last from TeXlive 2019, begins with:
%% iftex TeX engine tests
%% LaTeX3 Project
...
\ProvidesPackage{iftex}[2019/11/07 v1.0c TeX engine tests]
Why I need to use this file when I am using plain TeX only: Tikz for plain TeX uses it, unfortunately.
The reason of this bug:
The line 112 does \let\ifIFTEX@savedpdftex=\ifpdftex.
The lines 243--246 includes the control sequence \ifIFTEX@savedpdftex in nested \ifx...\fi. The meaning of this control sequence is \ifpdftex=\iffalse (or \iftrue) and skipping over nested \if..\fi fails.
The text was updated successfully, but these errors were encountered: