Re: JS in HTML output
Patrice Dumas <[email protected]> Wed, 15 Oct 2025 14:59:31 +0200
| Newsgroups | gmane.comp.tex.texinfo.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 15, 2025 at 11:19:43AM +0200, Didier Verna wrote: > > Dear all, > > there doesn't seem to be an equivalent of --css-ref / --css-include for > Javascript, that is, allowing me to add something like this in the HTML > output's header: > > <script type="text/javascript" src="blahblah.js"></script> > > How would you do something like that? You should be able to set the EXTRA_HEAD customization variable: texi2any --html -c EXTRA_HEAD='<script type="text/javascript" src="blahblah.js"></script>' -- Pat