[Top][All Lists]

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

Re: trying to wrap section number in span

From: Per Bothner
Subject: Re: trying to wrap section number in span
Date: Sun, 20 Oct 2019 14:06:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0

On 10/20/19 1:42 PM, Gavin Smith wrote:
gdt gets translations for strings that are going to go into the output
documents.  The argument is usually plain text but can be Texinfo code.
Hence, it has the same quoting conventions as Texinfo, where "<" stands
for itself.  The tree returned is the same type as the parse tree for
the whole Texinfo document.  It's not easy to add in a <span> here, as
this tree is not specific to any output format.

An idea (which is probably not a new -one): Add a @rawoutput command to texinfo,
whose contents would be copies as-is to the output.  For example:

@end ifhtml

The --no-number-sections option to texi2any should stop the section
numbers being output.

Works for me.  Thanks.
        --Per Bothner
address@hidden   http://per.bothner.com/

reply via email to

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