From: Werner Lemberg Date: Fri, 22 Oct 2004 08:10:04 +0000 (+0000) Subject: * tex/lily-pdf-defs.tex, tex/lily-ps-defs.tex X-Git-Tag: release/2.3.23~8 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d6421c018c710475f9764a69d7fe37ecba092911;p=lilypond.git * tex/lily-pdf-defs.tex, tex/lily-ps-defs.tex (\lilypondexperimentalfeatures): Removed. --- diff --git a/ChangeLog b/ChangeLog index 0a8aad7be5..843da8b4cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-21 Werner Lemberg + + * tex/lily-pdf-defs.tex, tex/lily-ps-defs.tex + (\lilypondexperimentalfeatures): Removed. + 2004-10-20 Jürgen Reuter * Documentation/user/notation.itely: fixed 2 typos diff --git a/tex/lily-pdf-defs.tex b/tex/lily-pdf-defs.tex index 69af9f0465..be62a95bf2 100644 --- a/tex/lily-pdf-defs.tex +++ b/tex/lily-pdf-defs.tex @@ -1,7 +1,7 @@ -% lily-pdf-defs.tex -% -% Define an \embeddedpdf command so that we can do the right thing. -% +%% lily-pdf-defs.tex +%% +%% Define an \embeddedpdf command so that we can do the right thing. +%% \edef\lilypdfdefsELC{\the\endlinechar}% \endlinechar -1\relax @@ -16,12 +16,9 @@ \lilypondpaperoutputscale\lilypondspace 0 0 cm % \lilyoutputscalefactor\lilypondspace 0 0 % \lilyoutputscalefactor\lilypondspace 0 0 cm % - ##1 Q - } - } -} - -\gdef\lilypondexperimentalfeatures{} + ##1 Q}}} \endlinechar \lilypdfdefsELC \endinput + +%% end lily-pdf-defs.tex diff --git a/tex/lily-ps-defs.tex b/tex/lily-ps-defs.tex index d3c4fc07c6..4a05f9d46f 100644 --- a/tex/lily-ps-defs.tex +++ b/tex/lily-ps-defs.tex @@ -1,50 +1,43 @@ -% lily-ps-defs.tex -% +%% lily-ps-defs.tex +%% \edef\lilypsdefsELC{\the\endlinechar}% \endlinechar -1\relax -% Header info (macros/defs, etc) should go into a \special{! ... }; -% note the ! sign. See dvips.info for details. -% -% We protect punctuation characters with \string to avoid problems with -% language specific shorthands (e.g. `:' for French, `"' for German, etc.). +%% Header info (macros/defs, etc) should go into a \special{! ... }; +%% note the ! sign. See dvips.info for details. +%% +%% We protect punctuation characters with \string to avoid problems with +%% language specific shorthands (e.g. `:' for French, `"' for German, etc.). \gdef\lilypondsetdimen#1{ \expandafter\gdef\csname #1ps\endcsname{} \special{ \string! - /#1 (\csname #1\endcsname) set_tex_dimen - } -} + /#1 (\csname #1\endcsname) set_tex_dimen}} \gdef\lilypondspace{ } \gdef\lilypondpostscript{ - % A document processed with lilypond-book can contain music fragments in - % different sizes. To reduce overhead, we define `lyscaleXXX' PS macros - % only once. + %% A document processed with lilypond-book can contain music fragments in + %% different sizes. To reduce overhead, we define `lyscaleXXX' PS macros + %% only once. \lilypondifundefined{lyscale\lilypondpaperoutputscale} - { - \expandafter\gdef\csname lyscale\lilypondpaperoutputscale\endcsname{} - % This sets CTM so that you get to the currentpoint - % by executing a 0 0 moveto - \special{ - \string! - /lyscale\lilypondpaperoutputscale - {\lilypondpaperoutputscale\lilypondspace\scaletounit % - dup scale} def - } - } + {\expandafter\gdef\csname lyscale\lilypondpaperoutputscale\endcsname{} + %% This sets CTM so that you get to the currentpoint + %% by executing a 0 0 moveto + \special{ + \string! + /lyscale\lilypondpaperoutputscale + {\lilypondpaperoutputscale\lilypondspace\scaletounit % + dup scale} def}} {} \def\embeddedps##1{ \special{ \string" - lyscale\lilypondpaperoutputscale\lilypondspace ##1} - } -} - -\gdef\lilypondexperimentalfeatures{} + lyscale\lilypondpaperoutputscale\lilypondspace ##1}}} \endlinechar \lilypsdefsELC \endinput + +%% end lily-ps-defs.tex