<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 16 Jan 2025 at 17:21, 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">Not long ago I brought up another system with revtex4.2 and it seemed<br>
to work but I don't have it in front of me right now and maybe I did<br>
not test the p format. <br>
I took array.sty from  my very old working system, dated about 2020, and that failed<br></blockquote><div><br></div><div>
<div>Don't mix old versions of standard files with a current system, that is bound to lead to conflicts.</div>  <br></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">
but the post you cite suggested I need a 2016 version anyway lol. <br></blockquote><div><br></div><div><br></div><div>No, it showed how to roll back array if you are using a current texlive system. The answer did not involve any files not in texlive 2024.</div><div><br></div><div>David</div><div><br></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>
I'll see if I can produce a MWE or come up with a hack .<br>
<br>
Thanks. <br>
<br>
 pdflatex --recorder --halt-on-error copper.tex | highlight array | more<br>
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded forma<br>
t=pdflatex)<br>
 restricted \write18 enabled.<br>
entering extended mode<br>
(./copper.tex<br>
LaTeX2e <2024-11-01> patch level 1<br>
L3 programming layer <2024-12-25><br>
(/home/documents/latex/share/includes/myrevtexheaders.tex<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/revtex/revtex4-2.cls<br>
Document Class: revtex4-2 2022/06/05 4.2f (<a href="https://journals.aps.org/revtex/" rel="noreferrer" target="_blank">https://journals.aps.org/revtex/</a> for<br>
 documentation)<br>
ltxutil[2022/06/05 4.2f utilities package (portions licensed from W. E. Baxter <br>
web at <a href="http://superscript.com" rel="noreferrer" target="_blank">superscript.com</a>)]<br>
ltxfront[2022/06/05 4.2f frontmatter package (AO,DPC,MD)]<br>
ltxgrid[2022/06/05 4.2f page grid package (portions licensed from W. E. Baxter <br>
web at <a href="http://superscript.com" rel="noreferrer" target="_blank">superscript.com</a>)]<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/revtex/aps4-2.rtx)<br>
<br>
Class revtex4-2 Warning: No journal specified, using default pra.<br>
<br>
<br>
Class revtex4-2 Warning: No type size specified, using default 10.<br>
<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/revtex/aps10pt4-2.rtx)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/textcase/textcase.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amssymb.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amsfonts.sty))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsmath.sty<br>
For additional information on amsmath, use the `?' option.<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amstext.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsgen.sty))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsbsy.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsopn.sty))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/url/url.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/natbib/natbib.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/revtex/revsymb4-2.sty))<br>
(/home/documents/latex/share/includes/myskeletonpackages.tex<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp.sty<br>
`Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/defpattern.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-basic.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-addons.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-snap.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-exp.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-trigo.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-pas.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-random.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-eqn.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-upn.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/fp/fp-eval.sty))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/siunitx/siunitx.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/translations/translations.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/etoolbox/etoolbox.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/infwarerr/infwarerr.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/iftex.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)))<br>
(./array.sty)) (/usr/local/texlive/2024/texmf-dist/tex/latex/pbox/pbox.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/calc.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/ifthen.sty))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/comment/comment.sty<br>
Excluding comment 'comment')<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/framed/framed.sty)<br>
(/home/documents/latex/pkg/lgrind.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/color.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/color.cfg)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-def/pdftex.def)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/mathcolor.ltx))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/graphics.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/trig.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/graphics.cfg))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/graphicx.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/keyval.sty))<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/longtable.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/epsf/epsf.sty<br>
This is `epsf.tex' v2.7.4 <14 February 2011><br>
) (/usr/local/texlive/2024/texmf-dist/tex/latex/tools/bm.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hyperref.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdfescape/pdfescape.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/hycolor/hycolor.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/nameref.sty<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/refcount/refcount.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/gettitlestring/gettitlestring.s<br>
ty (/usr/local/texlive/2024/texmf-dist/tex/latex/kvoptions/kvoptions.sty))<br>
<br>
Package nameref Warning: The definition of \label has changed! <br>
(nameref)                Check your packages! <br>
(nameref)                Replacing it with the kernel definition on input line <br>
149.<br>
<br>
) (/usr/local/texlive/2024/texmf-dist/tex/generic/stringenc/stringenc.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/pd1enc.def)<br>
(/usr/local/texlive/2024/texmf-dist/tex/generic/intcalc/intcalc.sty)<br>
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/puenc.def)<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 11:58 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>
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.<br>
<br>
<a href="https://tex.stackexchange.com/a/731850/1090" rel="noreferrer" target="_blank">https://tex.stackexchange.com/a/731850/1090</a><br>
<br>
<br>
<br>
On Thu, 16 Jan 2025 at 16:48, 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>
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><mailto:<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><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>
<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>><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>
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>><mailto:<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>><mailto:<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>>><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><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></div>