another issue migrating code this time pretty specific to tabular fields :)
David Carlisle
d.p.carlisle at gmail.com
Thu Jan 16 01:34:38 CET 2025
you are showing version numbers for pdftex but the error isn't in pdftex.
Most likely you have code assuming an old copy of array.sty when you are
using a new one (or the other way round)
David
On Wed, 15 Jan 2025 at 21:43, Mike Marchywka <marchywka at hotmail.com> wrote:
> Previously I had updated latex and the input here helped me to create
> a "legacy" flag in my latex source that appears to more or less work.
> However, this time I encountered a very specific problem. This document
> will compile ok if I change the tabular spec.
>
> The code that was working generates this error on the new latex,
>
> ./copper.tex:3476: Extra \or.
> <argument> \@testpach \ifcase \@chclass \@classz \or
> \@classi \or \@classii \or
> \save at decl
> l.3476 \mjmhersheytable
>
> It seems to work if change the "4in" paragraph to a "r" field,
>
> \newcommand{\mjmhersheytable}
> {
> \begin{table}[H] \centering
> % this used to work
> \begin{tabular}{|c|r|p{4in}|}
> % this works
> %\begin{tabular}{|c|r|r|}
>
>
>
>
> literally just got it today,
>
> pdflatex --version
> pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2024)
> kpathsea version 6.4.0
> Copyright 2024 Han The Thanh (pdfTeX) et al.
> There is NO warranty. Redistribution of this software is
> covered by the terms of both the pdfTeX copyright and
> the Lesser GNU General Public License.
> For more information about these matters, see the file
> named COPYING and the pdfTeX source.
> Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
> Compiled with libpng 1.6.43; using libpng 1.6.43
> Compiled with zlib 1.3.1; using zlib 1.3.1
> Compiled with xpdf version 4.04
>
>
> Thoughts? I had installed the ubuntu repo version first as its in my
> scripts to bring up a new system so it could be pulling wrong file
> somewhere.
>
> Thanks.
>
> Mike Marchywka
> 157 Zachary
> Talking Rock GA 30175
> was 44 Crosscreek Trail Jasper GA 30143
> was 306 Charles Cox Drive Canton, GA 30115
> 470-758-0799
> 404-788-1216
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20250116/dd7c79ba/attachment.htm>
More information about the texhax
mailing list.