I know there are plenty of similar questions here, but mine is very simple:
When I build LaTeX files with latexmk -pdf -xelatex I often have this error:
! Missing { inserted.
<inserted text>
{
l.8 \end{tabularx}
However my LaTeX file is pretty simple, and it builds on My PC, but not on my Docker image:
\documentclass{article}
\usepackage{tabularx}
\usepackage{listings}
\begin{document}
\begin{tabularx}{\linewidth}{X}
\lstinline{foobar}
\end{tabularx}
\end{document}
Dockerfile:
FROM debian:jessie
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y make
RUN apt-get install -y texlive-xetex
RUN apt-get install -y texlive-lang-french
RUN apt-get install -y texlive-fonts-extra
RUN apt-get install -y latexmk
# To make latexmk happy
ENV USER=latex
apt-getto use a newer repository, or do a 'vanilla' install within Docker (https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-ubuntu)? – Marijn Aug 11 '19 at 14:27debian:jessie– nowox Aug 11 '19 at 14:29