Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Francisco Vila
2008/9/22 Dmytro O. Redchuk <[EMAIL PROTECTED]>:
> 2008/9/20 Francisco Vila <[EMAIL PROTECTED]>:
>> I have seen the new design in action and I like it very much, I'd like
>> to propose a minimum of
>>
>>  padding:10px;
> I agree; would suggest 1em.

Yes, better.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: How to get text width in Scheme?

2008-09-22 Thread Valentin Villenave
2008/9/22 Risto Vääräniemi <[EMAIL PROTECTED]>:
> Should this be added to the bug tracker as a feature request or whatnot?

If you can provide a simple (bugmeister-readable) bug report, you're welcome :-)

Cheers,
Valentin


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


Re: installing on mac os x 10.4.11

2008-09-22 Thread Valentin Villenave
2008/9/21 rik <[EMAIL PROTECTED]>:

> After a number of attempts to install the new version - I was getting an error
> message of 'file to short' - which I couldn't find any references to.

Hmm. weird.

Can you try the latest development (2.11.x) version?

Cheers,
Valentin


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


Re: installing on mac os x 10.4.11

2008-09-22 Thread Hans Aberg

On 22 Sep 2008, at 09:49, Valentin Villenave wrote:

After a number of attempts to install the new version - I was  
getting an error

message of 'file to short' - which I couldn't find any references to.


Hmm. weird.

Can you try the latest development (2.11.x) version?


This link says it is a bug in Mac OS X 10.5 prebinding, which may  
happen if one is running other stuff while updating.
  http://www.tech-archive.net/Archive/Mac/ 
microsoft.public.mac.office/2007-03/msg00127.html


  Hans




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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Valentin Villenave
Hi Reinhold, hi everybody,

I find the new documentation layout very impressive, but there's one
feature I'm still missing: the integrated search function!

In the attached html page I have pasted (in a very basic way) a search
box at the top of the tocframe; this is more or less the kind of
layout I'd like to see. However, there are a few improvements I can
suggest, though I don't know how to implement these:

- the search box size and the search-button should be handled by the CSS
- the text on the search button should be defined by a localized string
- the search box should provide auto-completion possible results (like
on Wikipedia)
- the search function should show the results in the main "frame" on
the right, without making the tocframe disappear.

This would definitely make browsing, searching and using the docs a
*lot* easier!

Cheers,
Valentin
Title: GNU LilyPond Notation Reference: GNU LilyPond — The music typesetter






[Top][Contents][Index][ ? ]
GNU LilyPond — The music typesetter
This document is also available as a
PDF and as
one big page.










This file documents GNU LilyPond.

Copyright 1999–2007 by the authors

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation;
with no Invariant Sections.
A copy of the license is included in the section entitled “GNU
Free Documentation License”.





This is the Notation Reference (NR) for GNU LilyPond version 2.11.60.
For more information about how this fits with the other
documentation, see 
About the documentation.




More information can be found at
http://www.lilypond.org/.  The website contains on-line copies
of this and other documentation.



We want to dedicate this program to all the friends that we
met through music.

Han-Wen and Jan



1. Musical notation  
2. Specialist notation  Notation which is only used for
specific purposes.

3. General input and output     General information about
lilypond input and output.

4. Spacing issues   Display of output on paper.

5. Changing defaults    Tuning output.

6. Interfaces for programmers   Expert usage.

Appendices

A. Literature list  Reference works about music notation.

B. Notation manual tables   Tables and charts.

C. Cheat sheet  Summary of LilyPond syntax.

D. GNU Free Documentation License   License of this document.

E. LilyPond command index  

F. LilyPond index  









[Top][Contents][Index][ ? ]



This page is for LilyPond-2.11.60 (development-branch).


Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs. 

Your suggestions for the documentation are welcome.






 Other languages: français, español, deutsch.
 
 












  
  

  
  



 Table of Contents


  1. Musical notation
  
1.1 Pitches
1.2 Rhythms
1.3 Expressive marks
1.4 Repeats
1.5 Simultaneous notes
1.6 Staff notation
1.7 Editorial annotations
1.8 Text
  
  2. Specialist notation
  
2.1 Vocal music
2.2 Keyboard instruments
2.3 Unfretted string instruments
2.4 Fretted string instruments
2.5 Percussion
2.6 Wind instruments
2.7 Chord notation
2.8 Ancient notation
2.9 World music
  
  3. General input and output
  
3.1 Input structure
3.2 Titles and headers
3.3 Working with input files
3.4 Controlling output
3.5 MIDI output
  
  4. Spacing issues
  
4.1 Paper and pages
4.2 Music layout
4.3 Breaks
4.4 Vertical spacing
4.5 Horizontal spacing
4.6 Fitting music onto fewer pages
  
  5. Changing defaults
  
5.1 Interpretation contexts
5.2 Explaining the Internals Reference
5.3 Modifying properties
5.4 Useful concepts and properties
5.5 Advanced tweaks
5.6 Discussion of specific tweaks
  
  6. Interfaces for programmers
  
6.1 Music functions
6.2 Programmer interfaces
6.3 Building complicated functions
6.4 Markup programmer interface
6.5 Contexts for programmers
6.6 Scheme procedures as properties
6.7 TODO moved into scheme
  
  A. Literature list
  B. Notation manual tables
  
B.1 Chord name chart
B.2 Common chord modifiers
B.3 Predefined fretboard diagrams
B.4 MIDI instruments
B.5 List of colors
B.6 The Feta font
B.7 Note head styles
B.8 Text markup commands
B.9 Text markup list commands
B.10 List of articulations
B.11 Percussion notes
B.12 All context properties
B.13 Layout properties
B.14 Identifiers
B.15 Scheme functions
  
  C. Cheat sheet
  D. GNU Free Documentation License
  E. LilyPond command index  F. LilyPond index



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


leadsheet with intro an lyrics

2008-09-22 Thread Sebastian Menge
Hi all

I'm writing a leadsheet with chords and lyrics. How can I let the
lyrics start after 4 bars of "intro"? At the moment my score looks
like that:

\score { 

{ <<
  \chords { ... }
  \relative c' { ... }
>>

<<
  \chords { ... }
  \relative c' { ... }
  \addlyrics { ... }
>> }

\header { ... } 

\layout { ... } 

}

But then the second part starts a new staff. How can I prevent that?

Thanks, Sebastian.



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


Re: How to get text width in Scheme?

2008-09-22 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Sonntag, 21. September 2008 schrieb Han-Wen Nienhuys:
> On Fri, Sep 19, 2008 at 9:29 AM, Risto Vääräniemi <[EMAIL PROTECTED]> 
wrote:
> > Hi all,
> >
> > Can someone tell me how I can get the text width inside scheme?
> >
> > There's a method called ly:text-dimension that takes font metric and
> > the text as parameters and gives the dimensions. Alright - I should
> > get the font metric somehow. I tried (let ((fontMetr (ly:grob-property
> > BarNumber 'font))) (...)) but the fontMetr is not a font metric
> > (ly:font-metric? returns false) although the description in
> > font-interface made me think so.
>
> This is sort-of a bug. The 'font is only set in C++, from
>
> Font_interface::get_default_font (Grob *me)
>
> we should change this so it uses the standard property calculation
> scheme. 

There is also the ly:grob-default-font Scheme function, which is just a 
wrapper around Font_interface::get_default_font for Scheme. It really returns 
the font (it is a ly:font-metric?). Here's my code with some debug 
statements:

#(define (bis-bar-number BarNumber)
  "Append bis to the bar number."
(let* (
  (fontMetr (ly:grob-default-font BarNumber))
  (barNumber (ly:grob-property BarNumber 'text))
  (bisBarNumber (string-append barNumber " bis"))
  (width (ly:text-dimension fontMetr bisBarNumber)))
  (ly:grob-set-property! BarNumber 'text bisBarNumber)
  (ly:warning "Font is metric: ~a" (ly:font-metric? fontMetr))
  (ly:warning "text-width for bar number ~a is ~a with font ~a" 
  bisBarNumber width fontMetr)
  (ly:text-interface::print BarNumber)))


Unfortunately, it seems that the font used is not a Modified_font_metric, so 
lilypond is not able to obtain a text stencil from this font, and thus can 
also not get the width of the text stencil. text-dimension works only for 
modified font metrics, but the font is  
In particular, I get the output / warning messages:

Vorverarbeitung der grafischen Elemente...
Programmierfehler: Cannot get a text stencil from this font
Fortsetzung, die Daumen drücken
Warnung: Font is metric: #t
Warnung: text-width for bar number 5 bis is ((+inf.0 . -inf.0) 
+inf.0 . -inf.0) with font #
Programmierfehler: Cannot get a text stencil from this font
Fortsetzung, die Daumen drücken
Warnung: Font is metric: #t
Warnung: text-width for bar number 5 bis is ((+inf.0 . -inf.0) 
+inf.0 . -inf.0) with font #
Programmierfehler: Cannot get a text stencil from this font
Fortsetzung, die Daumen drücken

Cheers,
Reinhold

- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI12gdTqjEwhXvPN0RAkA7AJ4hnH1gRS6RW+HD3r4UEb9mRiuNhwCgqxfD
PdFuTy9rl7a9ruBIyMPP3aY=
=+fIR
-END PGP SIGNATURE-
\version "2.11.60"

#(define (bis-bar-number BarNumber)
  "Append bis to the bar number."
(let* (
  (fontMetr (ly:grob-default-font BarNumber))
  ; Set barNumber to the current value
  (barNumber (ly:grob-property BarNumber 'text))
  ; Append " bis" to it
  (bisBarNumber (string-append barNumber " bis"))
  (width (ly:text-dimension fontMetr bisBarNumber))
  )
  ; Store the new value back
  (ly:grob-set-property! BarNumber 'text bisBarNumber)
  ; and print it
  (ly:warning "Font is metric: ~a" (ly:font-metric? fontMetr))
  (ly:warning "text-width for bar number ~a is ~a with font ~a" bisBarNumber width fontMetr)
  (ly:text-interface::print BarNumber)))

music = \relative
{
  \override Score.BarNumber #'self-alignment-X = #center
  \override Score.BarNumber #'break-visibility = #all-visible
  \repeat unfold 4 { a1 }
  \override Score.BarNumber #'stencil = #bis-bar-number
  \repeat unfold 4 { a1 }
  \revert Score.BarNumber #'stencil
  \repeat unfold 4 { a1 }
}

\score { \music }___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi dynamics

2008-09-22 Thread Trevor Daniels


Mats Bengtsson

Quoting Werner LEMBERG <[EMAIL PROTECTED]>:



if I need a `p espr.' mark, it's probably best (from a typographical
point of view) to write

 c\markup { \dynamic "p" \italic " espr." }


No, this is not the best solution from a typographical point of view.
If you for example have a hairpin ending on the same note and want
your dynamic indication vertically aligned with the hairpin, you should 
instead use make-dynamic-script, as described in the Notation Reference, 
section "New dynamic marks". Tricks to get horizontal alignment

on the p have been discussed recently on the mailing list.


to correctly align the horizontal and vertical distance of the `espr.'
string with the `p' dynamic sign.  However, this has the disadvantage
that the MIDI performer no longer recognizes the `p' as such.

My idea was to simply adjust the MIDI volume manually.  However, this
is much more tricky than expected, since LilyPond apparently doesn't
provide a simple means to do that.


Yes, it would be very convenient if make-dynamic-script was extended
so you also could specify the MIDI interpretation of the new dynamics 
mark.




Section 3.5.5 "Controlling MIDI dynamics" in the
2.11 docs shows two methods for controlling the
MIDI volume for user-created dynamic marks.

Trevor



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


same pages in a4 and letter

2008-09-22 Thread Graham Percival
I'm preparing my old scores for online publication, but I'm
extremely fussy about engraving.  I want users on both sides of
the Atlantic to be able to print my music easily, but this only
works if the music looks in the same in A4 and Letter paper.
(having page turns in random places is *not* acceptable to me :)

The attached file achieves this:
- creates A4 (default) or letter (from a command-line option)
// shamelessly stolen from Nicholas Sceaux's scores

- automatically adjusts the margins such that there's at least a
  1cm margin.  A4 has smaller horizontal margins, letter has
  smaller vertical margins.

- produces a usable area (for headers, music, text) of 190mm by
  259mm.

Let me know if you can think of any improvements; I'll add it to
LSR when I'm reasonably confident that this is the best way to go
about this.

Cheers,
- Graham



spacing-a4-letter.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: same pages in a4 and letter

2008-09-22 Thread Graham Percival
Sorry!  I've added
% run with
%   lilypond -d letter spacing-a4-letter.ly
% for letter size
to the top of the file.

This produces a warning that "no such internal option: letter", which
I'd like to get rid of, but it works all the same.

Cheers,
- Graham


On Mon, 22 Sep 2008 07:40:10 -0500
Jonathan Kulp <[EMAIL PROTECTED]> wrote:

> Hi Graham,
> 
> This is a really good idea.  I'm not sure if I'm doing it right,
> though. No matter whether I just run the file without options or if I
> use
> 
> lilypond -dpaper-size=\"letter\" spacing-a4-letter.ly
> 
> the file info says the paper is A4 Portrait size.  Did I invoke it 
> correctly to get letter size?
> 
> Jon
> 
> Graham Percival wrote:
> > I'm preparing my old scores for online publication, but I'm
> > extremely fussy about engraving.  I want users on both sides of
> > the Atlantic to be able to print my music easily, but this only
> > works if the music looks in the same in A4 and Letter paper.
> > (having page turns in random places is *not* acceptable to me :)
> > 
> > The attached file achieves this:
> > - creates A4 (default) or letter (from a command-line option)
> > // shamelessly stolen from Nicholas Sceaux's scores
> > 
> > - automatically adjusts the margins such that there's at least a
> >   1cm margin.  A4 has smaller horizontal margins, letter has
> >   smaller vertical margins.
> > 
> > - produces a usable area (for headers, music, text) of 190mm by
> >   259mm.
> > 
> > Let me know if you can think of any improvements; I'll add it to
> > LSR when I'm reasonably confident that this is the best way to go
> > about this.
> > 
> > Cheers,
> > - Graham
> > 
> > 
> > 
> > 
> > 
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> -- 
> Jonathan Kulp
> http://www.jonathankulp.com


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


Re: same pages in a4 and letter

2008-09-22 Thread Francisco Vila
2008/9/22 Graham Percival <[EMAIL PROTECTED]>:
> Sorry!  I've added
> % run with
> %   lilypond -d letter spacing-a4-letter.ly
> % for letter size
> to the top of the file.
>
> This produces a warning that "no such internal option: letter", which
> I'd like to get rid of, but it works all the same.

Works well. In 2.11.57 it gave random page breaks; in .59 page #2 both
documents start at measure 100. Useful!
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: midi dynamics

2008-09-22 Thread Werner LEMBERG

> > Yes, it would be very convenient if make-dynamic-script was
> > extended so you also could specify the MIDI interpretation of the
> > new dynamics mark.
> 
> Section 3.5.5 "Controlling MIDI dynamics" in the 2.11 docs shows two
> methods for controlling the MIDI volume for user-created dynamic
> marks.

Trevor, I know that, but the outlined method is far too complicated to
be of any convenience.  I want to have a possibility to control the
midi volume ad-hoc, without having lilypond walk over an alist.


Werner


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


Re: same pages in a4 and letter

2008-09-22 Thread Jonathan Kulp
Awesome!!  I like it, Graham!  Worked perfectly with that command. 
Thanks for sharing.


Jon

Graham Percival wrote:

Sorry!  I've added
% run with
%   lilypond -d letter spacing-a4-letter.ly
% for letter size
to the top of the file.

This produces a warning that "no such internal option: letter", which
I'd like to get rid of, but it works all the same.

Cheers,
- Graham


On Mon, 22 Sep 2008 07:40:10 -0500
Jonathan Kulp <[EMAIL PROTECTED]> wrote:


Hi Graham,

This is a really good idea.  I'm not sure if I'm doing it right,
though. No matter whether I just run the file without options or if I
use

lilypond -dpaper-size=\"letter\" spacing-a4-letter.ly

the file info says the paper is A4 Portrait size.  Did I invoke it 
correctly to get letter size?


Jon

Graham Percival wrote:

I'm preparing my old scores for online publication, but I'm
extremely fussy about engraving.  I want users on both sides of
the Atlantic to be able to print my music easily, but this only
works if the music looks in the same in A4 and Letter paper.
(having page turns in random places is *not* acceptable to me :)

The attached file achieves this:
- creates A4 (default) or letter (from a command-line option)
// shamelessly stolen from Nicholas Sceaux's scores

- automatically adjusts the margins such that there's at least a
  1cm margin.  A4 has smaller horizontal margins, letter has
  smaller vertical margins.

- produces a usable area (for headers, music, text) of 190mm by
  259mm.

Let me know if you can think of any improvements; I'll add it to
LSR when I'm reasonably confident that this is the best way to go
about this.

Cheers,
- Graham





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

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




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


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


Fwd: Laikas keisti nuolaidu kortele!

2008-09-22 Thread Antanas Budriūnas
Jei Neste korteles galiojimas baigiasi, pameginkit pakeisti. Gal
nesvarbu, kad ji registruota mano vardu?
Arba pasidaryti dar viena, juk nieko nekainuoja.


-- Forwarded message --
From: Korteles Neste Lietuva <[EMAIL PROTECTED]>
Date: 2008/9/18
Subject: Laikas keisti nuolaidu kortele!
To: Korteles Neste Lietuva <[EMAIL PROTECTED]>


Laikas keisti nuolaidų kortelę!

Jei Jūsų kortelė galioja iki 2008 m. rugsėjo 30 d. (09/08), skubėkite
ją pakeisti!

Rugsėjo 22 - 26 d. nuo 16 iki 19 val. ir rugsėjo 27 d. nuo 11 iki 14
val. visose Neste A24 degalinėse galėsite pakeisti seną Neste nuolaidų
kortelę į naują.

Jei kortelės neturite, pilkitės degalų už 50 Lt* ir daugiau, pateikite
pylimo kvitą darbuotojui akcijos metu ir kortelę gausite iškart arba
registruokite pylimo kvitą www.nesteoil.lt ir kortelė Jums bus
išsiųsta paštu.

*Atsiskaitydami grynaisiais pinigais arba banko mokėjimo kortele ir
nenaudodami jokios nuolaidų kortelės.

Neste nuolaidų kortelė - visada laimėsi!

Neste kortelių skyrius
P.Lukšio g. 32/J.Kubiliaus g. 12
08222 Vilnius
Tel. (8 5) 212 3357
Faks. (8 5) 212 3194
El. paštas: [EMAIL PROTECTED]


-- 
Su geriausiais linkėjimais –

Antanas Budriūnas
Inžinierius, IT mokytojas
Klaipėdos Vydūno vidurinė mokykla
Daržų g. 18, Klaipėda, 91245
Tel./faks.: (46) 411005
GSM: +370 699 69295
ICQ: 256641584
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


showLastLength as a command-line option?

2008-09-22 Thread Jonathan Kulp
Would it be possible technically to specify the showLastLength value 
when invoking lilypond instead of putting it in the .ly file?  Something 
like


lilypond --lastlength=20 filename.ly

to process only the last 20 bars?  The problem with this particular 
example (and maybe with trying to do this at all) is that it doesn't 
specify the length of each bar, but it could be set to a default of R1 I 
guess.


My original idea was to try to put this into a shell script, but I don't 
have the slightest idea how to go about it.  I'm not a programmer but am 
starting to get some basic scripting chops and I'd like to learn how to 
customize my lilypond experience a bit further.  This is a feature I'd 
LOVE to have.  I'd appreciate any advice or suggestions.


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


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


Re: showLastLength as a command-line option?

2008-09-22 Thread Valentin Villenave
2008/9/22 Jonathan Kulp <[EMAIL PROTECTED]>:
> Would it be possible technically to specify the showLastLength value when
> invoking lilypond instead of putting it in the .ly file?  Something like

Yes! Great idea!

(my useless post du jour :-)

Cheers,
Valentin


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Robin Bannister
I like the comprehensive navigation of the new layout [1], 
but feel there is still something missing. 
__


 Say I am reading the mailing list, looking at a thread or message. 
 I see something which gets me thinking about a problem I have, 
 and I follow a link there which takes me into the documentation. 
 
 There is something useful to read, and I may navigate around a bit, 
 looking for something even more relevant. I feel safe doing this 
 because the TOC panel shows me not only the breadcrumbs [3] in bold, 
 but also the lie of the land, providing a sort of peripheral vision. 
 
 I click on another link and go on reading, still thinking mainly about 
 my problem. And then I notice that I'm not so sure where I am, 
 even though the nice TOC panel is still there. 
 
 I would like to reread  a section that I read just after coming in. 
 I can remember its title, more or less. But I can't find it anywhere. 


__

This would not happen to an experienced reader, who
- recognises LM/NR/IR by page layout and treatment style 
- notices how links are grouped LM/NR/IR-wise 
and therefore has no trouble tracking movements across LM/NR/IR boundaries. 

But for the inexperienced reader, thinking about something else, these 
indications are too subtle. 

At first I thought, each document is a room (in the documentation house), 
and something in the rooms could be coloured as a key, 
e.g. LM green, NR blue, IR red, (to follow a famous example). 
This does let you notice the boundaries, but it is not explicit, 
and so could confuse and frustrate. 



So I propose

A   
Replace the (passive) text "Table of Contents" in the TOC panel, 
with the document title, e.g. "Learning Manual". 
This nearly always visible (on biggish screens). 
(And when offscreen, near the end of NR, it is not far away.) 



And to follow this up with additional suggestions: 

B   
Make this document title [A] be like a breadcrumb at the document level 
i.e. it is a link to the start of the document. 

C   
All documents have their document title headlined on the first page. 
(Only LM has this sort of title at the moment.) 

D   
When you follow the link [B] (or ) you immediately see this title [C].
This reassures those who are getting disoriented. 

E   
Just above [B], add a (smallish) link called "Documentation", 
which goes to "higher than top" [2] [3]. 

F   
Because [E] is in the (extended) TOC panel, this link need not be provided 
as a button in the main pane. 
This provides another type of reassurance: 
- the main pane buttons never take you outside the document. 
And "Top" does not become ambiguous: it means only "Top of document". 



[1] http://kainhofer.com/~lilypond/Documentation/index.html
[2] http://lists.gnu.org/archive/html/lilypond-user/2008-07/msg00485.html
[3] http://lists.gnu.org/archive/html/lilypond-user/2008-09/msg00715.html


Cheers,
Robin



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


Documentation Review

2008-09-22 Thread Trevor Daniels


Help needed to review documentation before 2.12 is released.
---

Several sections of the Learning Manual and most of the first
two Chapters of the Notation Reference are ready for review 
by users, and it would be good to bring these to the best 
possible state before 2.12 is released.  To do this we need 
-your- help.  All you need to do is browse through any of the 
sections mentioned below and post any comments you may have 
to the -user list.  Some of these sections have been reviewed 
earlier, but further comments are welcome.


The most up-to-date development documentation can be found at:

http://kainhofer.com/~lilypond/Documentation/

These sections are ready for review:

Learning Manual:
 1 Introduction
 2 Tutorial
 3 Fundamental concepts
 4 Tweaking output

Notation Reference:
 1.1 Pitches
 1.3 Expressive marks
 1.4 Repeats
 1.5 Simultaneous notes
 1.6 Staff notation
 1.7 Editorial annotations

 2.2 Keyboard instruments
 2.4 Fretted string instruments
 2.5 Percussion
 2.7 Chord notation

Many thanks for your help

Trevor

   




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


Re: Documentation Review

2008-09-22 Thread Stan Sanderson


On Sep 22, 2008, at 12:02 PM, Trevor Daniels wrote:


but further comments are welcome.


Re: sect. 2.4
The motivating example is beautifully set, but has an incorrect  
fingering in the second measure. The next to the last eighth note (e  
above middle c) should be fingered with the first finger (i.e., a  
barre). I checked with the original and Mertz (the composer) agrees!


I will keep looking...

Stan




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


Re: same pages in a4 and letter

2008-09-22 Thread Patrick Horgan

Graham Percival wrote:

I'm preparing my old scores for online publication, but I'm
extremely fussy about engraving.  I want users on both sides of
the Atlantic to be able to print my music easily, but this only
works if the music looks in the same in A4 and Letter paper.
(having page turns in random places is *not* acceptable to me :)
  
You are the man, simple, clear, well documented internally!  A well 
designed general solution for a problem that has troubled many;)


Patrick


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


Re: showLastLength as a command-line option?

2008-09-22 Thread Patrick Horgan




Valentin Villenave wrote:

  2008/9/22 Jonathan Kulp <[EMAIL PROTECTED]>:
  
  
Would it be possible technically to specify the showLastLength value when
invoking lilypond instead of putting it in the .ly file?  Something like

  
  
Yes! Great idea!

(my useless post du jour :-)
  

Wow!!!  Exceptional response to a great idea!

(my contentless reply to your useless post du jour ;-<)

regards,

Patrick




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


Re: Documentation Review

2008-09-22 Thread Jonathan Kulp
Well spotted!  I should have seen it from the fact that it's impossible 
to play this way, if not from the facsimile itself (which I just 
checked, too).  Thanks, Stan.  I'll fix and send to Carl.


Jonathan

Stan Sanderson wrote:


On Sep 22, 2008, at 12:02 PM, Trevor Daniels wrote:


but further comments are welcome.


Re: sect. 2.4
The motivating example is beautifully set, but has an incorrect 
fingering in the second measure. The next to the last eighth note (e 
above middle c) should be fingered with the first finger (i.e., a 
barre). I checked with the original and Mertz (the composer) agrees!


I will keep looking...

Stan




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



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


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


Re: Documentation Review

2008-09-22 Thread Stan Sanderson
A rousing hip, hip, hurrah to the authors of the documentation. Few  
(if any) commercial products can boast of similar quality!


Regards,

Stan

On Sep 22, 2008, at 1:58 PM, Jonathan Kulp wrote:

Well spotted!  I should have seen it from the fact that it's  
impossible to play this way, if not from the facsimile itself (which  
I just checked, too).  Thanks, Stan.  I'll fix and send to Carl.


Jonathan

Stan Sanderson wrote:

On Sep 22, 2008, at 12:02 PM, Trevor Daniels wrote:

but further comments are welcome.

Re: sect. 2.4
The motivating example is beautifully set, but has an incorrect  
fingering in the second measure. The next to the last eighth note  
(e above middle c) should be fingered with the first finger (i.e.,  
a barre). I checked with the original and Mertz (the composer)  
agrees!

I will keep looking...
Stan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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




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


Re: leadsheet with intro an lyrics

2008-09-22 Thread Robin Bannister

Sebastian Menge wrote:

But then the second part starts a new staff. How can I prevent that?


One way would be to have just one part, 
which starts all three things together (like your second part)
and then make the lyrics skip the intro bars. 


To see how, search (twice) for "Skips in lyric mode" in the vocal snippets:

http://lilypond.org/doc/v2.11/input/lsr/lilypond-snippets/Vocal-music


Cheers,
Robin



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


Re: leadsheet with intro an lyrics

2008-09-22 Thread Sebastian Menge
Am Mon, 22 Sep 2008 21:53:02 +0200
schrieb "Robin Bannister" <[EMAIL PROTECTED]>:

> To see how, search (twice) for "Skips in lyric mode" in the vocal
> snippets:
> 
> http://lilypond.org/doc/v2.11/input/lsr/lilypond-snippets/Vocal-music

Thanks, exactly what I was looking for. I just RTF 2.10 manual ...

Why did you reply off-list?

Seb.


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


Re: leadsheet with intro an lyrics

2008-09-22 Thread Mats Bengtsson

Sebastian Menge wrote:

Am Mon, 22 Sep 2008 21:53:02 +0200
schrieb "Robin Bannister" <[EMAIL PROTECTED]>:

  

To see how, search (twice) for "Skips in lyric mode" in the vocal
snippets:

http://lilypond.org/doc/v2.11/input/lsr/lilypond-snippets/Vocal-music



Thanks, exactly what I was looking for. I just RTF 2.10 manual ...
  

Perhaps a better solution is described in the second example
of 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Divisi-lyrics#Divisi-lyrics


You can also do the same with \addlyrics. Something like the
following should work

\score { 
<<

 \chords { ... ... }
 \new Staff { \relative c' { ... } \relative c'{ ... } \addlyrics {...} }





\header { ... } 

\layout { ... } 


}


  /Mats


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


French music teacher requires a multilingual glossary

2008-09-22 Thread Jean-Charles Malahieude

Hi everybody,

Sorry to bother you with this, but my wife requires your help:

She teaches music here in Manosque (Southern of France), and since the
ITER program is in  development, she has to deal with beginners (between
6 and 8 years old) just arriving from their mother country and not
familiar with the French language, neither fluent in English (especially 
for those particular musical terms). I must admit that this situation is 
frustrating for everybody, either Isabelle or the children (and their 
parents afterwards).


Having built a glossary with the other French translators of LilyPond,
Isabelle has at her disposal a French-English translation of the basic
terms she uses in the first two grades.

The problem is that most of her "pupils" come either from China, Japan
or Korea, and I have no idea how those terms would look like, and
Isabelle is sad to see them crying when they don't understand (even when 
they use their "electronic" translator for which a scale is just used 
for painting the ceiling).


Therefore, could anybody give some help and return me the enclosed text 
file with a translation (ideally with phonetic) for those languages?


Thanks in advance, for them as well as my wife.

Cheers

Jean-Charles Malahieude
French translator of LilyPond

ENGLISH : YOUR-LANGUAGE
A (note) 
accidental 
ancient minor scale 
arpeggio 
ascending interval 
B(note) 
bar 
bar line 
baritone clef 
bass clef 
beam 
beat 
bind (équivalent de tie) 
breath mark 
C (note) 
cadence/cadenza 
chord 
chromatic scale 
chromaticism 
clef 
common meter 
conjunct movement 
consonance 
cue notes 
D(note) 
descending interval 
diatonic scale 
disjunct movement 
dissonance 
dissonant interval 
dot (augmentation dot) 
dotted note 
double bar line 
double flat 
double meter 
double sharp 
duration 
E(note) 
eighth note 
eighth rest 
expression mark 
F (note) 
F clef 
fermata 
fifth 
fingering 
flag 
flat 
fourth 
G (note) 
G clef 
grand staff 
grave 
half note 
half rest 
harmonic cadence 
harmony 
interval 
just intonation 
key 
key signature 
leading note 
ledger line 
legato 
line 
longa 
lyrics 
major 
major interval 
measure 
mediant 
melodic cadence 
meter 
metronome 
middle C 
minor 
minor interval 
mode 
modulation 
movement 
multibar rest 
natural sign 
neighbour tone 
ninth 
note 
note head 
octave 
ornament 
part 
percussion 
perfect fifth 
perfect fourth 
perfect interval 
phrase 
phrasing 
pitch 
quarter note 
quarter rest 
relative key 
repeat 
rest 
rhythm 
scale 
scale degree 
score 
second 
semitone 
seventh 
sharp 
sixteenth note 
sixteenth rest 
sixth 
sixty-fourth note 
sixty-fourth rest 
slur 
song texts 
staff 
staves 
stem 
strings 
strong beat 
subdominant 
superdominant 
supertonic 
syncopation 
system 
tempo indication 
third 
thirty-second note 
thirty-second rest 
tie 
time 
time signature 
tone 
tonic 
transposition 
treble clef 
trill 
triple meter 
triplet 
tritone 
tuning fork 
unison 
upbeat 
voice 
weak beat 
whole note 
whole rest 
whole tone 
whole tone scale 
woodwind 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 19. September 2008 schrieb Mark Polesky:
> It's nice to see the progress with the new docs! I have 3 comments:
>
> 1. Is anyone else wanting "breadcrumbs navigation"? So often after
>I've looked something up in the docs, I find myself deep inside
>and if I want to switch from NR to IR, for example, I either need
>to click up the many directory tree links or keep hitting the
>back button (which follows my typically long, convoluted route in
>reverse), or I need to go to the address bar, highlight and delete
>the "Documentation/user/lilypond/Doubling-a-note-with-slurs-_0..."
>(which can involve scrolling horizontally through the address bar).
>With breadcrumbs, if I'm out on a limb, I can pick exactly which
>branch I'd like to return to with one click.

What exactly do you understand under "breadcrumbs navigation"? The last, say, 
five visited pages? That's not possible in static html pages, as it needs 
session management and server-side scripting...

> 2. In the new docs, once in the LM or the NR or whatever, there's
>apparently no link back to the main (dir) index/start page. I
>think that's bad, because you should never trust a browser's back
>button. And if an unfamiliar visitor follows a link to an inside
>page, the mysterious elusiveness of the start page could be
>frustrating.

Yes, that's a wish often heard, and I've noted it. That would be really easy 
to implement (e.g. just hardcode a link to "../" at the top of the TOC. I 
just never got around to implement it. Is anyone up to pick this really 
low-hanging fruit and implement it in the .init file?

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI2AGtTqjEwhXvPN0RAhVNAJ0YYA8o0dB5yPLUZeZdKFWHO9RuWgCgxvGX
ar0QdIekG3zeOkD+Erg9gdo=
=3bLJ
-END PGP SIGNATURE-


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 22. September 2008 schrieb Robin Bannister:
> So I propose
>
> A
> Replace the (passive) text "Table of Contents" in the TOC panel,
> with the document title, e.g. "Learning Manual".
> This nearly always visible (on biggish screens).
> (And when offscreen, near the end of NR, it is not far away.)

That's a good idea!

> And to follow this up with additional suggestions:
>
> B
> Make this document title [A] be like a breadcrumb at the document level
> i.e. it is a link to the start of the document.

Good idea. Especially since the TOC currently does NOT include any link to the 
Top node!

> C
> All documents have their document title headlined on the first page.
> (Only LM has this sort of title at the moment.)

Oops, yes, the NR and the IR have a title that really doesn't tell you a lot!
That's something that needs to be changed in the .tely file.

The AU and the LM do not use proper headline style (i.e. capitalized words).

> E
> Just above [B], add a (smallish) link called "Documentation",
> which goes to "higher than top" [2] [3].

Yes, see my other post. That would be really useful and it's easy to 
implement. It's debatable, though, where to place this link.


I've added your suggestions to my texi2html-docs issues page, so they don't 
get lost:
http://wiki.kainhofer.com/lilypond/texi2html_issues

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI2AViTqjEwhXvPN0RAlJiAJ46zpLTPhIBiY2PVy/hmfbuP9y8ngCgllA5
P5ekByeuoVu0eFgSFIhm+Pk=
=kWjH
-END PGP SIGNATURE-


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


Re: Documentation Review

2008-09-22 Thread Sebastian Menge
Perhaps a bit off topic:

Im using lilypond only once a year or so. Then every time I have to
read a lot of the docs again. Since i remember most things then, i'm
quite quick (getting quicker every time ;-) ), but I must admit that I
dont find my way through the docs as quickly as I could:

I would suggest:
  * a search engine field at the top of the main template (cf wikipedia)
  * way more hyperlinks: especially between corresponding parts of
tutorial <-> manual <-> reference.

And one thing concerning the section I just learned:

"For every \skip, the text will be delayed another note. "

Is it a note or a syllable? What does the param mean?

Before getting to destructive: I love lilypond! Big thanks to all
contributors.

Regards, Seb.



Am Mon, 22 Sep 2008 18:02:44 +0100
schrieb "Trevor Daniels" <[EMAIL PROTECTED]>:

> 
> Help needed to review documentation before 2.12 is released.
> ---
> 
> Several sections of the Learning Manual and most of the first
> two Chapters of the Notation Reference are ready for review 
> by users, and it would be good to bring these to the best 
> possible state before 2.12 is released.  To do this we need 
> -your- help.  All you need to do is browse through any of the 
> sections mentioned below and post any comments you may have 
> to the -user list.  Some of these sections have been reviewed 
> earlier, but further comments are welcome.
> 
> The most up-to-date development documentation can be found at:
> 
> http://kainhofer.com/~lilypond/Documentation/
> 
> These sections are ready for review:
> 
> Learning Manual:
>   1 Introduction
>   2 Tutorial
>   3 Fundamental concepts
>   4 Tweaking output
> 
> Notation Reference:
>   1.1 Pitches
>   1.3 Expressive marks
>   1.4 Repeats
>   1.5 Simultaneous notes
>   1.6 Staff notation
>   1.7 Editorial annotations
> 
>   2.2 Keyboard instruments
>   2.4 Fretted string instruments
>   2.5 Percussion
>   2.7 Chord notation
> 
> Many thanks for your help
> 
> Trevor
> 
> 
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user


-- 
__

 Dipl.-Inform. Sebastian Menge
 Lehrstuhl Software-Technologie
 TU Dortmund, FB Informatik

 Tel:   0231-755 4895
 Fax:   0231-755 2061
 Email: [EMAIL PROTECTED]
 Web:   http://ls10-www.cs.uni-dortmund.de/~menge
__


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 22. September 2008 schrieb Valentin Villenave:
> Hi Reinhold, hi everybody,
>
> I find the new documentation layout very impressive, but there's one
> feature I'm still missing: the integrated search function!

There are many feature that *I* am missing ;-) 

> In the attached html page I have pasted (in a very basic way) a search
> box at the top of the tocframe; this is more or less the kind of
> layout I'd like to see. However, there are a few improvements I can
> suggest, though I don't know how to implement these:
>
> - the search box size and the search-button should be handled by the CSS

I don't know if that's possible in CSS. Probably it is, but I haven't looked 
into it.

> - the text on the search button should be defined by a localized string

That's a simple translation issue in the postprocessing script in 
buildscripts/

> - the search box should provide auto-completion possible results (like
> on Wikipedia)

That's hard, it probably needs AJAX...

> - the search function should show the results in the main "frame" on
> the right, without making the tocframe disappear.

This definitely needs AJAX... And of course it does not work for offline 
browsing.

Cheers,
Reinhold

- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI2AYDTqjEwhXvPN0RAoRxAKDGD3gHBUGyGTjlSIT0XqIviW2QDQCfYq/l
SIKOkwIe1xN1Dlui1MtCzGw=
=dgHm
-END PGP SIGNATURE-


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


Re: Questions on beaming and barring

2008-09-22 Thread Neil Puttock
Hi Nick,

> I thing I haven't managed to fix is that the barring indication looks better 
> if both the right- and left-hand ends are extended slightly so that they 
> don't both start and finish centred on a note, like so:
>
> \barre #0.0 "CIV" #'(-0.5 . -1) #10
>
> But this means that a barre that wraps to the following stave now extends 
> slightly beyond the RH end of the beginning stave. I couldn't find the 
> command to fix that.

\override TextSpanner #'bound-details #'right-broken #'padding = #0

I'm afraid the problem with the left alignment after a break is a bug
(see http://code.google.com/p/lilypond/issues/detail?id=654&q=spanner);
it's been like this ever since the new spanner code was implemented.
As a workaround, you can use the bound-detail 'end-on-note, which was
introduced to align broken trill spanners with the first note after a
break (text spanners and trill spanners use nearly identical code):

\once \override TextSpanner #'bound-details #'left-broken #'end-on-note = ##t

Ideally, the 'left-broken alignment would be the same as for dynamic
text spanners (before the note, but after prefatory breakable items
such as time signatures and clefs), but until this is fixed properly,
a combination of  'end-on-note and 'padding will do.

Regards,
Neil


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Valentin Villenave
2008/9/22 Reinhold Kainhofer <[EMAIL PROTECTED]>:

> That's hard, it probably needs AJAX...

I swear I'll look into the AJAX thingy as soon as I get a life (and
that answers your question about my opera, btw...)

There are several resources such as
http://code.google.com/apis/ajaxsearch/samples.html or
http://en.wikipedia.org/wiki/Opensearch#Search_engines_and_software_that_support_OpenSearch

In the meantime, a small basic google search box would mean the world
to many of us -- or at least myself :-)
If you're worried about the CSS side, I'm sure someone will handle it.


Cheers,
Valentin


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


Re: same pages in a4 and letter

2008-09-22 Thread Neil Puttock
2008/9/22 Graham Percival <[EMAIL PROTECTED]>:
> Sorry!  I've added
> % run with
> %   lilypond -d letter spacing-a4-letter.ly
> % for letter size
> to the top of the file.
>
> This produces a warning that "no such internal option: letter", which
> I'd like to get rid of, but it works all the same.

This is rather nifty, but you're reinventing the wheel. :)

Why not use the built-in option instead, i.e., run with -dpaper-size="letter"?

\version "2.11.59"

% total page size to fit on A4 and letter
%   paper-height = 279mm
%   paper-width = 210mm
% with a minimum margin of 10mm on all sides, this means
%   vertical = 259mm
%   horizontal = 190mm

% A4: 210 x 297 mm
% USletter: 216 x  279 mm

#(define is-letter? (string=? (ly:get-option 'paper-size ) "letter"))

\paper{
  annotate-spacing = ##t

  % VERTICAL TARGET: 259 mm
  % letter: (279 - 259) /2 = 10mm
  % a4: (297 - 259) /2 = 19mm
  #(define (letter-margin-height)
(if is-letter?
(* 10 mm)
(* 19 mm)))
  top-margin = #(letter-margin-height)
  bottom-margin = #(letter-margin-height)


  % HORIZONTAL TARGET: 180 mm
  % letter: (216 - 180) /2 = 13
  % A4: (210 - 180) /2 = 10
  #(define (letter-margin-width)
 (if is-letter?
 (* 13 mm)
 (* 10 mm)))
  left-margin = #(letter-margin-width)
  right-margin = #(letter-margin-width)
  line-width = #(- paper-width (+ left-margin right-margin))

}

\header {
  title="title"
  composer = "composer"
}
\score{
  { \repeat unfold 120 { c'4 c' c' c' } }
}

Regards,
Neil


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


Re: Documentation Review

2008-09-22 Thread Trevor Daniels


Sebastian Menge wrote Monday, September 22, 2008 9:54 PM



I would suggest:
 * a search engine field at the top of the main template (cf wikipedia)


It would be nice, and others are pressing 
for this, but it poses some problems.



 * way more hyperlinks: especially between corresponding parts of
   tutorial <-> manual <-> reference.


I agree.  This is something we shall look
at when the basic text is satisfactory.
(Links can't be added reliably until the 
text has stabilised.)



And one thing concerning the section I just learned:

"For every \skip, the text will be delayed another note. "

Is it a note or a syllable? What does the param mean?


I'll clarify this.  The param has to be a valid
duration and present, but it is ignored in lyrics.


Before getting to destructive: I love lilypond! Big thanks to all
contributors.


Thanks :)


Regards, Seb.


Trevor


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Patrick McCarty
On Sun, Sep 21, 2008 at 3:53 PM, John Mandereau
<[EMAIL PROTECTED]> wrote:
>
> IMHO I prefer Patrick's design over Andrew, it's more colorful but still
> serious enough (as Valentin already wrote), and I second Patrick Horgan
> comment on links color: maybe we could make links a bit more blue?
> We might manage to merge both style sheets into one, but let's hurry up
> if we want this to make it into 2.12.0 ;-)

I just made the links *significantly* more blue.  I'll keep
experimenting.  Let me know if this looks better:

http://uoregon.edu/~pmccarty/texi2html/lilypond-index.html

Thanks,
Patrick


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Patrick McCarty
On Thu, Sep 18, 2008 at 7:20 PM, Andrew Hawryluk <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 12, 2008 at 4:43 PM, John Mandereau
> <[EMAIL PROTECTED]> wrote:
 - the colors are taken from the Monet "Waterlilies" on the LilyPond 
 homepage
>>
>> I find it a good idea, even if we might decide to change this image:
>> it's a small heavily compressed JPEG image, this is not appealing
>> enough, LilyPond deserves better graphics on its start page.  Feel free
>> to propose a replacement for it, e.g. a graphical mixture of Monet
>> Waterlilies and some LilyPond output...
>
> I just learned that there are a lot of Monet Waterlilies to choose
> from, so maybe this will be helpful to anyone on the list with
> graphics skills:
>
> http://commons.wikimedia.org/wiki/Claude_Monet

Thanks, Andrew!

I will look into this.

-Patrick


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


Re: same pages in a4 and letter

2008-09-22 Thread Patrick Horgan

Neil Puttock wrote:

...some stuff elided...
This is rather nifty, but you're reinventing the wheel. :)

Why not use the built-in option instead, i.e., run with -dpaper-size="letter"?
  
because he wanted to be able to switch back and forth via command line 
argument without editing the file.


Patrick


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


Re: same pages in a4 and letter

2008-09-22 Thread Jonathan Kulp
Wasn't it a scheme to preserve page-turns and other important formatting 
when switching from A4 to Letter?


Jon

Patrick Horgan wrote:

Neil Puttock wrote:

...some stuff elided...
This is rather nifty, but you're reinventing the wheel. :)

Why not use the built-in option instead, i.e., run with 
-dpaper-size="letter"?
  
because he wanted to be able to switch back and forth via command line 
argument without editing the file.


Patrick


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



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


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Mark Polesky
- Original Message 
From: Reinhold Kainhofer <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2008 1:35:50 PM

> What exactly do you understand under "breadcrumbs navigation"? The last, say, 
> five visited pages? That's not possible in static html pages, as it needs 
> session management and server-side scripting...

I don't mean the last x visited pages, I mean showing the directory tree
of the current node. Say you're reading about command-line options, then
you would see something like this at the top of the page:

LilyPond Documentation > Application Usage > Running LilyPond > Command-line 
usage > Command line options

Mark



  


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Patrick Horgan




Patrick McCarty wrote:

  On Sun, Sep 21, 2008 at 3:53 PM, John Mandereau
<[EMAIL PROTECTED]> wrote:
  
  
IMHO I prefer Patrick's design over Andrew, it's more colorful but still
serious enough (as Valentin already wrote), and I second Patrick Horgan
comment on links color: maybe we could make links a bit more blue?
We might manage to merge both style sheets into one, but let's hurry up
if we want this to make it into 2.12.0 ;-)

  
  
I just made the links *significantly* more blue.  I'll keep
experimenting.  Let me know if this looks better:
  

It looks great--have you figured out why your css doesn't produce
underlines with Reinhold's copy of the documentation?

Patrick




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


delete-intermediate-files

2008-09-22 Thread Mark Polesky
How do I set delete-intermediate-files?

I saw it mentioned herebut I can't figure out how to make it work.

Mark


  


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


Re: delete-intermediate-files

2008-09-22 Thread Neil Puttock
Hi Mark,

2008/9/23 Mark Polesky <[EMAIL PROTECTED]>:
> How do I set delete-intermediate-files?
>
> I saw it mentioned herebut I can't figure out how to make it work.

Command line: -ddelete-intermediate-files=#t
.ly file: #(ly:set-option 'delete-intermediate-files #t)

Regards,
Neil


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


Re: same pages in a4 and letter

2008-09-22 Thread Graham Percival
On Mon, 22 Sep 2008 16:17:21 -0700
Patrick Horgan <[EMAIL PROTECTED]> wrote:

> Neil Puttock wrote:
> > ...some stuff elided...
> > This is rather nifty, but you're reinventing the wheel. :)

Well, IMO the main point is setting the margins automatically -- and
simply the idea that this would be useful to have better quality music
for both paper sizes at once.  I could imagine that this could be very
useful for mutopia and similar projects.  I often used to see scores
that looked great in a4 but contained a final page with two lines of
score in letter, or vice versa.
(I haven't looked at mutopia in the past few years, but I'd be
surprised if such problems were resolved)

> > Why not use the built-in option instead, i.e., run with
> > -dpaper-size="letter"? 
> because he wanted to be able to switch back and forth via command
> line argument without editing the file.

No; Neil is quite correct.  -dpaper-size=\"letter\" is also a
command-line option; I'd forgotten about it.  "-d letter" is easy
to type, but this kind of thing is generally hidden in a makefile
anyway, so that's hardly a good argument.

Besides, -dpaper-size=\"letter\" *is* a built-in option, so lilypond
won't display a warning message.  The next version of this file will
use this method.

Cheers,
- Graham


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


Re: delete-intermediate-files

2008-09-22 Thread Graham Percival
On Mon, 22 Sep 2008 16:28:07 -0700 (PDT)
Mark Polesky <[EMAIL PROTECTED]> wrote:

> How do I set delete-intermediate-files?
> 
> I saw it mentioned herebut I can't figure out how to make it work.

Same way you set any other -d option.
lilypond -d delete-intermediate-files foo.ly

The AU *should* contain info about this, but it hasn't been
rewritten yet and I don't know whether it contains this info.
(and can't be bothered to check)

Cheers,
- Graham


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


Re: WANTED: Design for documentation (Photoshop power users!)

2008-09-22 Thread Graham Percival
On Mon, 22 Sep 2008 23:34:52 +0200
"Valentin Villenave" <[EMAIL PROTECTED]> wrote:

> In the meantime, a small basic google search box would mean the world
> to many of us -- or at least myself :-)

Presumably these things are done with google's
  site:www.lilypond.org
option.  Can you also restrict the directory?  I mean, if you're
using the search box in the 2.11 docs, you don't want google to
pop up links to
  www.lilypond.org/Documentation/2.10/user/Pitches.html

Cheers,
- Graham


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


Re: same pages in a4 and letter

2008-09-22 Thread Neil Puttock
2008/9/23 Graham Percival <[EMAIL PROTECTED]>:
> On Mon, 22 Sep 2008 16:17:21 -0700
> Patrick Horgan <[EMAIL PROTECTED]> wrote:
>
>> Neil Puttock wrote:
>> > ...some stuff elided...
>> > This is rather nifty, but you're reinventing the wheel. :)
>
> Well, IMO the main point is setting the margins automatically -- and
> simply the idea that this would be useful to have better quality music
> for both paper sizes at once.  I could imagine that this could be very
> useful for mutopia and similar projects.  I often used to see scores
> that looked great in a4 but contained a final page with two lines of
> score in letter, or vice versa.
> (I haven't looked at mutopia in the past few years, but I'd be
> surprised if such problems were resolved)

Oh, I agree it's useful; what I meant was you're using a custom
command line option to set the paper size when there's a already one
available.

> Besides, -dpaper-size=\"letter\" *is* a built-in option, so lilypond
> won't display a warning message.  The next version of this file will
> use this method.

I notice AU says escape the quotes, but I've never had any problems
leaving them out.

Regards,
Neil


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


lilypond -dhelp

2008-09-22 Thread James E. Bailey
On osx 10.4, using the 2.11.59-1 intel binary, I get the following:
vanessa_imac:~/Desktop/LilyPond.app/Contents/Resources/bin jamesebailey$ 
./lilypond -dhelp
GNU LilyPond 2.11.59
warning: not relocating, no 2.11.59/ or current/ found under 
/Users/jamesebailey/Desktop/LilyPond.app/Contents/Resources/bin/share/lilypond/
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "lily.scm" in load path

And then I don't get the -dhelp options.


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


Re: delete-intermediate-files

2008-09-22 Thread James E. Bailey
On Sep 22, 2008, at 4:36 PM, Graham Percival wrote:

> On Mon, 22 Sep 2008 16:28:07 -0700 (PDT)
> Mark Polesky <[EMAIL PROTECTED]> wrote:
>
>> How do I set delete-intermediate-files?
>>
>> I saw it mentioned herebut I can't figure out how to make it work.
>
> Same way you set any other -d option.
> lilypond -d delete-intermediate-files foo.ly
>
> The AU *should* contain info about this, but it hasn't been
> rewritten yet and I don't know whether it contains this info.
> (and can't be bothered to check)

Incidentally, whenever I want to put something like this in a file  
(so I don't have to call it as a command-line option every time) I  
look in the 2.10 documentation for point-and-click. That has the 
#(ly:set-option 'dhelp-option #t) syntax that I don't have memorized.



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


Re: delete-intermediate-files

2008-09-22 Thread Graham Percival
On Tue, 23 Sep 2008 01:51:09 +0200
"James E. Bailey" <[EMAIL PROTECTED]> wrote:

> On Sep 22, 2008, at 4:36 PM, Graham Percival wrote:
> > The AU *should* contain info about this, but it hasn't been
> > rewritten yet and I don't know whether it contains this info.
> > (and can't be bothered to check)
> 
> Incidentally, whenever I want to put something like this in a file  
> (so I don't have to call it as a command-line option every time) I  
> look in the 2.10 documentation for point-and-click. That has the #
> (ly:set-option 'dhelp-option #t) syntax that I don't have memorized.

If you're using 2.11, why not use \pointAndClickOn?

Cheers,
- Graham


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


Re: delete-intermediate-files

2008-09-22 Thread James E. Bailey
 
On Tuesday, September 23, 2008, at 01:55AM, "Graham Percival" <[EMAIL 
PROTECTED]> wrote:
>On Tue, 23 Sep 2008 01:51:09 +0200
>"James E. Bailey" <[EMAIL PROTECTED]> wrote:
>
>> On Sep 22, 2008, at 4:36 PM, Graham Percival wrote:
>> > The AU *should* contain info about this, but it hasn't been
>> > rewritten yet and I don't know whether it contains this info.
>> > (and can't be bothered to check)
>> 
>> Incidentally, whenever I want to put something like this in a file  
>> (so I don't have to call it as a command-line option every time) I  
>> look in the 2.10 documentation for point-and-click. That has the #
>> (ly:set-option 'dhelp-option #t) syntax that I don't have memorized.
>
>If you're using 2.11, why not use \pointAndClickOn?
>
>Cheers,
>- Graham
>
>

Because there's no \deleteIntermediateFilesOff


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


Re: lilypond -dhelp

2008-09-22 Thread Graham Percival
Interesting.  Works here on 10.4.11 intel.

tsubasa:~ gperciva$ lilypond -dhelp
GNU LilyPond 2.11.59
Options supported by ly:set-option

  anti-alias-factor (1)
...


Could you try deleting the LilyPond.app and installing it again?

Cheers,
- Graham

On Tue, 23 Sep 2008 01:49:38 +0200
"James E. Bailey" <[EMAIL PROTECTED]> wrote:

> On osx 10.4, using the 2.11.59-1 intel binary, I get the following:
> vanessa_imac:~/Desktop/LilyPond.app/Contents/Resources/bin
> jamesebailey$ ./lilypond -dhelp GNU LilyPond 2.11.59
> warning: not relocating, no 2.11.59/ or current/ found
> under 
> /Users/jamesebailey/Desktop/LilyPond.app/Contents/Resources/bin/share/lilypond/
> ERROR: In procedure primitive-load-path: ERROR: Unable to find file
> "lily.scm" in load path
> 
> And then I don't get the -dhelp options.
> 
> 
> ___
> bug-lilypond mailing list
> [EMAIL PROTECTED]
> http://lists.gnu.org/mailman/listinfo/bug-lilypond


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


Re: same pages in a4 and letter

2008-09-22 Thread Graham Percival
On Tue, 23 Sep 2008 00:48:44 +0100
"Neil Puttock" <[EMAIL PROTECTED]> wrote:

> 2008/9/23 Graham Percival <[EMAIL PROTECTED]>:
> > Besides, -dpaper-size=\"letter\" *is* a built-in option, so lilypond
> > won't display a warning message.  The next version of this file will
> > use this method.
> 
> I notice AU says escape the quotes, but I've never had any problems
> leaving them out.

Really?  Hmm, you're on Linux, right?  That's the only thing I can
think of.  On OSX 10.4.11,

tsubasa:~/tmp gperciva$ lilypond -d paper-size=letter
spacing-a4-letter.ly 
GNU LilyPond 2.11.59
Processing `spacing-a4-letter.ly'
Parsing...
/Users/gperciva/Apps/LilyPond.app/Contents/Resources/share/lilypond/current/ly/declarations-init.ly:93:1:
error: GUILE signaled an error for the expression beginning here
#
 (set-default-paper-size (ly:get-option 'paper-size))
Wrong type (expecting string): letter
...

Cheers,
- GRaham


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


Re: lilypond -dhelp

2008-09-22 Thread James E. Bailey
Yeah, still same problem. I even moved the program to the Applications 
directory.
vanessa_imac:/Applications/LilyPond.app/Contents/Resources/bin jamesebailey$ 
./lilypond -dhelp
GNU LilyPond 2.11.59
warning: not relocating, no 2.11.59/ or current/ found under 
/Applications/LilyPond.app/Contents/Resources/bin/share/lilypond/
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "lily.scm" in load path

And to be fair, it makes sense, the share/lilypond/current isn't in bin/, it's 
in Resources/.
I guess I'll try making a link and see if that solves the problem.

…sigh…
 
On Tuesday, September 23, 2008, at 01:58AM, "Graham Percival" <[EMAIL 
PROTECTED]> wrote:
>Interesting.  Works here on 10.4.11 intel.
>
>tsubasa:~ gperciva$ lilypond -dhelp
>GNU LilyPond 2.11.59
>Options supported by ly:set-option
>
>  anti-alias-factor (1)
>...
>
>
>Could you try deleting the LilyPond.app and installing it again?
>
>Cheers,
>- Graham
>
>On Tue, 23 Sep 2008 01:49:38 +0200
>"James E. Bailey" <[EMAIL PROTECTED]> wrote:
>
>> On osx 10.4, using the 2.11.59-1 intel binary, I get the following:
>> vanessa_imac:~/Desktop/LilyPond.app/Contents/Resources/bin
>> jamesebailey$ ./lilypond -dhelp GNU LilyPond 2.11.59
>> warning: not relocating, no 2.11.59/ or current/ found
>> under 
>> /Users/jamesebailey/Desktop/LilyPond.app/Contents/Resources/bin/share/lilypond/
>> ERROR: In procedure primitive-load-path: ERROR: Unable to find file
>> "lily.scm" in load path
>> 
>> And then I don't get the -dhelp options.
>> 
>> 
>> ___
>> bug-lilypond mailing list
>> [EMAIL PROTECTED]
>> http://lists.gnu.org/mailman/listinfo/bug-lilypond
>
>


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


Re: same pages in a4 and letter

2008-09-22 Thread Neil Puttock
2008/9/23 Graham Percival <[EMAIL PROTECTED]>:
> On Tue, 23 Sep 2008 00:48:44 +0100
> "Neil Puttock" <[EMAIL PROTECTED]> wrote:
>
>> 2008/9/23 Graham Percival <[EMAIL PROTECTED]>:
>> > Besides, -dpaper-size=\"letter\" *is* a built-in option, so lilypond
>> > won't display a warning message.  The next version of this file will
>> > use this method.
>>
>> I notice AU says escape the quotes, but I've never had any problems
>> leaving them out.
>
> Really?  Hmm, you're on Linux, right?  That's the only thing I can
> think of.  On OSX 10.4.11,
>
> tsubasa:~/tmp gperciva$ lilypond -d paper-size=letter
> spacing-a4-letter.ly
> GNU LilyPond 2.11.59
> Processing `spacing-a4-letter.ly'
> Parsing...
> /Users/gperciva/Apps/LilyPond.app/Contents/Resources/share/lilypond/current/ly/declarations-init.ly:93:1:
> error: GUILE signaled an error for the expression beginning here
> #
>  (set-default-paper-size (ly:get-option 'paper-size))
> Wrong type (expecting string): letter
> ...

Actually, scrub that... I've just realized it's because I always use
LilyPondTool's console when invoking command line options. :)

Regards,
Neil


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


Re: showLastLength as a command-line option?

2008-09-22 Thread Jonathan Kulp
Can anyone point me in the right direction to accomplish this great 
idea?! ;)


Jon

Patrick Horgan wrote:

Valentin Villenave wrote:

2008/9/22 Jonathan Kulp <[EMAIL PROTECTED]>:
  

Would it be possible technically to specify the showLastLength value when
invoking lilypond instead of putting it in the .ly file?  Something like



Yes! Great idea!

(my useless post du jour :-)
  

Wow!!!  Exceptional response to a great idea!

(my contentless reply to your useless post du jour ;-<)

regards,

Patrick


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


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


Re: showLastLength as a command-line option?

2008-09-22 Thread Han-Wen Nienhuys
> Can anyone point me in the right direction to accomplish this great idea?!
> ;)
>

 Would it be possible technically to specify the showLastLength value
 when
 invoking lilypond instead of putting it in the .ly file?  Something like


look at lily.scm to see where the -d options are defined.  At some
point showLastLength is initialized; that's where you should do

  (ly:get-option 'show-last-length)


-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


style sheet: dynamic {espr, dolce, legato}

2008-09-22 Thread Graham Percival
As before, I'll collect comments for a few days before sending it
to LSR.  Style sheet and test case included.

Experienced engravers will note that there's tons of "$dynamic
$extra" strings in music, and may question the value of listing
the most common ones.  I have two responses in advance:

1.  #(make-dynamic-extra...) is still a useful function.  You can
ignore all the \fespr commands and simply use the function.

2.  This is the list of stuff I've needed (so far), and it'll
probably help many new users produce better output.  I certainly
don't object to people sending me additions to the file; it's
pretty obvious how to add something like "ppp dolce espr." if you
want.

Cheers,
- Graham


espr-legato.ly
Description: Binary data


espr-test.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


style sheet: extra dynamics

2008-09-22 Thread Graham Percival
As before, I'll take comments for a few days before posting this
to LSR.  Style sheet file and test case included.

Cheers,
- Graham



dynamics-extra.ly
Description: Binary data


dynamics-test.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: showLastLength as a command-line option?

2008-09-22 Thread Jonathan Kulp
Thanks for replying, Han-Wen.  I can't find showLastLength anywhere in 
that file, though.  Searches for showlast and show-last came up empty. 
It looks like the file is inside the SCM directory but I can't tell 
where.  Here's the search I did:


[EMAIL PROTECTED]:/usr/local/share/lilypond/2.11.59/scm$ cat *.scm | grep 
-i showlast

 LENGTHOF(\\showLastLength)
  ((show-last  (ly:parser-lookup parser 'showLastLength)))

So it shows that showLastLength is there, but it doesn't say which file 
it's in (my skills at the shell are such that I don't know how to make 
it tell me this.  Sigh...).  Can you tell from this output where it is?


Jon

Han-Wen Nienhuys wrote:

Can anyone point me in the right direction to accomplish this great idea?!
;)




Would it be possible technically to specify the showLastLength value
when
invoking lilypond instead of putting it in the .ly file?  Something like



look at lily.scm to see where the -d options are defined.  At some
point showLastLength is initialized; that's where you should do

  (ly:get-option 'show-last-length)




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


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


Re: showLastLength as a command-line option?

2008-09-22 Thread Patrick McCarty
On Mon, Sep 22, 2008 at 11:18:36PM -0500, Jonathan Kulp wrote:
> Thanks for replying, Han-Wen.  I can't find showLastLength anywhere in  
> that file, though.  Searches for showlast and show-last came up empty.  
> It looks like the file is inside the SCM directory but I can't tell  
> where.  Here's the search I did:
>
> [EMAIL PROTECTED]:/usr/local/share/lilypond/2.11.59/scm$ cat *.scm | grep  
> -i showlast
>  LENGTHOF(\\showLastLength)
>   ((show-last  (ly:parser-lookup parser 'showLastLength)))
>
> So it shows that showLastLength is there, but it doesn't say which file  
> it's in (my skills at the shell are such that I don't know how to make  
> it tell me this.  Sigh...).  Can you tell from this output where it is?

Hi Jon,

It's easier than you think.  ;-)

If scm/ is your working directory, do

$ grep showLast *

and you'll see that these two lines are in music-functions.scm.

HTH,
Patrick


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