---- ../lilypond-1.3.139.jcn1/CHANGES Sun Mar 18 14:46:40 2001
+--- ../lilypond-1.3.139.jcn2/CHANGES Sun Mar 18 17:33:23 2001
+++ b/CHANGES Sun Mar 18 19:41:31 2001
+@@ -1,3 +1,12 @@
+1.3.139.jcn3
+============
+
+* Bugfix: ly2dvi: added letter support, catch indexing with unknown
+papersize names.
+
+* ly2dvi: removed warning message and changed --set=papersizename= to
+--set=papersize=. This fixes mutopia letter-targets.
+
+ 1.3.139.jcn2
+ ============
+ --- ../lilypond-1.3.139.jcn1/CHANGES Sun Mar 18 14:46:40 2001
++ b/CHANGES Sun Mar 18 17:33:23 2001
@@ -1,3 +1,13 @@
1.3.139.jcn2
linewidth = 60 * \staffspace;
@end example
-Because we have a Thread representing one instument, we move the
-need the @code{Rest_engraver} from Voice to Thread level.
+Because we have a Thread representing one instrument, we need to move
+the @code{Rest_engraver} from Voice to Thread level. Similarly, we need
+to move the @code{Multi_measure_rest_engraver} from Staff to Voice level.
@example
\translator@{
\ThreadContext
MAJOR_VERSION=1
MINOR_VERSION=3
PATCH_LEVEL=139
-MY_PATCH_LEVEL=jcn2
+MY_PATCH_LEVEL=jcn3
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
% Ugh, we need to override some LaTeX titling stuff
\header {
- title = "Ouverture\\vrule width0pt height 0pt depth 1ex";
+ title = "OuvertΓΌre\\vrule width0pt height 0pt depth 1ex";
subtitle = "\\normalsize Zu Heinrich Joseph v. Collins Trauerspiel\\vrule width0pt height 0pt depth 1ex";
subsubtitle = "\\Large\\bf Coriolan";
opus = "Op. 62";
- piece = "\\normalfont\\large Allegro con brio";
+ piece = "\\hspace*{30mm}\\normalfont\\large Allegro con brio";
composer = "Ludwig van Beethoven (1770-1827)";
enteredby = "JCN";
}
}
clarinetti = \notes \relative c' {
- \property Staff.instrument = #`("Clarinetti in B" ,text-flat)
-% \property Staff.instrument = #`(lines "2 Clarinetti" (rows "(B" ,raisedflat ")"))
+% \property Staff.instrument = #`("Clarinetti in B" ,text-flat)
+ \property Staff.instrument = #`(lines "2 Clarinetti" (rows "(B" ,raisedflat ")"))
\property Staff.instr = #`(lines "Cl." (rows "(B" ,raisedflat ")"))
c1 c
'language' : [],
'latexheaders' : [],
'latexpackages' : ['geometry'],
- 'papersizename' : [],
+ 'papersize' : [],
'pagenumber' : [],
'textheight' : [],
'linewidth' : [],
try:
val = string.atof (val)
except ValueError:
- warning (_ ("invalid value: %s") % `val`)
+ #warning (_ ("invalid value: %s") % `val`)
pass
try:
# search only the first 10k
s = s[:10240]
- for x in ('textheight', 'linewidth', 'papersizename', 'orientation'):
+ for x in ('textheight', 'linewidth', 'papersize', 'orientation'):
m = re.search (r'\\def\\lilypondpaper%s{([^}]*)}'%x, s)
if m:
set_setting (extra, x, m.group (1))
ly_paper_to_latexpaper = {
'a4' : 'a4paper',
-
+ 'letter' : 'letterpaper',
}
def global_latex_definition (tfiles, extra):
paper = ''
- if extra['papersizename']:
- paper = '[%s]' % ly_paper_to_latexpaper[extra['papersizename'][0]]
+ if extra['papersize']:
+ try:
+ paper = '[%s]' % ly_paper_to_latexpaper[extra['papersize'][0]]
+ except:
+ warning (_ ("invalid value: %s") % `extra['papersize'][0]`)
+ pass
+
s = s + '\\documentclass%s{article}\n' % paper
if extra['language']:
'''Run dvips on DVI_NAME, optionally doing -t landscape'''
opts = ''
- if extra['papersizename']:
- opts = opts + ' -t %s' % extra['papersizename'][0]
+ if extra['papersize']:
+ opts = opts + ' -t %s' % extra['papersize'][0]
if extra['orientation'] and extra['orientation'][0] == 'landscape':
opts = opts + ' -t landscape'