Compiling Nenuvar Editions (was: Re: lilypond-user Digest, Vol 154, Issue 123)

2015-09-23 Thread Simon Albrecht

Hi Michael,

please always edit the subject line when replying to e-mail digests. Or 
just turn off digest mode – I find (using Thunderbird’s filtering and 
displaying by thread) that this is much more convenient to read also.


On 23.09.2015 17:17, Michael Dykes wrote:

When I type the code:

make Haendel/Oratorio/Messiah

in my Documents/Messiah folder


Did you clone/copy the entire repository? IIUC, you took only the 
Messiah folder and copied it to ~/Documents on your machine, right? This 
will (a) not work because there are \includes in there pointing outside 
the directory; and (b) you’d need to change the path you pass to make.

So you _might_ try just running
make
inside the Messiah directory,
(or ‘make ~/Documents/Messiah’ from anywhere)
but it’s unlikely to work.

HTH, Simon

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


Re: Compiling Nenuvar Editions

2015-09-23 Thread Simon Albrecht

Hello,

I begin with another general policy: always reply on-list, unless 
information is really private. It may help others too.


On 23.09.2015 17:59, Michael Dykes wrote:
Ok, I just downloaded his entire zip directory. So, from within what 
folder should I type the


make Haendel/Oratorio/Messiah

command???


From the top directory of the repository, or simpler: the directory 
which contains the Haendel/ folder.


Yours, Simon

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


Re: Compiling Nenuvar Editions

2015-09-23 Thread Michael Dykes
I have now downloaded his entire zip file and am using the code 
suggested by Simon (I think) which is:


thedoctor818@TARDIS:~/Documents/nenuvar-master/Haendel$ m

and keep getting the error message:

make: *** No rule to make target 'Haendel/Oratorio/Messiah'.  Stop.

I am trying this in the directory: Documents/Haendel

I also tried this in Documents/Haendel/Oratorio/Messiah but to no avail.


Thanks for all the help with this as I am not sure what to do here.

On 09/23/2015 12:01 PM, lilypond-user-requ...@gnu.org wrote:

Send lilypond-user mailing list submissions to
lilypond-user@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
lilypond-user-requ...@gnu.org

You can reach the person managing the list at
lilypond-user-ow...@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."


Today's Topics:

1. Re:?new text-spanner? development (David Kastrup)
2. Re:?new text-spanner? development (David Nalesnik)
3. Re:lilypond-user Digest, Vol 154, Issue 123 (Michael Dykes)
4. Labeling harmony using Roman numerals from a blind user
   (Daniel Contreras)
5. Compiling Nenuvar Editions (was: Re: lilypond-user Digest,
   Vol 154, Issue 123) (Simon Albrecht)
6. Scheme function to output \bookpart {} ? (Simon Albrecht)


--

Message: 1
Date: Wed, 23 Sep 2015 13:54:39 +0200
From: David Kastrup <d...@gnu.org>
To: Simon Albrecht <simon.albre...@mail.de>
Cc: David Nalesnik <david.nales...@gmail.com>,lilypond-user
<lilypond-user@gnu.org>
Subject: Re: ?new text-spanner? development
Message-ID: <87a8sd9wqo@fencepost.gnu.org>
Content-Type: text/plain; charset=utf-8

Simon Albrecht <simon.albre...@mail.de> writes:


Hello,

as the other thread was becoming a monster, I start up a new one.
I?ve now got a version of text-span-spread.ly, as I call it, and it
compiles now. However, a new problem appeared, which I assume has to
do with variable scope and seems to be over my head: The first call to
the \startTextSpan music function sets the texts for _all_ the
subsequent calls. Even more suspiciously, the tweak to font-shape in
line 725 (ugh?) is also applied to all these instances.
I?m sorry to call for help so soon again, but I just don?t have enough
experience and background to troubleshoot this with any degree of
efficiency. Any hints are welcome! :-)

Well, I don't know who is responsible for this particular idiom
encountered frequently in here, but the following open-coded loop is
both opaque and inefficient (namely O(n^2) as _appending_ to a list is
an O(n) operation):

extractLyricEventInfo =
#(define-scheme-function (lst) (ly:music?)
"Given a music expression @var{lst}, return a list of pairs.  The
@code{car} of each pair is the text of any @code{LyricEvent}, and the
@code{cdr} is a boolean representing presence or absence of a hyphen
associated with that @code{LyricEvent}."
;; TODO: include duration info, skips?
(let ((grist (extract-named-music lst '(LyricEvent
  (let mill ((grist grist) (flour '()))
(if (null? grist)
flour
(let* ((text (ly:music-property (car grist) 'text))
   (hyphen (extract-named-music (car grist) 'HyphenEvent))
   (hyphen? (not (null? hyphen
  (mill (cdr grist)
(append flour (list (cons text hyphen?)

Open-coded, you are much better off writing:

(let ((grist (extract-named-music lst '(LyricEvent
  (let mill ((grist grist) (flour '()))
(if (null? grist)
(reverse! flour)
(let* ((text (ly:music-property (car grist) 'text))
   (hyphen (extract-named-music (car grist) 'HyphenEvent))
   (hyphen? (not (null? hyphen
  (mill (cdr grist)
(cons (cons text hyphen?) flour))

Since cons is O(1) and the final reverse! O(n) is only done once, you
arrive at O(n) for all.  But why open-code in the first place?

   (map (lambda (elt)
  (let* ((text (ly:music-property elt 'text))
 (hyphen (extract-named-music elt 'HyphenEvent))
 (hyphen? (pair? hyphen)))
 (cons text hyphen)))
(extract-named-music lst 'LyricEvent)))

For something that is one-on-one, this is far more transparent.  And
even for something that is one-to-some (namely resulting in possibly 0,
1, or more elements), (append-map (lambda (elt) ...) ...) tends to be
much clearer.





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


Re: Compiling Nenuvar Editions

2015-09-23 Thread Michael Gerdau
Since this seems to be more complicated than anticipated,

> I have now downloaded his entire zip file and am using the code
> suggested by Simon (I think) which is:
> 
> thedoctor818@TARDIS:~/Documents/nenuvar-master/Haendel$ m
> 
> and keep getting the error message:
> 
> make: *** No rule to make target 'Haendel/Oratorio/Messiah'.  Stop.
> 
> I am trying this in the directory: Documents/Haendel
> 
> I also tried this in Documents/Haendel/Oratorio/Messiah but to no avail.

here a full rundown of what I did.

1. I'm on Linux with make installed. Not sure about other OS'es. You
 also need a commandline (bash in my case)
2. I've downloaded the whole zip from https://github.com/nsceaux/nenuvar
 As of yesterday it was almost 8MB in size.
3. I've extracted this zip. That created a directory nenuvar-master in
 the current directory. I cd'd into it (cd nenuvar-master)
 [it is completely irrelevant where in your filesystem this located
 as everything below nenuvar-master is self contained -- in other words
 nenuvar-master is freely relocateable]
4. Inside .../nenuvar-master I issued
 make Haendel/Oratorio/Messiah
 and that created said score (with some warnings)

All references to files are relative to .../nenuvar-master

I'm pretty sure compiling the score requires LP 2.19.x to compile
out-of-the-box. I'm using 2.19.27. I haven't tested 2.18.2 but would not
be surprised if that fails.

As I already wrote in another mail, you could get a complete list of
valid make targets when you issue (inside ../nenuvar-master)
grep ":" Makefile | grep -v .PHONY | sed -e "s/:.*//"

When you do not get a rather lengthy list (in my case 396 lines) with
targets then you are either not in the correct directory or have
downloaded the wrong file. Or something completely different ;)

Last not least the score requires the scorlatti font.
Either get it from http://fonts.openlilylib.org/
or remove the \paper block in common/common.ily lines 18-22


HTH,
Michael

PS: Please trim your mails in that you copy only the stuff into your
mail, that is somewhat relevant to your issue. There is no need to
include msg regarding textspanner when you ask about Compiling
Nenuvar Editions.
-- 
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Compiling Nenuvar Editions

2015-09-23 Thread Michael Dykes
Please forgive my ignorance but I have updated to Lily 2.19.27-1 and 
downloaded the Scorlatti file. However, not sure for lack of a better 
way of wording it "where to install it"/where to put the font files and 
which folder(s) I need to out where. Again forgive my ignorance here.


-MD

Message: 4 Date: Wed, 23 Sep 2015 19:50:58 +0200 From: Michael Gerdau 
<m...@qata.de> To: lilypond-user@gnu.org Cc: Michael Dykes 
<thedoctor81...@gmail.com> Subject: Re: Compiling Nenuvar Editions 
Message-ID: <1946334.bza5fid5Jh@hamiller> Content-Type: text/plain; 
charset="us-ascii" Since this seems to be more complicated than 
anticipated,

I have now downloaded his entire zip file and am using the code
suggested by Simon (I think) which is:

thedoctor818@TARDIS:~/Documents/nenuvar-master/Haendel$ m

and keep getting the error message:

make: *** No rule to make target 'Haendel/Oratorio/Messiah'.  Stop.

I am trying this in the directory: Documents/Haendel

I also tried this in Documents/Haendel/Oratorio/Messiah but to no avail.

here a full rundown of what I did.

1. I'm on Linux with make installed. Not sure about other OS'es. You
  also need a commandline (bash in my case)
2. I've downloaded the whole zip from https://github.com/nsceaux/nenuvar
  As of yesterday it was almost 8MB in size.
3. I've extracted this zip. That created a directory nenuvar-master in
  the current directory. I cd'd into it (cd nenuvar-master)
  [it is completely irrelevant where in your filesystem this located
  as everything below nenuvar-master is self contained -- in other words
  nenuvar-master is freely relocateable]
4. Inside .../nenuvar-master I issued
  make Haendel/Oratorio/Messiah
  and that created said score (with some warnings)

All references to files are relative to .../nenuvar-master

I'm pretty sure compiling the score requires LP 2.19.x to compile
out-of-the-box. I'm using 2.19.27. I haven't tested 2.18.2 but would not
be surprised if that fails.

As I already wrote in another mail, you could get a complete list of
valid make targets when you issue (inside ../nenuvar-master)
grep ":" Makefile | grep -v .PHONY | sed -e "s/:.*//"

When you do not get a rather lengthy list (in my case 396 lines) with
targets then you are either not in the correct directory or have
downloaded the wrong file. Or something completely different ;)

Last not least the score requires the scorlatti font.
Either get it from http://fonts.openlilylib.org/
or remove the \paper block in common/common.ily lines 18-22


HTH,
Michael

PS: Please trim your mails in that you copy only the stuff into your
mail, that is somewhat relevant to your issue. There is no need to
include msg regarding textspanner when you ask about Compiling
Nenuvar Editions.



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


Re: Compiling Nenuvar Editions

2015-09-23 Thread tisimst
Did you read the documentation at fonts.openlilylib.org? There's a section
that tells you precisely where to put them (and make sure you install all
the scorlatti-XX files, not just one of them.

- Abraham

On Wednesday, September 23, 2015, thedoctor818 [via Lilypond] <
ml-node+s1069038n181615...@n5.nabble.com> wrote:

> Please forgive my ignorance but I have updated to Lily 2.19.27-1 and
> downloaded the Scorlatti file. However, not sure for lack of a better
> way of wording it "where to install it"/where to put the font files and
> which folder(s) I need to out where. Again forgive my ignorance here.
>
> -MD
>
> Message: 4 Date: Wed, 23 Sep 2015 19:50:58 +0200 From: Michael Gerdau
> <[hidden email] <http:///user/SendEmail.jtp?type=node=181615=0>>
> To: [hidden email] <http:///user/SendEmail.jtp?type=node=181615=1>
> Cc: Michael Dykes
> <[hidden email] <http:///user/SendEmail.jtp?type=node=181615=2>>
> Subject: Re: Compiling Nenuvar Editions
> Message-ID: <1946334.bza5fid5Jh@hamiller> Content-Type: text/plain;
> charset="us-ascii" Since this seems to be more complicated than
> anticipated,
>
> >> I have now downloaded his entire zip file and am using the code
> >> suggested by Simon (I think) which is:
> >>
> >> thedoctor818@TARDIS:~/Documents/nenuvar-master/Haendel$ m
> >>
> >> and keep getting the error message:
> >>
> >> make: *** No rule to make target 'Haendel/Oratorio/Messiah'.  Stop.
> >>
> >> I am trying this in the directory: Documents/Haendel
> >>
> >> I also tried this in Documents/Haendel/Oratorio/Messiah but to no
> avail.
> > here a full rundown of what I did.
> >
> > 1. I'm on Linux with make installed. Not sure about other OS'es. You
> >   also need a commandline (bash in my case)
> > 2. I've downloaded the whole zip from https://github.com/nsceaux/nenuvar
> >   As of yesterday it was almost 8MB in size.
> > 3. I've extracted this zip. That created a directory nenuvar-master in
> >   the current directory. I cd'd into it (cd nenuvar-master)
> >   [it is completely irrelevant where in your filesystem this located
> >   as everything below nenuvar-master is self contained -- in other words
> >   nenuvar-master is freely relocateable]
> > 4. Inside .../nenuvar-master I issued
> >   make Haendel/Oratorio/Messiah
> >   and that created said score (with some warnings)
> >
> > All references to files are relative to .../nenuvar-master
> >
> > I'm pretty sure compiling the score requires LP 2.19.x to compile
> > out-of-the-box. I'm using 2.19.27. I haven't tested 2.18.2 but would not
> > be surprised if that fails.
> >
> > As I already wrote in another mail, you could get a complete list of
> > valid make targets when you issue (inside ../nenuvar-master)
> > grep ":" Makefile | grep -v .PHONY | sed -e "s/:.*//"
> >
> > When you do not get a rather lengthy list (in my case 396 lines) with
> > targets then you are either not in the correct directory or have
> > downloaded the wrong file. Or something completely different ;)
> >
> > Last not least the score requires the scorlatti font.
> > Either get it from http://fonts.openlilylib.org/
> > or remove the \paper block in common/common.ily lines 18-22
> >
> >
> > HTH,
> > Michael
> >
> > PS: Please trim your mails in that you copy only the stuff into your
> > mail, that is somewhat relevant to your issue. There is no need to
> > include msg regarding textspanner when you ask about Compiling
> > Nenuvar Editions.
>
>
> ___
> lilypond-user mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node=181615=3>
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lilypond.1069038.n5.nabble.com/Re-lilypond-user-Digest-Vol-154-Issue-123-tp181585p181615.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
> <javascript:_e(%7B%7D,'cvml','ml-node%2bs1069038n...@n5.nabble.com');>
> To unsubscribe from Lilypond, click here
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=2=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=>
> .
> NAML
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-lilypond-user-Digest-Vol-154-Issue-123-tp181585p181616.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