Re: Unusual beaming for piano music

2017-03-24 Thread Kim Shrier

> On Mar 24, 2017, at 1:29 PM, Simon Albrecht <simon.albre...@mail.de> wrote:
> 
> Am 24.03.2017 um 20:14 schrieb Kim Shrier:
>> In the notation reference about 
>> beaming,http://lilypond.org/doc/v2.19/Documentation/notation/beams.en.html#manual-beams
>>   , it looks like you can achieve what you want by using manual beaming 
>> along with \set stemLeftBeamCount and \set stemRightBeamCount .
> 
> Are you sure? This isn’t about number of beams, or placement of secondary 
> beams, but about continuing the main beams at a totally different vertical 
> position.

Yes, I missed the vertical position aspect.  Ignore my noise.

Kim


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


Re: Unusual beaming for piano music

2017-03-24 Thread Kim Shrier

> On Mar 23, 2017, at 7:26 PM, Jeffery Shivers  wrote:
> 
> On Thu, Mar 23, 2017 at 9:13 PM, Andrew Bernard
>  wrote:
>> I have an unusual beaming situation in the piano work I am setting. The 
>> composer I work with is fussy (very) about his visual gestures in notation 
>> and it is incumbent on me to reproduce the beaming seen in the attached 
>> image. The issue I am having difficulty with is where the beam for the 
>> spanned group goes from up to down with no break – at the point where the 
>> “treble^8” clef is introduced. Are there any smart solutions to such a 
>> situation?
>> 
>> I can ask to have this notated differently, but it would go against various 
>> large scale structural patterns in the music. [Yes, we know it does not 
>> follow engraving rules ]  So a technical lilypond solution would be great.
> 
> I would start to guess something like.. just faking it with
> simultaneous overlapping beams. But I've given up in the past on doing
> this exact thing more than once. I can't recall ever spending the time
> to work it out. Are the beams for the subdivisions (beyond quavers)
> always at least on one side or the other - and never both?
> 
In the notation reference about beaming, 
http://lilypond.org/doc/v2.19/Documentation/notation/beams.en.html#manual-beams 
, it looks like you can achieve what you want by using manual beaming along 
with \set stemLeftBeamCount and \set stemRightBeamCount .

Kim


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


Re: trying to reproduce unusual time signature

2016-09-17 Thread Kim Shrier

> On Sep 17, 2016, at 1:32 AM, Pierre Perol-Schneider 
>  wrote:
> 
> Hi Kim,
> 
> You can adapt: http://lsr.di.unimi.it/LSR/Item?id=725
> 
> e.g.:
> 
> \version "2.18.2"
> 
> \relative c' {
>   \override Score.TimeSignature.stencil = 
> #(lambda (grob) 
>  (grob-interpret-markup grob
>   #{ 
> \markup\concat\number
> \override #'(baseline-skip . 2) 
> \vcenter { 
>   "2" \fontsize #-3 "×"
>   \center-column { "3" "4" }
> }
>   #}))
>   \time 3/4
>   c8 b c d e f g4 g g g4 a8 g f e d2. \bar "|."
> }
> 
> 
> HTH,
> Pierre


That looks promising.  I don’t have time to try it today but I will
tomorrow.  Thanks.
Kim


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


Re: trying to reproduce unusual time signature

2016-09-17 Thread Kim Shrier

> On Sep 17, 2016, at 5:42 AM, Simon Albrecht <simon.albre...@mail.de> wrote:
> 
> On 17.09.2016 08:08, Kim Shrier wrote:
>> I am re-typsetting a piece from a modern (1950’s) edition
>> of some 14’th century music, in order to make it easier to
>> read and play from.  It has a time signature that looks like:
>> 
>>  3
>> 2 x -
>>  4
> 
> If I may give some counsel here: Make it easy and just use 6/4. There’s no 
> additional information we gain from the extraordinary 2x3/4, and IIUC using 
> meters of 6 is very common in transcriptions of such early music.

I think that preserving the time signatures as they are would be
better.  the 2 x 3/4  was just one example.  The piece starts off
in 2 x 2/4 goes to 2 x 6/8  then 3 x 6/8 then back to 2 x 2/4 and
ends in 2 x 3/4.  The second part starts in 2 x 6/8, goes to 3 x 6/8,
2 x 3/4, 3 x 3/4, 2 x 3/4, and ends in 2 x 6/8.  The first number
tells you how many major pulses are in a measure and the fraction
tells you how to subdivide the pulse.  I do appreciate your advice.

> 
> Best, Simon
Kim




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


trying to reproduce unusual time signature

2016-09-17 Thread Kim Shrier
I am re-typsetting a piece from a modern (1950’s) edition
of some 14’th century music, in order to make it easier to
read and play from.  It has a time signature that looks like:

 3
2 x -
 4

Is there some way to do this in lilypond?

It looks like I could write a scheme function to do this but
I wanted to make sure I haven’t missed something that
already exists before I embark on that.

Thanks,
Kim


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


Re: OT: Beauty of programming languages

2015-09-11 Thread Kim Shrier
I’m 60 and I program for a living.

I have been using lilypond almost from the time it first came out.
I mainly use it for typesetting medieval and renaissance music,
sometimes from original notation or for re-typsetting poorly
typeset editions.

I have contributed some minor enhancements and bug fixes
when I first started using lilypond but nothing lately.

I use emacs for music entry and manage my music projects
using the fossil source control system and the mk make command
from Plan 9.

I used to use Calliope on the NeXT machine before I discovered
lilypond.  Tried Finale and Sibelius but I really prefer the text entry
and quality of lilypond. 

Kim Shrier


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


Re: placing text next to a note head

2009-10-24 Thread Kim Shrier

Thank you, that worked.

Kim

On Oct 24, 2009, at 1:59 AM, -Eluze wrote:




Kim Shrier-2 wrote:


I am trying to place some text next to a note head and I can't
make it work.  I am trying to place a right comma just to the
right and a little above a note.  I have tried many variations
on this:



found a solution in in  http://lsr.dsi.unimi.it/LSR/Snippet?id=258
http://lsr.dsi.unimi.it/LSR/Snippet?id=258

hth

--  
View this message in context: http://www.nabble.com/placing-text-next-to-a-note-head-tp26036107p26036909.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




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


Re: placing text next to a note head

2009-10-24 Thread Kim Shrier

That was what I was looking for, thanks.

Kim

On Oct 24, 2009, at 2:02 AM, Robin Bannister wrote:


Kim Shrier wrote:

there is something I need


#'outside-staff-priority ##f

Cheers,
Robin


--
 Kim Shrier - principal, Shrier and Deihl - mailto:k...@westryn.net
Remote Unix Network Admin, Security, Internet Software Development
 westryn.net - Superior FreeBSD-based Web Hosting
 http://www.westryn.net










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


Re: placing text next to a note head

2009-10-24 Thread Kim Shrier

On Oct 24, 2009, at 3:02 AM, Robin Bannister wrote:


Kim Shrier wrote:
  I am trying to place a right comma just to the right and a little  
above a note.


This alternative may do the spacing better:  c4  \once \override   
BreathingSign #'Y-offset = #0 \breathe

Cheers,
Robin



After playing with the various solutions, I think I am going to
pattern after the code in http://lsr.dsi.unimi.it/LSR/Snippet?id=258 .
Thanks for your suggestions.

Kim



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


placing text next to a note head

2009-10-23 Thread Kim Shrier

Hello,

I am trying to place some text next to a note head and I can't
make it work.  I am trying to place a right comma just to the
right and a little above a note.  I have tried many variations
on this:

   c4 -\tweak #'X-offset #2.56 -\tweak #'Y-offset #-2.0 ^\markup  
{ \musicglyph #scripts.rcomma }


The note is the C on the center line of the staff in alto
clef.  This successfully moves the rcomma to the right of the
note head but I can't seem to get the rcomma to come down from
above the staff, no matter what I use for the Y-offset.  I
seem to remember that there is something I need to override to
allow markup to show up inside the staff but I can't track it
down.  I am using lilypond 2.13.6.

Any help would be appreciated.

Kim


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



Typesetting a 17th century music example.

2009-05-10 Thread Kim Shrier

Hello,

I am working on typesetting some music examples from a 17th century
book on how to improvise.  I am having trouble figuring out how to
set one example in particular.  The example is showing concords and
discords.  It has an 11 line staff where the lines are spread out to
allow room for notes with interval notations.  I have figured out how
to handle that part.  The example also has a treble, alto, and bass
clef all stacked vertically on the left side of the staff.  The treble
clef is positioned on the 4th line, the alto clef is positioned on the
6th line and the bass clef is positioned on the 8th line.  I am unable
to figure out how to place these 3 clefs.  I can place any one clef
in the proper place but I don't seem to be able to figure out how to
get all 3 clefs placed on the single staff.

Any help would be appreciated.
Kim
--
 Kim Shrier - principal, Shrier and Deihl - mailto:k...@westryn.net
Remote Unix Network Admin, Security, Internet Software Development
 westryn.net - Superior FreeBSD-based Web Hosting
 http://www.westryn.net/









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


Re: Typesetting a 17th century music example.

2009-05-10 Thread Kim Shrier


On May 10, 2009, at 2:35 AM, James E. Bailey wrote:



Am 10.05.2009 um 08:43 schrieb Kim Shrier:


Hello,

I am working on typesetting some music examples from a 17th century
book on how to improvise.  I am having trouble figuring out how to
set one example in particular.  The example is showing concords and
discords.  It has an 11 line staff where the lines are spread out to
allow room for notes with interval notations.  I have figured out how
to handle that part.  The example also has a treble, alto, and bass
clef all stacked vertically on the left side of the staff.  The  
treble
clef is positioned on the 4th line, the alto clef is positioned on  
the
6th line and the bass clef is positioned on the 8th line.  I am  
unable

to figure out how to place these 3 clefs.  I can place any one clef
in the proper place but I don't seem to be able to figure out how to
get all 3 clefs placed on the single staff.

Any help would be appreciated.
Kim


I would use markup, i.e:
 \override Staff.Clef #'stencil = #ly:text-interface::print
   \override Staff.Clef #'text = \markup \column {
  \raise #1.0 {\musicglyph #clefs.C}
  \raise #0.0 {\musicglyph #clefs.C}
  \raise #-1.0 {\musicglyph #clefs.C}
   }

James E. Bailey



Thank you.  With only minor corrections, the above worked.  I used:

  \override Staff.Clef #'stencil = #ly:text-interface::print
  \override Staff.Clef #'text = \markup \column {
\raise #3.0 {\musicglyph #clefs.G}
\raise #0.0 {\musicglyph #clefs.C}
\raise #-3.0 {\musicglyph #clefs.F}
  }

since I had increased the staff space to 3 and I wanted the 3 different
clefs.

Kim


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


Re: Problem setting fingering direction, again

2009-01-27 Thread Kim Shrier

Thanks, that works.  However, I didn't see anything in the
documentation that would have given me a clue that the 
were required.  Have I missed something obvious?

Kim


On Jan 27, 2009, at 1:06 AM, Nick Payne wrote:


You need braces  around the notes:

\version 2.12.2

\paper{
  indent=0\in
  line-width=6\in
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}

\score {
  \new Staff 
\new Voice = melodyOne {
  \voiceOne
  \relative c' {
\set fingeringOrientations = #'(left)
a'-54
  }
}
\new Voice = melodyTwo {
  \voiceTwo
  \relative c' {
\set fingeringOrientations = #'(left)
e-34
  }
}



}





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


Problem setting fingering direction, again

2009-01-26 Thread Kim Shrier

Sorry for the incomplete post I just sent.  To recap:

I am having some difficulty getting fingering numbers to show up to
the left of the notes that they belong to if I have 2 voices on a
staff.  I figured out how to do it if I have only one voice on a
staff:

\version 2.12.1

\paper{
 indent=0\in
 line-width=6\in
 oddFooterMarkup=##f
 oddHeaderMarkup=##f
 bookTitleMarkup = ##f
 scoreTitleMarkup = ##f
}

\score {
 \new Staff 
   \new Voice = melody {
 \relative c' {
   \set fingeringOrientations = #'(left)
   e-3 a-54
 }
   }
 
}
inline: test1.tiff


This produces the correct results with the fingerings on the left
of the chord.  However, I want 2 voices on the staff with one note
in each voice.  I have tried the following with bad results:

\version 2.12.1

\paper{
  indent=0\in
  line-width=6\in
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}

\score {
  \new Staff 
\new Voice = melodyOne {
  \voiceOne
  \relative c' {
\set fingeringOrientations = #'(left)
a'4-5
  }
}
\new Voice = melodyTwo {
  \voiceTwo
  \relative c' {
\set fingeringOrientations = #'(left)
e4-3
  }
}
  
}
inline: test2.tiff

I have tried many variations on the above theme and none of them
give me the results I am looking for.  Any suggestions?

Kim

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


Re: Compiling on Mac OS X

2008-12-28 Thread Kim Shrier

The problem you are seeing:

Assertion failed: (pt-read_pos == pt-read_end), function  
scm_fill_input, file ports.c, line 978.


has to do with a bug in the scheme code that was fixed yesterday  
afternoon.

If you update your source from the git repository, it should work now.

Also, a better way to handle the problem with configure finding the  
wrong

FlexLexer.h file is to add the line:

   FLEXLEXER_FILE = /opt/local/include/FlexLexer.h

to local.make.  This way when you run the configure script, you will not
need to edit config.make anymore as the value in local.make will  
override

it.

One other problem you will run into is that the Century Schoolbook fonts
will not be found and you need to give configure some help.  When I run
configure, I use the following parameter:

   ./configure --with-ncsb-dir=/opt/local/share/ghostscript/fonts

I have successfully built lilypond on 10.5 intel.  To summarize the  
steps:


1.  Get the latest sources from the git repository.
2.  Edit local.make to set the FLEXLEXER_FILE variable.
3.  Make sure that /opt/local/bin is in $PATH before /usr/bin
4.  make distclean
5.  ./configure --with-ncsb-dir=/opt/local/share/ghostscript/fonts
6.  make all
7.  sudo make install

Kim

On Dec 28, 2008, at 5:32 AM, August Lilleaas wrote:


My $PATH looks like this:

/usr/local/mysql/bin /Users/leethal/bin /opt/local/lib/postgresql83/ 
bin /opt/local/bin /usr/local/bin /usr/bin /usr/bin /bin /usr/sbin / 
sbin /opt/local/bin /usr/X11R6/bin /usr/local/bin


So that shouldn't be a problem. Also, the guide I followed told me  
to edit config.make like you say, so I've already tried that I'm  
afraid.


On Sun, Dec 28, 2008 at 1:15 AM, Kim Shrier k...@tinker.com wrote:
The problem is that the configure program finds the wrong FlexLexer.h
file.  Mac OS X comes with a version of flex that is older than the
one needed for lilypond.  If you have installed a newer version of  
flex,

the FlexLexer.h file you want is not in /usr/include which is the one
that configure will find.  I installed a newer version of flex using  
the
macports system and the file you want is /opt/local/include/ 
FlexLexer.h


In order to use the correct flex program and include the correct  
header,

you need to do 2 things:

1. Make sure that /opt/local/bin is in your $PATH environment variable
  before /usr/bin.  This is so that the correct version of flex is  
run.

  Make sure this is set properly before running configure.

2. After running the configure script and before you run make, edit  
the

  config.make file.  Change the line:

 FLEXLEXER_FILE = /usr/include/FlexLexer.h

  to

 FLEXLEXER_FILE = /opt/local/include/FlexLexer.h


Then you can run make all.

Kim


On Dec 27, 2008, at 2:56 PM, Arjan Bos wrote:


On 27 dec 2008, at 21:07, August Lilleaas wrote:

I were doing this on HEAD. Changed to 2.10.9-1, and (for some  
reason) doing make, then make all (both yielding errors) and then  
make worked.


After running a couple of minutes, though, this happened:

out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member  
function declared in class 'yyFlexLexer'


Am I the only person that wants to run lilypond on a modern intel  
mac, or have I overlooked something?


I'm having the same problem. What I did to solve this is removing  
the line containing yywrap in FlexLexer.h. If you've been following  
Nicolas' guidelines, then that file is:

/opt/local/include/FlexLexer.h
and the line-number is arround 130

I tried this with HEAD  and I get the following:
Processing `/usr/local/src/lilypond/lilypond/ly/generate- 
documentation.ly'
Parsing...[/usr/local/src/lilypond/lilypond/out/share/lilypond/ 
current/ly/init.lyAssertion failed: (pt-read_pos == pt-read_end),  
function scm_fill_input, file ports.c, line 978.
/bin/sh: line 1: 21318 Abort trap  /usr/local/src/ 
lilypond/lilypond/out/bin/lilypond --verbose /usr/local/src/lilypond/ 
lilypond/ly/generate-documentation


And now I'm at a loss, because I don't have a ports.c file on my  
computer (according to locate)


Can someone chime in here please? Or should I take my quest for  
Intel Mac OS X Lilypond to a developer list?


Kind regards,
Arjan Bos




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


--
 Kim Shrier - principal, Shrier and Deihl - mailto:k...@tinker.com
Remote Unix Network Admin, Security, Internet Software Development
 Tinker Internet Services - Superior FreeBSD-based Web Hosting
http://www.tinker.com/





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



--
August Lilleaas
Tlf: (+47) 915 28 701


--
 Kim Shrier - principal, Shrier and Deihl - mailto:k...@tinker.com
Remote Unix Network Admin, Security, Internet Software Development
  Tinker Internet Services - Superior FreeBSD-based Web

Re: Compiling on Mac OS X

2008-12-27 Thread Kim Shrier

The problem is that the configure program finds the wrong FlexLexer.h
file.  Mac OS X comes with a version of flex that is older than the
one needed for lilypond.  If you have installed a newer version of flex,
the FlexLexer.h file you want is not in /usr/include which is the one
that configure will find.  I installed a newer version of flex using the
macports system and the file you want is /opt/local/include/FlexLexer.h

In order to use the correct flex program and include the correct header,
you need to do 2 things:

1. Make sure that /opt/local/bin is in your $PATH environment variable
   before /usr/bin.  This is so that the correct version of flex is  
run.

   Make sure this is set properly before running configure.

2. After running the configure script and before you run make, edit the
   config.make file.  Change the line:

  FLEXLEXER_FILE = /usr/include/FlexLexer.h

   to

  FLEXLEXER_FILE = /opt/local/include/FlexLexer.h


Then you can run make all.

Kim

On Dec 27, 2008, at 2:56 PM, Arjan Bos wrote:



On 27 dec 2008, at 21:07, August Lilleaas wrote:

I were doing this on HEAD. Changed to 2.10.9-1, and (for some  
reason) doing make, then make all (both yielding errors) and then  
make worked.


After running a couple of minutes, though, this happened:

out/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member  
function declared in class 'yyFlexLexer'


Am I the only person that wants to run lilypond on a modern intel  
mac, or have I overlooked something?


I'm having the same problem. What I did to solve this is removing  
the line containing yywrap in FlexLexer.h. If you've been following  
Nicolas' guidelines, then that file is:

/opt/local/include/FlexLexer.h
and the line-number is arround 130

I tried this with HEAD  and I get the following:
Processing `/usr/local/src/lilypond/lilypond/ly/generate- 
documentation.ly'
Parsing...[/usr/local/src/lilypond/lilypond/out/share/lilypond/ 
current/ly/init.lyAssertion failed: (pt-read_pos == pt-read_end),  
function scm_fill_input, file ports.c, line 978.
/bin/sh: line 1: 21318 Abort trap  /usr/local/src/ 
lilypond/lilypond/out/bin/lilypond --verbose /usr/local/src/lilypond/ 
lilypond/ly/generate-documentation


And now I'm at a loss, because I don't have a ports.c file on my  
computer (according to locate)


Can someone chime in here please? Or should I take my quest for  
Intel Mac OS X Lilypond to a developer list?


Kind regards,
Arjan Bos




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



--
 Kim Shrier - principal, Shrier and Deihl - mailto:k...@tinker.com
Remote Unix Network Admin, Security, Internet Software Development
  Tinker Internet Services - Superior FreeBSD-based Web Hosting
 http://www.tinker.com/




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


Re: French viol/lute tablature

2008-11-29 Thread Kim Shrier


On Nov 29, 2008, at 8:59 PM, Jonathan Kulp wrote:


Jonathan Kulp wrote:


Kim Shrier wrote:


I don't like the results but it is a start.  The letters should be  
a little

larger and I would like to use the italic version of the font.

Kim


I made the letters a couple of sizes bigger and italics.  You can  
adjust the size if it's not right.  I believe the default size was  
-2.

Jon


Working on this some more I've moved the ancient rhythm indications  
closer to the TabStaff and increased their fontsize.  How does this  
look?


Jon
--
Jonathan Kulp
http://www.jonathankulp.com



I think this handles the tab that I need to typeset.  Thanks for the
assistance.

Kim



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


LilyPond.app source

2008-11-29 Thread Kim Shrier

I am interested in building LilyPond.app from source and either
I am blind or it isn't included in the source distribution.  Any
enlightenment would be appreciated.

Kim Shrier



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


Re: Has anyone had success including lilypond generated EPS files into groff?

2008-11-10 Thread Kim Shrier

On Nov 10, 2008, at 10:04 AM, Werner LEMBERG wrote:




As an experiment, I wanted to create a simple troff document that
would include the EPS output from lilypond.  [...]

I use the following command to make the test.eps file:

lilypond -dbackend=eps \
 -dno-gs-load-fonts \
 -dinclude-eps-fonts
 test.ly

When I try to run groff (version 1.19.2) on my troff file, I get the
following 2 messages:

grops:test.eps:16: unknown resource type
grops:test.eps:17: unknown resource type


Speaking as the groff maintainer:

Unfortunately, this doesn't work.  The fonts are embedded as CFFs,
using PostScript Level 3 features: the `FontSetInit' procedure and
`FontSet' resource.  Currently, grops doesn't understand this.  Maybe
I'm going to add this, but I can't promise any time frame.

A workaround is to use

 lilypond test.ly

then calling

 eps2eps test.ps test.eps

to get an EPS file accepted by grops (and thus groff).
High-resolution printing is just fine if you do it like this, but text
embedded in the EPS is converted to outlines, thus all PS hints are
lost, makeing online viewing not optimal.


   Werner



Thanks.  I had figured out that grops did not support the version of EPS
output by lilypond.  I had not figured out a work around yet.  I will  
try

your suggestion.

Thanks again.
Kim



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


Re: Has anyone had success including lilypond generated EPS files into groff?

2008-11-10 Thread Kim Shrier

On Nov 10, 2008, at 10:31 AM, Kim Shrier wrote:


On Nov 10, 2008, at 10:04 AM, Werner LEMBERG wrote:




As an experiment, I wanted to create a simple troff document that
would include the EPS output from lilypond.  [...]

I use the following command to make the test.eps file:

   lilypond -dbackend=eps \
-dno-gs-load-fonts \
-dinclude-eps-fonts
test.ly

When I try to run groff (version 1.19.2) on my troff file, I get the
following 2 messages:

   grops:test.eps:16: unknown resource type
   grops:test.eps:17: unknown resource type


Speaking as the groff maintainer:

Unfortunately, this doesn't work.  The fonts are embedded as CFFs,
using PostScript Level 3 features: the `FontSetInit' procedure and
`FontSet' resource.  Currently, grops doesn't understand this.  Maybe
I'm going to add this, but I can't promise any time frame.

A workaround is to use

lilypond test.ly

then calling

eps2eps test.ps test.eps

to get an EPS file accepted by grops (and thus groff).
High-resolution printing is just fine if you do it like this, but  
text

embedded in the EPS is converted to outlines, thus all PS hints are
lost, makeing online viewing not optimal.


  Werner



Thanks.  I had figured out that grops did not support the version of  
EPS
output by lilypond.  I had not figured out a work around yet.  I  
will try

your suggestion.

Thanks again.
Kim



That solution works.

Thanks.
Kim



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


Has anyone had success including lilypond generated EPS files into groff?

2008-11-09 Thread Kim Shrier

I am using lilypond 2.11.59 on a FreeBSD 6.3 system.

As an experiment, I wanted to create a simple troff document that would
include the EPS output from lilypond.

The lilypond source file is:

\version 2.11.59
\paper{
  indent=0\mm
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup=##f
  scoreTitleMarkup=##f
  ragged-right=##t
}

{ c1 }


The troff file is:

This is a test of including a postscript file in a troff document.

.PSPIC test.eps

followed by some more text.



I use the following command to make the test.eps file:

lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts  
test.ly



When I try to run groff (version 1.19.2) on my troff file, I get the
following 2 messages:

grops:test.eps:16: unknown resource type
grops:test.eps:17: unknown resource type


The offending lines in test.eps are:

%%IncludeResource: ProcSet (FontSetInit)
%%BeginResource: FontSet (Emmentaler-20)


If I ignore these messages and try to convert the ps file output
to pdf, I get the following errors.

ps2pdf test2.ps
Error: /rangecheck in --get--
Operand stack:
   gsubrs   --nostringval--   1   3341   --nostringval--   12
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   -- 
nostringval--   2   %stopped_push   --nostringval--   -- 
nostringval--   --nostringval--   false   1   %stopped_push   1905
1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3
%oparray_pop   1771   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--   -- 
nostringval--   2   %stopped_push   --nostringval--   -- 
nostringval--   --nostringval--   --nostringval--   --nostringval--
--nostringval--

Dictionary stack:
   --dict:1147/1684(ro)(G)--   --dict:0/20(G)--   --dict: 
80/200(L)--   --dict:60/120(L)--   --dict:80/200(L)--   --dict:54/60(ro)(G)-- 
   --dict:15/30(L)--

Current allocation mode is local
Last OS error: 2
Current file position is 12532
GPL Ghostscript 8.63: Unrecoverable error, exit code 1
*** Error code 1

Stop in /stuff/home/kim/Projects/music.


I am probably missing something obvious.  Any ideas?

Thanks,
Kim


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


I want to print bar numbers every 5 measures

2006-08-18 Thread Kim Shrier

Hello,

I must be missing something obvious.  I have been trying to get lilypond
2.9.14 to print bar numbers every 5 measures instead of at the beginning
of each line.  I have read the manual and looked at the example in
bar-number-every-five-reset.ly but everything I have tried either has no
effect or makes bar numbers disappear entirely.

Below is the source of the song I am typesetting.  I would like bar  
numbers
to show above the top staff every 5 measures.  Any help would be  
appreciated.




\include treble-one.ly
\include treble-two.ly
\include tenor-one.ly
\include tenor-two.ly
\include bass-one.ly
\include bass-two.ly

\header{
title = 6 part consort music
}

\paper {
#(set-paper-size letter)
}

\score {
\new StaffGroup \relative 
\new Staff {
\tempo 2=50
\TrebleOne
}
\new Staff { \TrebleTwo }
\new Staff { \TenorOne }
\new Staff { \TenorTwo }
\new Staff { \BassOne }
\new Staff { \BassTwo }


\layout {
\context {
\Score
\override BarNumber #'padding = #3
\override RehearsalMark #'padding = #2
skipBars = ##t
}
\context {
\Staff
\consists Ambitus_engraver
}
}

\midi {
\tempo 2=50
}
}

\version 2.9.14

--
 Kim Shrier - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote Unix Network Admin, Security, Internet Software Development
  Tinker Internet Services - Superior FreeBSD-based Web Hosting
 http://www.tinker.com/




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


Re: I want to print bar numbers every 5 measures

2006-08-18 Thread Kim Shrier

Thanks.  That solved the misconception.

Kim

On Aug 18, 2006, at 12:38 PM, Kieren MacMillan wrote:


Hi, Kim:


I must be missing something obvious.


Yep!  ;-)


I have read the manual and looked at the example in
bar-number-every-five-reset.ly


But your code doesn't include the parts of that example which are  
necessary to affect change you want!!??


e.g., the \context Score \applyContext... stuff in this edited  
version:


%%%  CODE BEGINS
\version 2.9.14

\header{
title = 6 part consort music
}

\paper {
#(set-paper-size letter)
}

twentyBars =
{
	\override Score.BarNumber #'break-visibility = #end-of-line- 
invisible  %% turn off auto-numbering
	\context Score \applyContext #(set-bar-number-visibility 4)  %%   
first num @ 5

\repeat unfold 4 { c4 c c c }
	\context Score \applyContext #(set-bar-number-visibility 5)  %%   
num @ every 5

\repeat unfold 16 { c4 c c c }
}

\score
{
\new ChoirStaff \relative

\new Staff { \twentyBars }
 \new Staff { \twentyBars }
 \new Staff { \twentyBars }
 \new Staff { \twentyBars }
 \new Staff { \twentyBars }
 \new Staff { \twentyBars }


\layout {
\context {
\Score
\override BarNumber #'padding = #3
\override RehearsalMark #'padding = #2
skipBars = ##t
}
\context {
\Staff
\consists Ambitus_engraver
}
}

}
%%%  CODE ENDS

Hope this helps!
Kieren.

p.s. Note that I changed your StaffGroup to a ChoirStaff in my  
version -- that's what I would use, because barlines carry through  
an entire StaffGroup, and sometimes interfere with the lyrics...




--
 Kim Shrier - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote Unix Network Admin, Security, Internet Software Development
  Tinker Internet Services - Superior FreeBSD-based Web Hosting
 http://www.tinker.com/




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


Re: PFA fonts not found in 1.7.9?

2002-12-25 Thread Kim Shrier
You are doing nothing wrong.  There is a bug in ly2dvi that prevents it from
finding the pfa fonts.  I have sent in a patch, which I am including 
with this
email, that fixes the problem.

Kim

Doug Asherman wrote:

Hi:

I'm using 1.7.9 -- after the initial installation, I've made the pfa 
fonts with make pfa-fonts  make pfa-fonts install.

When I issue the 'ly2dvi -p example.ly' command, I get:

ly2dvi: warning: Trying create PDF, but no PFA fonts found.
 Using bitmap fonts instead. This will look poorly

Any clues as to what I'm doing wrong?

Doug





___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



--
Kim Shrier - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote Unix Network Admin, Security, Internet Software Development
 Tinker Internet Services - Superior FreeBSD-based Web Hosting
http://www.tinker.com/


--- ly2dvi.orig Tue Dec 24 22:33:03 2002
+++ ly2dvi  Tue Dec 24 23:13:00 2002
@@ -532,7 +532,7 @@
 
 
if 'PDF' in targets:
-   where = ly.read_pipe ('kpsewhich feta20.pfa')
+   where = ly.read_pipe ('kpsewhich feta20.pfa').strip ()
 
pfa_file  = None
if where:

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Modifying multi-measure rests

2002-10-09 Thread Kim Shrier

I have made some source patches against multi-measure-rest-engraver.cc and
multi-measure-rest.cc to modify the rest used to represent 1 measure in a
multi-measure rest.  It uses the value of the measureLength property to
determine if it should use a whole or breve rest.  If the length of the
a measure is a breve or more, it uses a breve.  Otherwise it uses a whole
rest like it normally does.  I am including patches against both 1.6.5 and
1.7.2 as well as mmrest_test.ly which shows the behaviour.  I would 
appreciate
any feedback you might have on these changes.

One other question.  In measure 206, the dotted whole rest places the dot
in the space above the rest.  This is how lilypond typeset this before I
made any changes.  Is this the desired result?  Shouldn't the dot be in
the space next to the rest?

Thanks
Kim


Kim Shrier wrote:

 Hello,
I am new to LilyPond and I have a question about the best way to 
 approach
 a problem.  I am typesetting some music and the time signature is 4/2.  I
 would like to modify the behaviour of multi-measure rests to use a breve
 rest to represent 1 measure instead of a whole rest since the duration of
 1 measure is a breve.  I have looked at the church_rest method in
 multi-measure-rest.cc and I think I see how to modify it as well as the
 symbol_molecule method.  I would also have to define a parameter to get
 the information to these methods so they would know whether they were 
 using
 a whole or breve rest as their base.  This seems like a lot of work.

 Since one of the nice things about LilyPond is how flexible it is and you
 have hooks to get at almost everything, I was wondering if there is a 
 better
 way to approach this problem.  As I said earlier, I am new to LilyPond 
 and
 I don't have a good feel for what is possible without modifying the 
 source.

 Thanks,
 Kim



-- 
 Kim Shrier - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote Unix Network Admin, Security, Internet Software Development
  Tinker Internet Services - Superior FreeBSD-based Web Hosting
 http://www.tinker.com/




--- lily/multi-measure-rest-engraver.cc.origSun Aug  4 11:56:18 2002
+++ lily/multi-measure-rest-engraver.cc Wed Oct  9 10:19:02 2002
@@ -162,6 +162,9 @@
   int cur = gh_scm2int (get_property (currentBarNumber));
   lastrest_-set_grob_property (measure-count,
 gh_int2scm (cur - start_measure_));
+  SCM sml = get_property (measureLength);
+  lastrest_-set_grob_property (measure-length, sml);
+
   mmrest_ = 0;
 }
 }
@@ -178,9 +181,10 @@
 
 ENTER_DESCRIPTION(Multi_measure_rest_engraver,
 /* descr */   Engraves multi-measure rests that are produced with @code{R}.  
Reads
-measurePosition and currentBarNumber to determine what number to print over the 
MultiMeasureRest
+measurePosition and currentBarNumber to determine what number to print over the 
+MultiMeasureRest.
+Reads measureLength to determine if it should use a whole rest or a breve rest to 
+represent 1 measure
 ,
 /* creats*/   MultiMeasureRest,
 /* acks  */   ,
-/* reads */   currentBarNumber currentCommandColumn measurePosition,
+/* reads */   currentBarNumber currentCommandColumn measurePosition 
+measureLength,
 /* write */   );
--- lily/multi-measure-rest.cc.orig Sun Aug  4 11:56:18 2002
+++ lily/multi-measure-rest.cc  Wed Oct  9 11:12:00 2002
@@ -15,6 +15,7 @@
 #include rest.hh
 #include molecule.hh
 #include misc.hh
+#include moment.hh
 #include spanner.hh
 #include staff-symbol-referencer.hh
 #include text-item.hh
@@ -163,19 +164,33 @@
   Font_metric *musfont
 = Font_interface::get_font (me,style_chain);
 
+  SCM sml = me-get_grob_property (measure-length);
+  Moment ml = (unsmob_moment (sml)) ? *unsmob_moment (sml) : Moment (0);
+
   if (measures == 1)
 {
-  Molecule s = musfont-find_by_name (Rest::glyph_name (me, 0, ));
+  if (ml.main_part_  Rational (2))
+   {
+ Molecule s = musfont-find_by_name (Rest::glyph_name (me, 0, ));
 
-  /*
-   ugh.
-   */
-  if (Staff_symbol_referencer::get_position (me) == 0.0)
-   s.translate_axis (staff_space, Y_AXIS);
+  /*
+   ugh.
+   */
+ if (Staff_symbol_referencer::get_position (me) == 0.0)
+   s.translate_axis (staff_space, Y_AXIS);
+
+  s.translate_axis ((space - s.extent (X_AXIS).length ())/2, X_AXIS);
+  
+  return s ;
+   }
+  else
+   {
+ Molecule s = musfont-find_by_name (Rest::glyph_name (me, -1, ));
 
-  s.translate_axis ((space - s.extent (X_AXIS).length ())/2, X_AXIS);
+  s.translate_axis ((space - s.extent (X_AXIS).length ())/2, X_AXIS);
   
-  return s ;
+  return s ;
+   }
 }
   else
 {
@@ -222,37 +237,63 @@
   int l = measures;
   int count = 0;
   Real symbols_width = 0.0;
+
+  SCM sml = me-get_grob_property (measure-length);
+  Moment ml = (unsmob_moment (sml