<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 5 Jun 2024 at 01:01, Akira Yokosawa <<a href="mailto:akiyks@gmail.com">akiyks@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">David,<br>
<br>
Thanks for the quick update!<br>
It works with array v2.6c.<br>
<br>
However, It doesn't work with array v2.5g.<br>
My MWE with the RequirePackage enabled stops with:<br>
<br>
------------------------<br>
! Undefined control sequence. <br>
\TY@box ...raybackslash \tyformat \insert@pcolumn <br>
\@endpbox <br>
l.9 \end{tabulary} <br>
<br>
? <br>
! Emergency stop.<br>
-------------------------<br>
<br>
Is this intended?<br></blockquote><div><br></div><div>Basically yes, array is part of the core latex tools release so you shouldn't have an old array package and a new latex</div><div>and if you have an old latex you don't need the new tabulary. It would of course in principle be possible to make the</div><div>code have conditionals everywhere but it slows things down and makes the code even harder to maintain.</div><div>So current plan is that the June 2024 latex release (should have) the new tabulary, and older releases should be used with <br></div><div>the versions of tabulary that came with them.</div><div><br></div><div>I should though probably add a <br></div><div>\NeedsTeXFormat{LaTeX2e}[2024/06/01]</div><div>to tabulary (to match the one in array) so you get a more useful error message as the package loads</div><div>rather than just getting an undefined command in the middle of the processing.</div><div><br></div><div>David</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks, Akira<br>
<br>
<br>
On 2024/06/05 2:22, David Carlisle wrote:<br>
> Akira,<br>
> thanks again for the report.<br>
> I have a few more tests to do but I think the version at<br>
> <a href="https://github.com/davidcarlisle/dpctex/tree/main/tabulary" rel="noreferrer" target="_blank">https://github.com/davidcarlisle/dpctex/tree/main/tabulary</a><br>
> should work<br>
> <br>
> David<br>
> <br>
> <br>
> On Mon, 3 Jun 2024 at 10:01, Akira Yokosawa <<a href="mailto:akiyks@gmail.com" target="_blank">akiyks@gmail.com</a>> wrote:<br>
> <br>
>> Hi David and Frank,<br>
>><br>
>> After today's update (tlmgr update --all), which contains tools 71408,<br>
>> I encountered build error in one of my documents with tabulary.<br>
>><br>
>> MWE:<br>
>><br>
>> -----------------------------<br>
>> \documentclass{article}<br>
>> %\RequirePackage{array}[=2023-11-01]<br>
>> \usepackage{tabulary}<br>
>><br>
>> \begin{document}<br>
>><br>
>> \begin{tabulary}{6cm}{lLL}<br>
>> aaaa & bbbbb bbbbb & cccc cccc cccc cccc \\<br>
>> \end{tabulary}<br>
>><br>
>> \end{document}<br>
>> ------------------------------<br>
>><br>
>> Log from pdflatex:<br>
>><br>
>> ------------------------------<br>
>> This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded<br>
>> format=pdflatex)<br>
>> restricted \write18 enabled.<br>
>> entering extended mode<br>
>> (./mwe.tex<br>
>> LaTeX2e <2024-06-01><br>
>> L3 programming layer <2024-05-08><br>
>> (/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls<br>
>> Document Class: article 2024/02/08 v1.4n Standard LaTeX document class<br>
>> (/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo))<br>
>> (/usr/local/texlive/2024/texmf-dist/tex/latex/tabulary/tabulary.sty<br>
>> (/usr/local/texlive/2024/texmf-dist/tex/latex/tools/array.sty))<br>
>><br>
>> (/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)<br>
>> (./main.aux)<br>
>> ! Missing \cr inserted.<br>
>> <inserted text><br>
>> \cr<br>
>> l.9 \end{tabulary}<br>
>><br>
>> ?<br>
>> -------------------------------<br>
>><br>
>> Workaround is to use RequirePackage{array}[=2023-11-01]<br>
>> (shown as a comment in the MWE).<br>
>><br>
>> It looks to me like array v2.6 is a full rewrite using L3.<br>
>> Would it be possible to make tabulary compatible with it?<br>
>><br>
>> Best Regards,<br>
>><br>
>> Akira<br>
>><br>
> <br>
</blockquote></div></div>