Re: metadata for formats with specific metadata (docbook and epub)

Patrice Dumas <[email protected]> Wed, 8 Apr 2026 22:08:39 +0200
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
On Wed, Apr 08, 2026 at 08:55:15PM +0100, Gavin Smith wrote:
> > Yes.  Although if the output format is EPUB, it should instead go to the
> > epub specific metadata location, which is not in the <head>.
> 
> I'm not sure how well that works with the @html ... @end html raw output
> conditionals, as EPUB output is considered to be HTML output for these
> commands, as far as I understand.
> 
> Does that mean we need a conditional command like @epub ... @end epub
> (or @epub3 ... @end epub3, but we never put Arabic digits in Texinfo
> command names) for giving EPUB-specific output?  If so, should @html
> ... @end html output its contents for EPUB output?

As I said in another mail, I think that we need a conditional, like
@ifepub, but can use @html for raw format text.

-- 
Pat