Math for html output not in manual

[email protected]
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
Would like to discuss an additional topic.  It goes back to a discussion by Gavin that

@macro cannot use names that contain hyphens. 



Example: 

@macro document-license



Tho solution is to use documentLicense.



But I have an interesting concept you can consider because allowing hyphens

would make the code much more readable.



Basically it goes like this.  



If texinfo allows users to use "@macro document-license", texinfo can internally

remove any hyphens and use that as the macro name.  The user would just have

to ensure that tho name without the hyphens is unique.



Thusly when a user uses  @document-license, texinfo can look for @documentlicense

as the name of the macro.



Would that be too difficult ?



Thank you so very much

Henri




From: Patrice Dumas <[email protected]>
To: [email protected];
   [email protected]
Subject: Re: Math for html output not in manual
Date: 22/06/2021 00:49:17 Europe/Paris

On Tue, Jun 22, 2021 at 12:19:01AM +0200, Patrice Dumas wrote:
> 
> If you have an example, I could test with the development version.

There is actually already a text with \gdef. It actually works with
latex2html and partially with tex4ht, and it doesn't work with MathJax.

-- 
Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.