I am trying to compile a LaTeX into PDF with TexStudio and MikTek 2.9 on my windows 10 PC:
\documentclass{comjnl}
\usepackage{amsmath}
\begin{document}
x
\end{document}
but I systematically get an error at line 189 of pdftexcmds.sty:
! Undefined control sequence.
l.189 \ifluatex
In the logs, I also see:
LaTeX Warning: You have requested, on input line 186, version
`2019/11/07' of package iftex, but only version
`2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
and LuaTeX' is available.
I have just reinstalled MikTex from scratch. The installed iftex version has been packaged on 10/11/2019.
Is this a bug? How can I solve this?
P.S. This issue does not happen when I use document class article or when I don't use package amsmath.
comjnl.clswas not created based onlualatex, please take care... – MadyYuvi Dec 27 '19 at 12:44