Sorry I had missed that mail.

> On Jan 24, 2020, at 19:47, Gavin Smith <[email protected]> wrote:
> 
> On Fri, Jan 24, 2020 at 12:44:59AM +0900, Jean-Christophe Helary wrote:
>> To make sure that the output HTML has the proper anchors for use as CSS 
>> selectors, it would be nice to distinguish between identical tags coming 
>> from different texi commands.
>> 
>> What I did was keep the original tag and add the texi command name as the 
>> class attribute of the HTML tag.
> 
> Is using CSS to have different styling for these commands worthwhile?  

> Do you have an example where this produces an improvement?

I can't come up with practical examples right now but while working on an 
emacs/elisp/eintro css I always found that losing info in the conversion was 
keeping css from exploring interesting visual venues.

Maybe the 'slanted' class is not really required (sorry for the typo there), 
because there is not much semantic difference between "i" and "slanted". But 
conversely, I don't see how removing semantic information in the transfer from 
texinfo to HTML can help the reader.



Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune



Reply via email to