2

On the question Is it possible to keep my translation together with original text? one of its answers use a if then else:

\documentclass{article}

\newif\ifenglish
\englishtrue % Will show English text only
%\englishfalse % Will show Portuguese text only


\begin{document}
The technology.

\ifenglish
\else
    AAAAAAAAAAAAA
\fi

\end{document}

I would like to do \ifnot but throws the error:

D:\test2.tex:11: Undefined control sequence. [\ifnotenglish]
D:\test2.tex:12: Extra \else. [\else]
D:\test2.tex:14: Extra \fi. [\fi]
user
  • 4,745

0 Answers0