Re: [help-texinfo] Umlaut strangeness
When using this in an ISO-8859-1 encoded *.texi: @chapter Ãbersicht As long as you specify @documentencoding ISO-8859-1 and use the 8-bit input character 0xdc (your mail is garbled on my system, sorry), it should work. Another possibility is to use @"Uber... (all 7-bit ASCII) instead of any literal character. overview of all chapters that appears in Acrobat Reader's side panel? The PDF overview (aka bookmarks aka outlines) is rendered using a different encoding than anything else (PDFDocEncoding, a superset of Latin 1) and with system fonts instead of document fonts. The @"U character is at position 0xdc in that encoding (defined in Appendix D of the PDF reference manual), like Latin 1. Therefore a UTF-8-encoded character (where U-umlaut is not 0xdc) will not come out right. texinfo.tex has never tried to deal with all this perfectly; it would be a big job. Instead, rather than pushing what would amount to binary garbage into the PDF, it uses the "sortable ASCII equivalent" -- clearly suboptimal in many ways, but that's the status. Nowadays, PDF bookmarks can also use Unicode strings (UTF16-BE ). So the right thing would probably be to translate all character-generating Texinfo commands into their Unicode equivalents, thus assuming that the system font being used is UTF-8. Only for purposes of the PDF bookmarks, nothing else ... not offering to implement it, just mentioning :) ... --best, karl.
Re: [help-texinfo] Localizing texi2pdf
On 31.05.2016 at 22:22 Gavin Smith wrote: > On 31 May 2016 at 21:02, Andreas Falkenhahnwrote: >> Thanks, using >> @documentlanguage de >> indeed changes "Chapter" to "Kapitel" and "See" to "Siehe" BUT: >> I still get "Table of Contents" for my TOC. How can I localize this >> text too? It should say "Inhaltsverzeichnis" in German... > Works for me with the @contents command. The "Inhaltsverzeichnis" text > is present in txi-de.tex so I don't know why it hasn't worked for you. Oops, sorry, my mistake. I used @contents before @documentlanguage. Works now. -- Best regards, Andreas Falkenhahnmailto:andr...@falkenhahn.com
[help-texinfo] Umlaut strangeness
I noticed some strange behaviour when using German umlauts in chapter titles. When I do something like this... @chapter @"Ubersicht ...to create a new chapter named "Übersicht", the umlaut is only shown correctly on the actual PDF page. In the overview of all chapters that Acrobat Reader shows to the left of the pages the umlaut is not rendered correctly and is shown as "Ubersicht" (using a U instead of a Ü) When using this in an ISO-8859-1 encoded *.texi: @chapter Übersicht Then the chapter name "Übersicht" is rendered correctly in the overview of all chapters but incorrectly on the page. On the page it simply appears as "bersicht" in that case. So how can I make texinfo to render the text correctly on the page and in the overview of all chapters that appears in Acrobat Reader's side panel? -- Best regards, Andreas Falkenhahn mailto:andr...@falkenhahn.com
[help-texinfo] Localizing texi2pdf
How can I localize texi2pdf? Currently, it always uses English names like "Chapter n" or when using @see it always expands to "See ...". Can this be customized somehow? I'd like to use German words instead, e.g. "Kapitel n" instead of "Chapter n", "Siehe" whenever @see is used, "Inhaltsverzeichnis" instead of "Table of contents" etc. Is this possible somehow? -- Best regards, Andreas Falkenhahn mailto:andr...@falkenhahn.com
Re: [help-texinfo] @uref and workaround for URL containing commas
On 31 May 2016 at 19:50, Gavin Smithwrote: > There is the @comma command that looks like a good solution in this > situation, and which avoids any possible ambiguity. > > @uref{http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon@ >>comma{}_Jean-Pierre%29, this book} > > produces the correct output for me. Trying again for that URL: @uref{http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon@comma{}_Jean-Pierre%29, this book}
[help-texinfo] @uref and workaround for URL containing commas
Hi all I'm trying to address the problem described here: https://sourceforge.net/p/testlilyissues/issues/4848/ This is the link: @uref{http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon,_Jean-Pierre%29, this book} I found only this discussion in the archives: https://lists.gnu.org/archive/html/help-texinfo/2002-09/msg00019.html I tried to use the workaround suggested there, in the following way: @set urlComma http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon,_Jean-Pierre%29 @uref{@value{urlComma}, this book} but didn't work. I don't know if this is handled by makeinfo or texi2html (lilypond documentation still depends on it): $ texi2html --version 1.82 $ makeinfo --version texi2any (GNU texinfo) 6.0 Thanks in advance Federico
Re: [help-texinfo] @uref and workaround for URL containing commas
Eventually I found the URL encoding for the comma, so the easiest solution is changing the URL to: http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon%2C_Jean-Pierre%29 Il giorno mar 31 mag 2016 alle 11:58, Federico Bruniha scritto: Hi all I'm trying to address the problem described here: https://sourceforge.net/p/testlilyissues/issues/4848/ This is the link: @uref{http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon,_Jean-Pierre%29, this book} I found only this discussion in the archives: https://lists.gnu.org/archive/html/help-texinfo/2002-09/msg00019.html I tried to use the workaround suggested there, in the following way: @set urlComma http://imslp.org/wiki/Repository_of_Music-Notation_Mistakes_%28Coulon,_Jean-Pierre%29 @uref{@value{urlComma}, this book} but didn't work. I don't know if this is handled by makeinfo or texi2html (lilypond documentation still depends on it): $ texi2html --version 1.82 $ makeinfo --version texi2any (GNU texinfo) 6.0 Thanks in advance Federico