Gavin Smith <[email protected]> writes:
> On 11 August 2015 at 11:21, Gavin Smith <[email protected]> wrote:
>> When looking at the log file, I noticed a funny order of execution.
>> What was happening, was that the call to the inner macro was being
>> processed inside \eatspaces. This was bad news: the cat codes were
>> fixed when the argument to \eatspaces were read, and the cat code
>> changes for the argument to the inner macro were ineffectual.
>
> Here's the next try. This uses quite a different approach: instead of
> processing the argument by evaluating it, it reads it piece by piece
> using a macro with a delimited argument.
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian)
(preloaded format=pdfetex)
restricted \write18 enabled.
entering extended mode
(./essay.texi (/usr/local/tmp/lilypond/tex/texinfo.tex
Loading texinfo [version 2015-08-03.11-bsmacro]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/usr/local/tmp/lilypond/tex/txi-en.tex) (./macros.texi (./version.texi)
(./common-macros.texi{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/l
ocal/tmp/lilypond/tex/./out-www/lilypond.map} (./cyrillic.texi)))
./essay.texi:44: Undefined control sequence.
@passargtomacro ...@relax @add_segment #2\@finish
\
l.4 @rweb{Manuals}
.
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@docMain .../.lilypond@/.org/}}.^^M@end cartouche}
@egroup
l.56 @docMain
{}
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
...
l.44 ...lePage{Essay on automated music engraving}
?
./essay.texi:44: Emergency stop.
@passargtomacro ...@relax @add_segment #2\@finish
\
l.4 @rweb{Manuals}
.
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@docMain .../.lilypond@/.org/}}.^^M@end cartouche}
@egroup
l.56 @docMain
{}
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
...
l.44 ...lePage{Essay on automated music engraving}
./essay.texi:44: ==> Fatal error occurred, no output PDF file produced!
Transcript written on essay.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian)
(preloaded format=pdfetex)
restricted \write18 enabled.
entering extended mode
(./music-glossary.texi (/usr/local/tmp/lilypond/tex/texinfo.tex
Loading texinfo [version 2015-08-03.11-bsmacro]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/usr/local/tmp/lilypond/tex/txi-en.tex) (./macros.texi (./version.texi)
(./common-macros.texi{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/l
ocal/tmp/lilypond/tex/./out-www/lilypond.map} (./cyrillic.texi)))
./music-glossary.texi:39: Undefined control sequence.
@passargtomacro ...@relax @add_segment #2\@finish
\
l.4 @rweb{Manuals}
.
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@docMain .../.lilypond@/.org/}}.^^M@end cartouche}
@egroup
l.56 @docMain
{}
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
...
l.39 @lilyTitlePage{Music Glossary}
?
./music-glossary.texi:39: Emergency stop.
@passargtomacro ...@relax @add_segment #2\@finish
\
l.4 @rweb{Manuals}
.
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@docMain .../.lilypond@/.org/}}.^^M@end cartouche}
@egroup
l.56 @docMain
{}
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
...
l.39 @lilyTitlePage{Music Glossary}
./music-glossary.texi:39: ==> Fatal error occurred, no output PDF file produce
d!
Transcript written on music-glossary.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian)
(preloaded format=pdfetex)
restricted \write18 enabled.
entering extended mode
(./usage.texi (/usr/local/tmp/lilypond/tex/texinfo.tex
Loading texinfo [version 2015-08-03.11-bsmacro]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/usr/local/tmp/lilypond/tex/txi-en.tex) (./macros.texi (./version.texi)
(./common-macros.texi{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/l
ocal/tmp/lilypond/tex/./out-www/lilypond.map} (./cyrillic.texi)))
./usage.texi:46: Undefined control sequence.
@passargtomacro ...@relax @add_segment #2\@finish
\
l.3 @qq{best practices}
for efficient usage.@empty
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@manualIntro ...t practices} for efficient usage.}
@egroup
l.51 @manualIntro
{}
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
...
l.46 @lilyTitlePage{Usage}
?
./usage.texi:46: Emergency stop.
@passargtomacro ...@relax @add_segment #2\@finish
\
l.3 @qq{best practices}
for efficient usage.@empty
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@manualIntro ...t practices} for efficient usage.}
@egroup
l.51 @manualIntro
{}
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
...
l.46 @lilyTitlePage{Usage}
./usage.texi:46: ==> Fatal error occurred, no output PDF file produced!
Transcript written on usage.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
Need more context to work with?
--
David Kastrup