I recently updated my LaTeX-Distribution and found out afterwards that the filecontents and ltxtable combination was broken. Only one table was loaded multiple times in my document. Afterwards I found out that the filecontents-package became obsolete (filecontents: This package is obsolete) with the 2019-10-01 version of the LaTeX kernel and is now a base functionality. However, the new default is that files are not overwritten, which can be changed with an additional option \begin{filecontents}[overwrite](filename).
I was wondering if there is a way to change it globally instead of every instance?
I included a short example to show the current problem:
\documentclass{article}
\usepackage{ltxtable}
\begin{document}
\begin{filecontents}{tmptable}
\begin{longtable}{l X}
Table 1 & text 1
\end{longtable}
\end{filecontents}
\LTXtable{\textwidth}{tmptable}
\begin{filecontents}{tmptable}
\begin{longtable}{l X}
Table 2 & text 2
\end{longtable}
\end{filecontents}
\LTXtable{\textwidth}{tmptable}
\end{document}

overwriteshould be set explicitly. I didn't like it at all that with the filecontents package files were suddenly overwritten without warning. – Ulrike Fischer Jan 28 '20 at 11:47overwriteand I won't undermine this by telling in public how to change it. I can only advise you that if you don't know enough tex to do it yourself and understand the consequences then better don't do it at all. – Ulrike Fischer Jan 28 '20 at 16:11