Re: conditional for EPUB?
Gavin Smith <[email protected]> Wed, 8 Apr 2026 21:47:43 +0100
| Newsgroups | gmane.comp.tex.texinfo.bugs |
|---|---|
| Message-ID | <ada-7wqmYdQNhtmw@orangestar> |
On Wed, Apr 08, 2026 at 09:49:28PM +0200, Patrice Dumas wrote: > Hello, > > I would like to propose a conditional for EPUB, in case a different > Texinfo code is needed than for regular HTML. A first use case is the > metadata proposal, the EPUB and HTML case need to be different. There > could be other uses, for instance related to differences in the title > page. > > I do not think that an additional raw format block command is needed, > @html can be used for that purpose. > > The command line is --epub3, but I would propose @ifepub for the > conditional. > > Thoughts? I'm okay with this. Does that mean for raw output for EPUB only (e.g. in the metadata block) , you would use the following? @ifepub @html .... @end html @end ifepub