Re: chords as markups?

2012-09-06 Thread David Kastrup
m...@mikesolomon.org m...@mikesolomon.org writes: not pretty, but effective... #(define (kludge grob) (ly:grob-set-property! grob 'text foo) (ly:text-interface::print grob)) \new ChordNames \chordmode { a b c:7 \once \override ChordNames . ChordName #'stencil =

Re: chords as markups?

2012-09-06 Thread Werner LEMBERG
The reason we can't just override the text property is because it is junked and reset internally in LilyPond. The unpure-pure-container makes sure that the chord is taken into account in horizontal spacing calculations. Anytime you override a stencil, try to use an unpure-pure-container.

Re: chords as markups?

2012-09-06 Thread m...@mikesolomon.org
On 6 sept. 2012, at 08:06, Werner LEMBERG w...@gnu.org wrote: The reason we can't just override the text property is because it is junked and reset internally in LilyPond. The unpure-pure-container makes sure that the chord is taken into account in horizontal spacing calculations. Anytime

Re: chords as markups?

2012-09-06 Thread Werner LEMBERG
The kludge I used is not documented anywhere - Aaah :-) I looked in define-grobs.scm, saw that it was using ly:text-interface::print but that there was no callback for text, which means that it must be set in the code. So the stencil function (or a number of other ones) could be hijacked

Re: Lilypond editing environments

2012-09-06 Thread Janek Warchoł
On Thu, Sep 6, 2012 at 1:21 AM, Nick Payne nick.pa...@internode.on.net wrote: Elysium (the Eclipse plugin for Lilypond editing) is not listed in the documentation as one of the editing environments for Lilypond. It should probably be there http://elysium.thsoft.hu/ I didn't found licensing

Re: chords as markups?

2012-09-06 Thread Werner LEMBERG
unpure-pure stuff is: http://lilypond.org/doc/v2.16/Documentation/notation/unpure_002dpure-containers Looking more closely at this page, I don't fully understand how it works. It is stated that the unpure-pure stuff affects y-axis calculations, but the given example adjusts the *width*: In

Re: chords as markups?

2012-09-06 Thread m...@mikesolomon.org
On 6 sept. 2012, at 08:49, Werner LEMBERG w...@gnu.org wrote: unpure-pure stuff is: http://lilypond.org/doc/v2.16/Documentation/notation/unpure_002dpure-containers Looking more closely at this page, I don't fully understand how it works. It is stated that the unpure-pure stuff affects

Re: -dno-point-and-click undocumented (was: PDF information issues)

2012-09-06 Thread Stefan Vollmar
Dear Werner, useful as it can be for editing, I found at least one case (a score with three voices, six pages total) where point-and-click generated artefacts (incomplete lines and empty final pages) when viewed with Preview (Mac 10.6.8), while Acrobat 9 showed no such problems - possibly some

Re: chords as markups?

2012-09-06 Thread Werner LEMBERG
How comes? I think this deserves some more explanation. You can check out the CG link for info about how the lilypond spacing engine works with unpure-pure-containers. Will do. Maybe it is sufficient to simply add a link to

Re: chords as markups?

2012-09-06 Thread Werner LEMBERG
You can check out the CG link for info about how the lilypond spacing engine works with unpure-pure-containers. BTW, why the heck is this central part of LilyPond's layout engine located in the Contributor's Guide? This certainly belongs to the `notation' or `extending' guide, I reckon.

Re: Lilypond editing environments

2012-09-06 Thread Henning Hraban Ramm
012/9/6 Janek Warchoł janek.lilyp...@gmail.com: On Thu, Sep 6, 2012 at 1:21 AM, Nick Payne nick.pa...@internode.on.net wrote: Elysium (the Eclipse plugin for Lilypond editing) is not listed in the documentation as one of the editing environments for Lilypond. It should probably be there

Re: chords as markups?

2012-09-06 Thread Werner LEMBERG
After reading the CG stuff, If you feel any info should be brought over to the users manual, post a patch and we can discuss it. And, of course, if after reading the CG stuff is still unclear on how they work, lemme know. OK, I've read it, and the concept of purity is explained well,

Re: -dno-point-and-click undocumented

2012-09-06 Thread Werner LEMBERG
I found at least one case (a score with three voices, six pages total) where point-and-click generated artefacts (incomplete lines and empty final pages) when viewed with Preview (Mac 10.6.8), while Acrobat 9 showed no such problems - Bug report, please! If possible, reduce the example

Re: Lilypond editing environments

2012-09-06 Thread Nick Payne
On 06/09/12 16:27, Janek Warchoł wrote: On Thu, Sep 6, 2012 at 1:21 AM, Nick Payne nick.pa...@internode.on.net wrote: Elysium (the Eclipse plugin for Lilypond editing) is not listed in the documentation as one of the editing environments for Lilypond. It should probably be there

Re: -dno-point-and-click undocumented

2012-09-06 Thread Stefan Vollmar
Dear Werner, I do not think this is necessarily a bug in LilyPond: as Acrobat has no problem displaying the PDF and shorter scores work fine in Preview, my guess is that this is a Preview-specific problem - but I will investigate further and create a minimal example to reproduce the behaviour.

Markup query

2012-09-06 Thread Peter Gentry
Further to my recent query I have deduced from various confusing manual entries that my solution could be as follows % % variables for later use to avoid repititions

Re: chords as markups?

2012-09-06 Thread Robin Bannister
luis jure wrote: ... chords with some non-standard notation ... i'd be very grateful for any pointers. This an old annoyance [1]. You could try using my besideCN and replaceCN. See stencilCN.ly for recent code and a demo. Make sure you update it to your lilypond version. [2] Two

lilypond-book or latex doesn't find the necessary files

2012-09-06 Thread Stefan Thomas
Dear community, in the below quoted latex-document, I get the following error: test.tex:13:9: error: cannot find file: `rousselraga.ly' This is my document and the file rousselraga.ly % \documentclass[a4paper,12pt]{article} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc}

Re: lilypond-book or latex doesn't find the necessary files

2012-09-06 Thread Stefan Thomas
I should have mentioned, that I compile those files with a script: lilypond-book -I /home/stefan/partituren/lilyponds/vorlagen/ --pdf $1.tex --output=out cd out/ pdflatex $1.tex pdflatex $1.tex mv $1.pdf ../ cd ../ rm -r out/ 2012/9/6 Stefan Thomas kontrapunktste...@gmail.com Dear

Re: Markup query

2012-09-06 Thread Graham Percival
On Thu, Sep 06, 2012 at 10:37:37AM +0100, Peter Gentry wrote: It is a shame that the manuals do not contain a single source including a precise definition of all the markup options - similar to a c++ manual say. Notation A.10 is intended to give such a source of definitions. - Graham

Lyric extender lines and rests after line break

2012-09-06 Thread Davide Liessi
Hi all! In the following snippet you will notice that the lyric extender after the line break doesn't start at the beginning of bar 2 but is just a single dash under the hidden c'4. The same happens using rests instead of spacer rests. The glissando is not part of the problem, it is there just to

Re: vim pointing to pdf-viewer and reverse

2012-09-06 Thread Stjepan Horvat
Hi guys..it is an old post..but i got it working right now..so i want to share it with you.. I made a script vim-lilypond.sh #!/bin/bash FILENAME=`echo $1 | cut -d : -f 2` LINE=`echo $1 | cut -d : -f 3` CHAR=`echo $1 | cut -d : -f 4` COLUMN=`echo $1 | cut -d : -f 5` vim --servername lilypond

Re: chords as markups?

2012-09-06 Thread m...@mikesolomon.org
On 6 sept. 2012, at 09:49, Werner LEMBERG w...@gnu.org wrote: After reading the CG stuff, If you feel any info should be brought over to the users manual, post a patch and we can discuss it. And, of course, if after reading the CG stuff is still unclear on how they work, lemme know. OK,

Lyric Descenders

2012-09-06 Thread Shelby Maddox
Is there a way to ignore descenders (q, g, y, etc.) in lyrics? It messes up base lines and line spacing and makes for a very unattractive misalignment. I think this was briefly discussed back in 2.13, but it doesn't seem to have been resolved by 2.16.

Re: update all files with convert.ly (Vol 118, Issue 26)

2012-09-06 Thread Patrick or Cynthia Karl
Message: 5 Date: Wed, 05 Sep 2012 23:47:31 +0200 From: Reinhold Kainhofer reinh...@fam.tuwien.ac.at To: David Kastrup d...@gnu.org Subject: Re: update all files with convert.ly On 2012-09-04 11:37, David Kastrup wrote: Stefan Thomas kontrapunktste...@gmail.com writes: Dear community,

Custom key signature at line break

2012-09-06 Thread Janne Uusitalo
Hi, if I typeset a key change from b major to g major, f remains sharp and LilyPond prints out the naturals necessary for c, g, d, and a. Makes perfect sense, but the standard I'm required to follow has it that an extra # for fis should precede the group of naturals. Is there a way to achieve

Re: Lyric extender lines and rests after line break

2012-09-06 Thread eluze
thanks for the report - I forwarded it to the bug list: http://lilypond.1069038.n5.nabble.com/Lyric-extender-lines-and-rests-after-line-break-td132414.html Eluze -- View this message in context:

Re: LilyBin Launch

2012-09-06 Thread GregJ
Hi Trevor, Awesome work with lilybin.com. Are you planning on open sourcing the code for this? It would be really cool to see a public repo on GitHub for this. I would love to contribute to this project and I know some other javascripters that would probably contribute too. Perhaps you could

RE:Markup query

2012-09-06 Thread Peter Gentry
On Thu, 6 Sep 2012 03:36:40 -0700 Graham Percival wrote Notation A.10 is intended to give such a source of definitions. - Graham Ah I had downloaded all twelve of the pdf manuals which I routinely search via the Adnaced Search option to find inspiration and or confusion. Notation A.10 is in

Re: Markup query

2012-09-06 Thread Graham Percival
On Thu, Sep 06, 2012 at 07:55:32PM +0100, Peter Gentry wrote: On Thu, 6 Sep 2012 03:36:40 -0700 Graham Percival wrote Notation A.10 is intended to give such a source of definitions. Ah I had downloaded all twelve of the pdf manuals which I routinely search via the Adnaced Search option

Re: Markup query

2012-09-06 Thread Nick Payne
On 07/09/12 04:55, Peter Gentry wrote: On Thu, 6 Sep 2012 03:36:40 -0700 Graham Percival wrote Notation A.10 is intended to give such a source of definitions. - Graham Ah I had downloaded all twelve of the pdf manuals which I routinely search via the Adnaced Search option to find

Re: Custom key signature at line break

2012-09-06 Thread Thomas Morley
2012/9/6 Janne Uusitalo janne.uusit...@gmail.com: Hi, if I typeset a key change from b major to g major, f remains sharp and LilyPond prints out the naturals necessary for c, g, d, and a. Makes perfect sense, but the standard I'm required to follow has it that an extra # for fis should

automatically left-aligning custom dynamics

2012-09-06 Thread james
I don't really understand it, but I can modify the examples of how to create custom dynamics to get what I want. I have a document with several examples like: rinforzamf = #( make-dynamic-script ( markup #:line ( #:left-align #:normal-text #:whiteout #:italic

Re: Custom key signature at line break

2012-09-06 Thread David Kastrup
Thomas Morley thomasmorle...@googlemail.com writes: 2012/9/6 Janne Uusitalo janne.uusit...@gmail.com: Hi, if I typeset a key change from b major to g major, f remains sharp and LilyPond prints out the naturals necessary for c, g, d, and a. Makes perfect sense, but the standard I'm required

Re: automatically left-aligning custom dynamics

2012-09-06 Thread David Nalesnik
Hi James, On Thu, Sep 6, 2012 at 5:00 PM, james james.lilyp...@googlemail.com wrote: I don't really understand it, but I can modify the examples of how to create custom dynamics to get what I want. I have a document with several examples like: rinforzamf = #( make-dynamic-script (

Composer header field with large staff size

2012-09-06 Thread Nick Payne
With a large staff size and a longish composer field, the composer name runs off the right-hand edge of the page, even though there is plenty of room for it to be accommodated within the left and right margins: %=== \version 2.16.0 #(set-global-staff-size 33) \paper {

Re: Composer header field with large staff size

2012-09-06 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/06/2012 07:57 PM, Nick Payne wrote: With a large staff size and a longish composer field, the composer name runs off the right-hand edge of the page, even though there is plenty of room for it to be accommodated within the left and right

Adding symbols to titles and headers

2012-09-06 Thread Joshua Nichols
Hello! Just a general question about something I cannot find in the manuals anywhere... How do I insert, lets say, a bass and treble clef into the title or subtitle of a piece? I am building a worksheet and wish to use the symbols instead of the full text. Pointers? I've done every possible

Re: Adding symbols to titles and headers

2012-09-06 Thread Jim Long
On Thu, Sep 06, 2012 at 09:02:10PM -0500, Joshua Nichols wrote: Hello! Just a general question about something I cannot find in the manuals anywhere... How do I insert, lets say, a bass and treble clef into the title or subtitle of a piece? I am building a worksheet and wish to use the