|
From: | Urs Liska |
Subject: | Re: historical treatises – various questions |
Date: | Sun, 29 Mar 2020 17:14:20 +0200 |
User-agent: | Evolution 3.36.0-1 |
Hi Derek, Am Sonntag, den 29.03.2020, 16:40 +0200 schrieb Derek Remeš: Greetings, Good idea :-)
Definitely separate examples. Ideally you should have some sort of infrastructure for managing that. I have just done that with the music examples for Leopold Mozart's violin school (600-700 examples, depending on the counting). Definitely you should have one file per example, plus a common LilyPond infrastructure to include from each .ly file. Depending on the time frame of your project I might help you. For the Mozart I created an extension to Frescobaldi managing the repertoire (see attached screenshot), but I have the strong incentive to generalize this approach; having a concrete project for that might help pushing it forward and having a basis for investigating the generalization.
I would *suggest* doing that in the LaTeX domain. Not lyluatex but something else. Depending on what you want it will probably the best idea to just use figure environments, which give you automatic numbering and even an automatic list of figures (or my not-yet-finished lyluateXMP package that also handles missing or failed scores in a straightforward fashion.
Create a music function that you can use like \originalPageBreak 12 13 which then will insert *something* at that point in a consistent manner (including an actual break if at one point you want to have it that way, e.g. for proof-reading). See https://github.com/openlilylib/scholarly/blob/master/usage-examples/diplomatic-line-breaks.ly and https://github.com/openlilylib/scholarly/blob/master/usage-examples/diplomatic-line-breaks.preview.png for an example.
One very general suggestion: If you are going to use lyluatex you will use LuaLaTeX, and that gives you pretty much power to use Lua for purposes of building/composing documents from arbitrarily-formatted input data. HTH
Urs
|
frescobaldi-extension.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |