[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo: warning: @anchor should not appear on @item line
From: |
Georg-Johann Lay |
Subject: |
texinfo: warning: @anchor should not appear on @item line |
Date: |
Mon, 18 Mar 2024 13:24:23 +0100 |
User-agent: |
Mozilla Thunderbird |
In a texi file, I have a table where each item should get an anchor:
@table @code
@item @anchor{label1}label1
Text1
@item @anchor{label2}label2
Text2
@end table
This works as expected in the generated HTML, i.e. going to
document.html#label1 goes to "label1" (as opposed to placing the anchor
prior to "Text1", in which case going to the anchor ends up *after* the
item, so the item is out of screen).
However, this throws build warnings like:
warning: @anchor should not appear on @item line
What's the proper way to set an anchor for an item?
The item should not be out-of-screen when following a generated link.
As for the texinfo version; I don't have control over that because I am
not the owner of the project; I am just adding (small parts of) the
documentation.
I fount thread
https://lists.nongnu.org/archive/html/help-texinfo/2023-11/msg00004.html
so is that warning problem already fixed in recent revisions?
Johann