lilypond-devel
[Top][All Lists]
Advanced

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

Re: Snippet 706: Generating custom flags


From: Werner LEMBERG
Subject: Re: Snippet 706: Generating custom flags
Date: Thu, 31 Dec 2015 07:57:50 +0100 (CET)

> To use LuaTeX, I've tried following command.
>
> $ PDFTEX=luatex PDFLATEX=lualatex make -j 16 CPU_COUNT=16 LANGS='' doc
>
> Then, it shows the following error.
>
> ```
> ./18/lily-10433670.texidoc:3: Undefined control sequence.
> l.3 ...on, which assigns the symbols *, †, ‡, §
>                                                    and ¶ to
> ```
>
> If I understand correctly,
> it seems that LuaTeX with texinfo.tex can not handle the following letters.
> § U+00A7 SECTION SIGN
> ¶ U+00B6 PILCROW SIGN

This is a bug (most probably in luatex) which I've meanwhile reported
to the texinfo team.  Maybe they can fix it easily with a modification
of `texinfo.tex' – a long-term fix in luatex doesn't help us right
now.

Until then, we might replace `§' and `¶' (the latter character also
fails with luatex), with the commands address@hidden' and address@hidden', 
respectively.
Patch appended.


    Werner


======================================================================


diff --git a/input/regression/footnote-auto-numbering-page-reset.ly 
b/input/regression/footnote-auto-numbering-page-reset.ly
index 369db80..7fc4635 100644
--- a/input/regression/footnote-auto-numbering-page-reset.ly
+++ b/input/regression/footnote-auto-numbering-page-reset.ly
@@ -1,8 +1,14 @@
 \version "2.19.21"
+
+% In the \header text below, we have to replace characters `§' and `¶'
+% with @S and @P, respectively, otherwise luatex can't process the
+% documentation due to a bug (as present in TeXLive 2015 together with
+% `texinfo.tex' version 2015-12-20.12).
+
 \header {
   texidoc = "This is an example of automatic footnote numbering
 where the number is reset on each page.  It uses the symbol-footnotes
-numbering function, which assigns the symbols *, †, ‡, § and ¶ to
+numbering function, which assigns the symbols *, †, ‡, @S{} and @P{} to
 successive footnotes, doubling up on the symbol after five footnotes
 have been reached.
 "

reply via email to

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