ifPDFTeX does not recognize pdflatex
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I downloaded iftex
from CTAN and installed it. I think I'm using it according to the documentation:
documentclassarticle
usepackageiftex
ifPDFTeX
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
However, this construct does not recognize pdflatex
. I get the message "Good. You aren't using pdflatex" whether I use latex
or pdflatex
.
$ latex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
$ pdflatex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman,
[...]
nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
Am I doing something wrong?
pdftex
add a comment |Â
up vote
2
down vote
favorite
I downloaded iftex
from CTAN and installed it. I think I'm using it according to the documentation:
documentclassarticle
usepackageiftex
ifPDFTeX
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
However, this construct does not recognize pdflatex
. I get the message "Good. You aren't using pdflatex" whether I use latex
or pdflatex
.
$ latex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
$ pdflatex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman,
[...]
nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
Am I doing something wrong?
pdftex
What system are you running this on? The sources seem outdated, including the compiler. I can't replicate your result on TeX Live 2018 with all content up-to-date.
â Werner
2 hours ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I downloaded iftex
from CTAN and installed it. I think I'm using it according to the documentation:
documentclassarticle
usepackageiftex
ifPDFTeX
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
However, this construct does not recognize pdflatex
. I get the message "Good. You aren't using pdflatex" whether I use latex
or pdflatex
.
$ latex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
$ pdflatex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman,
[...]
nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
Am I doing something wrong?
pdftex
I downloaded iftex
from CTAN and installed it. I think I'm using it according to the documentation:
documentclassarticle
usepackageiftex
ifPDFTeX
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
However, this construct does not recognize pdflatex
. I get the message "Good. You aren't using pdflatex" whether I use latex
or pdflatex
.
$ latex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
$ pdflatex iftex.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./iftex.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman,
[...]
nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/iftex/iftex.sty)
! Good. You aren't using pdflatex.
l.6 errmessageGood. You aren't using pdflatex
? x
No pages of output.
Transcript written on iftex.log.
$
Am I doing something wrong?
pdftex
pdftex
asked 2 hours ago
hymie
1505
1505
What system are you running this on? The sources seem outdated, including the compiler. I can't replicate your result on TeX Live 2018 with all content up-to-date.
â Werner
2 hours ago
add a comment |Â
What system are you running this on? The sources seem outdated, including the compiler. I can't replicate your result on TeX Live 2018 with all content up-to-date.
â Werner
2 hours ago
What system are you running this on? The sources seem outdated, including the compiler. I can't replicate your result on TeX Live 2018 with all content up-to-date.
â Werner
2 hours ago
What system are you running this on? The sources seem outdated, including the compiler. I can't replicate your result on TeX Live 2018 with all content up-to-date.
â Werner
2 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
The ifPDFTEX
test is checking the engine in use (TeX90 vs pdfTeX vs XeTeX vs LuaTeX), not the output format. For that, you want the ifpdf
package
documentclassarticle
usepackageifpdf
ifpdf
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
add a comment |Â
up vote
1
down vote
In recent TeX Distributions latex is actually a symbolic link (or the equivalent in systems that don't support symbolic links) to pdftex (actually pdfetex) which runs the latex format in dvi mode.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
The ifPDFTEX
test is checking the engine in use (TeX90 vs pdfTeX vs XeTeX vs LuaTeX), not the output format. For that, you want the ifpdf
package
documentclassarticle
usepackageifpdf
ifpdf
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
add a comment |Â
up vote
3
down vote
The ifPDFTEX
test is checking the engine in use (TeX90 vs pdfTeX vs XeTeX vs LuaTeX), not the output format. For that, you want the ifpdf
package
documentclassarticle
usepackageifpdf
ifpdf
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
add a comment |Â
up vote
3
down vote
up vote
3
down vote
The ifPDFTEX
test is checking the engine in use (TeX90 vs pdfTeX vs XeTeX vs LuaTeX), not the output format. For that, you want the ifpdf
package
documentclassarticle
usepackageifpdf
ifpdf
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
The ifPDFTEX
test is checking the engine in use (TeX90 vs pdfTeX vs XeTeX vs LuaTeX), not the output format. For that, you want the ifpdf
package
documentclassarticle
usepackageifpdf
ifpdf
errmessageDon't use pdflatex. Use plain latex and dvipdf
else
errmessageGood. You aren't using pdflatex
fi
end
answered 1 hour ago
Joseph Wrightâ¦
199k21548869
199k21548869
add a comment |Â
add a comment |Â
up vote
1
down vote
In recent TeX Distributions latex is actually a symbolic link (or the equivalent in systems that don't support symbolic links) to pdftex (actually pdfetex) which runs the latex format in dvi mode.
add a comment |Â
up vote
1
down vote
In recent TeX Distributions latex is actually a symbolic link (or the equivalent in systems that don't support symbolic links) to pdftex (actually pdfetex) which runs the latex format in dvi mode.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
In recent TeX Distributions latex is actually a symbolic link (or the equivalent in systems that don't support symbolic links) to pdftex (actually pdfetex) which runs the latex format in dvi mode.
In recent TeX Distributions latex is actually a symbolic link (or the equivalent in systems that don't support symbolic links) to pdftex (actually pdfetex) which runs the latex format in dvi mode.
answered 2 hours ago
Herb Schulz
1,597177
1,597177
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f456442%2fifpdftex-does-not-recognize-pdflatex%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What system are you running this on? The sources seem outdated, including the compiler. I can't replicate your result on TeX Live 2018 with all content up-to-date.
â Werner
2 hours ago