-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
longtable, xltabular and enumerate #57
Comments
ping ... |
I'll look, note that longtable 4.x as distributed on ctan is in the latex2e repository (core tools release) this repo has a more speculative longtable v5 code that may or may not get released one day. |
I'll move this to tools, even though it needs additional packages it is certainly a change in longtable. hmm I can't move the issue. |
the new longtable has extended caption support (from ltcaption) which was needed for tagging, this has adjusted
The example works with the list starting at 1, but I haven't traced everything |
@hvoss49 I'm not entirely sure if you need that refstepcounter patch at all with the new version, it would need some adjustment as longtable doesn't call See the discussion at latex3/latex2e#1377 (as I mentioned the extended caption support is based on that discussion) |
Thanks David, anyway, with some further tests I'll apply your fix. |
David,
Do you have another idea?
Reverting it, solves the new problem but has the old one with enumerate. |
@hvoss49 I just wanted to comment in the issue: It seems to work if one reinstate the default caption definition of longtable (or avoid to change it):
|
We have to revert the patch from David, it has other problems. After that your example will work without modifying |
what problems? Be aware that if you patch longtable in a way that removes recent additions you probably break the tagging code or hyperref links. |
With David's patch it counts with step 2. Table 2, Table 4
|
sure that is my issue. But it works with the original caption command:
|
Uhh, I See. I used the wrong test files. Will discuss it with Rolf ... |
We'll upload a new version. We deleted the complete code which fixes the problem |
Wrong counter with latest long table:
The counter starts at 0, without loading
xltabular
at the expected 1. If I loadlongtable
from 2020 (needsalso the change in
ltablex.sty
) all is fine! I cannot see why the latestlongtable
maybe a problem.xltabular
only loadstabularx
,longtable
andltablex
Tested with Up-to-date TL2024
The text was updated successfully, but these errors were encountered: