From 3c8d80b2e20ba5dc6284091e19e57485d9c844c9 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 19 Oct 2002 08:29:12 +0000 Subject: [PATCH] * GNUmakefile.in (web-doc): Fix typos. * tex/lilyponddefs.tex (\lilypondspecial): Don't scan `music-drawing-routines.ps' but emit \special{header=...} once. * scm/tex.scm (header-end): Updated. --- ChangeLog | 7 +++++++ GNUmakefile.in | 8 ++++---- scm/tex.scm | 2 +- tex/lilyponddefs.tex | 25 +++++-------------------- 4 files changed, 17 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54a5c5f3fa..c02ec7e616 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-10-19 Werner Lemberg + + * GNUmakefile.in (web-doc): Fix typos. + * tex/lilyponddefs.tex (\lilypondspecial): Don't scan + `music-drawing-routines.ps' but emit \special{header=...} once. + * scm/tex.scm (header-end): Updated. + 2002-10-19 Han-Wen Nienhuys * lily/stem-engraver.cc (acknowledge_grob): don't crash on diff --git a/GNUmakefile.in b/GNUmakefile.in index 94f0da5eaa..568118f0a9 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -44,10 +44,10 @@ doc: run-reqs $(MAKE) -C Documentation web-doc: web-reqs - $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html input/regression/ WWW - $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html input/template/ WWW - $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html input/test/ WWW - $(MAKE) out=www -C LILYPOND_BOOK_FORMAT=tex-html Documentation WWW + $(MAKE) out=www LILYPOND_BOOK_FORMAT=texi-html -C input/regression/ WWW + $(MAKE) out=www LILYPOND_BOOK_FORMAT=texi-html -C input/template/ WWW + $(MAKE) out=www LILYPOND_BOOK_FORMAT=texi-html -C input/test/ WWW + $(MAKE) out=www LILYPOND_BOOK_FORMAT=texi-html -C Documentation WWW $(MAKE) footify pfa-fonts: diff --git a/scm/tex.scm b/scm/tex.scm index 9073bf6cd6..09beffa9ed 100644 --- a/scm/tex.scm +++ b/scm/tex.scm @@ -175,7 +175,7 @@ "\\fi\n" "\\outputscale = \\lilypondpaperoutputscale\\lilypondpaperunit\n" "\\lilypondstart\n" - "\\special{\\string!\\lilypondspecial}%\n" + "\\lilypondspecial\n" "\\lilypondpostscript\n")) ;; Note: this string must match the string in ly2dvi.py!!! diff --git a/tex/lilyponddefs.tex b/tex/lilyponddefs.tex index 1cf39f92d3..8f6bae4167 100644 --- a/tex/lilyponddefs.tex +++ b/tex/lilyponddefs.tex @@ -125,26 +125,11 @@ \newread\lilypondinput -% after executing the following code, \lilypondspecial contains the -% contents of `music-drawing-routines.ps' -\lilypondifundefined{lilypondspecial} - { - \begingroup - \openin\lilypondinput music-drawing-routines.ps - \xdef\lilypondspecial{} - \lilypondloop - \endlinechar \lilyponddefsELC - \catcode`\^^M 10\relax - \read\lilypondinput to \lilypondspecialline - \expandafter\xdef\expandafter\lilypondspecial\expandafter{ - \lilypondspecial\lilypondspecialline - } - \ifeof\lilypondinput - \lilypondrepeat - \closein\lilypondinput - \endgroup - } - {} +% the following macro is executed only once +\gdef\lilypondspecial{ + \special{header=music-drawing-routines.ps} + \gdef\lilypondspecial{} +} % the feta characters \input feta20 -- 2.39.5