[Top][All Lists]

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

Re: pdfeTeX error when compiling lilypond.texi with accents in node name

From: John Mandereau
Subject: Re: pdfeTeX error when compiling lilypond.texi with accents in node names
Date: Sat, 23 Jun 2007 15:57:57 +0200

Le samedi 23 juin 2007 à 14:36 +0300, Oleg Katsitadze a écrit :
> On Fri, Jun 22, 2007 at 06:11:44PM -0500, Karl Berry wrote:
> > Oleg, can you see if you can make UTF-8 work in node names per John's
> > sample document?
> I might be missing something, but I understand that the sample
> document _does_ work (and it works on my system).

It works on my system too.

>   What does _not_
> work is the actual manual. 

No, it doesn't.

>  I'll try to see what's wrong with the
> manual, but unfortunately Lilypond's build system seems very complex
> and will take much time for me to just setup.  John, maybe you can
> send me the actual offending .texi file (with all files it depends
> on), if that is possible, so that I could start from there?  Hopefully
> this will speed up things.

The .texi files and all .pdf to be included are 30 MB big.  You can
download the 13 MB tarball at

However, if the fix I propose in my reply to Karl works, and if no other
major problem (i.e. non-zero texi2pdf exit code) arises, you won't need
look at it :-)

> >     Besides this, accents disappear in PDF index side pane; is it possible
> >     to keep them?
> > 
> > That's a much harder problem.  I was under the impression that system
> > fonts are used in the bookmark panel, in some unknown encoding.  Or is
> > it always UTF-8 these days?  Do you know?
> AFAIK, the text of bookmarks should be either in PDFDocEncoding (a
> superset of Latin-1) or in Unicode.  I'm not sure that either of these
> are practical to implement from within TeX, at least not in the
> general case of the document encoding being anything besides Latin-1
> or Unicode.

PDFLaTeX, which supports the UTF-8 subset equivalent to Latin 1, outputs
PDF with bookmarks encoded in Latin 1; the accented characters in these
cookmarks look good in Evince on my computer.  I don't know how easy it
would be to take inspiration from LaTeX UTF-8 support with inputenc and
fontenc to improve UTF-8 support in Texinfo/TeX.


reply via email to

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