[Top][All Lists]

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

Re: Using texi2html for the documentation

From: John Mandereau
Subject: Re: Using texi2html for the documentation
Date: Sat, 22 Mar 2008 00:09:39 +0100

Le vendredi 21 mars 2008 à 18:39 -0300, Han-Wen Nienhuys a écrit :
> 2008/3/20, Reinhold Kainhofer <address@hidden>:
> >  For the index page, I think it's a good idea to have automatic language
> >  selection, but from the on, all links should point to the files for the 
> > same
> >  language as the current page.
> That's not impossible, but you have to make sure you have proper
> fallback if that page is not available in the language you want.

Would it be possible to be able to visit in a manually
selected language (e.g. via "About automatic language selection" page or
from each menu), falling back to English for untranslated pages, using
subdomains (e.g. or virtual subdirs
( handled by mod_rewrite or other Apache
plugins?  This would prevent the user from opening a bunch of dialog
boxes twice to change his preferred browsing language.

> >  BTW, is the automatic language selection (i.e. creating links without .html
> >  extension and adding the "Alternative languages" link on the bottom)
> >  implemented directly in makeinfo, or does lilypond's build system some more
> >  magic to get this?
> I think it's LP's magic.

Yes, it is, see buildscripts/, especially
process_links line 178.

I'll have a look at dev/texi2html to help sorting out details like this
when I find some time, maybe not before 4th April...

I already wonder whether lastest texi2html version interprets -D "VAR
VALUE" makeinfo option, which is needed for big page docs, and is also
useful for automatic version number.  It's doable to get the version
number in a generated file $(outdir)/version.texi, but I don't know how
to replace "-D bigpage" with texi2html.


reply via email to

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