I am using Indico 3.3.6 and the first word of the title is missing on most of our contribution PDFs… Very strange!
In order to debug the problem, I would like to run the command that generates the PDF manually, but I can’t seem to find it anywhere.
I looked into /opt/indico/tmp/XXXXX/ (where the PDF is generated), but the command does not seem to appear in any log?
In the general Indico logs, the command is also nowhere to be found.
Where should I look? In the code?
The command is in the LatexRunner
class:
pdflatex_cmd = [config.XELATEX_PATH,
'-no-shell-escape',
'-interaction', 'nonstopmode',
'-output-directory', self.source_dir,
os.path.relpath(source_file, self.source_dir)]
If you can reproduce it with a simple contribution, sharing the generated .tex
file might also be useful. Or see if you can reproduce it on https://sandbox.getindico.io (and then share the link to the event there)
I found my problem: it was in our contribution.tex (I did not realize at first that we had customized those Latex templates).
The problem was this section:
\begin{center}
\textbf{\LARGE\sffamily\VAR{contrib.title}}
\end{center}
When I looked at the generated .tex file, the first word of the title was stuck with the font name:
\begin{center}
\textbf{\LARGE\sffamilyInfluence of routine discharges}
\end{center}
The fix was to include a space in the Latex template:
\begin{center}
\textbf{\LARGE\sffamily~\VAR{contrib.title}}
\end{center}
Thanks for your help @ThiefMaster !