bug-texinfo
[Top][All Lists]
Advanced

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

Re: feature request for sidebars


From: Patrice Dumas
Subject: Re: feature request for sidebars
Date: Sat, 17 Dec 2022 23:39:15 +0100

Hello,

On Sat, Dec 17, 2022 at 01:28:21PM -0700, arnold@skeeve.com wrote:
> Hi.
> 
> I'd like to request a feature.
> 
> I would like to have
> 
>       @sidebar Sidebar Title Here
>       ....
>       @end sidebar

This looks like @cartouche in Texinfo.  The difference is that
@cartouche never has a title.  Maybe the best would be to add a title to
@cartouche instead?

> For docbook, this becomes something like
> 
>       <sidebar><title>Sidebar Title Here</title>
>       ....
>       </sidebar>

I think that it would be better to render @cartouche as <sidebar> in
DocBook in any case.  Are there specific constraints on what can be
nested within a <sidebar>?

> I currently use an awk script to generate this for the gawk
> manual, bug I'd like to have it built-in. :-)

@macro + @ifdocbook + @inlineraw should work without a need for an external
script?  Thought maybe not in TeX.

-- 
Pat



reply via email to

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