<div dir="ltr"><div><br></div><div>I would guess that your issue is as in this post and my answer there will fix it (but as you have not shown any information to reproduce the error, that's only a guess.</div><div><br></div><div><a href="https://tex.stackexchange.com/a/731850/1090">https://tex.stackexchange.com/a/731850/1090</a></div><div><br></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 16 Jan 2025 at 16:48, Mike Marchywka <<a href="mailto:marchywka@hotmail.com">marchywka@hotmail.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">The code that is actually bombing seems to be in revtex4.2f<br>
and I can't figure out how to get earlier revtex4.2 version from ctan<br>
or aps. <br>
It seems to get farther with this change but no idea what this code does lol,<br>
<br>
\do{%<br>
\@testpach<br>
\ifcase\@chclass<br>
\@classz<br>
% mjm \or<br>
\@classi<br>
\or<br>
\@classii<br>
\or<br>
\save@decl<br>
<br>
<br>
then it dies with this,<br>
<br>
! Bad register code (-1).<br>
\save@decl ->\toks \count@ <br>
=\expandafter \expandafter \expandafter {\expanda...<br>
l.2966 \mjmdistab<br>
<br>
<br>
<br>
Mike Marchywka <br>
157 Zachary <br>
Talking Rock GA 30175<br>
was 44 Crosscreek Trail Jasper GA 30143<br>
was 306 Charles Cox Drive Canton, GA 30115<br>
470-758-0799<br>
404-788-1216 <br>
<br>
<br>
<br>
<br>
________________________________________<br>
From: David Carlisle <<a href="mailto:d.p.carlisle@gmail.com" target="_blank">d.p.carlisle@gmail.com</a>><br>
Sent: Thursday, January 16, 2025 10:14 AM<br>
To: Mike Marchywka<br>
Cc: <a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a><br>
Subject: Re: another issue migrating code this time pretty specific to tabular fields :)<br>
<br>
<br>
<br>
On Thu, 16 Jan 2025 at 13:49, Mike Marchywka <<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a><mailto:<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a>>> wrote:<br>
Thanks. The array.sty seems to be coming from the proper directory.<br>
Is there an invokation option i should use to get more debug info?<br>
Suspicious includes ( not from 2024/texlive ) include lgrind and fltpage<br>
and I just got the most recent fltpage.<br>
<br>
You haven't shown any version numbers or example that reproduces the problem<br>
but most likely you have packages not expecting the current latex release,<br>
It's not suspicious that lgrind and fltpage do not come from texlive as they are not<br>
distributed with texlive for licence reasons.<br>
<br>
David<br>
<br>
<br>
<br>
more copper.fls | grep -v 2024/tex<br>
PWD /home/documents/latex/proj/copper<br>
INPUT ./copper.tex<br>
OUTPUT copper.log<br>
INPUT /home/documents/latex/share/includes/myrevtexheaders.tex<br>
INPUT /home/documents/latex/share/includes/myskeletonpackages.tex<br>
INPUT /home/documents/latex/pkg/lgrind.sty<br>
INPUT /home/documents/latex/pkg/fltpage.sty<br>
INPUT /home/documents/latex/share/includes/recent_template.tex<br>
INPUT /home/documents/latex/share/includes/mycommands.tex<br>
INPUT /home/documents/latex/share/includes/mjmaddbib.tex<br>
INPUT /home/documents/latex/share/includes/mjmlistings.tex<br>
<br>
<br>
Mike Marchywka<br>
157 Zachary<br>
Talking Rock GA 30175<br>
was 44 Crosscreek Trail Jasper GA 30143<br>
was 306 Charles Cox Drive Canton, GA 30115<br>
470-758-0799<br>
404-788-1216<br>
<br>
<br>
<br>
<br>
________________________________________<br>
From: David Carlisle <<a href="mailto:d.p.carlisle@gmail.com" target="_blank">d.p.carlisle@gmail.com</a><mailto:<a href="mailto:d.p.carlisle@gmail.com" target="_blank">d.p.carlisle@gmail.com</a>>><br>
Sent: Wednesday, January 15, 2025 7:34 PM<br>
To: Mike Marchywka<br>
Cc: <a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a><mailto:<a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a>><br>
Subject: Re: another issue migrating code this time pretty specific to tabular fields :)<br>
<br>
you are showing version numbers for pdftex but the error isn't in pdftex.<br>
Most likely you have code assuming an old copy of array.sty when you are using a new one (or the other way round)<br>
<br>
David<br>
<br>
<br>
On Wed, 15 Jan 2025 at 21:43, Mike Marchywka <<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a><mailto:<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a>><mailto:<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a><mailto:<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a>>>> wrote:<br>
Previously I had updated latex and the input here helped me to create<br>
a "legacy" flag in my latex source that appears to more or less work.<br>
However, this time I encountered a very specific problem. This document<br>
will compile ok if I change the tabular spec.<br>
<br>
The code that was working generates this error on the new latex,<br>
<br>
./copper.tex:3476: Extra \or.<br>
<argument> \@testpach \ifcase \@chclass \@classz \or<br>
\@classi \or \@classii \or \save@decl<br>
l.3476 \mjmhersheytable<br>
<br>
It seems to work if change the "4in" paragraph to a "r" field,<br>
<br>
\newcommand{\mjmhersheytable}<br>
{<br>
\begin{table}[H] \centering<br>
% this used to work<br>
\begin{tabular}{|c|r|p{4in}|}<br>
% this works<br>
%\begin{tabular}{|c|r|r|}<br>
<br>
<br>
<br>
<br>
literally just got it today,<br>
<br>
pdflatex --version<br>
pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2024)<br>
kpathsea version 6.4.0<br>
Copyright 2024 Han The Thanh (pdfTeX) et al.<br>
There is NO warranty. Redistribution of this software is<br>
covered by the terms of both the pdfTeX copyright and<br>
the Lesser GNU General Public License.<br>
For more information about these matters, see the file<br>
named COPYING and the pdfTeX source.<br>
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.<br>
Compiled with libpng 1.6.43; using libpng 1.6.43<br>
Compiled with zlib 1.3.1; using zlib 1.3.1<br>
Compiled with xpdf version 4.04<br>
<br>
<br>
Thoughts? I had installed the ubuntu repo version first as its in my<br>
scripts to bring up a new system so it could be pulling wrong file<br>
somewhere.<br>
<br>
Thanks.<br>
<br>
Mike Marchywka<br>
157 Zachary<br>
Talking Rock GA 30175<br>
was 44 Crosscreek Trail Jasper GA 30143<br>
was 306 Charles Cox Drive Canton, GA 30115<br>
470-758-0799<br>
404-788-1216<br>
<br>
<br>
<br>
</blockquote></div>