I am creating a program that produces .pdf files based on .xlsx input through a .py GUI with .tex files.
So far, in order to create the respective .tex file, I have used Overleaf. However, now that I want this program to run locally, I switched first to MiKTeX and now to TeX Live.
While compiling on Overleaf using XeLaTex running on TeX Live Version 2021, my .tex file runs smooth and perfectly.
If I use either MiKTeX or TeX Live however, various "[0]"s appear on the report.
I was able to track down the cause of the problem, which is displayed in the following code:
\documentclass{report}
\usepackage[style=apa, natbib=false]{biblatex}
\usepackage{tabularray}
\usepackage{csquotes}
\usepackage{tcolorbox}
\begin{document}
\begin{tblr}{h{4cm}h{4cm}h{4cm}}
\begin{tcolorbox}[width=3.5cm,colback=white,colframe=black] test \end{tcolorbox}
& \begin{tcolorbox}[width=3.5cm,colback=white,colframe=black] test \end{tcolorbox}
& \begin{tcolorbox}[width=3.5cm,colback=white,colframe=black] test \end{tcolorbox}
\end{tblr}
\end{document}
It seems as if a tcolorbox inside the tabularray environment creates these random "[0]"s.
Solutions that work - but not for me
- Using tabular, tabularx or tabulary. (-> I cannot secure a perfect vertical alignment given users varying inputs. My document is immensely extensive - changing the actual latex code and fumbling around with the tabular environment for each table would anyways not be an option. The file works like a charm on Overleaf, changing a perfectly working file for days would be pretty frustrating);
- Using no tcolorboxes. (-> The colorboxes are a necessary component of the programs purpose).
Solutions I tried that did not work
- Changing from MiKTeX to Overleaf's compiler TeX Live;
- Using the version of the tabularray package, that Overleaf uses as well;
- Anything related to overfull / underfull box errors, which were my initial suspection.
Solutions that I am looking for
- A way to make Tex Live behave exactly like Overleaf in its compiling result;
- A way to make the tabularray environment behave in a way that supports tcolorboxes.
I downloaded Tex Live not too long ago. It is therefore running on its most current version. I noticed, that Tex Live on Overleaf is running on an older version:
XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex 2021.9.30)
vs. Tex Live locally:
XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex 2022.5.27)
I tried to download the older version of Tex Live in order to make it behave like in Overleaf, however no downloads of older versions are offered from official sites.
Hope someone can help. Thanks in advance.