I use one .tex file to create multiple CV depending on the \jobname
.
For that I use the ifthen
package and for each type of CV I create a Boolean value that I use to conditionally include some text.
Now I want to make my tex file multilingual (french and english) so the \jobname
will contain two information the job itself and the language name. For that I want to use regex. But I don't succeed to perform a regex in \jobname
?
So can you help me to apply a regex on a jobname like <jobname>-<lang
So currently I have this code
\usepackage{ifthen}
\usepackage[main=french,english]{babel}
----
\ifthenelse{\equal{\detokenize{ingmod}}{\jobname}}{\DEVtrue}{}
----
And I use the \DEVtrue
(and the other Boolean for conditional compila now I want to define the argument to pass to babel using conditional compilation. with the lang
part of the \jobname
.
Of course, I use a Makefile
to wrap the latexmk
commands for each compilation.
-
?