Re: Changing pedal symbol

2016-05-01 Thread tisimst
Michiel,

On Sunday, May 1, 2016, Michiel Sikma-2 [via Lilypond] <
ml-node+s1069038n190296...@n5.nabble.com> wrote:

> Hi there,
>
> I've been looking at what's contained in the font, and found a simplified
> pedal symbol (pedal.P, as seen here
> ).
> I wanted to see how it looks in my score, so I constructed a small snippet
> to try and figure out how to replace the regular pedal symbol.
>
> I've tried a few things unsuccessfully. My latest attempt is:
> \override SustainPedal.stencil = #(lambda (grob) #:musicglyph "pedal.P")
> However, it doesn't actually change anything. I've found a few snippets
> that deal with changing stencils but nothing appears to work for me or do
> exactly what I want.
>
> Here's an example snippet: http://lilybin.com/jq3pqx/1
>
> Would anyone know how to accomplish this?
>

If all you want to do is use the "P" for pedal markings, take a look here:

http://lilypond.org/doc/v2.18/Documentation/snippets/keyboards

Scroll down to the section entitled "Changing the text for sustain
markings".

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-pedal-symbol-tp190296p190297.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Changing pedal symbol

2016-05-01 Thread Michiel Sikma
Hi there,

I've been looking at what's contained in the font, and found a simplified
pedal symbol (pedal.P, as seen here
).
I wanted to see how it looks in my score, so I constructed a small snippet
to try and figure out how to replace the regular pedal symbol.

I've tried a few things unsuccessfully. My latest attempt is:
\override SustainPedal.stencil = #(lambda (grob) #:musicglyph "pedal.P")
However, it doesn't actually change anything. I've found a few snippets
that deal with changing stencils but nothing appears to work for me or do
exactly what I want.

Here's an example snippet: http://lilybin.com/jq3pqx/1

Would anyone know how to accomplish this?

Regards,
Michiel


Let's Deliver

http://letsdeliver.com/

m...@letsdeliver.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: implicitly running a lilypond script through a python script before compilation

2016-05-01 Thread Joseph Chrestien
> Yes, see this thread in the german forum
> http://www.lilypondforum.de/index.php?topic=2087.0
discussed are different possibilities:

> (1) python from within a lilyfile.ly:

Yay, it works! I have "Hello world" in the log, which is already great.

However, I can't find yet whether I have some chance of recursively modifying 
the Lilypond input through python before compilation goes any further... the 
German forum conversation does not mention that and I suspect it will not be 
very easy... However, I should be able to read from it and (over)write an 
external lilyfile, then have that one included in the original score. Looking 
good to me.

I'll keep you updated with that. Thanks for the tip (I'm desperate with Guile 
:S)
Joseph

PS
> (2) use make
> (3) use abjad
As I'm working with others (some of them the non geek type), the lesser the 
better, but thks anyway.

---
From: Thomas Morley 
Sent: Sunday, May 1, 2016 6:21 PM
To: Joseph Chrestien
Cc: lilypond-user@gnu.org
Subject: Re: implicitly running a lilypond script through a python script 
before compilation

2016-05-01 22:48 GMT+02:00 Joseph Chrestien <_...@live.com>:
> Hi all,
>
> I know this is going to sound strange: is it possible (or even imaginable) to 
> run a Python code snippet from "within" Lilypond code at compile time?


Yes, see this thread in the german forum
http://www.lilypondforum.de/index.php?topic=2087.0
discussed are different possibilities:

(1) python from within a lilyfile.ly:

Example:

The file hello-world.py contains:

print "Hello World!"

In a .ly-file:

pyMx =
#(define-void-function (parser location)()
(system "python hello-world.py")
;; or:
;(system* "python" "hello-world.py")
  )

\pyMx

(2) use make
(3) use abjad
Example here:
http://abjad.mbrsi.org/for_beginners/abjad_hello_world_in_a_file.html


HTH,
  Harm

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


Re: Scoring song with multiple sections (with min example)

2016-05-01 Thread Henry Law

On 01/05/16 22:46, Thomas Morley wrote:

 \new Lyrics = "first" \lyricsto "voiceOneTwo" { this is verse one }
 \new Lyrics = "second" \lyricsto "voiceOneTwo" { this is verse two }
 \context Lyrics = "first" \lyricsto "bridgeVoice" { this is the bridge }
 \context Lyrics = "first" \lyricsto "voiceThreeFour" { this is verse three 
}
 \context Lyrics = "second" \lyricsto "voiceThreeFour" { this is verse four 
}


That was it!  Thank you so much.  I had dimly perceived the ability to 
continue previously-defined contexts but hadn't really grasped what it does.


--

Henry LawManchester, England

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


Re: implicitly running a lilypond script through a python script before compilation

2016-05-01 Thread Thomas Morley
2016-05-01 22:48 GMT+02:00 Joseph Chrestien <_...@live.com>:
> Hi all,
>
> I know this is going to sound strange: is it possible (or even imaginable) to 
> run a Python code snippet from "within" Lilypond code at compile time?


Yes, see this thread in the german forum
http://www.lilypondforum.de/index.php?topic=2087.0
discussed are different possibilities:

(1) python from within a lilyfile.ly:

Example:

The file hello-world.py contains:

print "Hello World!"

In a .ly-file:

pyMx =
#(define-void-function (parser location)()
(system "python hello-world.py")
;; or:
;(system* "python" "hello-world.py")
  )

\pyMx

(2) use make
(3) use abjad
Example here:
http://abjad.mbrsi.org/for_beginners/abjad_hello_world_in_a_file.html


HTH,
  Harm

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


Re: Installing lilypond-mode in emacs

2016-05-01 Thread David Sumbler
On Sun, 2016-05-01 at 14:13 -0700, David Bellows wrote:
> > 
> > I have just installed Ubuntu 16.04 to replace my previous 12.04
> > system,
> > and installed LilyPond v.2.19.40.
> > 
> > In my ~/.emacs file I already had
> Here's my .emacs file for Kubuntu 16.04:
> 
> 
> (setq load-path (append (list (expand-file-name
> "/usr/local/lilypond/usr/share/emacs/site-lisp")) load-path))
> (autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
> (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
> (add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
> 
> Hope that helps

It certainly does.  Thank you very much.

David

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


Re: Scoring song with multiple sections (with min example)

2016-05-01 Thread Thomas Morley
2016-05-01 22:58 GMT+02:00 Henry Law :
> On 01/05/16 19:09, Noeck wrote:
>>
>> a minimal working example would get you more help
>
>
> Yes, sorry; I should have done that to start with.  Thanks to your I'm
> nearly there.  This example ...
>
> %
> \version "2.18.2"
>
> \score {
> <<
>   \new ChordNames { c2 c }
>   \new Staff = "melodyStaff" {
> \new Voice = "voiceOneTwo" {
>   \relative c' { c4 d e f }
> }
> \new Voice = "bridgeVoice" {
>   \relative c' { a b c d }
> }
> \new Voice = "voiceThreeFour" {
>   \relative c' { f g a b }
> }
>   }
>   \new Lyrics \lyricsto "voiceOneTwo" { this is verse one }
>   \new Lyrics \lyricsto "voiceOneTwo" { this is verse two }
>   \new Lyrics \lyricsto "bridgeVoice" { this is the bridge }
>   \new Lyrics \lyricsto "voiceThreeFour" { this is verse three }
>   \new Lyrics \lyricsto "voiceThreeFour" { this is verse four }
> >>
> }
> %
>
> .. has all the bits I want, as shown in
> http://www.lawshouse.org/music/minimal_example.jpg but the words to the
> bridge are on a third line of lyrics, and the words to the second section of
> the song are on two more lines.  I want the bridge lyrics to be on the "top"
> line of music (in line with verse 1), and the same for verse 4, with verse 5
> on the second line.

Whenever you write
\new 
a _new_ Context is created. Lilypond sorts new contexts always below
(at least per default).
Thus the output of your coding above.

> I've experimented with \voiceOne but that doesn't have the required effect.
> I suppose I could just write it as three verses, using \skip to get the
> words into the right places horizontally; but it seems like a kludge so if
> there's a better way I'd like to know what it is.

I wouldn't call it that way, I do it myself quite often :)

Though, you'll rather want to continue an already created context.
Use named Contexts and return to them with \context 
= "how-ever-name"
(To be complete \context ... will continue a previous context if any
of same name or create a new one if not)

Try:

\score {
  <<
\new ChordNames { c2 c }
\new Staff = "melodyStaff" {
  \new Voice = "voiceOneTwo" {
\relative c' { c4 d e f }
  }
  \new Voice = "bridgeVoice" {
\relative c' { a b c d }
  }
  \new Voice = "voiceThreeFour" {
\relative c' { f g a b }
  }
}
\new Lyrics = "first" \lyricsto "voiceOneTwo" { this is verse one }
\new Lyrics = "second" \lyricsto "voiceOneTwo" { this is verse two }
\context Lyrics = "first" \lyricsto "bridgeVoice" { this is the bridge }
\context Lyrics = "first" \lyricsto "voiceThreeFour" { this is verse three }
\context Lyrics = "second" \lyricsto "voiceThreeFour" { this is verse four }
  >>
}

Cheers,
  Harm

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


Re: Installing lilypond-mode in emacs

2016-05-01 Thread David Bellows
> I have just installed Ubuntu 16.04 to replace my previous 12.04 system,
> and installed LilyPond v.2.19.40.

> In my ~/.emacs file I already had

Here's my .emacs file for Kubuntu 16.04:


(setq load-path (append (list (expand-file-name
"/usr/local/lilypond/usr/share/emacs/site-lisp")) load-path))
(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
(add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))

Hope that helps

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


implicitly running a lilypond script through a python script before compilation

2016-05-01 Thread Joseph Chrestien
Hi all,

I know this is going to sound strange: is it possible (or even imaginable) to 
run a Python code snippet from "within" Lilypond code at compile time? 

This is my situation: I am currently using a custom extension of the "Column 
markup" Frescobaldi snippet, to print verses below a staff. So far, so good 
(just discovered these snippets - very nice indeed!), but I am compiling quite 
a large library I am afraid I might want to change some details in the snippet 
as time goes by. Currently, that would mean highlight-clicking every single ly 
file. 

I am interested if anybody has a clue in how I can tweak Lily configs (if 
possible) so that my input script (A) would be automatically submitted to (say) 
a Python script called `verse-markup` located in the right folder and would be 
*implicitly* transformed into script (B). [See below]

I had a vague idea I could change the Frescobaldi execute path so that the 
script (invisibly) first goes to Python before being submitted to Lilypond in 
the "script B" form - does that seem any good? Has anyone already done it, who 
could give me a tip?

Thanks!
Joseph


PS. or maybe a magic "\include pysnippets.ly" command ? that would be absolute 
dream :)

--
Script A: what I want in my script window
--
\score { \relative c'' { c2 g4 e c1 } }

%!%!%!snippet:verse-markup%!%!%!
This is my first verse
La la la la la

This is my second verse
Lo lo lo lo lo
%!%!%!end-snippet%!%!%!

--
Script B: what I want Lilypond to read at compile time and change to PDF
--
\score { \relative c'' { c2 g4 e c1 } }

\markup{
\line { This is my first verse }
\line { La la la la la }
\line { This is my second verse }
\line { Lo lo lo lo lo } 
% I know this markup doesn't work but it made it simple ;-)
}

--
Snippet: something like this should be saved in a nearby folder
--
text = '\n'.join(r'\line { %s }' % l for l in text.splitlines())
if state[-1] != 'markup':
text = '\\markup {\n%s\n}' % text


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


Re: subdivide beams (the correct way)?

2016-05-01 Thread Urs Liska


Am 01.05.2016 um 22:51 schrieb Nik Repka:
> I am having trouble getting Lilypond to subdivide beams correctly.  The
> default in 2/4 is to beam 32nd notes in groups of 8 (quarter notes).  I can
> set subdivide beams to true and change the baseMoment to 1/8 to get the
> correct subdivision of 32nd notes (4+4 under one beam).  But then the 16ths
> are also subdivided, which is not standard notation practice.  
>
> Basically my question is: "Is there a way to subdivide beams only on note
> values smaller than 16th?"

Currently this will only be possible by doing it manually.
I was working on a complete rewrite of the beaming-pattern/subdivision
code, which has been interrupted by life etc. But I'm committed to
continuing with this.
What you request as standard notation practice will be possible in the
not-too-distant future.

Sorry, can't give you any better information for the moment.

Urs

>
> Thanks!
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: Scoring song with multiple sections (with min example)

2016-05-01 Thread Henry Law

On 01/05/16 19:09, Noeck wrote:

a minimal working example would get you more help


Yes, sorry; I should have done that to start with.  Thanks to your I'm 
nearly there.  This example ...


%
\version "2.18.2"

\score {
<<
  \new ChordNames { c2 c }
  \new Staff = "melodyStaff" {
\new Voice = "voiceOneTwo" {
  \relative c' { c4 d e f }
}
\new Voice = "bridgeVoice" {
  \relative c' { a b c d }
}
\new Voice = "voiceThreeFour" {
  \relative c' { f g a b }
}
  }
  \new Lyrics \lyricsto "voiceOneTwo" { this is verse one }
  \new Lyrics \lyricsto "voiceOneTwo" { this is verse two }
  \new Lyrics \lyricsto "bridgeVoice" { this is the bridge }
  \new Lyrics \lyricsto "voiceThreeFour" { this is verse three }
  \new Lyrics \lyricsto "voiceThreeFour" { this is verse four }
>>
}
%

.. has all the bits I want, as shown in 
http://www.lawshouse.org/music/minimal_example.jpg but the words to the 
bridge are on a third line of lyrics, and the words to the second 
section of the song are on two more lines.  I want the bridge lyrics to 
be on the "top" line of music (in line with verse 1), and the same for 
verse 4, with verse 5 on the second line.


I've experimented with \voiceOne but that doesn't have the required 
effect.I suppose I could just write it as three verses, using \skip 
to get the words into the right places horizontally; but it seems like a 
kludge so if there's a better way I'd like to know what it is.


--

Henry LawManchester, England

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


subdivide beams (the correct way)?

2016-05-01 Thread Nik Repka
I am having trouble getting Lilypond to subdivide beams correctly.  The
default in 2/4 is to beam 32nd notes in groups of 8 (quarter notes).  I can
set subdivide beams to true and change the baseMoment to 1/8 to get the
correct subdivision of 32nd notes (4+4 under one beam).  But then the 16ths
are also subdivided, which is not standard notation practice.  

Basically my question is: "Is there a way to subdivide beams only on note
values smaller than 16th?"

Thanks!


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


Installing lilypond-mode in emacs

2016-05-01 Thread David Sumbler
I have just installed Ubuntu 16.04 to replace my previous 12.04 system,
and installed LilyPond v.2.19.40.

In my ~/.emacs file I already had

(autoload 'LilyPond-mode "lilypond-mode")
(setq auto-mode-alist (cons '("\\.ily$" . LilyPond-mode) auto-mode-alist))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))

This gave me lilypond-mode in emacs under Ubuntu 12.04, but it doesn't
work now.

I have looked at the instructions in section 4.2 of the Usage manual
and also in the lilypond-init.el file.  I commented out the above 3
lines and added

(setq load-path (append (list (expand-file-name 
"/usr/local/lilypond/usr/share/emacs/site-lisp")) load-path))

but I still don't get lilypond-mode in Emacs (v.24.5.1).

What have I done wrong?

David

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


Displaying Japanese & Chinese characters.

2016-05-01 Thread ming
James,

In your editor select UTF-8 and lily support UTF-code. This will display 
Chinese character.  I have been using this since lilypond v2.12.

Immanuel,
Ming

Sent from Mail for Windows 10

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


Re: Scoring song with multiple sections

2016-05-01 Thread Noeck
Hi Henry,

a minimal working example would get you more help, i.e. one without
undefined variables like \verseOne but rather some dummy notes that work
for everyone. If I understand what you want, you want the two voices to
be in the same staff, one after the other. Then this might help you.
Here you have only one music expression << >>

\version "2.18.2"


\score {
<<
  \new ChordNames { c2 c }
  \new Staff = "melodyStaff" {
\new Voice = "voiceOneTwo" {
  c'4 d' e' f'
}
\new Voice = "bridgeVoice" {
  \relative c'' { a4 b c d }
}
  }
  \new Lyrics \lyricsto "voiceOneTwo" { c d e f }
  \new Lyrics \lyricsto "voiceOneTwo" { C D E F }
>>
}

Cheers,
Joram

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


Re: Displaying Japanese & Chinese characters.

2016-05-01 Thread Rafael Ramirez Morales
On 1 May 2016 at 18:52, Thomas Morley  wrote:
> 2016-05-01 15:51 GMT+02:00 James Sa :
>> I bump into a problem that I cannot render CJVK characters correctly.
>>
>> === Here's the tiny sample ===
>> \version "2.19.40"
>>
>> \header {
>>   title = "標題" % Use only English is fine. CJVK seems broken.
>> }
>>
>> \score {
>>   \new Staff {
>>   }
>> }
>>
>> === Here's the output ===

>>
>> head of my PS file.
>> head /var/folders/q5/v_dc7mwn4jxf9t_tw60r3lfcgn/T//lilypond-G3vKM7
>> %!PS-Adobe-3.0
>> %%Creator: LilyPond 2.19.40
>> %%Pages: 1
>> %%PageOrder: Ascend
>> %%Orientation: Portrait
>> %%DocumentMedia: a4 595.28 841.89 80 () ()
>> %%DocumentSuppliedResources: font HiraKakuStdN-W7
>> %%DocumentSuppliedResources: font TeXGyreSchola-Regular
>> %%EndComments
>> %%BeginProlog
>>
>> I have no idea where does the "HiraKakuStdN-W7" comes from. Can someone
>> point me a way to do this. I also tried to install latest gs using homebrew.
>> Still no luck.


>
> Compiles fine here (Linux Ubuntu 15.04 64-bit).
>
> The ps-file shows:
>
> %!PS-Adobe-3.0
> %%Creator: LilyPond 2.19.40
> %%Pages: 1
> %%PageOrder: Ascend
> %%Orientation: Portrait
> %%DocumentMedia: a4 595.28 841.89 80 () ()
> %%DocumentSuppliedResources: font Kochi-Mincho
> %%DocumentSuppliedResources: font TeXGyreSchola-Regular
> %%EndComments

Compiles fine with my setup too. As the previous output, my PDF also
embeds font Kochi-Mincho, not your HiraKakuStdN-W7.

I suggest you find a way to install font Kochi-Mincho, and then try
again. You probably have a font problem, not a LilyPond one.

Have fun.
-- 
We are (...) star stuff contemplating the stars (...) We are one
species. We are star stuff harvesting star light.
-- Carl Sagan

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


Re: Scoring song with multiple sections

2016-05-01 Thread Henry Law

On 01/05/16 17:32, Malte Meyn wrote:

\score {
   {
 <<
   \new Staff = "first" a
   \new Staff = "second" b
 >>
 <<
   \context Staff = "first" f
   \context Staff = "second" g
 >>
   }
}


Thank you; that's got me slightly further forward, although your example 
has two staves and I need only one. Strange things are now happening 
which weren't before.  If I code


\score {
  {
<<
  \new ChordNames \chordsVerseOneTwo
  \new Staff = "melodyStaff" {
\new Voice = "voiceOneTwo" {
  \melodyVerseOneTwo
}
  }
  %\new Lyrics \lyricsto "voiceOneTwo"{ \verseOne }
  %\new Lyrics \lyricsto "voiceOneTwo"{ \verseTwo }
>>
<<
  \context Staff = "melodyStaff" {
\new Voice = "bridgeVoice" {
  \relative c'' { a4 b c d }
}
  }
>>
  }
  \layout { ...etc

I get the general layout that I need, which is that there is /one/ staff 
which displays the music \melodyVerseOneTwo, followed immediately by the 
music { a4 b c d }.  But if I uncomment either of those \lyricsto 
statements then everything collapses in a heap. The error message is 
"programming error: Moment is not increasing.  Aborting interpretation." 
and the resulting output has a treble clef out in space below the 
existing staff and no notes ABCD.  I've researched the error message as 
best I can and can't make it make sense in this context.


Am I moving in the right direction or is this a dead end of confusion?
--

Henry LawManchester, England

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


Re: Displaying Japanese & Chinese characters.

2016-05-01 Thread Thomas Morley
2016-05-01 15:51 GMT+02:00 James Sa :
> I bump into a problem that I cannot render CJVK characters correctly.
>
> === Here's the tiny sample ===
> \version "2.19.40"
>
> \header {
>   title = "標題" % Use only English is fine. CJVK seems broken.
> }
>
> \score {
>   \new Staff {
>   }
> }
>
> === Here's the output ===
> %{
> Starting lilypond 2.19.40 [FontIssue.ly]...
> Processing `/Users/james/Desktop/LilyPond/FontIssue.ly'
> Parsing...
> Interpreting music...
> warning: no music found in score
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Layout output to
> `/var/folders/q5/v_dc7mwn4jxf9t_tw60r3lfcgn/T//lilypond-H4xHPg'...
> Converting to `FontIssue.pdf'...
> warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
> -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
> -r1200 -sDEVICE=pdfwrite -sOutputFile=FontIssue.pdf -c.setpdfwrite
> -f/var/folders/q5/v_dc7mwn4jxf9t_tw60r3lfcgn/T//lilypond-H4xHPg)' failed
> (256)
>
> fatal  error: failed files: "/Users/james/Desktop/LilyPond/FontIssue.ly"
> %}
>
> And my full lilypond -dshow-available-fonts is here.
> https://gist.github.com/jamessa/1d8ab3e999b75d36e762f7b3f9626e8c
>
> head of my PS file.
> head /var/folders/q5/v_dc7mwn4jxf9t_tw60r3lfcgn/T//lilypond-G3vKM7
> %!PS-Adobe-3.0
> %%Creator: LilyPond 2.19.40
> %%Pages: 1
> %%PageOrder: Ascend
> %%Orientation: Portrait
> %%DocumentMedia: a4 595.28 841.89 80 () ()
> %%DocumentSuppliedResources: font HiraKakuStdN-W7
> %%DocumentSuppliedResources: font TeXGyreSchola-Regular
> %%EndComments
> %%BeginProlog
>
> I have no idea where does the "HiraKakuStdN-W7" comes from. Can someone
> point me a way to do this. I also tried to install latest gs using homebrew.
> Still no luck.
>
> best regards,
> james sa



Compiles fine here (Linux Ubuntu 15.04 64-bit).

The ps-file shows:

%!PS-Adobe-3.0
%%Creator: LilyPond 2.19.40
%%Pages: 1
%%PageOrder: Ascend
%%Orientation: Portrait
%%DocumentMedia: a4 595.28 841.89 80 () ()
%%DocumentSuppliedResources: font Kochi-Mincho
%%DocumentSuppliedResources: font TeXGyreSchola-Regular
%%EndComments
[...]

Sorry to be of no more help,
  Harm

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


Re: Scoring song with multiple sections

2016-05-01 Thread Malte Meyn



Am 01.05.2016 um 17:29 schrieb Henry Law:

But on the second appearance of "<<" Lily barfs with "syntax error,
unexpected <<".


Every \score can contain only one music expression but you did something 
like


%
\version "2.18.2"
\score {
  <<
\new Staff a
\new Staff b
  >>
  <<
f
g
  >>
}
%

This is two music expressions, each in << >> so the second expression 
starting with << is unexpected.


There are two possibilities how to solve your problem:
1. Use only one << >> expression and put the music into {}:

%
\version "2.18.2"
\score {
  <<
\new Staff { a f }
\new Staff { b g }
  >>
}
%

2. Put the << >> << >> inside { } (so it’s one sequential music 
expression). Then you have to reuse the (named) staves using \context 
otherwise new staves will be created:


%
\version "2.18.2"
\score {
  {
<<
  \new Staff = "first" a
  \new Staff = "second" b
>>
<<
  \context Staff = "first" f
  \context Staff = "second" g
>>
  }
}
%

It’s the same for ChordNames and Lyrics (but you probably cannot use 
\addlyrics as a shortcut for \new Lyrics \lyricsto … because you have to 
name the Lyrics context).


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


Re: Replying to posts

2016-05-01 Thread Werner LEMBERG

> My Titanium Internet Security blocks this site as a "Dangerous Page."

Hmm.  Google doesn't do any warning...  Looking into the .msi file to
download, everything looks right (but I'm not the right person to
investigate such issues).


Werner

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


Scoring song with multiple sections

2016-05-01 Thread Henry Law

(Lilypond v2.18.2 under Linux.)

I'm scoring a song which has the form A A B C C.  Two verses go to 
section A, then there are words for a bridge, then two more verses to 
the music of section C.  Or to put it graphically


Chords to section A
Notes of section A
 Verse 1 words
 Verse 2 words

Chords to bridge
Notes of bridge
 Words to bridge

Chords to section C
Notes of section C
 Verse 3 words
 Verse 4 words

I can do section A but I'm struggling with how to make the bridge and 
its words appear on the same staff in subsequent bars.  It seems to me 
that all the stuff to "A A" is simultaneous stuff and should appear in 
<< >>, and then the stuff for the bridge is different simultaneous 
stuff, and should have its own << >>, and therefore coded this:


\score {
  <<
\new ChordNames \chordsVerseOneTwo
\new Staff { \melodyVerseOneTwo }
\addlyrics { \verseOne }
\addlyrics { \verseTwo }
  >>
  <<
{ \bridge }
\addlyrics { \bridgeWords }
  >>
  \layout { ... etc

But on the second appearance of "<<" Lily barfs with "syntax error, 
unexpected <<".


Of course it's an schoolboy error (that's the kind of mistake I'm making 
right now) but I've reviewed the learning manual, especially "Music 
expressions explained" and also the snippets without finding the answer. 
 Can someone help me please?

--

Henry LawManchester, England

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


Displaying Japanese & Chinese characters.

2016-05-01 Thread James Sa
I bump into a problem that I cannot render CJVK characters correctly.

=== Here's the tiny sample ===
\version "2.19.40"

\header {
  title = "標題" % Use only English is fine. CJVK seems broken.
}

\score {
  \new Staff {
  }
}

=== Here's the output ===
%{
Starting lilypond 2.19.40 [FontIssue.ly]...
Processing `/Users/james/Desktop/LilyPond/FontIssue.ly'
Parsing...
Interpreting music...
warning: no music found in score
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to
`/var/folders/q5/v_dc7mwn4jxf9t_tw60r3lfcgn/T//lilypond-H4xHPg'...
Converting to `FontIssue.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -sOutputFile=FontIssue.pdf -c.setpdfwrite
-f/var/folders/q5/v_dc7mwn4jxf9t_tw60r3lfcgn/T//lilypond-H4xHPg)'
failed (256)

fatal  error: failed files: "/Users/james/Desktop/LilyPond/FontIssue.ly"
%}

And my full lilypond -dshow-available-fonts is here.
https://gist.github.com/jamessa/1d8ab3e999b75d36e762f7b3f9626e8c

head of my PS file.
head /var/folders/q5/v_dc7mwn4jxf9t_tw60r3lfcgn/T//lilypond-G3vKM7
%!PS-Adobe-3.0
%%Creator: LilyPond 2.19.40
%%Pages: 1
%%PageOrder: Ascend
%%Orientation: Portrait
%%DocumentMedia: a4 595.28 841.89 80 () ()
%%DocumentSuppliedResources: font HiraKakuStdN-W7
%%DocumentSuppliedResources: font TeXGyreSchola-Regular
%%EndComments
%%BeginProlog

I have no idea where does the "HiraKakuStdN-W7" comes from. Can someone
point me a way to do this. I also tried to install latest gs using
homebrew. Still no luck.

best regards,
james sa
-- 
james
send from Inbox.
-- 
james
send from Inbox.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Choice of pitch input mode

2016-05-01 Thread Paul Morris
> On May 1, 2016, at 8:38 AM, Paul Morris  wrote:
> 
> I just tried it and it requires the explicit reference pitch like:  \fixed 
> c’’ { … } 

…and that makes sense because the first note may not be in the base octave.

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


Re: Choice of pitch input mode

2016-05-01 Thread Paul Morris
> On May 1, 2016, at 3:46 AM, Johan Vromans  wrote:
> 
> Can this also be written as:
> 
> \fixed {
>  \key a \major
>  \time 6/8
>  cis''8. d16 cis8 e4 e8 |
>  b,8. cis16 b,8 d4 d8 |
> }
> 
> just like \relative?

No, I just tried it and it requires the explicit reference pitch like:

\fixed c’’ { … } 

(Like relative used to.)

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


RE: Replying to posts

2016-05-01 Thread Mark Stephen Mrotek
Werner,

My Titanium Internet Security blocks this site as a "Dangerous Page."

Mark

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Werner LEMBERG
Sent: Thursday, April 28, 2016 10:27 PM
To: andrew.bern...@gmail.com
Cc: lilypond-user@gnu.org
Subject: Re: Replying to posts

From: Werner LEMBERG 
Subject: Re: Replying to posts
Date: Fri, 29 Apr 2016 07:19:48 +0200 (CEST)

> 
>>> What about this?
>>>
>>>   http://home.in.tum.de/~jain/software/outlook-quotefix/
>>>
>>> I'm not an outlook user, but this looks quite promising (and is 
>>> actively maintained)!
>>
>> Really? Runs on NT4 up to XP. Support up to Outlook 2003. That's 
>> moribund by any standard, surely?
> 
> Oops!  I've misread 2006 for 2016 :-)  Sorry.

What about this, then.

  http://www.grzegorz.net/oe/oept.php

It claims to work up to Windows 7.


Werner

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


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


Re: Choice of pitch input mode

2016-05-01 Thread Johan Vromans
On Sat, 30 Apr 2016 17:22:27 -0400
Paul Morris  wrote:

> \fixed c'' {
>   \key a \major
>   \time 6/8
>   cis8. d16 cis8 e4 e8 |
>   b,8. cis16 b,8 d4 d8 |
> }

Can this also be written as:

\fixed {
  \key a \major
  \time 6/8
  cis''8. d16 cis8 e4 e8 |
  b,8. cis16 b,8 d4 d8 |
}

just like \relative?

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