Re: articulation question

2010-11-22 Thread M Watts

On 11/21/2010 08:53 AM, Hu Haipeng wrote:

   I'm wondering whether I can enter these articulations: mezzo staccato (dot 
and line),


Just put both after the note: c-.--


reversed accent sing


Not sure what this is...


and martellato (thick V).


If you force the direction of the marcato mark downwards, it points 
down; usually you put c-^, but try c_^ to get thick downwards V.


Or, if you want a thick downwards V above the note, you could try

martellato = \markup { \musicglyph #"scripts.dmarcato" }

c^\martellato

otherwise if it goes above the note, as in c^^, it points upwards.



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


Re: how to get half-bar used in Bach Music?

2010-11-22 Thread Alexander Kobel
[ with cc to lilypond-user; please keep the discussions on the mailing 
list, others might have the same problems and can find the solutions in 
the mailing list archives ]


On 2010-11-22 12:38, Martin Kemp wrote:

I've just been struggling with this too. All else having failed, I faked
it by using an invisible bar line and adding:

\once \override TextScript #'extra-offset = #'(-1 . 3.5) c8_\markup {
\musicglyph #"rests.M2mensural" }


Woah, that's some ugly hack...
Again, I don't see the need for this - I just tested the following, and 
it works just perfect for me (use \halfBar to make a "real" bar line at 
the end of a measure appear smaller, and \halfAddBar to insert a "fake" 
barline of half the usual extent).  If it doesn't in your setting, could 
you give a small compiling example to show the problem?


halfBar = \once \override Staff . BarLine #'bar-size = #2
halfAddBar = { \halfBar \bar "|" }

\relative c' {
  c4 c \halfAddBar c c \halfBar |
  c c c c |
}


Cheers,
Alexander

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


Re: Remove empty staves from PianoStaff

2010-11-22 Thread TaoCG

Thanks Neil, that did the trick.

Now I got another problem however.
I am using this snippet to create rhythmic slashes:
http://lsr.dsi.unimi.it/LSR/Item?id=332

And since the slashes are Rests they get removed as well.
Is there a simple trick to keep specific measures with rests alive?
Currently as a workaround I reduced the duration of the slash by half,
followed by a hidden note.
But I'd prefer something more elegant.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/Remove-empty-staves-from-PianoStaff-tp30267705p30278109.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Can LilyPond do incipits?

2010-11-22 Thread Valentin Villenave
On Mon, Nov 22, 2010 at 8:45 AM, David Kastrup  wrote:
> Looks like a nice candidate for something a bit more integrated.  Since
> apparently working code has already been demonstrated, frog calibre?

Isn't this rather a Documentation bug? There's a big TBC in
http://lilypond.org/doc/v2.13/Documentation/notation/working-with-ancient-music_002d_002dscenarios-and-solutions#incipits
Since we already have the snippet, it would be trivial to include there.

That being said, I'm sure it would be nice to have this music-function
distributed within LilyPond, I do, however, wonder if it is
standardized enough. (Neil just rejected a patch of my mine, and
rightly so, because it used a stencil override and therefore could not
be tweaked by the user.)

Cheers,
Valentin.

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


Re: Remove empty staves from PianoStaff

2010-11-22 Thread Jonas Müthing

Hej,

by using the following in your Staff, you can define which interfaces  
decide whether a line is active or not. If you add the rest-interface  
to the list, it should keep the lines alive.


\set Staff.keepAliveInterfaces = #'(
rhythmic-grob-interface
lyric-interface
stanza-number-interface
percent-repeat-interface)

If you want to change all back again, you should be able to use  
\revert Staff.keepAliveInterfaces


Regards,

Jonas


Am 22.11.2010 um 13:37 schrieb TaoCG:



Thanks Neil, that did the trick.

Now I got another problem however.
I am using this snippet to create rhythmic slashes:
http://lsr.dsi.unimi.it/LSR/Item?id=332

And since the slashes are Rests they get removed as well.
Is there a simple trick to keep specific measures with rests alive?
Currently as a workaround I reduced the duration of the slash by half,
followed by a hidden note.
But I'd prefer something more elegant.

Regards,
Tao
--
View this message in context: 
http://old.nabble.com/Remove-empty-staves-from-PianoStaff-tp30267705p30278109.html
Sent from the Gnu - Lilypond - User mailing list archive at  
Nabble.com.



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



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


Bug squad vacancy

2010-11-22 Thread Phil Holmes

Folks,

Valentin has said that he is going to step down from the Bug Squad to allow 
him to concentrate on other aspects of LilyPond development.  This presents 
you all with an exciting new opportunity of getting involved with the 
development of LilyPond without needing any access to development tools or 
other complexities.  The main requirement is to monitor and check the .bugs 
newsgroup one day a week (taking over from Valentin means this will be 
Sunday) for just 15 minutes.  It would be your job to enter bugs that are 
reported there onto the bug tracker.  Full training and mentoring will be 
available.


Please let me know if you'd like to help in this way.

--
Phil Holmes
Bug Meister


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


Re:soprano staff did not transpose (Peter Chubb)

2010-11-22 Thread MING TSANG
Thank you Peter.  The coding is now clearer. Thanks.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: how to get half-bar used in Bach Music?

2010-11-22 Thread jakob lund
Ok here's another ugly hack:



#(define __x 1)

{
\override Staff . BarLine #'bar-size = #(lambda (G) (set! __x (1+
__x)) (+ 2 (* 2 (modulo __x 2

\relative c'' { c1 c c c c }
}



It's ugly because it uses a `global' variable __x to count the bars
and set the bar size to 2 only after an odd number of bars. It screws
up if you try to use it with more staffs.

If someone who knows the inner workings of scheme in Lilypond reads
this, I would like to know
 how to properly access the current bar number in the callback!???


Jakob.


2010/11/22 Alexander Kobel :
> [ with cc to lilypond-user; please keep the discussions on the mailing list,
> others might have the same problems and can find the solutions in the
> mailing list archives ]
>
> On 2010-11-22 12:38, Martin Kemp wrote:
>>
>> I've just been struggling with this too. All else having failed, I faked
>> it by using an invisible bar line and adding:
>>
>> \once \override TextScript #'extra-offset = #'(-1 . 3.5) c8_\markup {
>> \musicglyph #"rests.M2mensural" }
>
> Woah, that's some ugly hack...
> Again, I don't see the need for this - I just tested the following, and it
> works just perfect for me (use \halfBar to make a "real" bar line at the end
> of a measure appear smaller, and \halfAddBar to insert a "fake" barline of
> half the usual extent).  If it doesn't in your setting, could you give a
> small compiling example to show the problem?
>
> halfBar = \once \override Staff . BarLine #'bar-size = #2
> halfAddBar = { \halfBar \bar "|" }
>
> \relative c' {
>  c4 c \halfAddBar c c \halfBar |
>  c c c c |
> }
>
>
> Cheers,
> Alexander
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>

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


Re: Remove empty staves from PianoStaff

2010-11-22 Thread Carl Sorensen
On 11/22/10 7:22 AM, "Jonas Müthing"  wrote:

> Hej,
> 
> by using the following in your Staff, you can define which interfaces
> decide whether a line is active or not. If you add the rest-interface
> to the list, it should keep the lines alive.
> 
> \set Staff.keepAliveInterfaces = #'(
> rhythmic-grob-interface
> lyric-interface
> stanza-number-interface
> percent-repeat-interface)
> 
> If you want to change all back again, you should be able to use
> \revert Staff.keepAliveInterfaces

You cannot \revert properties that are \set.

You'll either need to \set to a stored value, or you'll need to \unset.  I
haven't looked at what \unset would do in this circumstance.

HTH,

Carl


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


Lyric tie

2010-11-22 Thread Francisco Vila
Hello, I have been searching a lot and still can not find a solution
for my lyric ties.  I obtain very misplaced ones and I know that a
font like DejaVuLGC installed should do the trick in my Ubuntu system.
My problem is: I have it installed, how do I force lilypond to use
that font?

\version "2.13.40"
\relative c' {
r4 f e d | c2 c
}
\addlyrics { Buon gior -- no~al mon -- do. }


http://paconet.org/prueba.pdf

It looks all right in evince, but prints very misplaced on printer and
looks the same in jedit/lilypondtool.

Thanks!
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Lyric tie

2010-11-22 Thread Federico Bruni
Il giorno lun, 22/11/2010 alle 21.27 +0100, Francisco Vila ha scritto:
> Hello, I have been searching a lot and still can not find a solution
> for my lyric ties.  I obtain very misplaced ones and I know that a
> font like DejaVuLGC installed should do the trick in my Ubuntu system.
> My problem is: I have it installed, how do I force lilypond to use
> that font?
> 
> \version "2.13.40"
> \relative c' {
> r4 f e d | c2 c
> }
> \addlyrics { Buon gior -- no~al mon -- do. }


Maybe something like this?

\version "2.13"
\relative c' {
r4 f e d | c2 c
}
\addlyrics {
  \override LyricText #'font-name = #"DejaVuLGC"
  Buon gior -- no~al mon -- do.
}

HTH,
Federico


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


Re: Lyric tie

2010-11-22 Thread Francisco Vila
2010/11/22 Federico Bruni :
> Il giorno lun, 22/11/2010 alle 21.27 +0100, Francisco Vila ha scritto:

>> My problem is: I have it installed, how do I force lilypond to use
>> that font?

> Maybe something like this?
>
> \version "2.13"
> \relative c' {
>        r4 f e d | c2 c
> }
> \addlyrics {
>  \override LyricText #'font-name = #"DejaVuLGC"
>  Buon gior -- no~al mon -- do.
> }
>

Thank you, that works, but I like the default font for the lyrics and
I'd prefer to change only that of the lyric tie if necessary.  Sorry
if this is documented, maybe I did not make my homework.  "Multiple
syllables to one note" under manual  "2.1.1 Common notation for vocal
music" does not mention this.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Lyric tie

2010-11-22 Thread Federico Bruni
Il giorno lun, 22/11/2010 alle 22.46 +0100, Francisco Vila ha scritto:
> > \addlyrics {
> >  \override LyricText #'font-name = #"DejaVuLGC"
> >  Buon gior -- no~al mon -- do.
> > }
> >
> 
> Thank you, that works, but I like the default font for the lyrics and
> I'd prefer to change only that of the lyric tie if necessary.  

What about using the undertie directly in your (utf-8) source file?

Buon gior -- no‿al mon -- do.

Does it look better?


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


Re: What setup for a Pedagogy Book?

2010-11-22 Thread Damian leGassick
I can see it, yes

but it didn't work initially - in fact has never worked until now

did you try this in the terminal?

/Applications/TeX/LyX.app/Contents/MacOS/lyx 

and it may be coincidence but try running OnyX

Damian


On 22 Nov 2010, at 01:57, Marc Mouries wrote:

> 
> were you able to see the preview image of the lilypond score in Lyx?
> For me on Mac as well when i open the lyx file i get an error message saying 
> that I am missing a latex package.
> 
> On Nov 21, 2010, at 4:24 PM, Damian leGassick wrote:
> 
>> So...
>> 
>> I just ran Onyx 2.2 and now everything works fine (mac OSX 10.6.5)
>> 
>> weird
>> 
>> anyway... i'll give it a good road test over the next few weeks
>> 
>> Damian
>> 
>> 
>> On 21 Nov 2010, at 18:58, Julien Rioux wrote:
>> 
>>> On 21/11/2010 12:19 PM, Damian leGassick wrote:
 2.13.39
 
 yes, I restarted LyX but I still can't view it in any format except LyXHTML
 
 should I enter the lilypond-book converters manually?
 
 Damian
>>> 
>>> Hi Damian,
>>> 
>>> So, it sounds like LyX is not detecting your lilypond installation. This is 
>>> a bug. Can you please let me know your system and which installer did you 
>>> use for LyX?
>>> 
>>> Also very useful would be if you can capture the output of the LyX's 
>>> configuration step. To do this you would start lyx from a terminal, click 
>>> the "Tools > reconfigure" menu, then copy&paste what you get in the 
>>> terminal window. Howver, I don't know how to do this on a MS Windows OS.
>>> 
>>> To set up the converters manually:
>>> In Tools > Preferences > File Handling
>>> 
>>> In File Formats
>>> Click New, then fill the following:
>>> Format: Lilypond book (LaTeX)
>>> Document format: yes
>>> Vector graphics format: no
>>> Short Name: lilypond-book
>>> Extension: lytex
>>> 
>>> 
>>> In Converters
>>> Select these:
>>> From format: Lilypond book (LaTeX)
>>> To format: LaTeX (plain)
>>> Converter: lilypond-book --safe --lily-output-dir=ly-eps $$i
>>> Click Add
>>> 
>>> Then select these:
>>> From format: Lilypond book (LaTeX)
>>> To format: LaTeX (pdflatex)
>>> Converter: lilypond-book --safe --pdf --latex-program=pdflatex 
>>> --lily-output-dir=ly-pdf $$i
>>> (all on one line; line-wrappings appear due to email client)
>>> Click Add
>>> 
>>> -- 
>>> Julien
>>> 
>>> 
>>> ___
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 


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