I would like to use a variable so I can define which file to include at compile-time (argument passed to LaTeX - see below).
Problem here is that I cannot insert document name with "_", without crashing everything. Is thez a simple way to perform such task?
Command line used
pdflatex "\def\testpath{my\_document}\input{my_tex_document}"
Below is a minimal example of my LaTex document
\documentclass{article}
\title{Librairie \testpath}
\author{Author}
\begin{document}
\section{Insertion of \testpath}
\include{lib_12/\testpath}
\end{document}