[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding relevant class attribute info to the exported HTML tags

From: Jean-Christophe Helary
Subject: Re: Adding relevant class attribute info to the exported HTML tags
Date: Mon, 3 Feb 2020 23:18:06 +0900

Sorry I had missed that mail.

> On Jan 24, 2020, at 19:47, Gavin Smith <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]