Closed
Description
Hello,
Given main.tex
, is it possible to create different pdf files (a) a.pdf
or (b) b.pdf
via vimtex depending on a variable defined in the source code main.tex
itself, say like so:
\usepackage{ifthen}
\newif\ifVersionA
\VersionAtrue % output should be a.pdf
%\VersionAfalse % output should be b.pdf
Relevant (albeit dated) stackexchange discussion here.
Although the accepted answer there answers the question in the negative, subsequent answers seem to suggest some workarounds that influence the compiler command issued. See for instance this
Thank you.
Metadata
Metadata
Assignees
Labels
No labels