emacs-devel
[Top][All Lists]
Advanced

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

Re: Have you all gone crazy? Was: On being web-friendly and why info mus


From: Lennart Borgman
Subject: Re: Have you all gone crazy? Was: On being web-friendly and why info must die
Date: Mon, 22 Dec 2014 19:23:07 +0100

On Mon, Dec 22, 2014 at 6:37 PM, Yuri Khan <address@hidden> wrote:
> On Mon, Dec 22, 2014 at 2:58 PM, David Kastrup <address@hidden> wrote:
>
>>>> <a 
>>>> href="79/lily-83620d4b.ly"><p>&lsquo;<tt>accidental-ancient.ly</tt>&rsquo;
>>>> </a>    <p>
>>>>  <a href="79/lily-83620d4b.ly">
>>>>   <img align="middle"
>>>>        border="0"
>>>>        src="79/lily-83620d4b.png"
>>>>        alt="[image of music]">
>>>>  </a>
>>>> </p></p>
>
>> Well, apart from the unhelpful alt text (which is not easy to make more
>> helpful, actually, given the way this is generated), that would be the
>> responsibility of texi2html.
>
> Sure. I’m just amazed that this bug exists and has likely existed
> since the HTML output was introduced and no one has noticed.


I took a quick look at Texinfo::Convert::HTML.

To my surprise I see that the HTML nodes are not generated by some
general function and just recursive calls.

Is there any reason for this? Doesn't it make it much harder to
maintain and change?

The reason I looked at it is that the current HTML code is a bit too
meager to enhance with JS. There ought to be classes, wrappers etc.



reply via email to

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