Re: 2 stanzas, different voice, how to align

2014-03-04 Thread Trevor Daniels

Ed, you wrote: Tuesday, March 04, 2014 6:39 PM


>I have a case where I have three measures that I have to score with two 
> voices. When I try to add the lyrics, I can figure out how to align the 
> fist verse with the first voice and the second verse with the second 
> voice. I've attached a small sample file and a graphic revealing what I get.
> 
> The first verse is fine. The second verse, however, lines up under the 
> first and that's not what I want. Here I should have the second verse 
> aligned with the second voice (the smaller notes).
> 
> Any ideas how to go about getting that?

Yes.  You can use\addlyrics to do this, but you need to put each
\addlyrics command immediately after each \new Voice command.
That means rearranging your \score layout somewhat.

But I advise you to look into the alternative way using \new Lyrics
and \lyricsto.  This is far more flexible.  See
http://www.lilypond.org/doc/v2.19/Documentation/learning/voices-and-vocals

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


Re: whole page rotated

2014-03-04 Thread Karol Majewski
Thanks! This is exactly what I need!

Hopefully the rotation bug will be solved eventually.




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


Re: whole page rotated

2014-03-04 Thread Shane Brandes
Not sure this is all helpful but any value between 135 and 235 is
causing the whole page to rotate.

On Tue, Mar 4, 2014 at 2:05 PM, Thomas Morley  wrote:
> 2014-03-04 19:19 GMT+01:00 Karol Majewski :
>> Hi,
>>
>> In the following code, I want to rotate custom note head. To my suprise, 
>> this code makes the whole page rotated if there is a line break. What I'm I 
>> doing wrong?
>>
>> #(define nhg
>> (lambda (grob)
>>   (if
>> (= 2
>>   (ly:grob-property grob 'duration-log))
>> (begin
>>   (let*
>> ((stem
>> (ly:grob-object grob 'stem))
>>   (stem-dir
>> (ly:grob-property stem 'direction))
>>   (rot
>> (if
>>   (= stem-dir 1) 0 180)))
>> (ly:grob-set-property! grob 'stencil
>>   (grob-interpret-markup grob
>> (markup #:rotate rot #:musicglyph "noteheads.u2doThin"
>>
>> \layout {
>>   \context {
>> \Staff
>> \override NoteHead.stencil = #nhg
>>   }
>> }
>>
>> {
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>>   c''4 c''4 c''4 c''4
>> }
>>
>>
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> Hi Karol,
>
> I've no idea what happens here.
> Below a tiny code triggering the same bug.
> It's present as far as I can go back, i.e. 2.12.3 up to 2.19.1
>
> {
>   \override NoteHead #'rotation = #'(180 0 0)
>   \repeat unfold 80 c''4
> }
>
> I cc-ed the bug-list.
>
> Cheers,
>   Harm
>
> ___
> 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: whole page rotated

2014-03-04 Thread Thomas Morley
2014-03-04 21:45 GMT+01:00 Karol Majewski :
> Hi Harm,
>
> this is nice workaround, indeed.
>
> But how can I modify it to have different glyph for each duration-log? The 
> original code was:
[...]


If you only want noteheads of doThin-type, try:

\version "2.18.0"

#(define nhg
  (lambda (grob)
(let* ((stil (ly:note-head::print grob))
   (dur-log (ly:grob-property grob 'duration-log))
   (nh-id-nr (if (>= dur-log 2) 2 1))
   (stem (ly:grob-object grob 'stem))
   (stem-dir (ly:grob-property stem 'direction))
   (new-note-head-stil
(grob-interpret-markup grob
  (markup #:musicglyph (format #f "noteheads.u~adoThin"
nh-id-nr)

(ly:stencil-scale new-note-head-stil 1 stem-dir

\layout {
  \context {
\Voice
\override NoteHead.stencil = #nhg
  }
}

\relative c '' {
  c1 c2 \repeat unfold 4 c8
  \repeat unfold 64 c4
}


HTH,
  Harm

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


Re: whole page rotated

2014-03-04 Thread Karol Majewski
Hi Harm,

this is nice workaround, indeed.

But how can I modify it to have different glyph for each duration-log? The 
original code was:

#(define nhg
(lambda (grob)
  (if
(= 2
  (ly:grob-property grob 'duration-log))
(begin
  (let*
((stem
(ly:grob-object grob 'stem))
  (stem-dir
(ly:grob-property stem 'direction))
  (rot
(if
  (= stem-dir 1) 0 180)))
(ly:grob-set-property! grob 'stencil
  (grob-interpret-markup grob
(markup #:rotate rot #:musicglyph "noteheads.u2doThin"))
  (if
(= 1
  (ly:grob-property grob 'duration-log))
(begin
  (let*
((stem
(ly:grob-object grob 'stem))
  (stem-dir
(ly:grob-property stem 'direction))
  (rot
(if
  (= stem-dir 1) 0 180)))
(ly:grob-set-property! grob 'stencil
  (grob-interpret-markup grob
(markup #:rotate rot #:musicglyph "noteheads.u1doThin"

\layout {
  \context {
\Voice
\override NoteHead.stencil = #nhg
  }
}




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


Re: tie in volta alternative

2014-03-04 Thread MING TSANG
Hi, David:
Thank you.  I have read that section, somehow I missed. After your email, I 
re-read and find it at the very last section.  I just missed the first time.  
Thank you again.
Emmanuel,
Ming



On Tuesday, March 4, 2014 1:08:29 PM, David Kastrup  wrote:
 
MING TSANG  writes:


> Lilyponders,
> How can I show tie also shown for 2nd alternative?   Bar 7 tie to 1st
> alternative, I want bar 7 tie also shown for 2nd alternative.  Here is
> the small .ly  & .pdf files.

http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats#index-ties_002c-in-repeats>

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


Re: using manually installed fonts on OSX

2014-03-04 Thread Kevin Patrick Barry
Thanks for the response. I haven't been home to use my OSX machine,
but I will try when I do.  In the meantime I figured out what the
problem seems to be on Ubuntu.  At some point in the past
user-installed fonts were put in a folder called ~/.fonts, but in more
recent versions of Ubuntu they are put in ~/.local/share/fonts.
Fontconfig doesn't list this locations in fonts.conf (and I don't know
how to make it look there), so I just manually created the old
~/.fonts folder and copied the user-installed fonts into it and they
are now available in LilyPond.

On 3 March 2014 09:22, Henning Hraban Ramm  wrote:
>
> Am 2014-03-03 um 15:15 schrieb Kevin Patrick Barry :
>
>>> Do you find an entry for Cardo in the list from
>>> lilypond -dshow-available-fonts x
>>> ?
>>> Maybe it's called Cardo-Regular or the like.
>>
>> Cardo doesn't appear anywhere in the list, but I can use it just fine
>> in other programs.
>>
>> I tried it today on my Ubuntu machine and experienced the same
>> problem. I tried running fc-cache -f and then deleting the lilypond
>> font cache, but even still it doesn't appear as an option. Also I
>> can't find it anywhere on my machine, not in the usual folders
>> (/usr/share/fonts, /usr/local/share/fonts, ~/.fonts - the last one
>> doesn't even exist on my system), which makes me wonder where the
>> system put it at all. Normal file searches yield nothing.
>
> Ok, check your ~/.fonts.conf (might be also ~/.config/fontconfig/fonts.conf), 
> mine on OSX looks like this:
>
> 
> 
> 
> 
> ~/.fonts.cache-1
>
> /System/Library/Fonts
> /Library/Fonts
> ~/Library/Fonts
> ~/FontExplorer\ X/Font\ Library
> /Library/Application\ Support/Adobe/Fonts
> ~/Library/texmf/tex
> 
>
>
>
>
> Greetlings, Hraban
> ---
> fiëé visuëlle
> Henning Hraban Ramm
> http://www.fiee.net
> http://angerweit.tikon.ch/lieder/
> https://www.cacert.org (I'm an assurer)
>
>
>
>
>

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


Re: whole page rotated

2014-03-04 Thread Thomas Morley
2014-03-04 20:05 GMT+01:00 Thomas Morley :
> 2014-03-04 19:19 GMT+01:00 Karol Majewski :
>> Hi,
>>
>> In the following code, I want to rotate custom note head. To my suprise, 
>> this code makes the whole page rotated if there is a line break. What I'm I 
>> doing wrong?
[...]

As a workaround you could use:

\version "2.18.2"

#(define nhg
  (lambda (grob)
(let* ((stil (ly:note-head::print grob))
   (dur-log (ly:grob-property grob 'duration-log))
   (stem (ly:grob-object grob 'stem))
   (stem-dir (ly:grob-property stem 'direction))
   (new-note-head-stil
(grob-interpret-markup grob
  (markup #:musicglyph "noteheads.u2doThin"

(if (= 2 dur-log)
  (ly:stencil-scale new-note-head-stil 1 stem-dir)
  stil

\layout {
  \context {
\Voice
\override NoteHead.stencil = #nhg
  }
}

{
  \repeat unfold 64 c''4
}


Cheers,
  Harm

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


RE: Errors running lilypond-book

2014-03-04 Thread Daniel Rosen
> -Original Message-
> From: David Kastrup [mailto:d...@gnu.org]
> Sent: Tuesday, March 04, 2014 12:35 PM
> To: Daniel Rosen
> Cc: LilyPond User Group
> Subject: Re: Errors running lilypond-book
>  
> At any rate, you are apparently trying to typeset a file screech-and-boink.ly
> that is not in your search path.  Apart from "exit"
> seemingly going haywire on your system, the problem is the absence of
> screech-and-boink.ly.  What does your lilybook.lytex look like?
> 
> --
> David Kastrup

Aha, I figured it out. I copied lilybook.lytex directly from 
http://www.lilypond.org/doc/v2.19/Documentation/usage/an-example-of-a-musicological-document,
 but I overlooked these lines:

> (If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file
> you put in the same directory as this file.)

I did so, and it works now.

DR

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


Re: whole page rotated

2014-03-04 Thread Thomas Morley
2014-03-04 19:19 GMT+01:00 Karol Majewski :
> Hi,
>
> In the following code, I want to rotate custom note head. To my suprise, this 
> code makes the whole page rotated if there is a line break. What I'm I doing 
> wrong?
>
> #(define nhg
> (lambda (grob)
>   (if
> (= 2
>   (ly:grob-property grob 'duration-log))
> (begin
>   (let*
> ((stem
> (ly:grob-object grob 'stem))
>   (stem-dir
> (ly:grob-property stem 'direction))
>   (rot
> (if
>   (= stem-dir 1) 0 180)))
> (ly:grob-set-property! grob 'stencil
>   (grob-interpret-markup grob
> (markup #:rotate rot #:musicglyph "noteheads.u2doThin"
>
> \layout {
>   \context {
> \Staff
> \override NoteHead.stencil = #nhg
>   }
> }
>
> {
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
>   c''4 c''4 c''4 c''4
> }
>
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi Karol,

I've no idea what happens here.
Below a tiny code triggering the same bug.
It's present as far as I can go back, i.e. 2.12.3 up to 2.19.1

{
  \override NoteHead #'rotation = #'(180 0 0)
  \repeat unfold 80 c''4
}

I cc-ed the bug-list.

Cheers,
  Harm

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


2 stanzas, different voice, how to align

2014-03-04 Thread Ed Faulk

  
  
I have a case where I have three measures that I have to score with
two voices. When I try to add the lyrics, I can figure out how to
align the fist verse with the first voice and the second verse with
the second voice. I've attached a small sample file and a graphic
revealing what I get.

The first verse is fine. The second verse, however, lines up under
the first and that's not what I want. Here I should have the second
verse aligned with the second voice (the smaller notes).



Specifically, the "m" should be under the g with the descending
stem, and the "n" should be associated with the dotted quarter note
"a", and so on...

Any ideas how to go about getting that?

Thanks,
Ed
  



	
		
			

			
		
		
			
This email is free from viruses and malware because avast! Antivirus protection is active.
			
		
	




\version "2.19.2"
\include "english.ly"

verses = \relative c' {
  \time 3/4
   << { \voiceOne fs4 fs4. g8 } \new Voice { \voiceTwo {\override NoteHead.font-size = #-3 { fs2 g4 }}} >> \oneVoice | %m 1
   << { \voiceOne a2 fs4 } \new Voice { \voiceTwo {\override NoteHead.font-size = #-3 {a4. fs8 fs4 }}} >> \oneVoice | %m 2
   << { \voiceOne g4 g4. a8 } \new Voice { \voiceTwo { \override NoteHead.font-size = #-3 {g2 a4 }}} >> \oneVoice | %m 3
}

firstVerse = \lyricmode { a b c d e f g }

secondVerse = \lyricmode { l m n o p q r }

\score {
  <<
  \new Staff { \verses }
\addlyrics { \set stanza = #"1. " \firstVerse }
\addlyrics { \set stanza = #"2. " \secondVerse }
  >>
  \layout { }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


whole page rotated

2014-03-04 Thread Karol Majewski
Hi,

In the following code, I want to rotate custom note head. To my suprise, this 
code makes the whole page rotated if there is a line break. What I'm I doing 
wrong?

#(define nhg
(lambda (grob)
  (if
(= 2
  (ly:grob-property grob 'duration-log))
(begin
  (let*
((stem
(ly:grob-object grob 'stem))
  (stem-dir
(ly:grob-property stem 'direction))
  (rot
(if
  (= stem-dir 1) 0 180)))
(ly:grob-set-property! grob 'stencil
  (grob-interpret-markup grob
(markup #:rotate rot #:musicglyph "noteheads.u2doThin"

\layout {
  \context {
\Staff
\override NoteHead.stencil = #nhg
  }
}

{
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
  c''4 c''4 c''4 c''4
}




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


Re: tie in volta alternative

2014-03-04 Thread David Kastrup
MING TSANG  writes:

> Lilyponders,
> How can I show tie also shown for 2nd alternative?   Bar 7 tie to 1st
> alternative, I want bar 7 tie also shown for 2nd alternative.  Here is
> the small .ly  & .pdf files.

http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats#index-ties_002c-in-repeats>

-- 
David Kastrup

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


Re: Errors running lilypond-book

2014-03-04 Thread David Kastrup
Daniel Rosen  writes:

>> -Original Message-
>> From: David Kastrup [mailto:d...@gnu.org]
>> Sent: Tuesday, February 25, 2014 10:09 AM
>> To: Daniel Rosen
>> Cc: Phil Holmes; LilyPond User Group
>> Subject: Re: Errors running lilypond-book
>> 
>> Since I do not have an idea about the anatomy of a Windows installation, we
>> will depend on
>> 
>> a) you figuring out what other copy of book_latex.py you should rather have
>> patched
>> b) someone else figuring this out
>> c) a release of 2.19.3 after which we'll get more definite feedback.
>
> I've just downloaded 2.19.3 and tried again, and while the error output no 
> longer mentions TEXINPUTS, most of the text remains the same (I've attached 
> my original bug report for convenient comparison, and once again redacted my 
> username from the file path):
>
> c:\Users\...\Desktop\Downloads>lilypond-book --output=out --pdf lilybook.lytex
> lilypond-book.py (GNU LilyPond) 2.19.3
> Reading lilybook.lytex...
> Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpi8u3bh.tex' to 
> detect default page settings.
>
> Dissecting...

Good: the page size detection seems to work now.

> lilypond-book.py: error: file not found: screech-and-boink.ly
>
> Traceback (most recent call last):
>   File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 776, in ?
> main ()
>   File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 759, in main
> chunks = do_file (files[0])
>   File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 611, in 
> do_file
> chunks = find_toplevel_snippets (source, global_options.formatter)
>   File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 362, in 
> find_toplevel_snippets
> snip = klass (type, m, formatter, line_number, global_options)
>   File "C:\Program 
> Files\LilyPond\usr\share\lilypond\current\python\book_snippets.py", line 815, 
> in __init__
> global_options.include_path, global_options.original_dir)).read ()
>   File "C:\Program 
> Files\LilyPond\usr\share\lilypond\current\python\book_base.py", line 27, in 
> find_file
> exit (1)
> TypeError: 'str' object is not callable

What happens if you just call python and type

exit(1)

at its prompt?

At any rate, you are apparently trying to typeset a file
screech-and-boink.ly that is not in your search path.  Apart from "exit"
seemingly going haywire on your system, the problem is the absence of
screech-and-boink.ly.  What does your lilybook.lytex look like?

-- 
David Kastrup

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


RE: Errors running lilypond-book

2014-03-04 Thread Daniel Rosen
> -Original Message-
> From: David Kastrup [mailto:d...@gnu.org]
> Sent: Tuesday, February 25, 2014 10:09 AM
> To: Daniel Rosen
> Cc: Phil Holmes; LilyPond User Group
> Subject: Re: Errors running lilypond-book
> 
> Since I do not have an idea about the anatomy of a Windows installation, we
> will depend on
> 
> a) you figuring out what other copy of book_latex.py you should rather have
> patched
> b) someone else figuring this out
> c) a release of 2.19.3 after which we'll get more definite feedback.
> 
> --
> David Kastrup

I've just downloaded 2.19.3 and tried again, and while the error output no 
longer mentions TEXINPUTS, most of the text remains the same (I've attached my 
original bug report for convenient comparison, and once again redacted my 
username from the file path):

c:\Users\...\Desktop\Downloads>lilypond-book --output=out --pdf lilybook.lytex
lilypond-book.py (GNU LilyPond) 2.19.3
Reading lilybook.lytex...
Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpi8u3bh.tex' to 
detect default page settings.

Dissecting...
lilypond-book.py: error: file not found: screech-and-boink.ly

Traceback (most recent call last):
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 776, in ?
main ()
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 759, in main
chunks = do_file (files[0])
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 611, in 
do_file
chunks = find_toplevel_snippets (source, global_options.formatter)
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 362, in 
find_toplevel_snippets
snip = klass (type, m, formatter, line_number, global_options)
  File "C:\Program 
Files\LilyPond\usr\share\lilypond\current\python\book_snippets.py", line 815, 
in __init__
global_options.include_path, global_options.original_dir)).read ()
  File "C:\Program 
Files\LilyPond\usr\share\lilypond\current\python\book_base.py", line 27, in 
find_file
exit (1)
TypeError: 'str' object is not callable
--- Begin Message ---
I'm trying to follow the tutorial at 
http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document;
 I run Windows 7 x86. When I run the command it tells me to (lilypond-book 
--output=out --pdf lilybook.lytex), here's what I get (I've redacted my 
username from the temp file path):

lilypond-book.py (GNU LilyPond) 2.18.0
Reading lilybook.lytex...
Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to
 detect default page settings.

'TEXINPUTS' is not recognized as an internal or external command,
operable program or batch file.
lilypond-book.py: warning: Unable to auto-detect default settings:

lilypond-book.py: warning: cannot detect textwidth from LaTeX
Dissecting...
lilypond-book.py: error: file not found: screech-and-boink.ly

Traceback (most recent call last):
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 776, in ?
main ()
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 759, in main
chunks = do_file (files[0])
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 611, in do_fil
e
chunks = find_toplevel_snippets (source, global_options.formatter)
  File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 362, in find_t
oplevel_snippets
snip = klass (type, m, formatter, line_number, global_options)
  File "out/book_snippets.py", line 815, in __init__
  File "out/book_base.py", line 27, in find_file
TypeError: 'str' object is not callable

How do I get this to work?

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


Re: Ancient tablature template

2014-03-04 Thread pls

On 04.03.2014, at 16:46, Marc Hohl  wrote:

> Am 02.03.2014 16:10, schrieb Schneidy:
>> Hi LilyPonders,
>> 
>> I'm working on an ancient tablature form.
>> The idea is to get an simple tool that helps people to rewrite ancient tab
>> together with a standard modern score.
>> 
>> Herewith is a first attempt including 3 outputs :
>> 1. a worksheet including three staves, to help dispaching voices, a rhythm
>> and a tab to control the ancient tab output.
>> 2. a clean ancient tab
>> 3. a guitar score (draft) with all possible annotations and easily
>> transposable for a futur clean score.
>> 
>> Tab letters are taken from the Bravura font.
>> Lettrine is from an easy-to-find free font called "Arabesque Initialen".
>> 
>> Please be so kind to give me your opinion (good or bad) and ideas about this
>> template.
> 
> I am not an expert in ancient tablature, but as far as I can tell from
> the examples I have seen before, this looks quite promising!
Nice!  I don’t like the tiny time signature “2” on the first page but apart 
from that: well done.  Last year I used lute tab to typeset a Dowland fantasie. 
 It’s an  excellent typesetting program for different styles of ancient 
tablature and it might serve as a reference for further improvements, see e.g. 
ftp://ftp.cs.dartmouth.edu/pub/lute/TabManual.pdf.  But I like the idea that 
this can be achieved now from within LilyPond.  BTW: would you be willing to 
share your .ly-file?

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


Re: Ancient tablature template

2014-03-04 Thread Marc Hohl

Am 02.03.2014 16:10, schrieb Schneidy:

Hi LilyPonders,

I'm working on an ancient tablature form.
The idea is to get an simple tool that helps people to rewrite ancient tab
together with a standard modern score.

Herewith is a first attempt including 3 outputs :
1. a worksheet including three staves, to help dispaching voices, a rhythm
and a tab to control the ancient tab output.
2. a clean ancient tab
3. a guitar score (draft) with all possible annotations and easily
transposable for a futur clean score.

Tab letters are taken from the Bravura font.
Lettrine is from an easy-to-find free font called "Arabesque Initialen".

Please be so kind to give me your opinion (good or bad) and ideas about this
template.


I am not an expert in ancient tablature, but as far as I can tell from
the examples I have seen before, this looks quite promising!

Marc


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


Re: Right-to-Left

2014-03-04 Thread Robert Schmaus


-
Von meinem Fliewatüüt gesendet.

> On 3 Mar 2014, at 23:31, Simon Albrecht  wrote:
> 
> Am 03.03.2014 23:06, schrieb Schneidy:
>> Ok !
>> 
>> Well, please find herewith a first attempt.
>> It's far from perfect; I still cannot find a way to flip all/part of all
>> grobs, but it does the job !
>> Since I don't know how to read arabic nor arabic music please forgive my
>> poor example
>> Cheers,
>> ~Pierre
>> 
>> Hosam.ly 
>> 
>> PS. here's a link you may also be interested in:
>> https://ufal.mff.cuni.cz/~smrz/elixir-thesis.pdf
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://lilypond.1069038.n5.nabble.com/Right-to-Left-tp160055p160071.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
> For what I know the point about right-to-left scripts is that the writing 
> isn't simply mirrored, but the glyphs in themselves remain, only to be 
> arranged the other way round. Which I think might have to be implemented at a 
> much more basic level... (In XeTeX this feature is available, so as far as 
> text is concerned, one might take a solution or ideas from there.)
> However this is on text and I don't know anything about music typesetting 
> conventions.


Maybe it's possible to achieve that on the postscript level - something like 
wrapping the position information around the vertical centre. Although I don't 
see how the text/music alignment could be achieved as well ...


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


General questions - \unfoldRepeats

2014-03-04 Thread MING TSANG
Hi, lilyponders:
 \unfoldRepeats generates a midi file with "\repeat volta 2" music properly. 
Is it possible to generate midi file with "D.S. al Code"; "segno"; "To Coda" 
and "Coda" structure of a music?  I like to listen the generated midi contains 
all the D.S. al Code"; "segno"; "To Coda" and "Coda".
Emmanuel,
Ming___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: storing and manipulating multi-chunk texts

2014-03-04 Thread David Kastrup
Thomas Morley  writes:

> 2014-03-04 0:06 GMT+01:00 David Kastrup :
>> Thomas Morley  writes:
>>
>>> 2014-03-03 15:51 GMT+01:00 David Kastrup :
>>>
 Another approach would be to have a markup list command \line-parts
>>
>>> I tried the \line-parts approach:
>>> Although it is quite easy to split a simple markup back into a
>>> markup-list, I found no way to return a simple list of markups (or
>>> stencils) from a markup-command.
>>
>> That's why I was suggesting making \line-parts a markup list command
>> rather than a markup command as you do here:
>>
>>> #(define-markup-command (line-parts layout props arg)(markup?)
>>
> Had overlooked it. Thanks for the hint!
> I now come up with the code below.
> Not sure, if the list picking is really save.

It should likely test that this is indeed a \line markup rather than
just dissecting anything.  While separating out \line seems a bit
one-sided, \line _is_ special in that \markup { a b c } implicitly
engages \line anyway.  So it seems like a defensible choice.

-- 
David Kastrup

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