%20n%C3%A3o%20funcionam%20em%20tabularx.png)
Eu sei que há muitas perguntas semelhantes aqui, mas a minha é muito simples:
Quando eu construo arquivos LaTeX, latexmk -pdf -xelatex
geralmente recebo este erro:
! Missing { inserted.
<inserted text>
{
l.8 \end{tabularx}
No entanto, meu arquivo LaTeX é bastante simples e é baseado no meu PC, mas não na minha imagem Docker:
\documentclass{article}
\usepackage{tabularx}
\usepackage{listings}
\begin{document}
\begin{tabularx}{\linewidth}{X}
\lstinline{foobar}
\end{tabularx}
\end{document}
Arquivo Docker:
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