Re: little bar at the beginning of a one-staff-system
rafael, On Thu, Jan 9, 2014 at 11:36 PM, Rafael Arndt rafaelar...@web.de wrote: 2014/1/9 Rafael Arndt rafaelar...@web.de There is a tiny estatical detail I would like to change, but found out nowhere how to do it: I would like to have a bar at the beginning of the system here: ...SNIP... I actually did some research about it, but did neither find an example nor any instruction how to do this kind of stuff. To make the problem clearer: I want to have the vertical line on the left side of the clef. is this what you're trying to acheive? %%% SNIP HERE %%% \version 2.18.0 \score { \new StaffGroup % Must be lower than the actual number of staff lines \set StaffGroup.systemStartDelimiter = #'SystemStartBar \override Score.SystemStartBar #'collapse-height = #1 \new Staff { c'1 } } %%% SNIP HERE %%% produces the attached output. regards, sb -- Do not meddle in the affairs of trombonists, for they are subtle and quick to anger. attachment: Screenshot from 2014-01-10 09:46:46.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
openLilyLib Engraving Challenges
Hi all, the first Engraving Challenge is ready to take off. I have subscribed everybody who has so far declared interest in participating to the openlilylib-user mailing list. If I should have forgotten someone please tell me privately. Everybody else is invited to have a look at the entry page https://github.com/openlilylib/engraving-challenges and the first challenge page https://github.com/openlilylib/engraving-challenges/tree/master/challenge01 If you're interested in joining the effort please subscribe to the mailing list at https://lists.sourceforge.net/lists/listinfo/openlilylib-user and post a message, telling us - which notation program you would like to use - which operating system you're on and - whether you have experience with Git or not. Several participants can use the same program, either in collaboration or independently, I think this was a nice suggestion by some. For LilyPond in particular I propose three different approaches, using - the latest stable version (currently 2.18.0) - the latest development version (currently 2.19.0) - custom versions built from the latest master branch with the option to include custom patches if appropriate Best wishes Urs -- Urs Liska www.openlilylib.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Wish for short version function
Hi all, I have a wish for a scheme function integrated in LilyPond: A function that returns the short form of the version used: e.g. 2.18 (and not 2.18.0) I don’t know if that already exists, I couldn’t find it anywhere. The reason why I want this function is below. It would be very easy to implement: In scm/lily.scm after the definition of lilypond-version, one could add: (define-safe-public (lilypond-short-version) ; or short-lilypond-version (string-join (map (lambda (x) (if (symbol? x) (symbol-string x) (number-string x))) (list-head (ly:version) 2)) .)) What for? For a custom tagline like: Lilypond 2.18 As \version statement I always use the full (2.18.0) version (for convert-ly reasons). But on the printed score this is too much (imho). It doesn’t mean anything to singers in a choir. But I still want to mention LP and for those who know it, it would be nice to see if the used version was new or old. Many programs have version numbers without dots and that’s what people are used to: Windows 95, Windows 8, Sibelius 7, Finale 2014 etc. The major version number contains almost no information, so I need the next one, too. Why integrated? Surely I can write this in my own include, but if this already comes with LP, it is safer to use it in scores for Mutopia etc. as chances are higher that it can be automatically updated to future versions of LP. Cheers, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: Frescobaldi musicxml export
On 01/10/2014 07:37 AM, Martin Tarenskeen wrote: On Thu, 9 Jan 2014, j...@post.cz wrote: Hi, I am new to this forum and also new to Lilypond Frescobaldi. Still learning the basics... I would like to ask for some help with xml import/export since I am not able to get it to work. First you need to know that musicxml import (musicxml2ly) is usable, but far from perfect yet. The situation for musixml export is in a VERY early stage of development and not yet suitable for serious work. Too many even basic elements of music notation are not implemented. But at least someone is working on it and the future looks promising. TypeError: set_time() takes exactly 3 arguments (2 given) My guess is that you have not specified a time signature in you testing score: \time 4/4 Lilypond assumes 4/4 by default when time signature is given, but you version of Frescobaldi's musicxml importer doesn't. (has been fixed in development by now) Like Martin writes, the issue I think you're referring to was not fixed until quite recently. So you need to update to the latest development version for this to work. Sorry about the inconvenience! I also like to express that all usage report and feedback is inspiring for further development, thanks! Best Peter ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: shapeII strange behaviour
Interesting behaviour! I suggest you also open an issue at the snippets repo so the problem doesn't get lost. Urs Am Donnerstag, den 09.01.2014, 21:54 +0100 schrieb Simon Bailey: hi all, when running the following file (sorry, this is as minimal as i can get it): \version 2.18.0 \language deutsch \include openlilylib/notation-snippets/shaping-bezier-curves/shapeII.ily \relative c' { \time 4/4 e1 | \break a8 h ~ h8 cis8 \shapeII #'((h)(0 . 1.5)(ap 85 1)(h)) Slur \tuplet 3/2 8 { e16( f f,) e'( f f,) } \shapeII #'(()) Slur e'8( f)\! | fis1 } i get the attached weird slur on the second tuplet group. removing the \break gives me the output in the 2nd line. any ideas why this is happening? and why it is so inconsistent? regards, sb -- Do not meddle in the affairs of trombonists, for they are subtle and quick to anger. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
MEI
I think this is important also for us: http://www.sibeliusblog.com/news/mei-plug-in-released-for-sibelius/ MEI is an important initiative for standardizing the encoding of music, with particular interest in encoding every aspect of a composition and its sources. I think this will be an important foundation for future music editing, and if even Sibelius starts to support it, we should keep this in our view. I think if we're continuing our way for ly2musicxml this will become feasible. I would _love_ to see LilyPond as an engraving tool for MEI based workflows, and this will only be possible with true 2way conversion. Actually I just got a message that someone at Edirom (www.edirom.de) has plans to create a MEI-to-LilyPond converter one day, and I told him about our current state of affairs (just started MusicXML export), and strongly encouranged him to get in touch with us instead of trying alone. This is to say that there is potential to interest academic institutions in this, which would be a wonderful thing. Best Urs -- Urs Liska www.openlilylib.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
midi swing patch version
Hi, I wanted to test the swing patch, do I need version 2.16 for that? 2.14 doesnt seems to work https://code.google.com/p/lilypond/issues/attachmentText?id=687aid=6870029001name=swingtest.lytoken=ndOkZOHxPedrruWZArMs5tLny80%3A1389347237994 Starting lilypond 2.14.2 [swingtest.ly]... Processing `/tmp/frescobaldi-QwYW62/tmpsXyeEd/swingtest.ly' Parsing... /tmp/frescobaldi-QwYW62/tmpsXyeEd/swingtest.ly:16:19 0: error: syntax error, unexpected DIGIT \tripletFeel 8 { c'8 c' c' c' ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: Frescobaldi musicxml export
On 01/10/2014 07:37 AM, Martin Tarenskeen wrote: Lilypond assumes 4/4 by default when time signature is given, but you version of Frescobaldi's musicxml importer doesn't. (has been fixed in development by now) I meant Lilypond assumes 4/4 default when *no* time signature is given ... MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Moving Ottava Text
Nick Baskin wrote Eluze, Apologies for being unclear! I've attached a minimal example that I hope will demonstrate what I mean. Notice how the 8va text collides with the beam; I would like to move the 8va text to the left to avoid this collision, and cannot figure out how to do so. Changing the text by adding a hspace adds space to the right of the text, but doesn't actually move the text itself. the code you attached doesn't make use of my suggestion - here is another: \override Staff.OttavaBracket.minimum-length= 6.5 Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Moving-Ottava-Text-tp157524p157569.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Wish for short version function
Noeck noeck.marb...@gmx.de writes: Hi all, I have a wish for a scheme function integrated in LilyPond: A function that returns the short form of the version used: e.g. 2.18 (and not 2.18.0) I don’t know if that already exists, I couldn’t find it anywhere. The reason why I want this function is below. It would be very easy to implement: In scm/lily.scm after the definition of lilypond-version, one could add: (define-safe-public (lilypond-short-version) ; or short-lilypond-version (string-join (map (lambda (x) (if (symbol? x) (symbol-string x) (number-string x))) (list-head (ly:version) 2)) .)) What for? For a custom tagline like: Lilypond 2.18 dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox GNU LilyPond 2.19.0 Processing `/usr/local/share/lilypond/2.19.0/ly/scheme-sandbox.ly' Parsing... guile (format LilyPond ~:@{~a.~a~} (ly:version)) LilyPond 2.19 guile (exit) Success: compilation successfully completed dak@lola:/usr/local/tmp/lilypond$ That does not really require a command of its own. Why integrated? You'll likely be writing a format string anyway. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi swing patch version
rosea grammostola rosea.grammost...@gmail.com writes: Hi, I wanted to test the swing patch, do I need version 2.16 for that? 2.14 doesnt seems to work https://code.google.com/p/lilypond/issues/attachmentText?id=687aid=6870029001name=swingtest.lytoken=ndOkZOHxPedrruWZArMs5tLny80%3A1389347237994 Starting lilypond 2.14.2 [swingtest.ly]... Processing `/tmp/frescobaldi-QwYW62/tmpsXyeEd/swingtest.ly' I would expect the \version 2.16.0 line (which you apparently changed without changing anything else in the file) to be a pretty good hint. The current stable version is 2.18, and 2.14 is quite a bit stale. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi swing patch version
yep, works with 2.16, thx On Fri, Jan 10, 2014 at 11:26 AM, David Kastrup d...@gnu.org wrote: rosea grammostola rosea.grammost...@gmail.com writes: Hi, I wanted to test the swing patch, do I need version 2.16 for that? 2.14 doesnt seems to work https://code.google.com/p/lilypond/issues/attachmentText?id=687aid=6870029001name=swingtest.lytoken=ndOkZOHxPedrruWZArMs5tLny80%3A1389347237994 Starting lilypond 2.14.2 [swingtest.ly]... Processing `/tmp/frescobaldi-QwYW62/tmpsXyeEd/swingtest.ly' I would expect the \version 2.16.0 line (which you apparently changed without changing anything else in the file) to be a pretty good hint. The current stable version is 2.18, and 2.14 is quite a bit stale. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Wish for short version function
Hi David, Am 10.01.2014 10:15, schrieb David Kastrup: guile (format LilyPond ~:@{~a.~a~} (ly:version)) LilyPond 2.19 That does not really require a command of its own. That is indeed quite short and usable. I am still a stranger to scheme. I suppose it does something like in python %d.%d.format(version) but the ~, : and @ signs look like magic to me. I will read this: http://www.gnu.org/software/guile/manual/html_node/Formatted-Output.html Why integrated? You'll likely be writing a format string anyway. So far not, I always did this (which I find much more readable): \markup { Lilypond #(lilypond-version) } Thanks, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: Frescobaldi musicxml export
Thank you! The problem was indeed the missing time signature. I thought there must have been something broken with my installation of the software because it was just a very simple score... So now it works. The fact is that I am still not able to export//import more complex scores but it is good to know that it is being actively developed. All the best! Jan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Changing fonts
Hi, I can change fonts like this: \paper { myStaffSize = #19.0 fonts = #(make-pango-font-tree Linux Libertine O Linux Biolinum O Ubuntu Mono (/ myStaffSize 20)) } But that way I always need to specify the staff size. However, I would like to put this in a style sheet and set the staff size later in a file. Is that possible? Or is it possible to read in the global staff size? Or could #(set-global-staff-size ) be changed in a way that it also does this change for the fonts? -- In short is there any way? TIA Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Changing fonts
hiya, On Fri, Jan 10, 2014 at 3:20 PM, Noeck noeck.marb...@gmx.de wrote: But that way I always need to specify the staff size. However, I would like to put this in a style sheet and set the staff size later in a file. Is that possible? Or is it possible to read in the global staff size? Or could #(set-global-staff-size ) be changed in a way that it also does this change for the fonts? -- In short is there any way? this is from my paperdefs.ly: 11 \paper { 12 #(include-special-characters) 13 #(define fonts 14 (make-pango-font-tree Kepler Std 15 Cronos Pro 16 Luxi Mono 17 (/ staff-height pt 20))) not 100% sure where i got that staff-height from. :) (hmm, looks like i got that from the documentation: http://lilypond.org/doc/v2.18/Documentation/notation/fonts#entire-document-fonts -- even though i remember it being documented as per your example). regards, sb -- Do not meddle in the affairs of trombonists, for they are subtle and quick to anger. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Changing fonts
Thanks Simon, that works. I still have to specify the staff size before the include (I can live with that). The interesting thing is this: If I have a set-global-staff-size after the include, not the font size is wrong but the choice of fonts is reverted and I have the default fonts again. (hmm, looks like i got that from the documentation: http://lilypond.org/doc/v2.18/Documentation/notation/fonts#entire-document-fonts -- even though i remember it being documented as per your example). My example is from Frescobaldi (Insert Document fonts) Thanks again, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Thursday, January 09, 2014 2:11 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Errors running lilypond-book Daniel Rosen drose...@gmail.com writes: I'm trying to follow the tutorial at http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of- a-musicological-document; I run Windows 7 x86. When I run the command it tells me to (lilypond-book --output=out --pdf lilybook.lytex), here's what I get (I've redacted my username from the temp file path): lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_fil e chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_t oplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable How do I get this to work? That would seem to be commit aefc5a4057a0a61f1d7e4411cc1c5061d9aea6b7 Author: Julien Rioux jri...@physics.utoronto.ca Date: Wed Jan 23 18:21:22 2013 -0500 lilypond-book: Textwidth detection with included file (issue 3136). Fix the automatic textwidth detection performed by lilypond-book. This failed for lytex files that include an external file in the preamble, when such file was compiled in an --output directory different from the working directory, because then the included file was missing. We use TEXINPUTS to let the latex process know where to look for input files. later improved by commit 39bf694ef4dedbb350960f7c37955c8fe9ce27e3 Author: David Kastrup d...@gnu.org Date: Sat Jul 27 16:44:54 2013 +0200 Issue 3467: lilypond-book 2.17.21 and spaces in file path Versions 2.17.17 and 2.17.24, respectively. Instead one probably needs to manipulate the environment directly. No idea how sticky that is. Actually, it would appear that working with subprocess.Popen would be called for here. The respective coode seems to be: progress (_ (Running `%s' on file `%s' to detect default page settings.\n) % (global_options.latex_program, tmpfile)) cmd = 'TEXINPUTS=%s:$TEXINPUTS %s %s' \ % (global_options.input_dir, global_options.latex_program, tmpfile) debug (Executing: %s\n % cmd) run_env = os.environ.copy() run_env['LC_ALL'] = 'C' ### unknown why this is necessary universal_newlines = True if sys.platform == 'mingw32': universal_newlines = False ### use os.system to avoid weird sleep() problems on ### GUB's python 2.4.2 on mingw # make file to write to output_dir = tempfile.mkdtemp() output_filename = os.path.join(output_dir, 'output.txt') # call command cmd += %s % output_filename returncode = os.system(cmd) parameter_string = open(output_filename).read() if returncode != 0: warning (_ (Unable to auto-detect default settings:\n)) # clean up os.remove(output_filename) os.rmdir(output_dir) else: proc = subprocess.Popen (cmd, env=run_env, universal_newlines=universal_newlines, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (parameter_string, error_string) = proc.communicate () if proc.returncode != 0: warning (_ (Unable to auto-detect default settings:\n%s) % error_string) And normally one should be able to do the TEXINPUTS manipulation just like done with LC_ALL. However, that would require looking at what goes wrong with mingw32 here. I have no idea what the current GUB version of Python is. -- David Kastrup I don't know what any of that means. :-P Is there a workaround? I do know how to define an environment variable, if that's what's necessary. DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Automatic octaves
-Original Message- From: Eluze [mailto:elu...@gmail.com] Sent: Sunday, January 05, 2014 2:31 PM To: lilypond-user@gnu.org Subject: Re: Automatic octaves instead of this (broken) snippet you could use dak's most elegant and short proposal: http://lilypond.1069038.n5.nabble.com/quot-Octave-quot-script-in- Frescobaldi-td152801.html#none Eluze That works great when the variable is invoked outside of a \relative expression, but not within it. Is there any way to modify the function so that it can be used this way? \version 2.18.0 myoctavate = #(define-music-function (parser location music) (ly:music?) #{ \context Bottom $music \transpose c c' $music #}) \relative { \myoctavate { a b c d } e f g a } %% Instead of \myoctavate \relative { a b c d e f g a } DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Automatic octaves
Hi Daniel, Does this work? \version 2.18.0 \version 2.18.0 myoctavate = #(define-music-function (parser location music) (ly:music?) #{ \context Bottom $music \transpose c c' \relative $music #}) \relative { \myoctavate { a b c d } e f g a } %% Instead of \myoctavate \relative { a b c d e f g a } Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Markedly different-looking ties
-Original Message- From: Richard Shann [mailto:rich...@rshann.plus.com] Sent: Thursday, January 09, 2014 12:49 PM To: Urs Liska Cc: lilypond-user@gnu.org Subject: Re: Markedly different-looking ties Have a look here: http://lilypondblog.org/2013/07/lilypond-tie-crusade/ Ah, I missed this - is it possible to get a blog - or its titles - like this emailed to oneself ? As with mutopia (where I never see it because I only shop at IMSLP for scores) I never remember to look in these places. Richard http://lilypondblog.org/follow-by-email/ :) DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Automatic octaves
-Original Message- From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca] Sent: Friday, January 10, 2014 10:42 AM To: Daniel Rosen Cc: Eluze; Lilypond-User Mailing List Subject: Re: Automatic octaves Hi Daniel, Does this work? \version 2.18.0 \version 2.18.0 myoctavate = #(define-music-function (parser location music) (ly:music?) #{ \context Bottom $music \transpose c c' \relative $music #}) \relative { \myoctavate { a b c d } e f g a } %% Instead of \myoctavate \relative { a b c d e f g a } Hope this helps! Kieren. It does appear to work! The other thing about the broken snippet, though, is that it allowed the user to choose both the direction of octavation and the number of octaves. Is there any way for this kind of functionality to be added here? E.g. \relative { \myoctavate #-1 { ... } } to add notes an octave below. DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Automatic octaves
Daniel Rosen drose...@gmail.com writes: -Original Message- From: Eluze [mailto:elu...@gmail.com] Sent: Sunday, January 05, 2014 2:31 PM To: lilypond-user@gnu.org Subject: Re: Automatic octaves instead of this (broken) snippet you could use dak's most elegant and short proposal: http://lilypond.1069038.n5.nabble.com/quot-Octave-quot-script-in- Frescobaldi-td152801.html#none That works great when the variable is invoked outside of a \relative expression, but not within it. Is there any way to modify the function so that it can be used this way? \version 2.18.0 myoctavate = #(define-music-function (parser location music) (ly:music?) #{ \context Bottom $music \transpose c c' $music #}) You could use dak's most elegant make-relative macro... myoctavate = #(define-music-function (parser location music) (ly:music?) (make-relative (music) music #{ \context Bottom $music \transpose c c' $music #})) \relative { \myoctavate { a b c d } e f g a } -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Automatic octaves
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Friday, January 10, 2014 11:31 AM To: Daniel Rosen Cc: Eluze; lilypond-user@gnu.org Subject: Re: Automatic octaves You could use dak's most elegant make-relative macro... myoctavate = #(define-music-function (parser location music) (ly:music?) (make-relative (music) music #{ \context Bottom $music \transpose c c' $music #})) \relative { \myoctavate { a b c d } e f g a } -- David Kastrup That gets me the attached output. DR attachment: document.preview.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Changing fonts
joram, On Fri, Jan 10, 2014 at 3:48 PM, Noeck noeck.marb...@gmx.de wrote: that works. I still have to specify the staff size before the include (I can live with that). The interesting thing is this: If I have a set-global-staff-size after the include, not the font size is wrong but the choice of fonts is reverted and I have the default fonts again. yeah, that's a known caveat. at least it is to me, and i _seem_ to remember reading that _somewhere_. dunno where though -- might have been in the code... ;) i have a paperdefs.ly that i just include after any #(set-global-staff-size XZ) call. if you want to change paper sizes, you should probably do that beforehand as well. my score file normally looks something like: %%% SNIPSNAP %%% %% NB-MAS-2014-01.ly % global definitions/tweaks/snippets in include path \include verlags-defs.ly % piece header and music definition \include NB-MAS-2014-01-header.ly \include NB-MAS-2014-01-music.ly #(set-default-paper-size printedMusic) #(set-global-staff-size 19.5) \include paperdefs.ly \include NB-MAS-2014-01-paper.ly \include NB-MAS-2014-01-score.ly % if it's a generic piano score, i already have a file defined in include path: %\include templates/piano-singleMVT-scoredefs.ly %\include templates/piano-singleMVT_Coda-scoredefs.ly %%% SNAPSNIP %%% My example is from Frescobaldi (Insert Document fonts) you should probably give wilbert a shout on the github issue tracker, if he hasn't seen it here. regards, sb -- Do not meddle in the affairs of trombonists, for they are subtle and quick to anger. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Automatic octaves
Daniel Rosen drose...@gmail.com writes: -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Friday, January 10, 2014 11:31 AM To: Daniel Rosen Cc: Eluze; lilypond-user@gnu.org Subject: Re: Automatic octaves You could use dak's most elegant make-relative macro... myoctavate = #(define-music-function (parser location music) (ly:music?) (make-relative (music) music #{ \context Bottom $music \transpose c c' $music #})) \relative { \myoctavate { a b c d } e f g a } That gets me the attached output. Sick. But you'll get something similar with \relative { { { a b c d } } e f g a } The \context Bottom helps to avoid the effect in the macro itself but does not manage to extent its effect beyond itself. I don't have anything to offer that would work better, so you just have to use explicit contexts, like \relative \new Voice { \myoctavate { a b c d } e f g a } -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: little bar at the beginning of a one-staff-system
Am 10/01/14 09:47, schrieb Simon Bailey: rafael, On Thu, Jan 9, 2014 at 11:36 PM, Rafael Arndt rafaelar...@web.de wrote: 2014/1/9 Rafael Arndt rafaelar...@web.de There is a tiny estatical detail I would like to change, but found out nowhere how to do it: I would like to have a bar at the beginning of the system here: is this what you're trying to acheive? %%% SNIP HERE %%% \version 2.18.0 \score { \new StaffGroup % Must be lower than the actual number of staff lines \set StaffGroup.systemStartDelimiter = #'SystemStartBar \override Score.SystemStartBar #'collapse-height = #1 \new Staff { c'1 } } %%% SNIP HERE %%% produces the attached output. regards, sb Hi Simon. That's exactly it. Actually I like the thickness of the line better if I uncomment the first (\set...)-line. Thanks alot. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Automatic octaves
Am 10.01.2014 16:53, schrieb Daniel Rosen: The other thing about the broken snippet, though, is that it allowed the user to choose both the direction of octavation and the number of octaves. Is there any way for this kind of functionality to be added here? E.g. \relative { \myoctavate #-1 { ... } } to add notes an octave below. you could add another parameter: myoctavate =#(define-music-function (parser location pitch music) (ly:pitch? ly:music?) #{ \context Bottom $music \transpose c $pitch $music #} ) and then: \myoctavate c'' \relative c' { a b c d e f g a } or \myoctavate c, \relative c' { a b c d e f g a } would give the wanted result. but for the \relative issue I can't figure out a solution (unless you want to define two functions, one for relative and one for absolute entry) Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
2.18 test.ly produce no pdf
After installing version 2.18 on Windows 7 (64bit) I was not able to produce test.pdf. It did however produce test.ps I had to revert to 2.16 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: create custom context definitions using a scheme function
*Awesome!!* I don't know when i'll have time to finish the thing i need this for, but it will be very awesome when done. Many thanks!! Janek 2014/1/10 David Kastrup d...@gnu.org: David Kastrup d...@gnu.org writes: Janek Warchoł janek.lilyp...@gmail.com writes: 2014/1/9 David Kastrup d...@gnu.org: So how can i achieve what i want? Make a Scheme assignment. Something like #(define-void-function (parser location ...) ... (ly:parser-define! parser '$defaultlayout #{ \layout ... #})) Or just use your original code after Tracker issue: 3793 (http://code.google.com/p/lilypond/issues/detail?id=3793) Rietveld issue: 50130044 (http://codereview.appspot.com/50130044) Issue description: Allow scheme functions and identifiers to function as output definitions has passed... And yes, I know that the situation for context defs is comparable, but I need to go to bed now. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 2.18 test.ly produce no pdf
Am 10.01.2014 19:34, schrieb Tom van der Hoeven: After installing version 2.18 on Windows 7 (64bit) I was not able to produce test.pdf. It did however produce test.ps I had to revert to 2.16 Hi Tom, I am sorry to hear, that the upgrade didn’t work properly for you. Could you write a bit more: What was your input file? What was the output message of LilyPond (or log file)? If there are no errors in the log file, what is the output of lilypond -V test.ly ? Without this information it is difficult to tell what’s going wrong. Best, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Markedly different-looking ties
-Original Message- From: Richard Shann [mailto:rich...@rshann.plus.com] Sent: Friday, January 10, 2014 12:51 PM To: Daniel Rosen Subject: Re: Markedly different-looking ties On Fri, 2014-01-10 at 15:44 +, Daniel Rosen wrote: -Original Message- From: Richard Shann [mailto:rich...@rshann.plus.com] Sent: Thursday, January 09, 2014 12:49 PM To: Urs Liska Cc: lilypond-user@gnu.org Subject: Re: Markedly different-looking ties Have a look here: http://lilypondblog.org/2013/07/lilypond-tie-crusade/ Ah, I missed this - is it possible to get a blog - or its titles - like this emailed to oneself ? As with mutopia (where I never see it because I only shop at IMSLP for scores) I never remember to look in these places. Richard http://lilypondblog.org/follow-by-email/ :) DR Thank you - turns out this is just a fancy way of sending Urs an email! Still it is done now, and I will be better informed in future. Richard Sure thing. DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Automatic octaves
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Friday, January 10, 2014 12:19 PM To: Daniel Rosen Cc: Eluze; lilypond-user@gnu.org Subject: Re: Automatic octaves Daniel Rosen drose...@gmail.com writes: -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Friday, January 10, 2014 11:31 AM To: Daniel Rosen Cc: Eluze; lilypond-user@gnu.org Subject: Re: Automatic octaves You could use dak's most elegant make-relative macro... myoctavate = #(define-music-function (parser location music) (ly:music?) (make-relative (music) music #{ \context Bottom $music \transpose c c' $music #})) \relative { \myoctavate { a b c d } e f g a } That gets me the attached output. Sick. But you'll get something similar with \relative { { { a b c d } } e f g a } The \context Bottom helps to avoid the effect in the macro itself but does not manage to extent its effect beyond itself. I don't have anything to offer that would work better, so you just have to use explicit contexts, like \relative \new Voice { \myoctavate { a b c d } e f g a } -- David Kastrup Kieren's solution worked fine: \version 2.18.0 myoctavate = #(define-music-function (parser location music) (ly:music?) #{ \context Bottom $music \transpose c c' \relative $music #}) \relative { \myoctavate { a b c d } e f g a } DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 2.18 test.ly produce no pdf
Here you are test.ly \version 2.16.0 % necessary for upgrading to future LilyPond versions. \header{ title = A scale in LilyPond subtitle = For more information on using LilyPond, please see http://lilypond.org/introduction.html; } \relative c' { c d e f g a b c } test.log # -*-compilation-*- Verwerken van 'C:/Users/Tom/Desktop/test.ly' Ontleden... Interpreting music... Voorbewerken van grafische objecten... Zoeken naar het ideale aantal pagina's... Muziek passend maken op 1 pagina... Tekenen van systemen... Opmaakuitvoer naar `/Users/Tom/Desktop/test.ps'... lilypond -V test.ly C:\Users\Tom\Music\altviool\Witt\Sym_14\Altviool\TomC:\Program Files (x86)\LilyPond\usr\bin\LilyPond.exe -V test.ly Log level set to 287 Relocation: is absolute: argv0=C:\Program Files (x86)\LilyPond\usr\bin\LilyPond.exe PATH=C:/Program Files (x86)/LilyPond/usr/bin (voorvoegen) Zetten van PATH op C:/Program Files (x86)/LilyPond/usr/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\Borland\Delphi6\Bin;C:\PROGRA~2\Borland\Delphi6\Projects\Bpl;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\ Verhuizing: samenstel datamap=, nieuwe datamap=C:/Program Files (x86)/LilyPond/usr/share/lilypond//current Verhuizing: draadwerk_voorvoegel=C:/Program Files (x86)/LilyPond/usr/bin/.. Zetten van INSTALLER_PREFIX op C:/Program Files (x86)/LilyPond/usr/bin/.. Verhuisbestand: C:/Program Files (x86)/LilyPond/usr/bin/../etc/relocate//fontconfig.reloc Zetten van FONTCONFIG_FILE op C:/Program Files (x86)/LilyPond/usr/bin/../etc/fonts/fonts.conf Zetten van FONTCONFIG_PATH op C:/Program Files (x86)/LilyPond/usr/bin/../etc/fonts Verhuisbestand: C:/Program Files (x86)/LilyPond/usr/bin/../etc/relocate//gs.reloc waarschuwing: onbekende map: C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/fonts voor GS_FONTPATH waarschuwing: onbekende map: C:/Program Files (x86)/LilyPond/usr/bin/../share/gs/fonts voor GS_FONTPATH GS_LIB=C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/Resource (voorvoegen) Zetten van GS_LIB op C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/Resource GS_LIB=C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/Resource/Init (voorvoegen) Zetten van GS_LIB op C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/Resource/Init;C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/Resource Verhuisbestand: C:/Program Files (x86)/LilyPond/usr/bin/../etc/relocate//guile.reloc GUILE_LOAD_PATH=C:/Program Files (x86)/LilyPond/usr/bin/../share/guile/1.8 (voorvoegen) Zetten van GUILE_LOAD_PATH op C:/Program Files (x86)/LilyPond/usr/bin/../share/guile/1.8 Verhuisbestand: C:/Program Files (x86)/LilyPond/usr/bin/../etc/relocate//pango.reloc Zetten van PANGO_RC_FILE op C:/Program Files (x86)/LilyPond/usr/bin/../etc/pango/pangorc Zetten van PANGO_PREFIX op C:/Program Files (x86)/LilyPond/usr/bin/../ Zetten van PANGO_MODULE_VERSION op 1.6.0 PATH=C:/Program Files (x86)/LilyPond/usr/bin/../bin (voorvoegen) Zetten van PATH op C:/Program Files (x86)/LilyPond/usr/bin/../bin;C:/Program Files (x86)/LilyPond/usr/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\Borland\Delphi6\Bin;C:\PROGRA~2\Borland\Delphi6\Projects\Bpl;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\ Zetten van GUILE_MIN_YIELD_1 op 65 Zetten van GUILE_MIN_YIELD_2 op 65 Zetten van GUILE_MIN_YIELD_MALLOC op 65 Zetten van GUILE_INIT_SEGMENT_SIZE_1 op 10485760 Zetten van GUILE_MAX_SEGMENT_SIZE op 104857600 LILYPOND_DATADIR=/usr/share/lilypond/2.18.0 LOCALEDIR=/usr/share/locale Effective prefix: C:/Program Files (x86)/LilyPond/usr/share/lilypond/current FONTCONFIG_FILE=C:/Program Files (x86)/LilyPond/usr/bin/../etc/fonts/fonts.conf FONTCONFIG_PATH=C:/Program Files (x86)/LilyPond/usr/bin/../etc/fonts GS_LIB=C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/Resource/Init;C:/Program Files (x86)/LilyPond/usr/bin/../share/ghostscript/8.70/Resource GUILE_LOAD_PATH=C:/Program Files (x86)/LilyPond/usr/bin/../share/guile/1.8 PANGO_RC_FILE=C:/Program Files (x86)/LilyPond/usr/bin/../etc/pango/pangorc PANGO_PREFIX=C:/Program Files (x86)/LilyPond/usr/bin/../ PATH=C:/Program Files (x86)/LilyPond/usr/bin/../bin;C:/Program Files (x86)/LilyPond/usr/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\Borland\Delphi6\Bin;C:\PROGRA~2\Borland\Delphi6\Projects\Bpl;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\ [] Guile 1.8 [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/scm/lily-library.scm] [C:/Program Files
Beam severing
Working on the Godowsky challenge posed by Urs, I came up with this really unpleasant workaround to splitting the beams as in the original. Can anyone make this work without having to resort to adding a second voice? Shane \version 2.18.0 \relative c'' {{ \once \override Beam #'positions = #'(2 . 2) \tuplet 3/2{ cis,16 \sustainOn e c \set stemRightBeamCount = #1 g' \set stemLeftBeamCount = #1 b, e }\tuplet 3/2{ ais,\sustainOn \set stemRightBeamCount = #1 g' \set stemLeftBeamCount = #1 a, c gis e'} }\\{\tuplet 3/2 {s4 \stemUp \once \override Beam #'positions = #'( 1.0 . 1.0 ) b8[ ais8] s4 }}} ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
midiInstrument not rendered for some values
trying random instruments from the list of instruments on this page: http://www.lilypond.org/doc/v2.17/Documentation/notation/midi-instruments here are the values for which my timidity (version 2.13.2) creates an audible track (a few picked at random): cello xylophone pan flute and here are a few values for which there is no sound in the generated midi file: contrabass honky-tonk pizzicato strings is this a glitch? is it my timidity ? I just downloaded, compiled and installed the latest git, version 2.19.0 (on linux), thinking that would solve it, but does not. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MEI
From a Fringe Coder, I like Vim (text editor). I like to code with minimal but descriptive syntax(ie. Visual Basic). XML code for web-applications I find bloated and working with it is ugly. If MusicXML is guided by the right people and does become/is a definitive standard that can support the keywords and other particulars of lilypond code, then this might be a great opportunity for the lilypond community. From a very satisfied lilypond user, go lilypond go! Namaste, Kevin Tough On Fri, 2014-01-10 at 10:46 +0100, Urs Liska wrote: I think this is important also for us: http://www.sibeliusblog.com/news/mei-plug-in-released-for-sibelius/ MEI is an important initiative for standardizing the encoding of music, with particular interest in encoding every aspect of a composition and its sources. I think this will be an important foundation for future music editing, and if even Sibelius starts to support it, we should keep this in our view. I think if we're continuing our way for ly2musicxml this will become feasible. I would _love_ to see LilyPond as an engraving tool for MEI based workflows, and this will only be possible with true 2way conversion. Actually I just got a message that someone at Edirom (www.edirom.de) has plans to create a MEI-to-LilyPond converter one day, and I told him about our current state of affairs (just started MusicXML export), and strongly encouranged him to get in touch with us instead of trying alone. This is to say that there is potential to interest academic institutions in this, which would be a wonderful thing. Best Urs -- Urs Liska www.openlilylib.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MEI
Kevin, On 2014-01-11 17:40, Kevin Tough wrote: From a Fringe Coder, I like Vim (text editor). The choice of champions! I like to code with minimal but descriptive syntax(ie. Visual Basic). Basic will cause brain damage - try Ruby! XML code for web-applications I find bloated and working with it is ugly. Definitely, it would be nice if there were a JSON option but I guess that is not likely to happen . . If MusicXML is guided by the right people and does become/is a definitive standard that can support the keywords and other particulars of lilypond code, then this might be a great opportunity for the lilypond community. I hope so. From a very satisfied lilypond user, go lilypond go! +1 Regards, Phil. Namaste, Kevin Tough On Fri, 2014-01-10 at 10:46 +0100, Urs Liska wrote: I think this is important also for us: http://www.sibeliusblog.com/news/mei-plug-in-released-for-sibelius/ MEI is an important initiative for standardizing the encoding of music, with particular interest in encoding every aspect of a composition and its sources. I think this will be an important foundation for future music editing, and if even Sibelius starts to support it, we should keep this in our view. I think if we're continuing our way for ly2musicxml this will become feasible. I would _love_ to see LilyPond as an engraving tool for MEI based workflows, and this will only be possible with true 2way conversion. Actually I just got a message that someone at Edirom (www.edirom.de) has plans to create a MEI-to-LilyPond converter one day, and I told him about our current state of affairs (just started MusicXML export), and strongly encouranged him to get in touch with us instead of trying alone. This is to say that there is potential to interest academic institutions in this, which would be a wonderful thing. Best Urs -- Urs Liska www.openlilylib.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: p...@pricom.com.au ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user