-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning about p{}
in table/tabular/deluxetable and new versions of latex-tools
#149
Comments
According to #150 the problem is not with deluxetable, but with a conflict between the new array.sty, the lineno package, and revtex4-1. The solution is the same; roll back array.sty to an old version. |
More evidence: when debugging an issue with the package |
@augustfly I use the following MWE with the link, although I have put the
How to fix the case? |
Hello and thanks for this report.
We believe that this problem is a three way conflict (coupled to array and revtex) relating to the loading of lineno. Because of that we are not attempting to patch the actual problem, though this will be fixed entirely in AASTeX 7 that removes the revtex dependency. v7 is expected in Q1 2025.
First, on my machine your MWE in your email works 100% fine. My compiler details are below my signature. Your email MWE works because you wrote:
\documentclass[lineno]{aastex631}
instead of
\documentclass[linenumbers]{aastex631}
Your original line loads nothing. My (2nd) line loads the lineno package and triggers a known problem. Loading array.sty "2020/02/10 v2.4m" with the "linenumbers" option causes no errors on my computer.
The lineno/array/revtex conflict I receive is also below my signature.
Gus
…---- compiler ------
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=latex 2024.4.16)
/usr/local/texlive/2024/texmf-dist/tex/latex/revtex4-1/revtex4-1.cls
Document Class: revtex4-1 2020/09/30 4.1s
array (default): Package: array 2023/10/16 v2.5g
array (working w/linenumbers option): Package: array 2020/02/10 v2.4m
---- error I receive ------
! Undefined control sequence.
<recently read> ***@***.***
l.4 \begin{tabular}{llllp{3in}}
?
! Undefined control sequence.
<recently read> ***@***.***
l.4 \begin{tabular}{llllp{3in}}
?
! Undefined control sequence.
<recently read> ***@***.***
l.4 \begin{tabular}{llllp{3in}}
________________________________________
From: Explorer ***@***.***>
Sent: Monday, December 23, 2024 8:28
To: AASJournals/AASTeX60
Cc: August Muench; Mention
Subject: Re: [AASJournals/AASTeX60] Warning about `p{}` in table/tabular/deluxetable and new versions of latex-tools (Issue #149)
@augustfly<https://github.com/augustfly> I use the following MWE with the link<https://journals.aas.org/aastexguide/>, although I have put the array-2020-02-10.sty mentioned above to my working dictionary and renamed it to array.sty, however it remains the same error reported here<https://tex.stackexchange.com/questions/733373/conflict-with-p-tabular-col-spec-in-aastex631-template-documentclass?noredirect=1#comment1827615_733373> with TeXLive2024:
\documentclass[lineno]{aastex631}
% \documentclass{article} % work with article but failed with aastex631
\begin{document}
\begin{tabular}{llllp{3in}}
1111 & 2222 & 3333 & 4444 & 5555 \\
1111 & 2222 & 3333 & 4444 & 5555 \\
\end{tabular}
\end{document}
! Extra \or.
<argument> ...pach \ifcase ***@***.*** ***@***.*** \or
***@***.*** \or ***@***.*** \or...
l.4 \begin{tabular}{llllp{3in}}
How to fix the case?
—
Reply to this email directly, view it on GitHub<#149 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AABZGK6ZWOPYNZ2HCNAOZEL2HAFYVAVCNFSM6AAAAABUDCHEX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZG4YTEMRWHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@augustfly sorry for mistking the option
I hopes that I didn't neglect something important. My info:
BTW, could you tell me how to generate the info of the |
Hi, so your last question might be the most important one. You appear to me to have put the older array.sty file in your local working directory. But we have to check that is it actually being picked up in the compile. I don't know how latex paths are handled on your system, and I don't want to assume.
I work on a *nix platform (MacOS), so I check the logs by doing:
```
❯ grep array mwe.log
)) (./array.sty
Package: array 2020/02/10 v2.4m Tabular extension package (FMi)
```
in VS Code you'll need to open mwe.log and find the "Package: array" line to make sure it is using the local array.sty file.
Can you let me know which array.sty is being called in mwe.log?
thanks
…________________________________________
From: Explorer ***@***.***>
Sent: Monday, December 23, 2024 9:43
To: AASJournals/AASTeX60
Cc: August Muench; Mention
Subject: Re: [AASJournals/AASTeX60] Warning about `p{}` in table/tabular/deluxetable and new versions of latex-tools (Issue #149)
@augustfly<https://github.com/augustfly> sorry for mistking the option linenumers and lineno in the test process. However, I have replace the option and check the version of the package but it still failed with the same error message.(shown in the figure below)
\documentclass[linenumbers]{aastex631}
\begin{document}
\begin{tabular}{llllp{3in}}
1111 & 2222 & 3333 & 4444 & 5555 \\
1111 & 2222 & 3333 & 4444 & 5555 \\
\end{tabular}
\end{document}
image.png (view on web)<https://github.com/user-attachments/assets/8f166c4c-ddf1-4094-98d1-e31f512e220d>
I hopes that I didn't neglect something important.
My info:
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdflatex)
restricted \write18 enabled.
Document Class: revtex4-1 2020/09/30 4.1s
array (default): Package: array 2024/10/31 v2.6g (by it was searched after the working path)
array (working w/linenumbers option): Package: array 2020/02/10 v2.4m
BTW, could you tell me how to generate the info of the .cls and .sty infomation above automatically? Thanks!
—
Reply to this email directly, view it on GitHub<#149 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AABZGK5VTN3BPS7INJRRQ6D2HAORPAVCNFSM6AAAAABUDCHEX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZHAZTANZYGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@augustfly My
the whole `.log`
|
@augustfly I edited the original comment, I'm not sure whether you have noticed it? |
@Explorer-cc I am not able to work on this again until Thursday, Dec 26. I'm sorry for this delay. I note that GitHub seems to have truncated that log file. Can you email it to [email protected] so I can see the full log? |
@augustfly Actually I folded it, as follows. I will edit and unfold the
|
the latex tools package array.sty was reimplemented in October 2022. this new version (array.sty 2.5+) conflicts with the current deep/heinous re-working of tabular/deluxetable in aastex631. It makes it impossible to use
p{}
columns.The work around is to use an old version of array (<2.5). Two old versions of array are available on CTAN.
array.sty v2.4m (link fixed) works with AASTeX 6.3.1. Copy this
array-2020-02-10.sty
file toarray.sty
in your working directory and latex will pick it up and allow you to usep{}
columns in tabular/deluxetable with AASTeX 6.3.1.Fix is to stop heinously reworking tabular in aastex, but so much is built on that reimplementation.
The text was updated successfully, but these errors were encountered: