xelatex gives a bit more meaningful message - though I still don't understand how to remedy this: [13] ! Missing number, treated as zero. ( l.306 \begin {minipage}[b]{\linewidth}\raggedright ? On Wednesday, February 1, 2023 at 4:22:05 PM UTC-5 Mouse Mousevich wrote: > pandoc-2.19.2, pdflatex from TeXLive-2022. > Rust-book set of .md files from > https://github.com/killercup/trpl-ebook.git (version from 2016). > > Conversion to LaTeX seems to succeed, but subsequent invocation of > pdflatex fails. > > I printed out arguments passed to pandoc: > > pandoc args: > --from=markdown+smart+grid_tables+pipe_tables-simple_tables+raw_html+implicit_figures+footnotes+intraword_underscores+auto_identifiers-inline_code_attributes > --embed-resources --standalone --highlight-style=tango > --top-level-division=chapter --table-of-contents > --template=lib/template.tex --pdf-engine=pdflatex --to=latex > --pdf-engine-opt=--interaction=nonstopmode --variable papersize=letterpaper > --output=dist/trpl-2019-05-04.letter.pdf; plus book itself > > Error message from pdflatex: > > Error producing PDF. > > ! Missing number, treated as zero. > > > > ( > > l.306 \begin > > > This is what the (apparently) relevant fragment of the LaTeX file looks > like: > > 299 │ \begin{longtable}[]{@{} > > 300 │ >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * > \real{0.4189}} > > 301 │ >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * > \real{0.0676}} > > 302 │ >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * > \real{0.0676}} > > 303 │ >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * > \real{0.0676}} > > 304 │ >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * > \real{0.3784}}@{}} > > 305 │ \toprule() > > 306 │ \begin{minipage}[b]{\linewidth}\raggedright > > 307 │ Target > > 308 │ \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright > > 309 │ std > > 310 │ \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright > > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/14cb0323-74ae-4368-b843-2fd8831b6e2cn%40googlegroups.com.