Font not embedded in pdf

2010-05-28 Thread Thomas Scharkowski

Hi list,

in a lilypond document (2.13.21) I use a true type font for the title 
and barnumbers (RomanSmc-regular).
When printing I noticed that the font is replaced by another font, the 
spacing is incorrect. On screen the correct font is shown.


I printed the same pdf under windows and it worked (of course only 
because the font in question is installed there).


Next I noticed that in the pdf properties > fonts RomanSmc-Regular is 
listed but not marked as embedded.


I looked at another pdf in which I had used the same font some time ago 
(in December 2007, LilyPond 2.11.34) - here the font is embedded.

Did I overlook something or might this be a bug in the newer LilyPond?

BTW, when I use the svg backend and print to pdf from Inkscape, the 
resulting pdf has the font embedded - isn't this strange?


Thanks
Thomas

--
LilyPond 2.13.21
Kubuntu 10.04
Inkscape 0.47

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


aligning text and devnull with extender

2010-05-28 Thread Jan-Peter Voigt

Hello Lilypond-Users,

I know this is discussed often. So I have some examples how I tried it.

I am typesetting a few choral pieces (using the stable version 2.12.2 
Ubuntu repo), where there is often a sign, that singers should close 
from vowel to 'N'.

This is written: a - - - men  (n) 
The choir should do this in designated times/positions, so it should be 
written in the score.


I  prefer the solution with a Voice wich hides everything (example C). I 
have to take care to tag out all note-associated text and it leads to a 
lot of compile warnings. (german: "zu viele kollidierende Notenspalten 
werden ignoriert" colliding notes? But so what, it leads to the right 
placement of the '(n)'.


What do you think about it? Are there other solutions I didn't find 
googling my lilypond?


Regards,
Jan-Peter.

%%% 


\version "2.12.2"

noten = \relative c'' {
d1
\tag #'print { c1 ~ c1 }
\tag #'lyrics { c2 ~ c8 c4. ~ c1 }
}
notend = \relative c'' {
d1 | c1\( | c1\)
}
text = \lyricmode {
a -- men __ "(n)" __
}
textb = \lyricmode {
a -- \markup { men \translate #'( 14 . 0 ) "(n)" } __
}

\score {
\new StaffGroup
<<
  % the lyrics rhythm
  \new Staff <<
\new Voice="melodieA" { \keepWithTag #'lyrics \noten }
  >>
  \new Lyrics \lyricsto "melodieA" { \text }
% using a devnull context to align '(n)'
  % melismas and ties are not supported, so no extenders are drawn
  \new Staff <<
\new Devnull="melodie" { \keepWithTag #'lyrics \noten }
\new Voice { \keepWithTag #'print \noten }
  >>
  \new Lyrics \lyricsto "melodie" { \text }
% using markup translate to move the '(n)'
  % trial and error to move to the right position and no extender 
between 'men' and '(n)'

  \new Staff <<
\new Voice="melodieB" { \keepWithTag #'print \noten }
  >>
  \new Lyrics \lyricsto "melodieB" { \textb }
% using a voice with notes, slurs, ties and phrasingslurs hidden.
  % if there are other objects in the voice, like text (e.g. 
c^schneller ), it has to be 'tagged out'.

  % Otherwise those objects appear twice
  \new Staff <<
\new Voice="melodieC" \with {
  \override Slur #'stencil = ##f
  \override Tie #'stencil = ##f
  \override PhrasingSlur #'stencil = ##f
} { \hideNotes { \keepWithTag #'lyrics \noten } }
\new Voice { \keepWithTag #'print \noten }
  >>
  \new Lyrics \lyricsto "melodieC" { \text }
 % using phrasing slurs if the position is next measure
  % this only works, if the position of the '(n)' is on a tied note
  % the extender is not extended very far to the '(n)'
  % the phrasingSlur is *not* a tie and looks different!
  \new Staff <<
\new Voice="melodieD" { \notend }
  >>
  \new Lyrics \lyricsto "melodieD" { \text }
%some random notes
  \new Staff { \relative c'' { \repeat unfold 2 { g8 a bes c b bes b16 
c d b } | c1 } }

>>
}
%%% 



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


Re: aligning text and devnull with extender [correction]

2010-05-28 Thread Jan-Peter Voigt

Hello again,

I saw my code was damaged while copying and pasting to the mail, sorry! 
So now I attach a file ...


regards Jan-Peter.

\version "2.12.2"

noten = \relative c'' {
  \dynamicUp
  d1\p\>
  \tag #'print { c1 ~ c1 }
  \tag #'lyrics { c2 ~ c8 c4. ~ c1 }
  s1*0\! \bar "|."
}
notend = \relative c'' {
  \dynamicUp
  d1\p\>
  c1\( c1\)\!
  \bar "|."
}
text = \lyricmode {
  a -- men __ "(n)" __
}
textb = \lyricmode {
  a -- \markup { men \translate #'( 14 . 0 ) "(n)" } __
}

\score {
  \new ChoirStaff
  <<
% the lyrics rhythm
\new Staff <<
  \new Voice="melodieA" { \keepWithTag #'lyrics \noten }
>>
\new Lyrics \lyricsto "melodieA" { \text }

% using a devnull context to align '(n)'
% melismas and ties are not supported, so no extenders are drawn
\new Staff <<
  \new Devnull="melodie" { \keepWithTag #'lyrics \noten }
  \new Voice { \keepWithTag #'print \noten }
>>
\new Lyrics \lyricsto "melodie" { \text }

% using markup translate to move the '(n)'
% trial and error to move to the right position and no extender between 'men' and '(n)'
\new Staff <<
  \new Voice="melodieB" { \keepWithTag #'print \noten }
>>
\new Lyrics \lyricsto "melodieB" { \textb }

% using a voice with notes, slurs, ties and phrasingslurs hidden.
% if there are other objects in the voice, like text (e.g. c^schneller ), it has to be 'tagged out'.
% Otherwise those objects appear twice
\new Staff <<
  \new Voice="melodieC" \with {
\override Slur #'stencil = ##f
\override Tie #'stencil = ##f
\override PhrasingSlur #'stencil = ##f

\override DynamicText #'stencil = ##f
\override Hairpin #'stencil = ##f
  } { \hideNotes { \keepWithTag #'lyrics \noten } }
  \new Voice { \keepWithTag #'print \noten }
>>
\new Lyrics \lyricsto "melodieC" { \text }

% using phrasing slurs if the position is next measure
% this only works, if the position of the '(n)' is on a tied note
% the extender is not extended very far to the '(n)'
% the phrasingSlur is *not* a tie and looks different!
\new Staff <<
  \new Voice="melodieD" { \notend }
>>
\new Lyrics \lyricsto "melodieD" { \text }


%some random notes
\new Staff { \relative c'' { \repeat unfold 2 { g8 a bes c b bes b16 c d b } | c1 } }
  >>
}


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


Re: Hide staff on printout but retain midi

2010-05-28 Thread Wilbert Berendsen
Op donderdag 27 mei 2010 schreef northofscotland:

> I am typesetting a mediaeval trouvere song and want to add a drone to the
> midi but hide the somewhat redundant music in the printout.  Is there a
> simple way to do this, please?

That's easy, using two \score blocks, one for the printout and one for the 
midi, like this:

musicOne = { ... }
musicTwo = { ... }

\score {
  <<
\new Staff \musicOne
  >>
  \layout { }
}

\score {
  <<
\new Staff \musicOne
\new Staff \musicTwo
  >>
  \midi { }
}


A \score { } block with a \midi {} but without a \layout {} will not print.

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/

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


Re: Font not embedded in pdf

2010-05-28 Thread Henning Hraban Ramm

Am 2010-05-28 um 10:33 schrieb Thomas Scharkowski:

in a lilypond document (2.13.21) I use a true type font for the  
title and barnumbers (RomanSmc-regular).
When printing I noticed that the font is replaced by another font,  
the spacing is incorrect. On screen the correct font is shown.
I printed the same pdf under windows and it worked (of course only  
because the font in question is installed there).
Next I noticed that in the pdf properties > fonts RomanSmc-Regular  
is listed but not marked as embedded.
I looked at another pdf in which I had used the same font some time  
ago (in December 2007, LilyPond 2.11.34) - here the font is embedded.

Did I overlook something or might this be a bug in the newer LilyPond?


TrueType and OpenType fonts can define that they must not get  
embedded. A lot of older fonts (mostly made with Fontographer) has  
this flag mistakenly set to an undefined value. Adobe says this should  
be interpreted as "don't embed".


I don't know but can imagine that LilyPond started to obey this embed  
flag, while Inkscape and older LilyPond don't. This is just a wild  
guess.



Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)



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


Re: aligning text and devnull with extender

2010-05-28 Thread Kieren MacMillan
Hi Jan-Peter:

> I am typesetting a few choral pieces (using the stable version 2.12.2 Ubuntu 
> repo), where there is often a sign, that singers should close from vowel to 
> 'N'. 
> This is written: a - - - men  (n)  
> The choir should do this in designated times/positions, so it should be 
> written in the score.

I think perhaps it's easier than you think:

lyrL = { \once \override LyricText #'self-alignment-X = #LEFT }
noten = \relative c'' {
  \set melismaBusyProperties = #'() d1 |
  c1 ~ |
  c1
  \bar "|."
}
text = \lyricmode {
 a -- \lyrL \markup \line { men \draw-line #'(4 . 0) } "(n)"
}
\score {
  \new ChoirStaff <<
\new Staff \new Voice = "melodieA" \noten
\new Lyrics \lyricsto "melodieA" \text
  >>
}

No need for all those extra Voices, DevNull contexts, etc.

Hope this helps!
Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Hide staff on printout but retain midi

2010-05-28 Thread northofscotland

Many thanks for the replies.

As is so often the case with Lilypond, its easy when you know how!
Works a treat. Thanks.



northofscotland wrote:
> 
> I am typesetting a mediaeval trouvere song and want to add a drone to the
> midi but hide the somewhat redundant music in the printout.  Is there a
> simple way to do this, please?
> 

-- 
View this message in context: 
http://old.nabble.com/Hide-staff-on-printout-but-retain-midi-tp28693911p28706815.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: aligning text and devnull with extender

2010-05-28 Thread Jan-Peter Voigt

Hi Kieren,

thank you for this hint. I embedded it in my little test-file and will 
use it :-) . Its a cleaner and nicer solution than the phrasing-slur hack!
But my tagged-Voice-solution still has the opportunity to place the 
'(n)' somewhere without a note above it. The scores I am working on need 
this. One might ask, if it would be easier to read, if there would be a 
tied note above the '(n)'-ending, but I try to typeset as close as 
possible to the original handwritten scores.


Regards,
Jan-Peter.


Kieren MacMillan wrote:

Hi Jan-Peter:

  
I am typesetting a few choral pieces (using the stable version 2.12.2 Ubuntu repo), where there is often a sign, that singers should close from vowel to 'N'. 
This is written: a - - - men  (n)  
The choir should do this in designated times/positions, so it should be written in the score.



I think perhaps it's easier than you think:

lyrL = { \once \override LyricText #'self-alignment-X = #LEFT }
noten = \relative c'' {
  \set melismaBusyProperties = #'() d1 |
  c1 ~ |
  c1
  \bar "|."
}
text = \lyricmode {
 a -- \lyrL \markup \line { men \draw-line #'(4 . 0) } "(n)"
}
\score {
  \new ChoirStaff <<
\new Staff \new Voice = "melodieA" \noten
\new Lyrics \lyricsto "melodieA" \text
  >>
}

No need for all those extra Voices, DevNull contexts, etc.

Hope this helps!
Kieren.
  


\version "2.12.2"

noten = \relative c'' {
  \dynamicUp
  d1\p\>
  \tag #'print { c1 ~ c1 }
  \tag #'lyrics { c2 ~ c8 c4. ~ c1 }
  s1*0\! \bar "|."
}
notend = \relative c'' {
  \dynamicUp
  d1\p\>
  \once \override Staff.PhrasingSlur #'height-limit = #1
  c1\( c1\)\!
  \bar "|."
}

lyrL = { \once \override LyricText #'self-alignment-X = #LEFT }
notene = \relative c'' {
  \dynamicUp
  \set melismaBusyProperties = #'() d1\p\> |
  c1 ~ |
  c1\!
  \bar "|."
}

text = \lyricmode {
  a -- men __ "(n)" __
}
textb = \lyricmode {
  a -- \markup { men \translate #'( 10 . 0 ) "(n)" } __
}
texte = \lyricmode {
  a -- \lyrL \markup \line { men \draw-line #'(20 . 0) } "(n)"
}

\score {
  <<
% the lyrics rhythm
\new Staff <<
  \new Voice="melodieA" { R1^"lyric rhythm" \keepWithTag #'lyrics \noten }
>>
\new Lyrics \lyricsto "melodieA" { \text }

\new ChoirStaff
<<
  
  % using a devnull context to align '(n)'
  % melismas and ties are not supported, so no extenders are drawn
  % the '(n)' is displayed to early
  \new Staff <<
\new Devnull="melodie" { s1 \keepWithTag #'lyrics \noten }
\new Voice { R1^"example A (devnull)" \keepWithTag #'print \noten }
  >>
  \new Lyrics \lyricsto "melodie" { \text }
  
  % using markup translate to move the '(n)'
  % trial and error to move to the right position and no extender between 'men' and '(n)'
  \new Staff <<
\new Voice="melodieB" { R1^"example B (markup translate)" \keepWithTag #'print \noten }
  >>
  \new Lyrics \lyricsto "melodieB" { \textb }
  
  % using a voice with notes, slurs, ties and phrasingslurs hidden.
  % if there are other objects in the voice, like text (e.g. c^schneller ), it has to be 'tagged out'.
  % Otherwise those objects appear twice
  \new Staff <<
\new Voice="melodieC" \with {
  \override Slur #'stencil = ##f
  \override Tie #'stencil = ##f
  \override PhrasingSlur #'stencil = ##f
  
  \override DynamicText #'stencil = ##f
  \override Hairpin #'stencil = ##f
  % what else should be hidden?
} { \hideNotes { s1 \keepWithTag #'lyrics \noten } }
\new Voice { R1^"example C (hidden notes)" \keepWithTag #'print \noten }
  >>
  \new Lyrics \lyricsto "melodieC" { \text }
  
  % using phrasing slurs if the position is next measure
  % this only works, if the position of the '(n)' is on a tied note
  % the extender is not extended very far to the '(n)'
  % a phrasing slur is *not* a tie and looks different!
  \new Staff <<
\new Voice="melodieD" { R1^"example D (phrasing slurs)" \notend }
  >>
  \new Lyrics \lyricsto "melodieD" { \text }
  
  % using 'melismaBusyProperties' and drawline
  % a good alternative to the phrasing slur hack
  \new Staff \new Voice = "melodieE" { R1^"example E (drawline)" \notene }
  \new Lyrics \lyricsto "melodieE" \texte
>>

%some random notes
\new Staff { \relative c'' { g8^"some random notes" a bes c b bes b16 c d b \repeat unfold 2 { g8 a bes c b bes b16 c d b } | c1 } }
  >>
}


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


Multiline \header fields issue (baseline-skip?)

2010-05-28 Thread Xavier Scheuer
Hi!

I'm experiencing a very annoying (IMO) output with multiline
\header fields.

I don't know if it's a bug or if I'm doing something wrong (actually I
would tend to consider this as a bug).

If I use for example two lines for the "composer" field, the second
line is closer to the following field (i.e. "arranger") than to the
first line of the "composer" field.  This is very unpleasant.

Should it be considered as a bug  (pity, please don't grade it as
"priority-low" or "anecdotal")?

I'm sure most of you should have encounter this issue at least once,
so please, tell me you have some kind of "workaround suggestions".  :D

Thanks,
Xavier


%% Multiline \header fields are not evenly spaced.
%%
%% I suppose it should be somewhat related to "baseline-skip"
%% or due to bookTitleMarkup definition.

\version "2.13.21"

\header {
  composer = \markup \center-column {
\line { composer line 1 }
\line { composer line 2 }
% "composer line 2" should be closer to "composer line 1"
% than to "arranger"
  }
  arranger = "arranger"
}

\score {
  c'
}


--
Xavier Scheuer 

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


Re: Multiline \header fields issue (baseline-skip?)

2010-05-28 Thread -Eluze


Xavier Scheuer wrote:
> 
> If I use for example two lines for the "composer" field, the second
> line is closer to the following field (i.e. "arranger") than to the
> first line of the "composer" field.  This is very unpleasant.
> 
> I'm sure most of you should have encounter this issue at least once,
> so please, tell me you have some kind of "workaround suggestions".  :D
> 
you can use 
  
composer = \markup \override #'(direction . .6) \dir-column { …}

but i agree the default spacing is not pleasant


-- 
View this message in context: 
http://old.nabble.com/Multiline-%5Cheader-fields-issue-%28baseline-skip-%29-tp28712052p28712273.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Multiline \header fields issue (baseline-skip?)

2010-05-28 Thread -Eluze


-Eluze wrote:
> 
> 
> Xavier Scheuer wrote:
>> 
>> If I use for example two lines for the "composer" field, the second
>> line is closer to the following field (i.e. "arranger") than to the
>> first line of the "composer" field.  This is very unpleasant.
>> 
>> I'm sure most of you should have encounter this issue at least once,
>> so please, tell me you have some kind of "workaround suggestions".  :D
>> 
> you can use 
>   
> composer = \markup \override #'(direction . .6) \dir-column { …}
> 
> but i agree the default spacing is not pleasant
> 
sorry, to be more precise you should use something like

   \override #'(direction . -.6)
  \dir-column { 
\line { composer line 1 } 
\line { composer line 2 } 
\line { composer line 3 }
\line { composer line 4 }
\line { composer line 5 }
\line { \null }
% "composer line 2" should be closer to "composer line 1" 
% than to "arranger" 
  }  
with a negative number for the direction; the \null makes sure there is
enough space to the following item.
-- 
View this message in context: 
http://old.nabble.com/Multiline-%5Cheader-fields-issue-%28baseline-skip-%29-tp28712052p28712587.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


tied harmonic and parentheses in TabStaff

2010-05-28 Thread Federico Bruni
Hi all,

I've realized that a tied harmonic note in TabStaff keeps the angle
brackets while the number is correctly removed. (see attached file)
I suppose this is not intended and in my opinion brackets should be
removed.

I've done it manually with:
\once \override HarmonicParenthesesItem #'stencil = ##f

But I think this should be the default behaviour.
Can this be implemented?

What do you think about it?

Thanks,
Federico


harmonic-tie.ly
Description: application/fluid
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user