texi2html-bug
[Top][All Lists]
Advanced

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

Re: [Texi2html-bug] Some more questions about texi2html


From: Reinhold Kainhofer
Subject: Re: [Texi2html-bug] Some more questions about texi2html
Date: Tue, 25 Mar 2008 18:20:56 +0100
User-agent: KMail/1.9.9

Am Sonntag, 23. März 2008 schrieb Patrice Dumas:
> I added this. With variables USE_ACCESSKEY, USE_REL_REV and also added
> support for <link> with USE_LINKS. You will have to synchronize your
> print_navigation. The acceskey only makes sense when split at nodes,
> since if there is more than one element in a file the acesskey will
> be the same for all the elements. 

While I concur that it might not make sense (but still work), if there are 
multiple elements in a file, I don't agree that it only makes sense with 
splitting at nodes. What if you have only sections, but no subsections? In 
this case, there will also only be one one element per page.

Furthermore, it's no problem if a page has multiple links with the same access 
key, but it is much worse if a page does not have any access keys at all. In 
particular, look at how different browsers handle a page with links with the 
same access key:
- Konqueror and Opera will use the first assignment and discard all later ones 
for the same key
- Firefox uses the last link for an access key
- IE loops through all links with the same access key, which makes multiple 
links with the same keys quite usable!

So, while the handling is inconsistent, it can still be useful.

Also, just because a page might have multiple navigation bars, why should the 
menus not get access keys?

After all, the setting USE_ACCESSKEY is not on by default, so if the user sets 
it, he really wants access keys. I don't think texi2html should try to be 
smarter and refuse it. If the user wants accesskeys, fine, he'll get them. If 
they don't work in his situation, that's his problem (but due to a general 
problem with accesskeys in HTML...), not texi2html's.
If it doesn't work, he can always set USE_ACCESSKEY=0.

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/




reply via email to

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