Re: Landscape output displays sideways

2023-02-18 Thread Saul Tobin
Channel wrap around can also occur if you assign midi channels per Voice
and instantiate more than 16 Voice contexts, for example if you have used
\new Voice at the beginning of each polyphonic passage.

On Sat, Feb 18, 2023, 7:04 AM  wrote:

> On 17 Feb 2023 at 19:11, Jean Abou Samra wrote:
>
> > I have another question. I get five of these messages:
> > warning: MIDI channel wrapped around
> > warning: remapping modulo 16
> > I am-generating a MIDI file, but the only line in the source file
> talking about MIDI is
> >   \midi {
> > \tempo 2=100
> >   }
> > in the score block. What's going on.
> > You cannot have more than 16 channels in a MIDI file, it's a limitation
> of the MIDI
> > format. Maybe you have more than 16 staves?
>
> The piece has four staves.
>
> --
> Tim Slattery
> t...@risingdove.com
>
>
>
>


Re: Landscape output displays sideways

2023-02-18 Thread tim
On 17 Feb 2023 at 19:11, Jean Abou Samra wrote:

> I have another question. I get five of these messages:
> warning: MIDI channel wrapped around
> warning: remapping modulo 16
> I am-generating a MIDI file, but the only line in the source file talking 
> about MIDI is
>   \midi {
>     \tempo 2=100
>   }
> in the score block. What's going on.
> You cannot have more than 16 channels in a MIDI file, it's a limitation of 
> the MIDI
> format. Maybe you have more than 16 staves?

The piece has four staves.

--
Tim Slattery
t...@risingdove.com





Re: Landscape output displays sideways

2023-02-17 Thread Jean Abou Samra
Le vendredi 17 février 2023 à 12:54 -0500, t...@risingdove.com a écrit :
> On 17 Feb 2023 at 18:03, Jean Abou Samra wrote:
> 
> >  
> > Le vendredi 17 février 2023 à 11:47 -0500, t...@risingdove.com a écrit :  
> > After some more investigation, it seems that my problem is not with  
> > Frescobaldi, but with Lilypond 2.24.1.  
> > The way you start your message, it sounds like you have already told the 
> > list about a  
> > problem, but I didn't receive anything?
> 
> I thought that I had posted before, but I was having some trouble getting 
> mail to this list.
> 
> > My composition includes this block:  
> > \paper {  
> >   #(set-paper-size "letter" 'landscape)  
> > }  
> > The output is in landscape format, but it's displayed sideways. That is,  
> > the 8.5x11 page is displayed in portrait format, even though the music in  
> > it is in landscape. Apparently something is not being set properly in the  
> > PDF file to get it to rotate the page. It's always worked fine before, the  
> > output is landscape and is displayed properly.  
> > This sideways display appears both in Frescobaldi and in a separate PDF  
> > reader, so the problem must be in the PDF.
> 
> > Are you sure that it worked differently before?
> 
> It has certainly worked properly in the past. I may have missed the exact 
> version that started  messing up, but it's difficult to believe that *nobody* 
> noticed it. I'm looking at a composition is  version 2.18.2 that displays 
> properly in landscape.

I suspect it was this bug fix:

https://gitlab.com/lilypond/lilypond/-/issues/5126


> > For me,
> 
> 
> > There is a big difference with
> 
> > \paper {  
> >   #(set-paper-size "letterlandscape")  
> > }
> 
> !! That makes it work! I don't get it, it seems to me that the "letter" 
> 'landscape is misbehaving.  But, good enough, I'll use "letterlandscape" from 
> now on. Thanks!


No, it's not misbehaving, the difference is intentional and 
[documented](https://lilypond.org/doc/v2.24/Documentation/notation/paper-size-and-automatic-scaling).


> I have another question. I get five of these messages:
> 
> warning: MIDI channel wrapped around  
> warning: remapping modulo 16
> 
> I am-generating a MIDI file, but the only line in the source file talking 
> about MIDI is
> 
>   \midi {  
>     \tempo 2=100  
>   }
> 
> in the score block. What's going on.


You cannot have more than 16 channels in a MIDI file, it's a limitation of the 
MIDI format. Maybe you have more than 16 staves?


signature.asc
Description: This is a digitally signed message part


Re: Landscape output displays sideways

2023-02-17 Thread tim
On 17 Feb 2023 at 18:03, Jean Abou Samra wrote:

>
> Le vendredi 17 février 2023 à 11:47 -0500, t...@risingdove.com a écrit :
> After some more investigation, it seems that my problem is not with
> Frescobaldi, but with Lilypond 2.24.1.
> The way you start your message, it sounds like you have already told the list 
> about a
> problem, but I didn't receive anything?

I thought that I had posted before, but I was having some trouble getting mail 
to this list.

> My composition includes this block:
> \paper {
>   #(set-paper-size "letter" 'landscape)
> }
> The output is in landscape format, but it's displayed sideways. That is,
> the 8.5x11 page is displayed in portrait format, even though the music in
> it is in landscape. Apparently something is not being set properly in the
> PDF file to get it to rotate the page. It's always worked fine before, the
> output is landscape and is displayed properly.
> This sideways display appears both in Frescobaldi and in a separate PDF
> reader, so the problem must be in the PDF.

> Are you sure that it worked differently before?

It has certainly worked properly in the past. I may have missed the exact 
version that started
messing up, but it's difficult to believe that *nobody* noticed it. I'm looking 
at a composition is
version 2.18.2 that displays properly in landscape.

> For me,


> There is a big difference with

> \paper {
>   #(set-paper-size "letterlandscape")
> }

!! That makes it work! I don't get it, it seems to me that the "letter" 
'landscape is misbehaving.
But, good enough, I'll use "letterlandscape" from now on. Thanks!

I have another question. I get five of these messages:

warning: MIDI channel wrapped around
warning: remapping modulo 16

I am-generating a MIDI file, but the only line in the source file talking about 
MIDI is

  \midi {
\tempo 2=100
  }

in the score block. What's going on.




--
Tim Slattery
t...@risingdove.com


Re: Landscape output displays sideways

2023-02-17 Thread Jean Abou Samra
Le vendredi 17 février 2023 à 11:47 -0500, t...@risingdove.com a écrit :
> After some more investigation, it seems that my problem is not with  
> Frescobaldi, but with Lilypond 2.24.1.


The way you start your message, it sounds like you have already told the list 
about a problem, but I didn't receive anything?

> My composition includes this block:
> 
> \paper {  
>   #(set-paper-size "letter" 'landscape)  
> }
> 
> The output is in landscape format, but it's displayed sideways. That is,  
> the 8.5x11 page is displayed in portrait format, even though the music in  
> it is in landscape. Apparently something is not being set properly in the  
> PDF file to get it to rotate the page. It's always worked fine before, the  
> output is landscape and is displayed properly.
> 
> This sideways display appears both in Frescobaldi and in a separate PDF  
> reader, so the problem must be in the PDF.


Are you sure that it worked differently before? For me, 

```
\paper {
  #(set-paper-size "letter" 'landscape)
}

{ c' }
```

gives the same output in 2.24 and 2.22.

There is a big difference with

```
\version "2.24.0"

\paper {
  #(set-paper-size "letterlandscape")
}

{ c' }
```


signature.asc
Description: This is a digitally signed message part


Landscape output displays sideways

2023-02-17 Thread tim
After some more investigation, it seems that my problem is not with
Frescobaldi, but with Lilypond 2.24.1.

My composition includes this block:

\paper {
  #(set-paper-size "letter" 'landscape)
}

The output is in landscape format, but it's displayed sideways. That is,
the 8.5x11 page is displayed in portrait format, even though the music in
it is in landscape. Apparently something is not being set properly in the
PDF file to get it to rotate the page. It's always worked fine before, the
output is landscape and is displayed properly.

This sideways display appears both in Frescobaldi and in a separate PDF
reader, so the problem must be in the PDF.


-- 
Tim Slattery
t...@risingdove.com





Re: Landscape output

2015-06-29 Thread J Martin Rushton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/15 16:16, Alexander Kobel wrote:
 On 2015-06-26 16:51, Peter Gentry wrote:
 Hello
 
 My paper block is %
 --- % set
 the paper layout for binding % footer has title and page number %
 --- 
 \paper { #(set-default-paper-size a4 'landscape) two-sided =
 ##t [...] } % end of paper block
 
 But the pdf output is still A4 Portrait where am I going wrong?
 
 Hi Peter,
 
 see
 
 http://lilypond.org/doc/v2.18/Documentation/notation/paper-size-and-au
tomatic-scaling

 
 
 set-default-paper-size must be called at top-level, out of the
 paper block; the alternative is to use set-paper-size in the paper
 block:
 
 #(set-default-paper-size a4 'landscape) \paper { ... }
 
 %% or
 
 \paper { #(set-paper-size a4 'landscape) ... }
 
 
 HTH, Alexander
 
 ___ lilypond-user
 mailing list lilypond-user@gnu.org 
 https://lists.gnu.org/mailman/listinfo/lilypond-user

Thanks for this Alexander.  I was having problems engraving a piece
for use in a well-known online encyclopedia and had half a page of
white space.  A6 landscape suits the length perfectly.

Regards,
Martin
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJVkcphAAoJEAF3yXsqtyBl8AwQAMsfNXqHUK68iym0ZyMTafHw
byOTtURwMI4YjdhBT5IrPcj4KZr4EK28xhjYGGJDew3Ro9mdr/n7hAfwcw+gZLjo
A3393MGNdIL0Yw9Bljbqtoo1VlI5YXiDD8O6CTTu4ubCwsvH99/WYBdYSsXvOmk6
hVoyiilnCooZQxaz+IgjZ5eNmCc2dB8zIv2z5eRyT98vsEDUMZUWpZnvgJeEH855
EDspSii2r18auEOpplOLr0E4+Y4/o0F/Nzn1nESg8X3rUEwcnK/0IS8I6WSo8k9+
BxplXgFn2DhmhF4bY27qEbQmXp0fGXjXxc6U/Ja70ejQX8eQa+zqlvOxdQSgwMjw
QLwDexsI25WQDfLl56GrJ2WDw2snoxo13xVpAHob0I9aHeKwYrNzJ2XAcsR2Ej/f
KQluL7W7wL6PKffWwzrjpgc10ERryMDPanvvzQ+JwBU6tpGKSyJ8Zs4r9S+uR/0S
207DRyIrNUZdkwgOMGqXlzM1cOOlq2mhaQApDuPDDin96bCs7rDvC0r9pUt54evE
nuEks9XG2TJUXJHp4UXbQZfjUOYVGa+P+CcynwNQVjj8Mz6ANhJeMAypRk/QTh6V
4pOtve2xzK9oAAH0398kspMUVqMGTK50GQQKxueGVHMFGloIYsSTplQSkBboWrZv
j+V5M+HTiUh+6nXLM+7N
=rL6i
-END PGP SIGNATURE-

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Landscape output

2015-06-26 Thread Peter Gentry
Hello

My paper block is
% ---
% set the paper layout for binding
% footer has title and page number
% ---
 \paper {
#(set-default-paper-size a4 'landscape)
two-sided = ##t
top-margin = 10\mm
bottom-margin = 10\mm
inner-margin = 20 \mm
outer-margin = 15 \mm
binding-offset = 5 \mm
first-page-number = #1
blank-after-score-page-force = #10
page-breaking = #ly:page-turn-breaking   
ragged-bottom = ##t 
indent = 5\mm
print-page-number = ##t
print-first-page-number = ##f
oddHeaderMarkup = \markup \null
evenHeaderMarkup = \markup \null
oddFooterMarkup = \markup {
 \fill-line {
   \null \fontsize #2  
\fromproperty #'header:mycustomtext 
  \on-the-fly 
#print-page-number-check-first
   \fontsize #2  \fromproperty 
#'page:page-number-string
  } % end of fill 
line

  } % end of markup 
block
evenFooterMarkup = \oddFooterMarkup
 } % end of paper block

But the pdf output is still A4 Portrait where am I going wrong?

regards
Peter Gentry 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Landscape output

2015-06-26 Thread Alexander Kobel

On 2015-06-26 16:51, Peter Gentry wrote:

Hello

My paper block is
% ---
% set the paper layout for binding
% footer has title and page number
% ---
  \paper {
#(set-default-paper-size a4 'landscape)
two-sided = ##t
  [...]
  } % end of paper block

But the pdf output is still A4 Portrait where am I going wrong?


Hi Peter,

see

http://lilypond.org/doc/v2.18/Documentation/notation/paper-size-and-automatic-scaling

set-default-paper-size must be called at top-level, out of the paper 
block; the alternative is to use set-paper-size in the paper block:


#(set-default-paper-size a4 'landscape)
\paper {
  ...
}

%% or

\paper {
  #(set-paper-size a4 'landscape)
  ...
}


HTH,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Landscape output

2015-06-26 Thread Peter Gentry
 

-Original Message-
From: Peter Gentry [mailto:peter.gen...@sunscales.co.uk] 
Sent: Friday, June 26, 2015 3:52 PM
To: 'lilypond-user@gnu.org'
Subject: RE Landscape output

Hello

My paper block is
% ---
% set the paper layout for binding
% footer has title and page number
% ---
 \paper {
   #(set-default-paper-size a4 'landscape)
   snip
 } % end of paper block

But the pdf output is still A4 Portrait where am I going wrong?

Thanks default paper size must go at a higher level - I thought it must be 
simple.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Landscape output

2015-06-26 Thread Simon Albrecht
There is no compilable example to test with, but perhaps set-paper-size 
(without -default) might do it?
By the way: IIRC, the evenHeaderMarkup and evenFooterMarkup definitions 
may be omitted here and the values will be inherited from the 
corresponding odd… variables.


HTH, Simon

Am 26.06.2015 um 16:51 schrieb Peter Gentry:

Hello

My paper block is
% ---
% set the paper layout for binding
% footer has title and page number
% ---
  \paper {
#(set-default-paper-size a4 'landscape)
two-sided = ##t
 top-margin = 10\mm
 bottom-margin = 10\mm  
 inner-margin = 20 \mm
outer-margin = 15 \mm
binding-offset = 5 \mm
first-page-number = #1
 blank-after-score-page-force = #10
 page-breaking = #ly:page-turn-breaking
 ragged-bottom = ##t
 indent = 5\mm
 print-page-number = ##t
 print-first-page-number = ##f
 oddHeaderMarkup = \markup \null
 evenHeaderMarkup = \markup \null
 oddFooterMarkup = \markup {
  \fill-line {
\null \fontsize #2  
\fromproperty #'header:mycustomtext
   \on-the-fly 
#print-page-number-check-first
\fontsize #2  \fromproperty 
#'page:page-number-string
   } % end of fill 
line

   } % end of markup 
block
 evenFooterMarkup = \oddFooterMarkup
  } % end of paper block

But the pdf output is still A4 Portrait where am I going wrong?

regards
Peter Gentry



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


landscape output

2003-08-25 Thread Frédéric Bron
Hello!

I cannot make the orientation option work properly. In landscape mode, the calculated 
linewidth is that of the portrait mode and it seems that the linewidth option has no 
effect. See an example in the attached file. Could someone help ?

Thanks,

Frédéric
\header {
title = Variations
subtitle = sur un thème de Haydn
composer = Johannes Brahms
arranger = Arr. André Sablon
tagline = Ensemble de clarinettes de Voiron
}

\version 1.8.0

\include english.ly

\paper {
pagenumber = 1
papersize = a4
orientation = landscape
linewidth = 27.7\cm
}

global = {
}

\include paper20.ly

ClarinetteIThemeOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key bf \major
\time 2/4
\relative d'' {
\repeat volta 2 {
d8.\p ef16 d8 d  ef4-- d--  c bf   %  1-3
c8. d16 ef-( c-) d-( bf-)  %  4
d4-( c16-) a bf c  %  5
d8.\f ef16 d8 d  ef4-- d--  c bf   %  6-8
c8. d16 bf8 a  c4-( bf8-) r%  9-10
}
\repeat volta 2 {
R2  g8.\p a16 g8 g  a8. bf16 a8 a  % 11-13
bf-. c-. d4--  ef8.\pp f16 ef8 ef  % 14-15
d8. ef16 d8 d  c8. d16 c8 bf   % 16-17
bf4-( a-)  d'8.\f ef16 d8 d  ef4 d % 18-20
c4 bf  c8. d16 bf8 a  bf2  bf  bf  % 21-25
bf  bf4_#'(italic dim.) bf  bf bf% 26-28
}
\alternative {
{ bf2 }% 29
{ bf2-\fermata }   % 30
}
}
\bar ||
}
ClarinetteIVarIOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key bf \major
\time 2/4
\relative d'' {
\repeat volta 2 {
r4 r8 d\p-(  ef g bf d  ef c bf d  %  1-3
ef-\ c bf d  bf g f a-)-\!%  4-5
r4 \times 2/3 { r8 bf\mf-( a } %  6
\times 2/3 { g bf ef, d f bf,  %  7
a c ef, d f bf  g' f ef d c f  %  8-9
ef \ c a bf f d-)-\! }% 10
}
\repeat volta 2 {
r4 r8 a'\f-(   % 11
bf-\ df e g  a c ef gf-\! % 12-13
f \ d bf a-)-\!   % 14
\times 2/3 { g\p-( \ bf ef,-)-\! } r4 % 15
\times 2/3 { f8-( \ bf d,-)-\! } r4 % 16
R2 % 17
\times 2/3 { ef8-(-\ d c bf a c-)-\! } % 18
r4 \times 2/3 { r8 bf'\f-( a   % 19
g bf ef d f bf,  a c ef, d f bf% 20-21
g' f ef d c f-)% 22
r af,_\markup{\italic{ dim. }}-( g f af d,-) % 23
r ef'-( d c ef a,-)% 24
r af,-( g f af d,-) }  % 25
r4 \times 2/3 { r8 f''\p-( ef  % 26
d-\ f bf,-) } r4  % 27
\times 2/3 { d,8-( f bf,-)-\! } r4 % 28
d'2-\fermata   % 29
}
}
}
ClarinetteIVarIIOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key df \major
\time 2/4
\relative bf'' {
\repeat volta 2 {
bf4\f-( bf,8-.-) r  r4 r8 bf'\p-.  %  1-2
a-. f-. df-. bf-.  gf-. r r4  R2   %  3-5
bf'4\f-( bf,8-.-) r  r4 r8 bf'\p-. %  6-7
a-. f-. df-. bf-.  gf-. r r4  R2   %  8-10
}
\repeat volta 2 {
f''4\f-( f,8-.-) r % 11
g8.\p-( af16 g8-.-) r  % 12
c8.-(-\ df16 c8-.-) r % 13
f8.-( gf16 f8-.-) r-\! % 14
bf,8.\pp-( c16 bf4 ~   % 15
bf8. c16 bf4 ~ % 16
bf8.-\ c16 bf8 af % 17
gf4-\! \ f-)  % 18
bf4\f-\!-( bf,8-.-) r  r4 r8 bf'\p-.  % 18-20
a-. f-. df-. bf-.  gf-. r r4   % 21-22
f''8.\f-( gf16 \autoBeamOff f8-.-) af,-(-\ \autoBeamOn % 23
gf ef c a-)% 24

landscape output

2003-08-25 Thread Frédéric Bron
Hello!

I cannot make the orientation option work properly. In landscape mode, the calculated 
linewidth is that of the portrait mode and it seems that the linewidth option has no 
effect. See an example in the attached file. Could someone help ?

Thanks,

Frédéric

---
Frédéric Bron ([EMAIL PROTECTED])
\header {
title = Variations
subtitle = sur un thème de Haydn
composer = Johannes Brahms
arranger = Arr. André Sablon
tagline = Ensemble de clarinettes de Voiron
}

\version 1.8.0

\include english.ly

\paper {
pagenumber = 1
papersize = a4
orientation = landscape
linewidth = 27.7\cm
}

global = {
}

\include paper20.ly

ClarinetteIThemeOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key bf \major
\time 2/4
\relative d'' {
\repeat volta 2 {
d8.\p ef16 d8 d  ef4-- d--  c bf   %  1-3
c8. d16 ef-( c-) d-( bf-)  %  4
d4-( c16-) a bf c  %  5
d8.\f ef16 d8 d  ef4-- d--  c bf   %  6-8
c8. d16 bf8 a  c4-( bf8-) r%  9-10
}
\repeat volta 2 {
R2  g8.\p a16 g8 g  a8. bf16 a8 a  % 11-13
bf-. c-. d4--  ef8.\pp f16 ef8 ef  % 14-15
d8. ef16 d8 d  c8. d16 c8 bf   % 16-17
bf4-( a-)  d'8.\f ef16 d8 d  ef4 d % 18-20
c4 bf  c8. d16 bf8 a  bf2  bf  bf  % 21-25
bf  bf4_#'(italic dim.) bf  bf bf% 26-28
}
\alternative {
{ bf2 }% 29
{ bf2-\fermata }   % 30
}
}
\bar ||
}
ClarinetteIVarIOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key bf \major
\time 2/4
\relative d'' {
\repeat volta 2 {
r4 r8 d\p-(  ef g bf d  ef c bf d  %  1-3
ef-\ c bf d  bf g f a-)-\!%  4-5
r4 \times 2/3 { r8 bf\mf-( a } %  6
\times 2/3 { g bf ef, d f bf,  %  7
a c ef, d f bf  g' f ef d c f  %  8-9
ef \ c a bf f d-)-\! }% 10
}
\repeat volta 2 {
r4 r8 a'\f-(   % 11
bf-\ df e g  a c ef gf-\! % 12-13
f \ d bf a-)-\!   % 14
\times 2/3 { g\p-( \ bf ef,-)-\! } r4 % 15
\times 2/3 { f8-( \ bf d,-)-\! } r4 % 16
R2 % 17
\times 2/3 { ef8-(-\ d c bf a c-)-\! } % 18
r4 \times 2/3 { r8 bf'\f-( a   % 19
g bf ef d f bf,  a c ef, d f bf% 20-21
g' f ef d c f-)% 22
r af,_\markup{\italic{ dim. }}-( g f af d,-) % 23
r ef'-( d c ef a,-)% 24
r af,-( g f af d,-) }  % 25
r4 \times 2/3 { r8 f''\p-( ef  % 26
d-\ f bf,-) } r4  % 27
\times 2/3 { d,8-( f bf,-)-\! } r4 % 28
d'2-\fermata   % 29
}
}
}
ClarinetteIVarIIOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key df \major
\time 2/4
\relative bf'' {
\repeat volta 2 {
bf4\f-( bf,8-.-) r  r4 r8 bf'\p-.  %  1-2
a-. f-. df-. bf-.  gf-. r r4  R2   %  3-5
bf'4\f-( bf,8-.-) r  r4 r8 bf'\p-. %  6-7
a-. f-. df-. bf-.  gf-. r r4  R2   %  8-10
}
\repeat volta 2 {
f''4\f-( f,8-.-) r % 11
g8.\p-( af16 g8-.-) r  % 12
c8.-(-\ df16 c8-.-) r % 13
f8.-( gf16 f8-.-) r-\! % 14
bf,8.\pp-( c16 bf4 ~   % 15
bf8. c16 bf4 ~ % 16
bf8.-\ c16 bf8 af % 17
gf4-\! \ f-)  % 18
bf4\f-\!-( bf,8-.-) r  r4 r8 bf'\p-.  % 18-20
a-. f-. df-. bf-.  gf-. r r4   % 21-22
f''8.\f-( gf16 \autoBeamOff f8-.-) af,-(-\ \autoBeamOn % 23

Re: landscape output

2003-08-25 Thread Mats Bengtsson
I just tried to run 'ly2dvi -p ClarinetteI.ly' on your file and got
a nice three page score in landscape format.
Note that if you run dvips manually, you have to explicitly
specify the paper format: 'dvips -tlandscape' but if you use ly2dvi
it will automatically add the correct flags to dvips.
   /Mats

Frédéric Bron wrote:
Hello!

I cannot make the orientation option work properly. In landscape mode, 
the calculated linewidth is that of the portrait mode and it seems that 
the linewidth option has no effect. See an example in the attached file. 
Could someone help ?

Thanks,

Frédéric



\header {
title = Variations
subtitle = sur un thème de Haydn
composer = Johannes Brahms
arranger = Arr. André Sablon
tagline = Ensemble de clarinettes de Voiron
}
\version 1.8.0

\include english.ly

\paper {
pagenumber = 1
papersize = a4
orientation = landscape
linewidth = 27.7\cm
}
global = {
}
\include paper20.ly

ClarinetteIThemeOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key bf \major
\time 2/4
\relative d'' {
\repeat volta 2 {
d8.\p ef16 d8 d  ef4-- d--  c bf   %  1-3
c8. d16 ef-( c-) d-( bf-)  %  4
d4-( c16-) a bf c  %  5
d8.\f ef16 d8 d  ef4-- d--  c bf   %  6-8
c8. d16 bf8 a  c4-( bf8-) r%  9-10
}
\repeat volta 2 {
R2  g8.\p a16 g8 g  a8. bf16 a8 a  % 11-13
bf-. c-. d4--  ef8.\pp f16 ef8 ef  % 14-15
d8. ef16 d8 d  c8. d16 c8 bf   % 16-17
bf4-( a-)  d'8.\f ef16 d8 d  ef4 d % 18-20
c4 bf  c8. d16 bf8 a  bf2  bf  bf  % 21-25
bf  bf4_#'(italic dim.) bf  bf bf% 26-28
}
\alternative {
{ bf2 }% 29
{ bf2-\fermata }   % 30
}
}
\bar ||
}
ClarinetteIVarIOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key bf \major
\time 2/4
\relative d'' {
\repeat volta 2 {
r4 r8 d\p-(  ef g bf d  ef c bf d  %  1-3
ef-\ c bf d  bf g f a-)-\!%  4-5
r4 \times 2/3 { r8 bf\mf-( a } %  6
\times 2/3 { g bf ef, d f bf,  %  7
a c ef, d f bf  g' f ef d c f  %  8-9
ef \ c a bf f d-)-\! }% 10
}
\repeat volta 2 {
r4 r8 a'\f-(   % 11
bf-\ df e g  a c ef gf-\! % 12-13
f \ d bf a-)-\!   % 14
\times 2/3 { g\p-( \ bf ef,-)-\! } r4 % 15
\times 2/3 { f8-( \ bf d,-)-\! } r4 % 16
R2 % 17
\times 2/3 { ef8-(-\ d c bf a c-)-\! } % 18
r4 \times 2/3 { r8 bf'\f-( a   % 19
g bf ef d f bf,  a c ef, d f bf% 20-21
g' f ef d c f-)% 22
r af,_\markup{\italic{ dim. }}-( g f af d,-) % 23
r ef'-( d c ef a,-)% 24
r af,-( g f af d,-) }  % 25
r4 \times 2/3 { r8 f''\p-( ef  % 26
d-\ f bf,-) } r4  % 27
\times 2/3 { d,8-( f bf,-)-\! } r4 % 28
d'2-\fermata   % 29
}
}
}
ClarinetteIVarIIOriginal = \notes {
\property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
\key df \major
\time 2/4
\relative bf'' {
\repeat volta 2 {
bf4\f-( bf,8-.-) r  r4 r8 bf'\p-.  %  1-2
a-. f-. df-. bf-.  gf-. r r4  R2   %  3-5
bf'4\f-( bf,8-.-) r  r4 r8 bf'\p-. %  6-7
a-. f-. df-. bf-.  gf-. r r4  R2   %  8-10
}
\repeat volta 2 {
f''4\f-( f,8-.-) r % 11
g8.\p-( af16 g8-.-) r  % 12
c8.-(-\ df16 c8-.-) r % 13
f8.-( gf16 f8-.-) r-\! % 14
bf,8.\pp-( c16 bf4 ~   % 15
bf8. c16 bf4 ~ % 16
bf8.-\ c16 bf8 af