bug-texinfo
[Top][All Lists]
Advanced

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

Re: feature request for sidebars


From: pertusus
Subject: Re: feature request for sidebars
Date: Thu, 22 Dec 2022 11:22:40 +0100

On Wed, Dec 21, 2022 at 09:13:08PM -0700, arnold@skeeve.com wrote:
> Hi.
> 
> Thanks for figuring this out.  The problem is that in this case
> there is no way to directly give the table a title and anchor for cross
> referencing from the main text except by wrapping it in @float.
>
> I suppose that I could just make this particular sidebar a regular
> subsection, but the general problem of tables and figures inside @cartouche
> remains.

In LaTeX there is \captionof, available for instance in
https://ctan.org/pkg/caption?lang=en, and the \label command is most
likely defined differently such as to interact with captionof.
 
> In any case, making this an explicit parse error would probably help.

After some thinking it is not so clear to me that we should flag it as
an error, as it could also be in the formatting backends that the float
is made non floating.  In texi2any at least it could be relatively easy.
We could have an extra key stating that the float is actually floating
or not.

-- 
Pat



reply via email to

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