Re: metadata for formats with specific metadata (docbook and epub)
Gavin Smith <[email protected]> Wed, 8 Apr 2026 20:55:15 +0100
| Newsgroups | gmane.comp.tex.texinfo.bugs |
|---|---|
| Message-ID | <adayo_n9jlAfg5dU@orangestar> |
On Wed, Apr 08, 2026 at 09:48:53PM +0200, Patrice Dumas wrote: > On Sun, Apr 05, 2026 at 03:53:47PM +0100, Gavin Smith wrote: > > On Sat, Apr 04, 2026 at 10:54:44PM +0200, Patrice Dumas wrote: > > > It is possible to have lots of metadata in DocBook and epub documents, > > > using specific markup. > > > > So a @html block in @documentinfo would output to the <head> element? > > 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?