<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Century Gothic">Hi Phelype, <br>
</font></p>
<p><font face="Century Gothic">thank you for this valuable
information!<br>
As a newbi in tex-live I am very happy having found this
qualified communitiy!</font></p>
<p><font face="Century Gothic">As you stated the dinbrief is 20
years old do you have informations whether there is a successor
of this class ?</font></p>
<p><font face="Century Gothic">best regards</font></p>
<p><font face="Century Gothic">Karlheinz Bothmann <br>
</font></p>
<p><font face="Century Gothic">Karlheinz </font>Am 09.03.2021 um
23:16 schrieb Phelype Oleinik:<br>
</p>
<blockquote type="cite"
cite="mid:CANfjC09eQuS1Wq+z-ftGvH1rsEbf69mkrvSfROp06bYuWN-fMg@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">On Tue, Mar 9, 2021 at 12:03 PM Karl via tex-live <a class="moz-txt-link-rfc2396E" href="mailto:tex-live@tug.org"><tex-live@tug.org></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
The new rules in booktabs: \toprule, \midrule, \bottomrule no longer work properly with DINBRIEF, since reinstallation of miKteX. (I used this dinbrief documents with tables successfully since years)
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Hi Karl,
It's not only booktabs: a lot of dinbrief is broken because it redefines
some LaTeX internals to add some of its own commands, but these
definitions are from 20 years ago, so any changes to these macros in the
LaTeX kernel were completely overwritten by dinbrief. It just happened
that in a recent release these problems are showing more prominently.
Follows a series of patches to *try* to make dinbrief work with a recent
LaTeX. booktabs works again, but there is no guarantee that more things
are broken. Proceed with caution.
Best,
Phelype
---
\RemoveFromHook{file/after/dinbrief.cls}[firstaid]
\let\LTXdocument\document
\let\LTXenddocument\enddocument
\documentclass[10pt]{dinbrief}
\let\document\LTXdocument
\let\enddocument\LTXenddocument
\usepackage{etoolbox}
\makeatletter
\patchcmd\document
{\if@filesw}
{\if@filesw
\ifnum\c@labelgen>0
\immediate\openout\@mainlbl=\jobname@lbl
\immediate\write\@mainlbl{\string\relax}%
\immediate\write\@mainlbl{\string\startlabels\string\@startlabels}%
\fi}{}{\FAILED}
\patchcmd\enddocument
{\if@filesw}
{\if@filesw
\ifnum\c@labelgen>0
\immediate\closeout\@mainlbl
\makeatletter
\input \jobname@lbl\relax
\clearpage
\fi}{}{\FAILED}
\makeatother
\usepackage{booktabs}
\begin{document}
\begin{tabular}{c|c|p{0.48\textwidth}|r|r}
\toprule
a & a & a & a & a \\
\bottomrule
\end{tabular}
\end{document}
</pre>
</blockquote>
</body>
</html>