training/consultancy in Holland?
Hello list, I try to get along with lilypond for notation of african rhytms. Up to now too difficult too grasp for a beginner, even for an experienced programmer like me, because a lot of things (wishes) are too much besides the normal music notation. Is there anybody in Holland (I live in Oosterbeek near Arnhem) who can help? I am willing to pay for this consultancy. Please let me know in a private email. Thanks in advance, Met vriendelijke groet, Quintijn Hoogenboom QH software, training & advies Dennenkampweg 47 6861 GB Oosterbeek (026) 3334372 06-23841547 [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lead sheet chords position with \alternative
See http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00806.html /Mats [EMAIL PROTECTED] wrote: Hi, I'm writing a lead sheet with one staff with melody and chords and I have the following problem: because I have some repeats (\alternative), the chords are printed above it, and this creates lot of space between the melody and the chords. There is a way to move the chords closer to the melody, and to rise up the the \alternative signs (if needed)? Thank you Libero Mureddu lily 2.4.5 macosx 10.3.8 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Context menu
Dear all, I'd like to add the lilypond-book precompiler to the context menu of .lytex-files, in order to convert them to a .tex-file with a single right-click, something like: lilypond-book "%1" Of course, the problem is that you cant call a cygwin command as if it where a windows shell command. Is there a way to achieve that? Best regards, John ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn with two accidentals
The easiest is probably to typeset it all using a single \markup. Something like: a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } {\teeny \sharp} } /Mats David Sanders wrote: Hi, I have looked carefully in the manual, but have not managed to find any information on how to do the following. (Version 2.4.2, Linux) I need to place a turn with a sharp sign below and another sharp sign above. I tried a4^\markup { \teeny \sharp }^\turn^\markup { \teeny \sharp } but it gives me two sharp signs below the turn. The manual page http://www.lilypond.org/doc/v2.4/Documentation/ user/out-www/lilypond/Articulations.html#Articulations says that "When two objects have the same priority, the order in which they are entered decides which one comes first." but explicitly setting the priorities the same via \override TextScript #'script-priority = #-100 \override Script #'script-priority = #-100 does not seem to make any difference. I would be grateful for any suggestions as to how to accomplish this. Thanks, David. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
why does not this work?
This is version 2.5.18... #(use-modules (ice-9 optargs)) #(define* (tempomark n t) (ly:export #{ \once \override Score.MetronomeMark #'extra-offset = #'(-3 . 5) \tempo $n = $t #} ) ) But when I use this as #(tempomark 4 120) I get: :3:0: error: syntax error, unexpected $undefined: ; \once \override Score.MetronomeMark #(quote extra-offset) = #(quote (-3 . 5)) :4:16: error: syntax error, unexpected NUMBER_IDENTIFIER, expecting DIGIT or UNSIGNED or DURATION_IDENTIFIER: \tempo \lilyvartmpe = \lilyvartmpf error: Error found in this music expression. Ignoring it Is it a bug or something I'm doing wrong? /Jonatan-=( http://kymatica.com )=- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: textspanner arrowed line
On Fri, 15 Apr 2005 17:29:47 +0200 Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > > Op 15-apr-05 om 21:49 heeft Jonatan Liljedahl het volgende geschreven: > > > > > I'll take a look in line-spanner.cc and see if I can add a property > > "arrow-style" or something like that. I think it's a quite common > > thing to have a textspanner with text in both ends and an arrow in > > between. It's the last thing that is needed for me to typeset my > > last composition > > with Lilypond instead of Finale (which is what is available in > > school). > > > > This sounds like a good idea. Probably the arrow drawing should be > done by the line-interface code, because arrows are a generic thing to > have on lines. Yes, I'll see what I can do. Is make_line() and make_dashed_line() only used by the Line_interface::line() function? (so that it's Ok to add an extra argument to make_line() to tell it about the arrow...) > > But otherwise, would it be possible to replace the whole > > TextSpanner::print function and do both texts and arrow? What should > > I do in the end of the function, just return the stencil or call > > something? > > If in Scheme, simply return the stencil. For C++ examples, see any > print function. I haven't figured out how to make a simple text stencil in scheme... > > Another solution would be to put the arrow in the end edge text, and > > translate it to the left a bit... Is it possible to include markup > > (with > > \stencil code-to-draw-arrowhead) in the edge texts somehow? > > I'm not sure it will work. There is padding (bound-padding property) > between the text and the line, > but you could give it a try. I tried putting markup in the edge texts but they came out verbatim. /Jonatan-=( http://kymatica.com )=- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: textspanner arrowed line
Op za, 16-04-2005 te 15:12 -0300, schreef Jonatan Liljedahl: > > This sounds like a good idea. Probably the arrow drawing should be > > done by the line-interface code, because arrows are a generic thing to > > have on lines. > > Yes, I'll see what I can do. Is make_line() and make_dashed_line() only > used by the Line_interface::line() function? (so that it's Ok to add an > extra argument to make_line() to tell it about the arrow...) I don't know - grep the source code. It might be easier to make an add_arrow_endings() function, which does not need to know about the line style (dashed, etc.) or thickness. > > > But otherwise, would it be possible to replace the whole > > > TextSpanner::print function and do both texts and arrow? What should > > > I do in the end of the function, just return the stencil or call > > > something? > > > > If in Scheme, simply return the stencil. For C++ examples, see any > > print function. > > I haven't figured out how to make a simple text stencil in scheme... something like (interpret-markup (ly:grob-layout grob) (ly:grob-alist-chain grob) THE-MARKUP) eg. (interpret-markup (ly:grob-layout grob) (ly:grob-alist-chain grob) (make-bold-markup "this is bold text")) > > > Another solution would be to put the arrow in the end edge text, and > > > translate it to the left a bit... Is it possible to include markup > > > (with > > > \stencil code-to-draw-arrowhead) in the edge texts somehow? > > > > I'm not sure it will work. There is padding (bound-padding property) > > between the text and the line, > > but you could give it a try. > > I tried putting markup in the edge texts but they came out verbatim. Try something like \override ... #'edge-text = #(cons (make-bold-markup "foo") '() ) -- Han-Wen Nienhuys - [EMAIL PROTECTED] LilyPond Software Design - http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Context menu
Some hints are provided in http://lists.gnu.org/archive/html/lilypond-user/2005-02/msg00117.html /Mats John Wiedenhoeft wrote: Dear all, I'd like to add the lilypond-book precompiler to the context menu of .lytex-files, in order to convert them to a .tex-file with a single right-click, something like: lilypond-book "%1" Of course, the problem is that you cant call a cygwin command as if it where a windows shell command. Is there a way to achieve that? Best regards, John ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: music-drawing-routines.ps
Now I see, I should have noticed the problem earlier. Just put a copy of the directory /usr/share/lilypond/2.4.5/ps/ below /usr/share/lilypond/2.4.5/dvips/. Probably the maintainer of the lilypond package for your system hasn't noted the change in the installation in version 2.4.5 (to make it compatibel with teTeX 3.0). Please send him an email. /Mats dpeach wrote: OK, I think we are getting closer to the problem. What do the following commands return (note that the quotes are back quotes not normal quotes): grep dvips `kpsewhich texmf.cnf` grep TEXPSHEADERS `kpsewhich texmf.cnf` [EMAIL PROTECTED]:~$ grep dvips `kpsewhich texmf.cnf` PSHEADERS.XDvi = .;$TEXMF/%q{dvips,fonts/type1}// TEXPICTS.XDvi = .;$TEXMF/%q{dvips,tex}// TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type3}}// TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type3,truetype}}// TEXCONFIG = $TEXMF/dvips// % dvips's -M option. Your first chance to specify whether the scripts [EMAIL PROTECTED]:~$ grep TEXPSHEADERS `kpsewhich texmf.cnf` TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type3}}// TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type3,truetype}}// This should give you a long file "log" with lots of debug printouts related to how dvips searches for different files in the installation. I am sending the log file to you Mats in an off-list email. I really appreciate this. dpeach ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Suse 9.2 and no lilypond-profile
The important lines in this file are: datadir="/usr/share/lilypond/2.4.5" if [ -z `echo $TEXMF | grep "$datadir"` ]; then TEXMF="{$datadir,"`kpsexpand \\$TEXMF`"}" export TEXMF fi You have to modify the first line to correspond to where the files are placed on your system. /Mats Rob, Sonja, Sofie en Marit wrote: Hi, I am trying to get lilypond-book working to produce text books with musical phrases in it. So far I get stuck with the 'cannot find lilyponddefs' problem. As far as I could look it up in the archive the problem is that there is no lilypond-profile on the Suse 9.2 distribution. Does this mean I have to build Lilypond myself or is there another way to get it working? Thanks in advance, Rob ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn with two accidentals
> The easiest is probably to typeset it all using a single \markup. > Something like: > a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } > {\teeny \sharp} } That looks like it should do exactly what I want, but I get the following errors: --- test.ly:2:19: error: syntax error, unexpected '{', expecting '<': a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { \teeny \sharp } } test.ly:2:76: error: syntax error, unexpected MARKUP_HEAD_MARKUP0: a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { \teen y \sharp } } test.ly:2:87: error: Error found in this music expression. Ignoring it: a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { \teeny \sharp } } -- I don't know enough internals to sort this out. Any ideas? Thanks, David. > David Sanders wrote: > > Hi, > > > > I have looked carefully in the manual, but have not managed to find any > > information on how to do the following. (Version 2.4.2, Linux) > > > > I need to place a turn with a sharp sign below and another sharp sign > > above. I tried > > > > a4^\markup { \teeny \sharp }^\turn^\markup { \teeny \sharp } > > > > but it gives me two sharp signs below the turn. > > > > The manual page > > http://www.lilypond.org/doc/v2.4/Documentation/ > > user/out-www/lilypond/Articulations.html#Articulations > > > > says that > > "When two objects have the same priority, the order in which they are > > entered decides which one comes first." > > > > but explicitly setting the priorities the same via > > > > \override TextScript #'script-priority = #-100 > > \override Script #'script-priority = #-100 > > > > does not seem to make any difference. > > > > > > I would be grateful for any suggestions as to how to accomplish this. > > > > Thanks, > > > > > > David. > > > > > > > > > > > > ___ > > lilypond-user mailing list > > lilypond-user@gnu.org > > http://lists.gnu.org/mailman/listinfo/lilypond-user > > -- > = > Mats Bengtsson > Signal Processing > Signals, Sensors and Systems > Royal Institute of Technology > SE-100 44 STOCKHOLM > Sweden > Phone: (+46) 8 790 8463 > Fax: (+46) 8 790 7260 > Email: [EMAIL PROTECTED] > WWW: http://www.s3.kth.se/~mabe > = > Dr. David P. Sanders[EMAIL PROTECTED] Tel. +52 55 5676 1657 http://www.maths.warwick.ac.uk/~dsanders Postdoctoral researcher Centro de Ciencias Fisicas Cuernavaca, MEXICO ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn with two accidentals
Please always tell what LilyPond version you have when you ask a question to the mailing list. I assumed that you had the latest stable version, 2.4.x, but it seems that you have an earlier version. If you read the section on "Text Markup" in the manual for your version of LilyPond, I'm sure that you can figure out the correct syntax. /Mats David Sanders wrote: The easiest is probably to typeset it all using a single \markup. Something like: a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } {\teeny \sharp} } That looks like it should do exactly what I want, but I get the following errors: --- test.ly:2:19: error: syntax error, unexpected '{', expecting '<': a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { \teeny \sharp } } test.ly:2:76: error: syntax error, unexpected MARKUP_HEAD_MARKUP0: a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { \teen y \sharp } } test.ly:2:87: error: Error found in this music expression. Ignoring it: a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { \teeny \sharp } } -- I don't know enough internals to sort this out. Any ideas? Thanks, David. David Sanders wrote: Hi, I have looked carefully in the manual, but have not managed to find any information on how to do the following. (Version 2.4.2, Linux) I need to place a turn with a sharp sign below and another sharp sign above. I tried a4^\markup { \teeny \sharp }^\turn^\markup { \teeny \sharp } but it gives me two sharp signs below the turn. The manual page http://www.lilypond.org/doc/v2.4/Documentation/ user/out-www/lilypond/Articulations.html#Articulations says that "When two objects have the same priority, the order in which they are entered decides which one comes first." but explicitly setting the priorities the same via \override TextScript #'script-priority = #-100 \override Script #'script-priority = #-100 does not seem to make any difference. I would be grateful for any suggestions as to how to accomplish this. Thanks, David. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = Dr. David P. Sanders[EMAIL PROTECTED] Tel. +52 55 5676 1657 http://www.maths.warwick.ac.uk/~dsanders Postdoctoral researcher Centro de Ciencias Fisicas Cuernavaca, MEXICO ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn with two accidentals
> Please always tell what LilyPond version you have when you ask a > question to the mailing list. I assumed that you had the latest I did give the version, in my original message: 2.4.2. > If you read the section on "Text Markup" in the manual for your version > of LilyPond, I'm sure that you can figure out the correct syntax. What you suggested indeed agrees with the manual for that version, but gives the errors I have just posted. Thanks, David. > > /Mats > > David Sanders wrote: > >>The easiest is probably to typeset it all using a single \markup. > >>Something like: > >>a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } > >>{\teeny \sharp} } > > > > > > > > That looks like it should do exactly what I want, but I get the following > > errors: > > > > --- > > test.ly:2:19: error: syntax error, unexpected '{', expecting '<': > > a4^\markup{\column > >{\teeny \sharp } { \musicglyph #"scripts-turn" } { > > \teeny \sharp } } > > > > test.ly:2:76: error: syntax error, unexpected MARKUP_HEAD_MARKUP0: > > a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { > > \teen > > > > y \sharp } } > > > > test.ly:2:87: error: Error found in this music expression. Ignoring it: > > a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { > > \teeny \sharp } > > > > } > > -- > > > > > > I don't know enough internals to sort this out. Any ideas? > > > > Thanks, > > > > David. > > > > > > > > > >>David Sanders wrote: > >> > >>>Hi, > >>> > >>>I have looked carefully in the manual, but have not managed to find any > >>>information on how to do the following. (Version 2.4.2, Linux) > >>> > >>>I need to place a turn with a sharp sign below and another sharp sign > >>>above. I tried > >>> > >>>a4^\markup { \teeny \sharp }^\turn^\markup { \teeny \sharp } > >>> > >>>but it gives me two sharp signs below the turn. > >>> > >>>The manual page > >>>http://www.lilypond.org/doc/v2.4/Documentation/ > >>>user/out-www/lilypond/Articulations.html#Articulations > >>> > >>>says that > >>>"When two objects have the same priority, the order in which they are > >>>entered decides which one comes first." > >>> > >>>but explicitly setting the priorities the same via > >>> > >>>\override TextScript #'script-priority = #-100 > >>>\override Script #'script-priority = #-100 > >>> > >>>does not seem to make any difference. > >>> > >>> > >>>I would be grateful for any suggestions as to how to accomplish this. > >>> > >>>Thanks, > >>> > >>> > >>>David. > >>> > >>> > >>> > >>> > >>> > >>>___ > >>>lilypond-user mailing list > >>>lilypond-user@gnu.org > >>>http://lists.gnu.org/mailman/listinfo/lilypond-user > >> > >>-- > >>= > >>Mats Bengtsson > >>Signal Processing > >>Signals, Sensors and Systems > >>Royal Institute of Technology > >>SE-100 44 STOCKHOLM > >>Sweden > >>Phone: (+46) 8 790 8463 > >> Fax: (+46) 8 790 7260 > >>Email: [EMAIL PROTECTED] > >>WWW: http://www.s3.kth.se/~mabe > >>= > >> > > > > > > > > Dr. David P. Sanders[EMAIL PROTECTED] > > Tel. +52 55 5676 1657 > > http://www.maths.warwick.ac.uk/~dsanders > > > > Postdoctoral researcher > > Centro de Ciencias Fisicas > > Cuernavaca, MEXICO > > > > > > > > > > > > ___ > > lilypond-user mailing list > > lilypond-user@gnu.org > > http://lists.gnu.org/mailman/listinfo/lilypond-user > > -- > = > Mats Bengtsson > Signal Processing > Signals, Sensors and Systems > Royal Institute of Technology > SE-100 44 STOCKHOLM > Sweden > Phone: (+46) 8 790 8463 > Fax: (+46) 8 790 7260 > Email: [EMAIL PROTECTED] > WWW: http://www.s3.kth.se/~mabe > = > Dr. David P. Sanders[EMAIL PROTECTED] Tel. +52 55 5676 1657 http://www.maths.warwick.ac.uk/~dsanders Postdoctoral researcher Centro de Ciencias Fisicas Cuernavaca, MEXICO ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Python nwc2ly 1st Public release
Hi all, I have wrote a converter to reading noteworthy composer 1.75 uncompressed file format to writing lilypond's 2.4 notes. This means friends with noteworthy composer can send you a copy of nwc and you can convert them to lilypond for editing or printing. Another way, you would like to use nwc for note entries (could be much for easier for windows users) or for cleaning midi conversions then turn them into lilypond format. Syntax for running is: python nwc2ly uncompressed.nwc output.ly Anyway, nwc 1.75 is available to download as a free evaluation (unregistered) version at http://www.noteworthycomposer.com. For linux users, you can try the wine version of nwc from http://www.vpmag.com/nwc/helpful.html#Wine NOTE: This converter is differs with the nwc2ly found at http://nwc2ly.sourceforge.net/ nwc2ly(python) vs nwc2ly(user tools) python version: for nwc 1.75 user tools version: for nwc 2 python version: runs on the command line user tools version: run as a nwc user tool python version: requires an uncompressed nwc file user tools version: requires nwc version 2 * An important missing feature IMO is the ability to convert compressed nwc files. If anyone knows how to uncompress the nwc file normat, i'll be very intested to know how. If anyone knows how to improve on other features lacking or missing, let me know too. If the lilypond team likes this, feel free to adopt this file in the next package too. I love to know of any comments you have. :)_Joshua Koo nwc2ly 0.5.3.py Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn with two accidentals
Mats Bengtsson wrote: Please always tell what LilyPond version you have when you ask a question to the mailing list. I assumed that you had the latest stable version, 2.4.x, but it seems that you have an earlier version. If you read the section on "Text Markup" in the manual for your version of LilyPond, I'm sure that you can figure out the correct syntax. /Mats David Sanders wrote: The easiest is probably to typeset it all using a single \markup. Something like: a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } {\teeny \sharp} } That looks like it should do exactly what I want, but I get the following errors: --- test.ly:2:19: error: syntax error, unexpected '{', expecting '<': a4^\markup{\column {\teeny \sharp } { \musicglyph #"scripts-turn" } { \teeny \sharp } } The error message says exactly what the problem is and agrees with the way \column works for me with 2.4.2. The example in the Text Markup of the manual for 2.4.2 is: \markup { \column < a c > } HTH, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Nobody really knows how to center a note within a measure ?
Hi all, I asked this question a few days ago without any aswer : How can I center a note within a measure, for example a whole note within the last measure of a piece ? Thanks in advance. MX ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn with two accidentals
On Sat, 16 Apr 2005 10:36:43 -0700 Paul wrote: > The error message says exactly what the problem is and agrees with the > way \column works for me with 2.4.2. The example in the Text Markup of > the manual for 2.4.2 is: > > \markup { \column < a c > } Ah! You came first! I cannot resist sending a solution with a somewhat realistic example (my newest composition;-) violino = { \key cis \minor \time 3/4 ais'4 ^\markup{ \column< \teeny \sharp { \musicglyph #"scripts-turn" } { \teeny \sharp } > } bis'2^\fermata \bar "|." } The PostScript quality is excellent; I apologize for the PNG quality (but it is good for a SMALL attachment :-) I love this "dictionary" (which does not have a "turn" example, though.) http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/source/input/regression/out-www/collated-files.html -- dax2-tele2adsl:dk -- http://d-axel.dk/ Donald Axel <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn with two accidentals
> > > The error message says exactly what the problem is and agrees with the > way \column works for me with 2.4.2. The example in the Text Markup of > the manual for 2.4.2 is: > > \markup { \column < a c > } Thanks, I had somehow missed this bit of the documentation. The following is a solution that I'm happy with (although the vertical spacing could do with tweaking -- what's the best way of doing this?): a4^\markup{\center-align < {\teeny \smaller \smaller \smaller \sharp} { \musicglyph #"scripts-turn" } {\teeny \smaller \smaller \smaller \sharp > } Thanks very much for everybody's help. David. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
instrument name padding
I'm trying to add some padding after the instrument names (they touch the bracket), I've tried setting padding and various other properties with \override InstrumentName #'padding = #3 but nothing happens. I've also tried setting self-alignment-X to different values but I get no change there either. I tried different contexes before InstrumentName (Voice. Staff. Score.)... And I've tried putting it before and after the \set Staff.instrument line... But I can't figure out how to do this! Lilypond 2.5.18 /Jonatan-=( http://kymatica.com )=- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Caesurae
Last August there was a thread requesting the railroad tracks fetura/caesura as a /breathe option. This message is intended to reinforce that request. The attached file shows a way to implement flat tracks with current versions. - Bruce caesurae.doc Description: MS-Word document ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to Hide stave with \partial 4 r4
On 1-Apr-05, at 12:38 PM, Karl Hammar wrote: If I use \partial 4 R1*1/4, it will work in the full score, but it gives me a lot of: Music.23.ly:10:18: warning: barcheck failed at: -1/4: \partial 4 R1*1/4 | True; cc'd to bugs. BTW, you can use R4 instead of R1*1/4. Bugs: % produces false barcheck warning, but output is correct \version "2.4.5" \layout { \context { \RemoveEmptyStaffContext } } { \relative c' << \new Staff { \partial 4 R4 R1 R1 } \new Staff { \partial 4 a4 c4 d e f c1 } >>} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Problems with gracenotes and metered music 2.5.19?
Ladies and Gentlemen, I am currently busy with the encoding of our churchchoir's music in Lilypond 2.5.19 on a mandriva 10.2 RC-2 machine. The text is russian, and I am glad I can use it now, because this project is now running for about 2 years, waiting for the unicode-support in Lilypond. Thanks and kudus to all the programmers. I have a problem with two things: 1: The following lilypond-file does not shape up to my expectations. If I remove all the recurring answers of the litany, it compiles correctly, but as soon as I add one or more of the recurring textual answers it fails to compile successfully. It gives the warning "going back in time", but it gives an extra empty measure, which is not indicated in the original score. 2: The bass/bariton will sometime sing in octave, but this I can not engrave it when the original score says to use whole notes. Can you give me pointers jow I can indicate the two notes belong to one part of a two-voice system. BTW this is also true for the other voices, but ther it is rare. Greetings Herman Grootaers \header { maintainer = "Lezer Herman (Grootaers)" lastupdated = "2003/07/08" } \version "2.5.19" global = { \key d \major \time 3/4 \autoBeamOff } sop = \relative c'' { \grace a8 a4. g8 a b b2. a^\fermata \bar "||" \grace a8 a4. a8 a a a2. a^\fermata \bar "||" \grace a8 b4. a8 g fis g2. fis^\fermata \bar "||" \grace a8 d4. cis8 b a g2. fis^\fermata \bar "||" \grace a8 b4. a8 g fis e2. d^\fermata \bar "||" s2 a'4 d( cis b) a2.( g2) g4 fis2.^\fermata fis4 fis2^\fermata \bar "|." } alt = \relative c' { \stemDown \grace fis8 fis4. e8 fis g g2. fis_\fermata \stemDown \grace fis8 e4. e8 fis g g2. fis_\fermata \stemDown \grace fis8 g4. d8 cis d d2( cis4) d2._\fermata \stemDown \grace fis8 fis4. a8 g fis e2( cis4) d2._\fermata \stemDown \grace cis8 cis4. d8 e d e2( cis4) d2._\fermata s2 fis4 fis( a g) e( d2 d2) cis4 d2._\fermata d4 d2_\fermata \bar "|." } ten = \relative c' { \grace a8 a4. a8 a g g4(b cis) d2.^\fermata \grace d8 cis4. cis8 d cis cis2. d^\fermata \grace d8 d4. d8 a a a2. a^\fermata \grace d8 d4. d8 d d b2( a4) a2.^\fermata \grace e8 g4. fis8 b a g2. fis^\fermata s2 d'4 d2. cis4( d a b2) a4 a2.^\fermata a4 a2^\fermata } bas = \relative c { \stemDown \grace d8 d4. d8 d d d2. d_\fermata \stemDown \grace d8 a'4. g8 fis e e2. d_\fermata \stemDown \grace d8 g4. fis8 e d e2. d_\fermata \stemDown \grace d8 b'4. fis8 g d e2. d_\fermata \stemDown \grace a8 a4. a8 a a a2. d_\fermata s2 d4 b'4( fis g) g( fis2 e) e4 d2._\fermata d4 d2_\fermata \bar "|." } ektenia = \lyricmode { " " Гос- по- ди, по- ми- луй. " " Гос- по- ди, по- ми- луй. " " Гос- по- ди, по- ми- луй. " " Гос- по- ди, по- ми- луй. " " Гос- по- ди, по- ми- луй. Те- бе, Гос -по- ди. А- минъ. } \score { \context ChoirStaff << \context Staff = "women" << \context Voice = "soprano" { \voiceOne << \global \sop >> } \context Voice = "alto" { \voiceTwo << \global \alt >> } \context Lyrics = alto { s1 } >> \context Staff = "men" << \clef bass \context Voice = "tenor" { \voiceOne << \global \ten >> } \context Voice = "bass" { \voiceTwo << \global \bas >> } >> \context Lyrics = alto \lyricsto alto \ektenia >> \layout { indent = 0.0\mm \context { \Staff } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Context menu
Thanks for the answer. I did the following: C:\cygwin\bin\bash.exe --login -c '/usr/bin/lilypond-book "%1"' which seemed to work pretty good. But when I tried to run TeX on the resulting file, I got the following error: ! I can't find file `lily-1609059631.tex'. l.14 \input lily-1609059631.tex Shouldn't this file be produced during the lilypond-book process? My test.lytex file was in C:, I found the requested file in C:\cygwin\home\Studium (odd, isn't it?). I copied it to C:, tried again, but another error occured: ! I can't find file `lilyponddefs.tex'. l.22 \input lilyponddefs Please type another input file name ! Emergency stop. l.22 \input lilyponddefs ...which is in C:\cygwin\usr\share\lilypond\2.4.3\tex. Besides this, feta and parmesan have not been found... (but I'm pretty sure my installation is complete and not corrupted). I tried the whole process again, this time by manually typing the commands into the cygwin bash (in case something was wrong with the dos command), but the result's the same. I really have no idea what all this means! I'd appreciate any help you could offer. Best regards, John (starting to rotate on my deskchair... ;-) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to Hide stave with \partial 4 r4
> > On 1-Apr-05, at 12:38 PM, Karl Hammar wrote: > > > If I use \partial 4 R1*1/4, it will work in the full score, > > but it gives me a lot of: > > > Music.23.ly:10:18: warning: barcheck failed at: -1/4: > > \partial 4 R1*1/4 > > | > > True; cc'd to bugs. BTW, you can use R4 instead of R1*1/4. Yes, I found out later, thanks. > > Bugs: > > % produces false barcheck warning, but output is correct > \version "2.4.5" > \layout { \context { \RemoveEmptyStaffContext } } > { \relative c' << > \new Staff { \partial 4 R4 R1 R1 } > \new Staff { \partial 4 a4 c4 d e f c1 } > >>} > Is there some way the R4 could be shown like a r4, when the staff is not removed, like in a single voice score? Regards, /Karl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Nobody really knows how to center a note within a measure ?
Since this isn't common notation practice, there's no builtin support for it. The question is what kind of score you want to use it in. If it's just a single staff in the score, then a whole note will be printed fairly close to center of the measure (or rather, the next bar line will be printed fairly close to the note). However, if there are several staves in the score and some other part play several notes during the duration of the whole note, then the whole note will be aligned with the first note of the measure in all the other parts. Of course, you could do something like \score{ << \new Staff { c4 d e f } \new Staff { s2 c1*1/2 } >> } to fool LilyPond into printing the whole note aligned with the 3rd beat, for example. /Mats MX wrote: Hi all, I asked this question a few days ago without any aswer : How can I center a note within a measure, for example a whole note within the last measure of a piece ? Thanks in advance. MX ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to Hide stave with \partial 4 r4
I forward the feature request (or maybe it should be seen as a bug report) at the end of this email to lilypond-devel. /Mats Karl Hammar wrote: On 1-Apr-05, at 12:38 PM, Karl Hammar wrote: If I use \partial 4 R1*1/4, it will work in the full score, but it gives me a lot of: Music.23.ly:10:18: warning: barcheck failed at: -1/4: \partial 4 R1*1/4 | True; cc'd to bugs. BTW, you can use R4 instead of R1*1/4. Yes, I found out later, thanks. Bugs: % produces false barcheck warning, but output is correct \version "2.4.5" \layout { \context { \RemoveEmptyStaffContext } } { \relative c' << \new Staff { \partial 4 R4 R1 R1 } \new Staff { \partial 4 a4 c4 d e f c1 } >>} Is there some way the R4 could be shown like a r4, when the staff is not removed, like in a single voice score? Regards, /Karl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Context menu
John Wiedenhoeft wrote: Thanks for the answer. I did the following: C:\cygwin\bin\bash.exe --login -c '/usr/bin/lilypond-book "%1"' When you use this, then the command will actually be run in your cygwin home directory. For example, this means that the resulting output files will be put in this directory, as you have noted below. This is yet another reason that the lily-wins.py script is used instead of a direct call to lilypond when you double-click a .ly file. I'm afraid you will need some script that takes care of these issues, similarly to what lily-wins.py does. which seemed to work pretty good. But when I tried to run TeX on the resulting file, I got the following error: ! I can't find file `lily-1609059631.tex'. l.14 \input lily-1609059631.tex These files should also be in C:\cygwin\home\Studium\, i suppose. /Mats Shouldn't this file be produced during the lilypond-book process? My test.lytex file was in C:, I found the requested file in C:\cygwin\home\Studium (odd, isn't it?). I copied it to C:, tried again, but another error occured: ! I can't find file `lilyponddefs.tex'. l.22 \input lilyponddefs Please type another input file name ! Emergency stop. l.22 \input lilyponddefs ...which is in C:\cygwin\usr\share\lilypond\2.4.3\tex. Besides this, feta and parmesan have not been found... (but I'm pretty sure my installation is complete and not corrupted). I tried the whole process again, this time by manually typing the commands into the cygwin bash (in case something was wrong with the dos command), but the result's the same. I really have no idea what all this means! I'd appreciate any help you could offer. Best regards, John (starting to rotate on my deskchair... ;-) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: instrument name padding
I don't have access to a running LilyPond for the moment, but I guess that the relevant property to adjust is the space-alist of the InstrumentName object. Also, since the corresponding engraver lives in the Staff context by default, you have to explicitly say \override Staff.InstrumenName ... /Mats Jonatan Liljedahl wrote: I'm trying to add some padding after the instrument names (they touch the bracket), I've tried setting padding and various other properties with \override InstrumentName #'padding = #3 but nothing happens. I've also tried setting self-alignment-X to different values but I get no change there either. I tried different contexes before InstrumentName (Voice. Staff. Score.)... And I've tried putting it before and after the \set Staff.instrument line... But I can't figure out how to do this! Lilypond 2.5.18 /Jonatan-=( http://kymatica.com )=- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: instrument name padding
Jonatan Liljedahl wrote: I'm trying to add some padding after the instrument names (they touch the bracket), I've tried setting padding and various other properties with \override InstrumentName #'padding = #3 but nothing happens. I've also tried setting self-alignment-X to different values but I get no change there either. I tried different contexes before InstrumentName (Voice. Staff. Score.)... And I've tried putting it before and after the \set Staff.instrument line... But I can't figure out how to do this! How about just changing the indent in the paper block? Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Context menu
how sad... I tried to use lilypond-book as proposed by the manual (with typing into the cygwin bash etc.), even using the manual's example and putting the .lytex file into my home directory. still, lilyponddefs.tex and the font's weren't found, though they are were they're supposed to be. Could there be something wrong with lilypond-book itself? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: textspanner arrowed line
On Sat, 16 Apr 2005 16:05:37 +0200 Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > Op za, 16-04-2005 te 15:12 -0300, schreef Jonatan Liljedahl: > > > This sounds like a good idea. Probably the arrow drawing should be > > > done by the line-interface code, because arrows are a generic > > > thing to have on lines. > > > > Yes, I'll see what I can do. Is make_line() and make_dashed_line() > > only used by the Line_interface::line() function? (so that it's Ok > > to add an extra argument to make_line() to tell it about the > > arrow...) > > I don't know - grep the source code. It might be easier to make an > add_arrow_endings() function, which does not need to know about the > line style (dashed, etc.) or thickness. Ok, I'll attach my patch with this mail. Apply with "patch -p0 < arrow_lijon.patch". I think I have managed to set all grobs defaults to NOT use any arrows, so that glissandos and tuplet brackets and stuff like that doesn't get arrowheads... One problem (?) is that arrows are drawn also on lines that are broken when the staff continues on the next line. Maybe this is the right thing, in the same way that hairpins behaves; they are as big at the broken end as the real end, if you understand what I mean... Below is an example use: % \version "2.5.18" %% Some shortcuts #(define (arrow a b) (ly:export #{ \override TextSpanner #'edge-text = #(cons $a $b) \override TextSpanner #'dash-fraction = #'() \override TextSpanner #'style = #'line \override TextSpanner #'arrow = ##t #} ) ) bts = \startTextSpan ets = \stopTextSpan %% EXAMPLE \relative c'' { #(arrow "foo" "bar") a8\bts gis8\< a2. c,4\glissando g'\! c\ets c } %% Another problem is that I get near zero padding between the line and the edge texts. But this was the same without my arrow.. > > > > Another solution would be to put the arrow in the end edge text, > > > > and translate it to the left a bit... Is it possible to include > > > > markup (with > > > > \stencil code-to-draw-arrowhead) in the edge texts somehow? > > > > > > I'm not sure it will work. There is padding (bound-padding > > > property) between the text and the line, > > > but you could give it a try. > > > > I tried putting markup in the edge texts but they came out verbatim. > > > > Try something like > > \override ... #'edge-text = #(cons (make-bold-markup "foo") '() ) Thanks! That worked. I tried to put the arrow in the end text, but I got problems with translation of the arrowhead as the endtext is centered and the position is dependant of the characters in the text. /Jonatan-=( http://kymatica.com )=- arrow_lijon.patch.gz Description: Binary data arrowtest.png Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: instrument name padding
In the 2.4.x series you could simply write \set Staff.instrument = "Piano " or if you want more space: \set Staff.instrument = "Piano " instead of: \set Staff.instrument = "Piano" Doesn't this still work in 2.5? /Bernard On Sat, 2005-04-16 at 18:31 -0300, Jonatan Liljedahl wrote: > I'm trying to add some padding after the instrument names (they touch > the bracket), I've tried setting padding and various other properties > with > \override InstrumentName #'padding = #3 > > but nothing happens. I've also tried setting self-alignment-X to > different values but I get no change there either. I tried different > contexes before InstrumentName (Voice. Staff. Score.)... And I've tried > putting it before and after the \set Staff.instrument line... But I > can't figure out how to do this! > > Lilypond 2.5.18 > > /Jonatan-=( http://kymatica.com )=- > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > -- Bernard Hurley <[EMAIL PROTECTED]> ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: raised/not-raised doc error(?)
On 15-Apr-05, at 2:25 PM, Stan Sanderson wrote: On page 205 of Ch. 9, pdf Lilypond documentation for v. 2.5.19, a "trick" is given for raising markup text. It appears, as it has in previous versions, that the "raised" example has a null space ("") rather than an empty space (" "). If so, it would explain why (at least in the pdf version of the documentation) there is no discernible change in position for "not-raised" and "raised". It's a known issue; it's the first thing I'll fix after exams are done (less than a week). Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Context menu
Hi, I've recently made a python script to do this. It is based on the lily-wins script, and should work ok. Aligorith _ Become a fitness fanatic @ http://xtramsn.co.nz/health #!/bin/python # lilytex-wins.py -- LilyPond command for .lytex on Windows # By Joshua Leung ([EMAIL PROTECTED]), based on lily-wins.py # useful for LilyPond 2.4.2 - Recent lower versions may also work. # To make it work with a windows right-click, add this to file-type associations # for the .lytex extension. Change the cygwin directory to the correct place for # your system. Also, place this in the right place. # C:\cygwin\bin\bash.exe --login -c '/bin/lilytex-wins "%1"' # Coded 12 April 2005. # 12/04/05 - It works with files in a user's home dir. Not sure about other places. # - EDIT: it falls down when path has spaces. why, I don't know. how to fix, I don't know. # - after a short break, it works! # importing - removed import time import getopt import os import re import sys def usage (): print 'Usage [-h,--help] lilytex-wins LYTEX-FILE' def read_pipe (command): s = os.popen (command).read () if s and s[-1] == '\n': return s[:-1] return s def system (command): os.system (command) def strip_extension (f, ext): (p, e) = os.path.splitext (f) if e == ext: e = '' return p + e def escape_shell (x): return re.sub ("(\s|[`'\"])", r'\\\1',x) # main # the code around here could do with a shake up! - but it is currently working. filea = sys.argv[1] native_file = filea print 'Processing %s ...' % native_file file = read_pipe ('/usr/bin/cygpath -au %s' % escape_shell (native_file)) if not file: file = native_file cwd = os.getcwd () dir = os.path.dirname (file) if not dir: dir = '.' base = os.path.basename (file) # just a few changes here if base.find('.lytex') == -1: stem = strip_extension (base, '.LYTEX') else: stem = strip_extension (base, '.lytex') native_base = '%(dir)s/%(stem)s' % vars () native_base = read_pipe ('/usr/bin/cygpath -aw %s' % escape_shell (native_base)) pdf_base = '%(dir)s/out/%(stem)s' % vars () pdf_base = read_pipe ('/usr/bin/cygpath -aw %s' % escape_shell (pdf_base)) if not native_base: native_base = '%(dir)s/%(stem)s' % vars () pdfname = read_pipe ('/usr/bin/regtool get /root/.pdf/') pdfopencommand = read_pipe ('/usr/bin/regtool get /root/%s/shell/open/command/' % escape_shell (pdfname)) # hmm - pdf stuff native_view = re.sub ('"([^"]*).*"', '\\1', pdfopencommand) if not native_view: native_view = 'acrobat' if native_view: pdfview = read_pipe ('/usr/bin/cygpath -au %s' % escape_shell (native_view)) if not pdfview: # message box? sys.stderr.write ('no pdf viewer found\n') pdfview = 'xpdf' os.chdir (dir) pdffile = '%(stem)s.pdf' % vars () if os.path.exists ('out'): os.chdir ('out') if os.path.exists (pdffile): # why do we have this functionality anyway??? os.unlink (pdffile) os.chdir (dir) # reset to # my major changes from this point onwards script = '/usr/bin/lilypond-book --output=out' exeA = '/usr/bin/latex' exeB = '/usr/bin/dvips -u+lilypond -u+ec-mftrace' scriptB = '/usr/bin/ps2pdf' if os.path.exists ('/usr/bin/lilypond-book'): script = '/usr/bin/lilypond-book --output=out' # run lilypond-book on the lytex file statA = system ('%s %s' % (script, escape_shell (base))) os.chdir ('out') # change the working directory statC = system ('%s %s.tex' % (exeA, escape_shell (stem))) statD = system ('%s %s.dvi' % (exeB, escape_shell (stem))) statE = system ('%s %s.ps' % (scriptB, escape_shell (stem))) # later, we might to make a copy of this PDF, and place it with the .lytex if not os.path.exists (pdffile): print 'PDF output not found. An error occured.' print 'Press enter to close window' sys.stdin.readline () else: system ('%s %s.pdf' % (escape_shell (pdfview), escape_shell (pdf_base))) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user