[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@anchor on @item line (was: emacs-29 889a550ca08: ; Fix Texinfo warnings

From: Ihor Radchenko
Subject: @anchor on @item line (was: emacs-29 889a550ca08: ; Fix Texinfo warnings)
Date: Sun, 05 Nov 2023 11:30:42 +0000


This is a question regarding a recent change in Texinfo.

AFAIU, @anchor in Texinfo can be used to refer to arbitrary place in the
In some scenarios, this "arbitrary place" can be located _inside_ an

However, there is a warning being produced when @anchor is found on the
same line with an item:

org.texi:15975: warning: @anchor should not appear on @item line

The problematic .texi source is

    @table @asis
    @item @samp{OrgOdtStyles.xml} @anchor{x-orgodtstyles-xml}
    This file contributes to the @samp{styles.xml} file of the final ODT
    document.  This file gets modified for the following purposes:

Here, the @anchor is referring to OrgOdtStyles.xml file and is not
necessarily linked to the @item itself.

May someone please explain the correct usage of @anchor in the above
example and why the warning is being thrown?

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <>.
Support Org development at <>,
or support my work at <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]