From 474c09e39f36e3a476c619d7c7f907edaf547107 Mon Sep 17 00:00:00 2001 From: Mats Bengtsson Date: Sat, 1 Jul 2000 16:23:19 +0200 Subject: [PATCH] patch::: 1.3.67.mb1: Re: Broken features 1.3.67.mb1 =========== * ly2dvi: changed back to original semantics of latexheaders. --- CHANGES | 5 +++++ VERSION | 2 +- input/test/orchestscore.ly | 17 ++++++++++------- scripts/convert-mudela.py | 11 +++++++++++ scripts/ly2dvi.py | 6 +++--- 5 files changed, 30 insertions(+), 11 deletions(-) diff --git a/CHANGES b/CHANGES index f14c1d313c..fb39f85323 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +1.3.67.mb1 +=========== + +* ly2dvi: changed back to original semantics of latexheaders. + 1.3.66.hwn1 =========== diff --git a/VERSION b/VERSION index 7f7efbb39e..8ffd3296d3 100644 --- a/VERSION +++ b/VERSION @@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=3 PATCH_LEVEL=67 -MY_PATCH_LEVEL= +MY_PATCH_LEVEL=mb1 # use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff --git a/input/test/orchestscore.ly b/input/test/orchestscore.ly index c9b7da5316..4f3fc240b2 100644 --- a/input/test/orchestscore.ly +++ b/input/test/orchestscore.ly @@ -5,6 +5,11 @@ m = \notes \relative c''{ c1 | c2 c | c c | c c | \break c c | c c | c c | c c | } +M = \notes \relative c''{ + +c1 | c2 c | c c | R1*5 +} + \score{ < \context StaffGroup = wood < \context Staff = flauto < @@ -37,14 +42,14 @@ c1 | c2 c | c c | c c | \break c c | c c | c c | c c | \context Staff = cor < \property Staff.instrument = "2 Corni in F" \property Staff.instr = "Cor." - \context Voice = corI { \stemup \m } - \context Voice = corII { \stemdown \m } + \context Voice = corI { \stemup \M } + \context Voice = corII { \stemdown \M } > \context Staff = trp < \property Staff.instrument = "2 Trp. in B\\textflat " \property Staff.instr = "Trp." - \context Voice = trpI { \stemup \m } - \context Voice = trpII { \stemdown \m } + \context Voice = trpI { \stemup \M } + \context Voice = trpII { \stemdown \M } > > \context StaffGroup = percussion <\context Staff = timpani < @@ -90,12 +95,10 @@ c1 | c2 c | c c | c c | \break c c | c c | c c | c c | \translator { \OrchestralScoreContext barNumberScriptPadding = 10; - minVerticalAlign = 2.2*\staffheight; - } \translator { \HaraKiriStaffContext - \consists "Instrument_name_engraver"; marginScriptPadding = 15.0; +% StaffMinimumVerticalExtent = #(cons -0.0 0.0) } } } diff --git a/scripts/convert-mudela.py b/scripts/convert-mudela.py index d144bcc4f2..5434a4c151 100644 --- a/scripts/convert-mudela.py +++ b/scripts/convert-mudela.py @@ -480,6 +480,17 @@ if 1: conversions.append ((1,3,59), conv, '\key X ; -> \key X major; ') +if 1: + def conv (str): +# if re.search ('latexheaders *= *"\\\\input ',str): +# sys.stderr.write ('\nHello???') + str = re.sub (r'latexheaders *= *"\\\\input ', + 'latexheaders = "', + str) + return str + conversions.append ((1,3,68), conv, 'latexheaders = "\\input global" -> latexheaders = "global"') + + ############################ diff --git a/scripts/ly2dvi.py b/scripts/ly2dvi.py index e17b41b1f1..34ce7efd3c 100644 --- a/scripts/ly2dvi.py +++ b/scripts/ly2dvi.py @@ -264,8 +264,8 @@ class TeXOutput: %%\headsep0pt %% Maybe this is too drastic, but let us give it a try. \geometry{width=%spt, height=%spt,headheight=2mm,headsep=0pt,footskip=2mm} -\input lilyponddefs -\input titledefs +\input{lilyponddefs} +\input{titledefs} %s \makeatletter \renewcommand{\@oddhead}{\parbox{\textwidth}%% @@ -817,7 +817,7 @@ class Properties: # Set latex header name # def setHeader(this,head, requester): - this.__set('header',head,requester) + this.__set('header','\\input{' + head + '}',requester) # # Set or Clear Dependencies flag to generate makefile dependencies -- 2.39.5