Re: Fwd: Re: Is the lyric-syllable-magnetic-snap snippet obsolete?

2017-07-14 Thread David Nalesnik
On Jul 13, 2017 3:36 PM, "Urs Liska"  wrote:

Also forwarding to the list.

However, despite my hope at the end of the below message I did *not* find
the culprit why it doesn't work with current LilyPond anymore. It would be
cool if you (David) could have a look at the code and help me get this to
work again.

Best
Urs

I'll have a look when I'm at my computer.  I think I gave you the wrong
predicate--should be ly:grob-properties?  I think.  In any case, I'll work
it out.


 Weitergeleitete Nachricht 
Subject: Re: Is the lyric-syllable-magnetic-snap snippet obsolete?
To: David Nalesnik  
References: <008f2f4c-d343-d552-bc10-fc60833df...@openlilylib.org>
<008f2f4c-d343-d552-bc10-fc60833df...@openlilylib.org> 

From: Urs Liska  
Message-ID: <9c4ff181-0930-114d-62c0-acf334bfa...@openlilylib.org>
<9c4ff181-0930-114d-62c0-acf334bfa...@openlilylib.org>
Date: Thu, 13 Jul 2017 22:16:01 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: 

Content-Type: multipart/mixed; boundary="
B95AA6B5C40877D1B4CC3F43"


Hi David,

thanks for the reply.

Am 13.07.2017 um 22:06 schrieb David Nalesnik:



On Jul 13, 2017 2:53 PM, "Urs Liska"  wrote:

There is the snippet notation-snippets/lyric-syllable-magnetic-snap
which doesn't work with 2.19.60 (2.18 works).


I believe it can be fixed by changing a predicate (sorry i can't view the
source now to say which one) to ly:grob-property?  This would make it fail
with 2.18, so a version predicate would be needed.


OK, maybe I'll find it myself then.
I'm right now working on a new openLilyLib package. This means I won't keep
2.18 support. We decided to drop that with the oll-core based
infrastructure, just because there are so fundamental improvements around
2.19.22 (mostly these, but of course all the other general improvements as
well) that we just won't keep it working on the different versions.
So in *this* case I can ignore that.


Is this something that has been integrated into LilyPond by now? I seem
to recall that words in lyrics are joined now if there's no space for
hyphensl


This would be news to me.


Oh, what I pity. I thought this would work by now.
Obviously I mistook it for the feature that the hyphen is automatically
removed (see attachment).

Do you recall any reason why you didn't add this to LilyPond then?


Probably because introducing a new LyricWord grob seemed like a big change,
so I was hoping for some feedback before going forward.  Also, I seem to
remember some issues reported on the user list or on GitHub.  I haven't
looked into these.

I'm happy to push forward with this, but it would be best when 2.20 has
been locked down.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OLL/snippets renaming (Re: Broken (?) snippets in openlilylib/snippets)

2017-07-14 Thread James.Correa
No objections here too.
Best,
James

>  Original Message 
> Subject: OLL/snippets renaming (Re: Broken (?) snippets in 
> openlilylib/snippets)
> Local Time: July 11, 2017 11:35 AM
> UTC Time: July 11, 2017 2:35 PM
> From: u...@openlilylib.org
> To: lilypond-user@gnu.org
> Hi all,
> by now I"ve fixed a number of the below issues and created a few items
> on the issue tracker for the remaining ones.
> Right now I"m wrapping things up a little bit, and part of this is an
> urge to restructure the repository somewhat. In the beginning of the
> repository there was no proper strategy for a directory structure,
> basically whenever someone didn"t immediately know where to put a new
> snippet they decided to create a new directory ;-)
> I would like to rename some directories and move some snippets. In
> particular the "notation-snippets" and the "input-shorthands" seem
> somewhat blurred to me. And, with the nicer syntax of \loadModule I
> would prefer shorter and less redundant names.
> \loadModule snippets.lyrics.align-on-vowels
> is more convenient and expressive than
> \loadModule snippets.notation-snippets.align-lyrics-on-vowels
> etc.
> The question is:
> How many people are actually using the snippets repository, and how much
> inconvenience would that be for these people. I *can* take some care
> about "deprecating" and redirecting includes, but doing this generally
> would actually make the whole thing totally convoluted. So actually I"d
> prefer a clean cut and starting over with a new and cleaner structure.
> Opinions? Objections?
> Urs
> Am 06.07.2017 um 18:17 schrieb Urs Liska:
>> Hi all,
>>
>> I"m wrapping up a number of things in openLilyLib, and I came across
>> snippets where the example files don"t compile (with LilyPond 2.19.60).
>> Please go through this list and if you feel responsible for the snippet
>> please have a look:
>>
>> * notation-snippets/align-lyrics-on-vowels
>> (warning: ignored infinite X-offset)
>> * notation-snippets/alternating-time-signatures
>> (well, that"s me, I"ll keep it as a reference)
>> * notation-snippets/blackmensural-notation
>> * notation-snippets.lyric-syllable-magnetic-snap
>> * notation-snippets.metric-mod
>> * notation-snippets.scale-vertical-spacing
>> * notation-snippets/shaping-bezier-curves/slur-attachments-example.ly
>>
>> * editorial-tools/git-commands
>> (me again)
>> * input-shorthands/easy-octaves
>> * specific-solutions/xelatex-markup-list
>> * templates/predefined-instruments
>>
>> * notation-snippets.scaling-stencils
>> Is this a snippet or an example?
>>
>> * is input-shorthands/sizeContext still necessary or has this been
>> included in Lilypond in the meantime?
>>
>>
>> Maybe this isn"t all that has to be done, I also realized that this
>> repository is very inconsistent in style and quality. However, I want
>> the snippets repository to become a member of the openLilyLib package
>> family, which means that - in addition to the existing style of
>> including the "definitions.ily" files of a directory the stuff can be
>> loaded as "modules".
>>
>> Currently this relies on snippets on the "make-modules" branch and
>> oll-core on the "config" branch, but I intend to merge both in the next
>> days.
>>
>> This will result in input code like for example
>>
>> \include "oll-core/package.ily"
>> \loadPackage page-layout
>> \loadPackage \with {
>> modules = arrows.frames
>> }
>> analysis
>> \loadModule snippets.notation-snippets.compound-slurs
>> \loadModules snippets
>> #"((notation-snippets compound-slurs)
>> (input-shorthands easy-custom-dynamics))
>>
>> An overview of this mechanism can be found on
>> https://github.com/openlilylib/oll-core/wiki
>>
>> Going through most of the directory structure made me realize that I
>> would really like to move and rename many modules. For example
>> "easy-custom-dynamics" should not be accessible through
>> snippets.input-shorthands.easy-custom-dynamics
>> but through
>> snippets.notation.custom-dynamics
>> Also there are many verbose directory names that should be shortened:
>> snippets.notation-snippets => snippets.notation etc.
>>
>> The problem is that such a reorganization and renaming would of course
>> break lots of existing files ...
>>
>> Best for now
>> Urs
>>
> --
> u...@openlilylib.org
> https://openlilylib.org
> http://lilypondblog.org
> ___
> 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: OLL/snippets renaming (Re: Broken (?) snippets in openlilylib/snippets)

2017-07-14 Thread Urs Liska
Hi Paul,

thanks for your thoughts and suggestion.


Am 12.07.2017 um 18:04 schrieb Paul:
> On 07/11/2017 10:35 AM, Urs Liska wrote:
>
>> I would like to rename some directories and move some snippets. In
>> particular the "notation-snippets" and the "input-shorthands" seem
>> somewhat blurred to me. And, with the nicer syntax of \loadModule I
>> would prefer shorter and less redundant names.
>>
>>\loadModule snippets.lyrics.align-on-vowels
>>
>> is more convenient and expressive than
>>
>>\loadModule snippets.notation-snippets.align-lyrics-on-vowels
>>
>> etc.
>>
>> The question is:
>>
>> How many people are actually using the snippets repository, and how much
>> inconvenience would that be for these people. I *can* take some care
>> about "deprecating" and redirecting includes, but doing this generally
>> would actually make the whole thing totally convoluted. So actually I'd
>> prefer a clean cut and starting over with a new and cleaner structure.
>>
>> Opinions? Objections?
>
> No objections here.  Seems like a job for some kind of versioning or
> renaming of the snippets collection as a whole?  ("snippets2"?) Then
> you could preserve backwards compatibility and get your clean break.
>
> Or... this may not be helpful... but would it work to just move the
> contents of snippets out into their own modules, deprecating the
> "snippets" grouping, but leaving it in place, as is, for now for
> backwards compatibility?  So then you'd have, say:
>
> \loadModule lyrics.align-on-vowels
>
> Not sure what the larger repercussions of this would be, as I haven't
> kept up with how things are organized.  Feel free to disregard.

I mostly adopted your idea, which sounds - mostly - great to me.

I have made a copy of the snippets repository with the name oll-misc.
This pretty much reflects what this repository is actually about in my
opinion - and it moves away from confusingly duplicating with the LSR.

In this new repository I have all the liberty to throw out stuff that
has long been reimplemented elsewhere (in openLilyLib and also in
LilyPond itself), reorganize and rename items to my liking and also move
things out of the repo into other packages.
I'm very sorry that I don't have the time to bring everything in a clean
shape at the same time but at least it'll be a clean and hopefully final
structure.

The "cost" of that solution is that the snippets repository will
probably be even more exposed to bitrot as it already is now ...
I'll add a big deprecation warning to the README, though, encouraging
anyone not to continue using openlilylib/snippets.

Best
Urs

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

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


openLilyLib on Windows 10

2017-07-14 Thread Daniel Sanmartín Nieto
Hello! I come from the GNU LilyPond Facebook group, where I was helped by
Mr. Liska, but we couldn't find a solution, so he recommended me to ask in
this mailing list. My problem is that I cannot install openLilyLib on
Windows 10.

This is the "background":

–I'm trying to install the openLilyLib core package (oll-core) on a Windows
10 computer running LilyPond 2.19.63 and Frescobaldi 3.0.1.

–I followed these steps:
+I downloaded the oll-core package zip file from git.
+I unzipped it.
+I created a folder named "openLilyLib" on my hard disk, in which I
copied the oll-core-master folder.
+I added this folder (C:\openLilyLib\oll-core-master) to the LilyPond's
path through the "Preferences" dialog in Frescobaldi.

But when I try to compile something like this:

\version "2.19.63"
\include "oll-core-master/package.ily"
\relative c'' {c4 d e f}

LilyPond returns a "code 1" error. This is the (end of the) output:

\include
"oll-core/package.ily"

Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-QDpLwK'...
Converting to `document.pdf'...
Deleting `./tmp-lilypond-QDpLwK'...
fatal error: failed files:
"C:\\Users\\Hp\\AppData\\Local\\Temp\\frescobaldi-fidddenn\\tmpx1ledftl\\
document.ly"
Exited with return code 1.

Mr. Liska thinked that it could be an issue with the handling of slashes on
Windows, so I tried to include several files on other LilyPond documents,
testing the include path with both back and forward slashes (and absolute
and relative paths), and LilyPond compiled these files without problem.

Could it be an issue with the way that different OS's handle paths? Anybody
has installed openLilyLib on Windows? Any idea?

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


Re: openLilyLib on Windows 10

2017-07-14 Thread Urs Liska
I will give some more comments to this. I must say I'm at a loss here,
although I'm pretty sure the problem is neither in the package itself
nor in the way Daniel has "installed" them. I suspect that it's either
an OS thing or some peculiarity of downloading ZIP files from Github.


Am 14.07.2017 um 23:57 schrieb Daniel Sanmartín Nieto:
> Hello! I come from the GNU LilyPond Facebook group, where I was helped
> by Mr. Liska, but we couldn't find a solution, so he recommended me to
> ask in this mailing list. My problem is that I cannot install
> openLilyLib on Windows 10.
>
> This is the "background":
>
> –I'm trying to install the openLilyLib core package (oll-core) on a
> Windows 10 computer running LilyPond 2.19.63 and Frescobaldi 3.0.1.
>
> –I followed these steps:
> +I downloaded the oll-core package zip file from git.
> +I unzipped it.
> +I created a folder named "openLilyLib" on my hard disk, in which
> I copied the oll-core-master folder.
> +I added this folder (C:\openLilyLib\oll-core-master) to the
> LilyPond's path through the "Preferences" dialog in Frescobaldi.

Maybe *now* I'm seeing the problem!
Actually your description would be wrong as it is "C:\openLilyLib" which
has to be in the include path.
But from the Frescobaldi screenshot you posted on FB I know that you
actually *have* this.

What I did not know until now is that Github renames the root directory
in the ZIP file, adding the branch name to it. So instead of "oll-core"
(which is the name of the repository) there is a folder
"oll-core-master" in the ZIP file one gets as download.

So I *think* the situation on your computer is as follows:
* There is a directory C:\openLilyLib on your disk
* This directory C:\openLilyLib is added to LilyPond's path through
Frescobaldi
* You include "oll-core/package.ily"
* LilyPond looks for this by appending it to all include paths:
  => it looks for C:\openLilyLib\oll-core\package.ily
* But the file actually is in C:\openLilyLib\oll-core-master\package.ily

>
> But when I try to compile something like this:
>
> \version "2.19.63"
> \include "oll-core-master/package.ily"
> \relative c'' {c4 d e f}
>
> LilyPond returns a "code 1" error. This is the (end of the) output:
>
> \include
> "oll-core/package.ily"
>
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Layout output to `./tmp-lilypond-QDpLwK'...
> Converting to `document.pdf'...
> Deleting `./tmp-lilypond-QDpLwK'...
> fatal error: failed files:
> "C:\\Users\\Hp\\AppData\\Local\\Temp\\frescobaldi-fidddenn\\tmpx1ledftl\\document.ly
> "
> Exited with return code 1.

Well, you should not post the *end* of the log but rather the beginning,
where it says "error: cannot find file".

In this post you try to include oll-core-master/package.ily which
*looks* right. I assume that when you do this it actually finds the
file. But as openLilyLib relies on the directory structure it will then
probably choke on later includes.

So please check again, after renaming the oll-core-master directory to
oll-core (and do the same with any other packages you may have downloaded).

If this is the solution then it's something I should definitely
document. I wasn't aware of that (because I had never downloaded a ZIP
from Github before, sorry.

HTH
Urs

>
> Mr. Liska thinked that it could be an issue with the handling of
> slashes on Windows, so I tried to include several files on other
> LilyPond documents, testing the include path with both back and
> forward slashes (and absolute and relative paths), and LilyPond
> compiled these files without problem.
>
> Could it be an issue with the way that different OS's handle paths?
> Anybody has installed openLilyLib on Windows? Any idea?
>
> Thank you.
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org

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


Re: openLilyLib on Windows 10

2017-07-14 Thread Karlin High
I've never used OpenLilyLib before, and am not sure what's available there or 
how to use it. But I have Windows 7 64-bit SP1 running LilyPond 2.19.62 and 
tried to replicate the error. Not using Frescobaldi for this test. I dowloaded 
oll-core-master from github and have it like this:

C:\oll\oll-core-master\ has package.ily and friends
C:\oll\olltest.ly has the test code from the OP, with version number changed to 
match mine

First run produced a PDF, and also this log:
% BEGIN LOG %
# -*-compilation-*-
Processing `C:/oll/olltest.ly'
Parsing...
:1:10: error: cannot find file: `oll-core/internal/os-path.ily'
(search path: `C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/scm;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/ps;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/ly;')
\include
 "oll-core/internal/os-path.ily"
C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an error for the 
expression beginning here
#
 (if (not (defined? 'openlilylib-root))
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-uxphpA'...
Converting to `/oll/olltest.pdf'...
Deleting `./tmp-lilypond-uxphpA'...
fatal error: failed files: "C:\\oll\\olltest.ly"
% END LOG %
Hmm... something wants a folder oll-core instead of oll-core-master? No 
problem, I made a copy of the folder and renamed it accordingly. Afterwards I 
get this:
% BEGIN LOG %
# -*-compilation-*-
Processing `C:/oll/olltest.ly'
Parsing...
C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an error for the 
expression beginning here
#
 (if (not (defined? 'openlilylib-root))
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-P396xA'...
Converting to `/oll/olltest.pdf'...
Deleting `./tmp-lilypond-P396xA'...
fatal error: failed files: "C:\\oll\\olltest.ly"
% END LOG %
But it still produced a good-looking PDF, pessimistic error message 
notwithstanding.
--
Karlin High
Missouri, USA

Still using Hotmail/Outlook, *sometimes* messages make it to the list.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: openLilyLib on Windows 10

2017-07-14 Thread Urs Liska


Am 15.07.2017 um 01:22 schrieb Karlin High:
> I've never used OpenLilyLib before, and am not sure what's available
> there or how to use it. But I have Windows 7 64-bit SP1 running
> LilyPond 2.19.62 and tried to replicate the error. Not using
> Frescobaldi for this test. I dowloaded oll-core-master from github and
> have it like this:
>
> C:\oll\oll-core-master\ has package.ily and friends
> C:\oll\olltest.ly has the test code from the OP, with version number
> changed to match mine
>
> First run produced a PDF, and also this log:
>
> % BEGIN LOG %
> # -*-compilation-*-
> Processing `C:/oll/olltest.ly'
> Parsing...
> :1:10: error: cannot find file:
> `oll-core/internal/os-path.ily'
> (search path: `C:/Program Files
> (x86)/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program
> Files
> (x86)/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program
> Files
> (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program
> Files (x86)/LilyPond/usr/share/lilypond/current/scm;C:/Program
> Files (x86)/LilyPond/usr/share/lilypond/current/ps;C:/Program
> Files (x86)/LilyPond/usr/share/lilypond/current/ly;')
> \include
>  "oll-core/internal/os-path.ily"
> C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an
> error for the expression beginning here
> #
>  (if (not (defined? 'openlilylib-root))
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Layout output to `./tmp-lilypond-uxphpA'...
> Converting to `/oll/olltest.pdf'...
> Deleting `./tmp-lilypond-uxphpA'...
> fatal error: failed files: "C:\\oll\\olltest.ly"
> % END LOG %
>
> Hmm... something wants a folder oll-core instead of oll-core-master?
> No problem, I made a copy of the folder and renamed it accordingly.
> Afterwards I get this:
>
> % BEGIN LOG %
> # -*-compilation-*-
> Processing `C:/oll/olltest.ly'
> Parsing...
> C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an
> error for the expression beginning here
> #
>  (if (not (defined? 'openlilylib-root))
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Layout output to `./tmp-lilypond-P396xA'...
> Converting to `/oll/olltest.pdf'...
> Deleting `./tmp-lilypond-P396xA'...
> fatal error: failed files: "C:\\oll\\olltest.ly"
> % END LOG %
>
> But it still produced a good-looking PDF, pessimistic error message
> notwithstanding.

There's one thing missing in your set-up, and it is more or less by
accident that you got over the first step.
You should place your test file anywhere else because in your set-up
LilyPond found oll-core/package.ily only because you accidentally placed
it at the correct relative position.

The other (crucial) thing is that you have to add C:\oll to LilyPond's
include path, which from the command line you'd do with the command line
option -I "C:\oll".

Urs

> --
> Karlin High
> Missouri, USA
>
> Still using Hotmail/Outlook, *sometimes* messages make it to the list.

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org

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


print rehearsal marks in multiple parts

2017-07-14 Thread Joshua Nichols
Elaine Gould recommends that rehearsal and tempo marks be printed in
multiple places in addition to the top of the systems.

How can I force Lilypond do print tempo marks in multiple places? e.g. at
the top of the vocal section and at the top of the keyboard accompaniment.

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


Re: print rehearsal marks in multiple parts

2017-07-14 Thread Hwaen Ch'uqi
Greetings Josh,

In your \layout block, include this to allow you more flexibility with
your tempo and rehearsal markings:

\context {
  \Score
  \remove Metronome_mark_engraver
  \remove Mark_engraver
}

Then, in the approriate staves, include this block

\new Staff \with {
  \consists "Metronome_mark_engraver"
  \consists "Mark_engraver"
}

Hope this helps!

Hwaen Ch'uqi


On 7/14/17, Joshua Nichols  wrote:
> Elaine Gould recommends that rehearsal and tempo marks be printed in
> multiple places in addition to the top of the systems.
>
> How can I force Lilypond do print tempo marks in multiple places? e.g. at
> the top of the vocal section and at the top of the keyboard accompaniment.
>
> Thanks!
> --
> Josh
>

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


Re: print rehearsal marks in multiple parts

2017-07-14 Thread Kieren MacMillan
Hi Joshua,

> How can I force Lilypond do print tempo marks in multiple places? e.g. at the 
> top of the vocal section and at the top of the keyboard accompaniment.

Search the archives and LSR for "ScoreMarks" and/or "MarkLine" — you'll find 
lots of hints and templates.

Hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: print rehearsal marks in multiple parts

2017-07-14 Thread Shevek
My recommendation is to use a MarkLine context, as in this snippet:
http://lsr.di.unimi.it/LSR/Item?id=1010

You might need to modify the exact definition of MarkLine depending on your
needs.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/print-rehearsal-marks-in-multiple-parts-tp204420p204423.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


Re: print rehearsal marks in multiple parts

2017-07-14 Thread Joshua Nichols
Thank you Hwaen: This was exactly what I was looking for!

--
Josh

On Fri, Jul 14, 2017 at 9:18 PM, Hwaen Ch'uqi  wrote:

> Greetings Josh,
>
> In your \layout block, include this to allow you more flexibility with
> your tempo and rehearsal markings:
>
> \context {
>   \Score
>   \remove Metronome_mark_engraver
>   \remove Mark_engraver
> }
>
> Then, in the approriate staves, include this block
>
> \new Staff \with {
>   \consists "Metronome_mark_engraver"
>   \consists "Mark_engraver"
> }
>
> Hope this helps!
>
> Hwaen Ch'uqi
>
>
> On 7/14/17, Joshua Nichols  wrote:
> > Elaine Gould recommends that rehearsal and tempo marks be printed in
> > multiple places in addition to the top of the systems.
> >
> > How can I force Lilypond do print tempo marks in multiple places? e.g. at
> > the top of the vocal section and at the top of the keyboard
> accompaniment.
> >
> > Thanks!
> > --
> > Josh
> >
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: print rehearsal marks in multiple parts

2017-07-14 Thread Joshua Nichols
Kieren,

I felt a little intimidated by the significant snippet you were probably
thinking of. But, Hwaen provided a sufficient hack for my small ensemble
music. :) Thanks! I'll look into that other hack when I feel a little less
intimidated. :/

--
Josh

On Fri, Jul 14, 2017 at 9:19 PM, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Joshua,
>
> > How can I force Lilypond do print tempo marks in multiple places? e.g.
> at the top of the vocal section and at the top of the keyboard
> accompaniment.
>
> Search the archives and LSR for "ScoreMarks" and/or "MarkLine" — you'll
> find lots of hints and templates.
>
> Hope this helps!
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: openLilyLib on Windows 10

2017-07-14 Thread Karlin High
On 7/14/2017 7:02 PM, Urs Liska wrote:
> There's one thing missing in your set-up, and it is more or less by 
> accident that you got over the first step.
> You should place your test file anywhere else because in your set-up 
> LilyPond found oll-core/package.ily only because you accidentally 
> placed it at the correct relative position.

No accident, that was on purpose. I figured it would need "includes," 
and was too lazy to figure out exactly where and how, so having the same 
relative file path seemed most likely to work.

>
> The other (crucial) thing is that you have to add C:\oll to LilyPond's 
> include path, which from the command line you'd do with the command 
> line option -I "C:\oll".
>
> Urs

Okay, I'll try again. I moved the olltest.ly file to 
C:\Users\karlin\Music\LilyPond\olltest and re-ran the experiment from 
the command line, instead of using right-click, generate PDF.

C:\Users\karlin\Music\LilyPond\olltest>lilypond -I C:\oll\ olltest.ly
GNU LilyPond 2.19.62
Processing `olltest.ly'
Parsing...
:1:10: error: cannot find file: `oll-core/internal/os-path.ily'
(search path: `C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/fonts/
svg/;C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/
Program Files
(x86)/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program Fi
les (x86)/LilyPond/usr/share/lilypond/current/scm;C:/Program Files
(x86)/LilyPon
d/usr/share/lilypond/current/ps;C:/Program Files
(x86)/LilyPond/usr/share/lilypo
nd/current/ly;C:\oll\;')
\include
  "oll-core/internal/os-path.ily"
C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an
error for the
expression beginning here
#
  (if (not (defined? 'openlilylib-root))
Unbound variable: this-parent
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-z9xd5r'...
Converting to `olltest.pdf'...
Deleting `./tmp-lilypond-z9xd5r'...
fatal error: failed files: "olltest.ly"

And re-trying after making a copy of C:\oll\oll-core-master\ as 
C:\oll\oll-core\ had this result:

C:\Users\karlin\Music\LilyPond\olltest>lilypond -I C:\oll\ olltest.ly
GNU LilyPond 2.19.62
Processing `olltest.ly'
Parsing...
C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an
error for the
expression beginning here
#
  (if (not (defined? 'openlilylib-root))
Value out of range 0 to 4294967295: -1
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-9QlQpb'...
Converting to `olltest.pdf'...
Deleting `./tmp-lilypond-9QlQpb'...
fatal error: failed files: "olltest.ly"

Would a -V debug log be helpful?
--
Karlin High
Missouri, USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Repeat starting in partial measure

2017-07-14 Thread Mark Stephen Mrotek
Richard,

 

Try removing the \bar "".

Also the bar checks are in the wrong place.

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Richard Chonak
Sent: Thursday, July 13, 2017 4:50 PM
To: lilypond-user@gnu.org.
Subject: Repeat starting in partial measure

 

Dear fellow users,

Can someone advise me on how a repeat-sign behaves in the middle of a measure?

Reducing my score to a small example, here are two lines: 

 cis8\mark | cis'4 b8 a4 b8 | gis4 e8 fis4 \bar "" \break 
 \repeat volta 2 { gis8 | cis4. fis,4. | fis8 e b cis4 }  \break

I'd like the first system to break within a measure, and end with no barline. 

The volta in the second system starts with a partial measure, and of course I'd 
like a repeat-sign there, but it's not appearing.

(I'll try to insert an image here to illustrate the output: hope it comes 
through.)





If I add the repeat sign expressly, it does appear in the output:

 cis8\mark | cis'4 b8 a4 b8 | gis4 e8 fis4 \bar "" \break
 \bar ".|:"
 \repeat volta 2 { gis8 | cis4. fis,4. | fis8 e b cis4 } 

but an unwanted barline is added to the end of line 1.



Do I need to add some Scheme code to modify the behavior of the repeat-sign? 

Thanks for any advice you can offer!

Richard 

 

 

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