Re: Guitar string bends

2019-09-03 Thread Thomas Morley
Am Di., 3. Sept. 2019 um 16:08 Uhr schrieb Federico Bruni :
>
>
>
> Il giorno mar 3 set 2019 alle 15:36, Randy Josleyn
>  ha scritto:
> > Hi all,
> >
> > (Sorry for the duplicate, I didn't know how I replied created issues
> > for others.)
> >
> > What's the state of Lilypond's support for notating bends in guitar
> > music? I've read ["The Story of 'String Bending' in Lilypond"][1] on
> > the Lilypond blog, and that seemed promising, but it seems work on
> > the new bend engraver has stopped.
> >
>
> As far as I know, there's only one person, Harm, who worked on this
> stuff in the last few years.
> I guess he will reply to this thread and let us know if there's any
> progress to be expected in the future.
>
>
> > I'm interested specifically in the angled lines that indicate bends
> > in the regular staff, more or less like what is shown in the attached
> > PDF (from [issue 1196][2] mentioned in the blog post).
> >
> > If it's not there yet, I can always use some other notation to
> > indicate bending---after all, I'm only using Lilypond to do some
> > transcriptions and lead sheets for myself---but it would be a good
> > feature. To me, it's also probably the only significant shortcoming
> > of Lilypond.
> >
> >
> > Hoping for good news! If there's anything I can do to help, I'll do
> > what I can, although my coding skills are kinda basic.
> >
>
> The angled lines in the staff were present in the old implementation by
> Marc Hohl.
> IIRC Harm told me that porting that portion of Marc's code into his
> implementation shouldn't be too difficult. Well, if you can code and
> know Scheme.
>
> You may test your coding skills and try? ;-)

Hi,

yes, the bend-engraver still misses functionality for those "angled"
lines in regular Voices.
Though, currently I've not the time to work on it, sorry.
Anyway, shouldn't be too hard to use Marc's older code and limit it to
Voice, as Federico already said.

If you (or someone else) give it a try, I may find some time somewhere
to give some hints, but can't do more atm.

Cheers,
  Harm

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


Re: Glyph sample sheet

2019-09-03 Thread Urs Liska
3. September 2019 20:08, "Lukas-Fabian Moser"  schrieb:

>> https://github.com/frescobaldi/frescobaldi/pull/1075#issuecomment-527535750 
>> is a screencast of how
>> the font preview currently looks like. Note that I haven't implemented the 
>> use of *text* fonts yet.
> 
> This works nicely for me (from the show-available-fonts Frescobaldi branch).
> 
> But what I was thinking: While debugging, it might be helpful to see the 
> Lilypond output when the
> font preview is generated. But in "actual life", I think it would be 
> preferable to keep the
> previous selected font in the image for easier comparison. But of course, 
> then some progress bar
> during the generation of the preview images would be desirable, and I have no 
> idea how hard this is
> to obtain during a Lilypond run.

This is a good idea, and I have updated 
https://github.com/frescobaldi/frescobaldi/issues/1164 to add that as a wish. 
However, I'm not sure how complicated it is, and I'd consider this a rather 
low-key request.

Urs

> 
> Best
> Lukas

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


Re: Running Frescobaldi 3 on OSX?

2019-09-03 Thread Stanton Sanderson
For what it's worth, I have been successfully running Frescobaldi 3.0.0 on Mac 
OS 10.14.6, compiled by MacPorts (base version 2.5.4) for some time with no 
problems noted. 

frescobaldi-devel @20180806 (editors, python)
Variants: [+]app, universal

Description:  Frescobaldi is an advanced text editor to edit LilyPond
  sheet music files. Features include an integrated PDF
  preview and a powerful Score Wizard.
Homepage: https://github.com/wbsoft/frescobaldi

Build Dependencies:   py37-setuptools, py37-py2app
Library Dependencies: python37, py37-ly
Runtime Dependencies: portmidi, py37-pyqt5, py37-poppler-qt5
Conflicts with:   frescobaldi, frescobaldi2
Platforms:darwin
License:  GPL-2+
Maintainers:  Email: davide.lie...@gmail.com, GitHub: dliessi
  Policy: openmaintainer

Stan


> On Sep 3, 2019, at 1:59 PM, John Helly  wrote:
> 
> Aloha.
> 
> I did work compiling FB with LP but gave in in favor of the MacPorts
> version which is working for me.  I'm running OSX 10.4.3 and don't have
> much to say about Qt.  I perhaps could answer specific questions about
> what FB is using based on the console log if that would help.
> 
> J.
> 
> On 9/3/19 10:51, Henning Hraban Ramm wrote:
>> Hi,
>> 
>> I guess *someone* did manage to compile Frescobaldi 3.x on a Mac.
>> I juggled around with PyQT, MacPorts and Homebrew and didn’t succeed for a 
>> long time, there was always at least one of the many dependencies missing or 
>> not compiling. (First on OSX 10.9.5, now on 10.14.6)
>> 
>> Now it looks like I got everything with MacPorts, but if I call the 
>> frescobaldi script from the egg, I get:
>> 
>> $ 
>> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi
>>  
>> 
>> objc[34400]: Class QMacAutoReleasePoolTracker is implemented in both 
>> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
>>  (0x10876a5a0) and 
>> /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87a70). 
>> One of the two will be used. Which one is undefined.
>> objc[34400]: Class 
>> QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE
>>  is implemented in both 
>> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
>>  (0x10876a618) and 
>> /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87ae8). 
>> One of the two will be used. Which one is undefined.
>> objc[34400]: Class RunLoopModeTracker is implemented in both 
>> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
>>  (0x10876a640) and 
>> /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87b10). 
>> One of the two will be used. Which one is undefined.
>> Traceback (most recent call last):
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/plugin.py",
>>  line 79, in instance
>>return _instances[cls][obj]
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
>>  line 396, in __getitem__
>>return self.data[ref(key)]
>> KeyError: > (PanelManager)>
>> 
>> During handling of the above exception, another exception occurred:
>> 
>> Traceback (most recent call last):
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi",
>>  line 11, in 
>>main.main() # Parse command line, create windows etc
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/main.py",
>>  line 247, in main
>>win = mainwindow.MainWindow()
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
>>  line 128, in __init__
>>self.createMenus()
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
>>  line 1010, in createMenus
>>menu.createMenus(self)
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
>>  line 61, in createMenus
>>m.addMenu(menu_file(mainwindow))
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
>>  line 96, in menu_file
>>m.addMenu(snippet.menu.TemplateMenu(mainwindow))
>>  File 
>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/snippet/menu.py",
>>  line 139, in __init__
>>  

Re: Running Frescobaldi 3 on OSX?

2019-09-03 Thread John Helly
Aloha.

I did work compiling FB with LP but gave in in favor of the MacPorts
version which is working for me.  I'm running OSX 10.4.3 and don't have
much to say about Qt.  I perhaps could answer specific questions about
what FB is using based on the console log if that would help.

J.

On 9/3/19 10:51, Henning Hraban Ramm wrote:
> Hi,
>
> I guess *someone* did manage to compile Frescobaldi 3.x on a Mac.
> I juggled around with PyQT, MacPorts and Homebrew and didn’t succeed for a 
> long time, there was always at least one of the many dependencies missing or 
> not compiling. (First on OSX 10.9.5, now on 10.14.6)
>
> Now it looks like I got everything with MacPorts, but if I call the 
> frescobaldi script from the egg, I get:
>
> $ 
> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi
>  
>
> objc[34400]: Class QMacAutoReleasePoolTracker is implemented in both 
> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
>  (0x10876a5a0) and 
> /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87a70). 
> One of the two will be used. Which one is undefined.
> objc[34400]: Class 
> QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE
>  is implemented in both 
> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
>  (0x10876a618) and 
> /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87ae8). 
> One of the two will be used. Which one is undefined.
> objc[34400]: Class RunLoopModeTracker is implemented in both 
> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
>  (0x10876a640) and 
> /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87b10). 
> One of the two will be used. Which one is undefined.
> Traceback (most recent call last):
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/plugin.py",
>  line 79, in instance
> return _instances[cls][obj]
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
>  line 396, in __getitem__
> return self.data[ref(key)]
> KeyError: 
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi",
>  line 11, in 
> main.main() # Parse command line, create windows etc
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/main.py",
>  line 247, in main
> win = mainwindow.MainWindow()
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
>  line 128, in __init__
> self.createMenus()
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
>  line 1010, in createMenus
> menu.createMenus(self)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
>  line 61, in createMenus
> m.addMenu(menu_file(mainwindow))
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
>  line 96, in menu_file
> m.addMenu(snippet.menu.TemplateMenu(mainwindow))
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/snippet/menu.py",
>  line 139, in __init__
> self.addAction(self.tool().actionCollection.templates_manage)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/snippet/menu.py",
>  line 59, in tool
> return panelmanager.manager(self.mainwindow()).snippettool
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
>  line 36, in manager
> return PanelManager.instance(mainwindow)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/plugin.py",
>  line 84, in instance
> result.__init__(obj)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
>  line 51, in __init__
> self.loadPanel("musicview.MusicViewPanel")
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
>  line 86, in loadPanel
> __import__(module_name)

Re: Glyph sample sheet

2019-09-03 Thread Lukas-Fabian Moser



https://github.com/frescobaldi/frescobaldi/pull/1075#issuecomment-527535750 is 
a screencast of how the font preview currently looks like. Note that I haven't 
implemented the use of *text* fonts yet.


This works nicely for me (from the show-available-fonts Frescobaldi branch).

But what I was thinking: While debugging, it might be helpful to see the 
Lilypond output when the font preview is generated. But in "actual 
life", I think it would be preferable to keep the previous selected font 
in the image for easier comparison. But of course, then some progress 
bar during the generation of the preview images would be desirable, and 
I have no idea how hard this is to obtain during a Lilypond run.


Best
Lukas


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


Running Frescobaldi 3 on OSX?

2019-09-03 Thread Henning Hraban Ramm
Hi,

I guess *someone* did manage to compile Frescobaldi 3.x on a Mac.
I juggled around with PyQT, MacPorts and Homebrew and didn’t succeed for a long 
time, there was always at least one of the many dependencies missing or not 
compiling. (First on OSX 10.9.5, now on 10.14.6)

Now it looks like I got everything with MacPorts, but if I call the frescobaldi 
script from the egg, I get:

$ 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi
 

objc[34400]: Class QMacAutoReleasePoolTracker is implemented in both 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
 (0x10876a5a0) and 
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87a70). 
One of the two will be used. Which one is undefined.
objc[34400]: Class 
QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE 
is implemented in both 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
 (0x10876a618) and 
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87ae8). 
One of the two will be used. Which one is undefined.
objc[34400]: Class RunLoopModeTracker is implemented in both 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
 (0x10876a640) and 
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87b10). 
One of the two will be used. Which one is undefined.
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/plugin.py",
 line 79, in instance
return _instances[cls][obj]
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
 line 396, in __getitem__
return self.data[ref(key)]
KeyError: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi",
 line 11, in 
main.main() # Parse command line, create windows etc
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/main.py",
 line 247, in main
win = mainwindow.MainWindow()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
 line 128, in __init__
self.createMenus()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
 line 1010, in createMenus
menu.createMenus(self)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
 line 61, in createMenus
m.addMenu(menu_file(mainwindow))
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
 line 96, in menu_file
m.addMenu(snippet.menu.TemplateMenu(mainwindow))
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/snippet/menu.py",
 line 139, in __init__
self.addAction(self.tool().actionCollection.templates_manage)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/snippet/menu.py",
 line 59, in tool
return panelmanager.manager(self.mainwindow()).snippettool
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
 line 36, in manager
return PanelManager.instance(mainwindow)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/plugin.py",
 line 84, in instance
result.__init__(obj)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
 line 51, in __init__
self.loadPanel("musicview.MusicViewPanel")
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
 line 86, in loadPanel
__import__(module_name)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/musicview/__init__.py",
 line 56, in 
from . import documents
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/musicview/documents.py",
 line 32, in 
import popplerqt5
ValueError: PyCapsule_GetPointer called with incorrect name


If I remove (hide, rename) one of the two QtCore instances, it fails earlier, 
because 

Re: Creating combined manuscript/ruled paper

2019-09-03 Thread tyronicus
> I'm attempting to use LilyPond to create sheets with blank staves on the 
> left half of the page and college-ruled paper (equidistant lines spaced 
> by 9/32in, or 7.1mm, apart) on the right. 
... 
> How might I go about doing something like this? 

You could use a weird score to do the notes side too.

This is what I could come up with in a couple minutes. Of course you'd
probably want thinner lines and no starting barline (I don't know why that's
appearing). And you'd want more music staves. But you could use this as a
starting point.

%%
\version "2.19.48" 

\markup { 
   \override #'(span-factor . 31/64) 
   \fill-line { 
 \column { Left 
   \score { \repeat unfold 4 { s1 \break } 
 \layout { 
   indent = 0 ragged-right = ##f line-width = 3.6\in 
   \context { \Score 
 \omit Clef \omit TimeSignature \omit BarNumber \omit BarLine 
   } 
 } 
   } 
 } 
 \column { Right 
   \score { s1 
 \layout { 
   indent = 0 ragged-right = ##f line-width = 3.6\in 
   \context { \Score 
 \omit Clef \omit TimeSignature \omit BarNumber \omit BarLine 
   }
   \override Staff.StaffSymbol.line-count = #38
   #(layout-set-staff-size 81)
 } 
   }
 } 
   } 
} 




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Glyph sample sheet

2019-09-03 Thread Urs Liska
3. September 2019 18:14, "Lukas-Fabian Moser"  schrieb:

>> Do you think you can manage smuggling in a time signature and a key change 
>> (to a flat key of
>> course)? This is absolutely not necessary, though. I'll report with a 
>> screencast when I've
>> integrated it.
> 
> The key change is no problem at all (and an actual improvement since in the 
> first version there was
> a key signature mismatch at the end of the \repeat), see attached. I can 
> think about a time
> signature change too if it is of help.

"Of help" not so much, but it would be add a nice touch to the visuals.

https://github.com/frescobaldi/frescobaldi/pull/1075#issuecomment-527535750 is 
a screencast of how the font preview currently looks like. Note that I haven't 
implemented the use of *text* fonts yet.

Urs

> 
> Best
> Lukas

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


Re: Glyph sample sheet

2019-09-03 Thread Lukas-Fabian Moser



Do you think you can manage smuggling in a time signature and a key change (to 
a flat key of course)? This is absolutely not necessary, though. I'll report 
with a screencast when I've integrated it.


The key change is no problem at all (and an actual improvement since in 
the first version there was a key signature mismatch at the end of the 
\repeat), see attached. I can think about a time signature change too if 
it is of help.


Best
Lukas


\version "2.19.33"

\paper {
  #(define fonts
 (set-global-fonts
  #:music "lilyjazz"
  #:brace "lilyjazz"
  #:roman "lilyjazz-text"
  #:sans "lilyjazz-chord"
  #:factor (/ staff-height pt 20)
  ))
}

\paper {
  indent = 0\mm
  system-system-spacing.padding = 5
  markup-system-spacing = #'((basic-distance . 23)
 (minimum-distance . 8)
 (padding . 3))
}

title = "The Quick Brown Fox"
composer = "-Moser"
meter = "(Uptempo ballad)"

realBookTitle = \markup {
  \score {
{
  \override TextScript.extra-offset = #'(0 . -4.5)
  s4
  s^\markup {
\fill-line {
  \fontsize #1 \lower #1 \rotate #7 \concat { " " #meter }
  \fontsize #8
  \override #'(offset . 7)
  \override #'(thickness . 6)
  \underline \sans #title
  \fontsize #1 \lower #1 \concat { #composer " " }
}
  }
  s
}

\layout {
  \once \override Staff.Clef.stencil = ##f
  \once \override Staff.TimeSignature.stencil = ##f
  \once \override Staff.KeySignature.stencil = ##f
  ragged-right = ##f
  %   \override TextScript.font-name = #"Pea Missy with a Marker"
}
  }
}

\header {
  title = \realBookTitle
  tagline = ##f
}

theNotes = \relative c' {
  \set Staff.midiInstrument = "flute"
  \key f \major
  % \showStartRepeatBar
  \partial 8
  c8
  \bar "[|:"
  \repeat volta 2 {
a'4 r g r
f4 bes2.
\tuplet 3/2 { a4 g f } g4 a8 a~
a2~ 8 es4 d8
bes'4 r \tuplet 3/2 { d( c) bes }
a8 g~ g2 f4
a1
b2. e,4
\bar "||"
\key a \major
cis'2 e
b4. e8~ e4 e,
a2 cis
gis4. cis8~ 2
fis,2 gis4 a8 b~
b a4. gis4 a
e1~
2. 4
cis'2 e4. fis8~
4 e2 e,4
fis2 a4. b8~
4 a2.
\bar "||"
\key f \major
d,2 e4( f)
g4 f es des
a'1(
c2~ 8) d,4 c8
\bar ":|]"
  }
}

theChords = \chordmode {
  s8
  f2 a:7 |
  bes4:maj7 g2.:m7.5- |
  bes2:maj7/c c:9 |
  es:11+ d:7.9- |
  g1:m7 |
  bes:m6 |
  b:m7 |
  e:9 |
  a |
  e/gis |
  fis:m |
  cis2:m/e a:9 |
  d2:maj7.9 d:6 |
  dis1:dim7 |
  e:sus4.7 |
  e:7 |
  a |
  cis:m7.5- |
  d |
  d:m6/f |
  bes:maj7 |
  g:m7.5- |
  f/c |
  bes2/c c:7 |
}

theWords = \lyricmode {
  The quick brown fox jumps
  o -- ver the la -- zy dog __
  while the five box -- ing wi -- zards
  jump quick -- ly,
  oh Sphinx of black quartz,
  oh Sphinx of black quartz,
  dear Sphinx of black __ quartz judge my vow, __
  oh Sphinx of black quartz,
  my Sphinx of black quartz,
  Sphinx of __ black quartz judge my vow. __
  'cause the
}

\score {
  <<
\new ChordNames \theChords

\new Voice = vocalVoice \theNotes

\new Lyrics \lyricsto vocalVoice \theWords
  >>

  \layout {
% make only the first clef visible
%  \override Score.Clef #'break-visibility = #'#(#f #f #f)

% make only the first time signature visible
%   \override Score.KeySignature #'break-visibility = #'#(#f #f #f)

% allow single-staff system bars
%   \override Score.SystemStartBar #'collapse-height = #1

% set lyric hyphens thickness
\override LyricHyphen.thickness = #4

% set score volta bracket font
%  \override Score.VoltaBracket.font-name = #"Pea Missy with a Marker"
  }

  \midi {
\tempo 2 = 64
  }
}


Quick Brown Fox.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Creating combined manuscript/ruled paper

2019-09-03 Thread karl
Sam:
> I'm attempting to use LilyPond to create sheets with blank staves on the 
> left half of the page and college-ruled paper (equidistant lines spaced 
> by 9/32in, or 7.1mm, apart) on the right.
...
> How might I go about doing something like this?

This one is for a one page (A4) postscript version,
dimensions in mm, adjust as you see fit:
/
/a 72 25.4 div def
a a scale
0.1 setlinewidth

/xmin  10   def
/xlen  90   def

/ymin  32   def
/yst1.7 def
/ysep  10.5 def

/nst   14   def

%%
/y ymin def
nst {
5 {
xmin y moveto xlen 0 rlineto stroke
/y y yst add def
} repeat
/y y ysep add def
} repeat

%%
/xmin 105   def
/xlen 105   def

/ysep  -7.1 def
/ymin   0   def
/ymax 297   def

ymax ysep ymin {
xmin exch moveto xlen 0 rlineto stroke
} for

showpage
/

Regards,
/Karl Hammar


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


Re: Creating combined manuscript/ruled paper

2019-09-03 Thread karl
Sam:
> I'm attempting to use LilyPond to create sheets with blank staves on the 
> left half of the page and college-ruled paper (equidistant lines spaced 
> by 9/32in, or 7.1mm, apart) on the right.
...
> How might I go about doing something like this?

This is a thing you easily code directly in postscript.

///
%A4: 210 297mm
%72 per tum, 72/25.4 per mm
/a 72 25.4 div def
a a scale
0.1 setlinewidth

/xmin  18   def
/xlen 180   def

/ymin  32   def
/yst1.7 def
/ysep  10.5 def

/nst   14   def

/y ymin def

nst {
5 {
xmin y moveto xlen 0 rlineto stroke
/y y yst add def
} repeat
/y y ysep add def
} repeat

showpage

a a scale
0.1 setlinewidth

/xmin   0   def
/xlen 210   def

/ysep  -7.1 def
/ymin   0   def
/ymax 297   def

ymax ysep ymin {
xmin exch moveto xlen 0 rlineto stroke
} for

showpage
//

Regards,
/Karl Hammar



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


Re: Glyph sample sheet

2019-09-03 Thread Lukas-Fabian Moser



That would be great!

So far I've seen:

* I'd remove the bass staff completely
* the paper block should be removed (fonts are injected through Frescobaldi)
* all the other stuff with the layout blocks and the score-markup header works 
without problem.

The only remaining issue is that the example will rely on the presence of the 
lilyjazz-chords and lilyjazz-text fonts, but this is something that can be done 
through documentation.


(It was pleasantly easy to install the lilyjazz fonts, nice to have them 
now.)


How about the attached piece? I hereby decree that this supreme work of 
art be subject to CC BY 4.0. ;-)


Best
Lukas

\version "2.19.33"

\paper {
  #(define fonts
 (set-global-fonts
  #:music "lilyjazz"
  #:brace "lilyjazz"
  #:roman "lilyjazz-text"
  #:sans "lilyjazz-chord"
  #:factor (/ staff-height pt 20)
  ))
}

\paper {
  indent = 0\mm
  system-system-spacing.padding = 5
  markup-system-spacing = #'((basic-distance . 23)
 (minimum-distance . 8)
 (padding . 3))
}

title = "The Quick Brown Fox"
composer = "-Moser"
meter = "(Uptempo ballad)"

realBookTitle = \markup {
  \score {
{
  \override TextScript.extra-offset = #'(0 . -4.5)
  s4
  s^\markup {
\fill-line {
  \fontsize #1 \lower #1 \rotate #7 \concat { " " #meter }
  \fontsize #8
  \override #'(offset . 7)
  \override #'(thickness . 6)
  \underline \sans #title
  \fontsize #1 \lower #1 \concat { #composer " " }
}
  }
  s
}

\layout {
  \once \override Staff.Clef.stencil = ##f
  \once \override Staff.TimeSignature.stencil = ##f
  \once \override Staff.KeySignature.stencil = ##f
  ragged-right = ##f
  %   \override TextScript.font-name = #"Pea Missy with a Marker"
}
  }
}

\header {
  title = \realBookTitle
  tagline = ##f
}

theNotes = \relative c' {
  \set Staff.midiInstrument = "flute"
  \key f \major
  % \showStartRepeatBar
  \partial 8
  c8
  \bar "[|:"
  \repeat volta 2 {
a'4 r g r
f4 bes2.
\tuplet 3/2 { a4 g f } g4 a8 a~
a2~ 8 es4 d8
bes'4 r \tuplet 3/2 { d( c) bes }
a8 g~ g2 f4
a1
b2. e,4
\bar "||"
\key a \major
cis'2 e
b4. e8~ e4 e,
a2 cis
gis4. cis8~ 2
fis,2 gis4 a8 b~
b a4. gis4 a
e1~
2. 4
cis'2 e4. fis8~
4 e2 e,4
fis2 a4. b8~
4 a2.
d,2 e4( f)
g4 f es des
a'1(
c2~ 8) d,4 c8
\bar ":|]"
  }
}

theChords = \chordmode {
  s8
  f2 a:7 |
  bes4:maj7 g2.:m7.5- |
  bes2:maj7/c c:9 |
  es:11+ d:7.9- |
  g1:m7 |
  bes:m6 |
  b:m7 |
  e:9 |
  a |
  e/gis |
  fis:m |
  cis2:m/e a:9 |
  d2:maj7.9 d:6 |
  dis1:dim7 |
  e:sus4.7 |
  e:7 |
  a |
  cis:m7.5- |
  d |
  d:m6/f |
  bes:maj7 |
  g:m7.5- |
  f/c |
  bes2/c c:7 |
}

theWords = \lyricmode {
  The quick brown fox jumps
  o -- ver the la -- zy dog __
  while the five box -- ing wi -- zards
  jump quick -- ly,
  oh Sphinx of black quartz,
  oh Sphinx of black quartz,
  dear Sphinx of black __ quartz judge my vow, __
  oh Sphinx of black quartz,
  my Sphinx of black quartz,
  Sphinx of __ black quartz judge my vow. __
  'cause the
}

\score {
  <<
\new ChordNames \theChords

\new Voice = vocalVoice \theNotes

\new Lyrics \lyricsto vocalVoice \theWords
  >>

  \layout {
% make only the first clef visible
%  \override Score.Clef #'break-visibility = #'#(#f #f #f)

% make only the first time signature visible
%   \override Score.KeySignature #'break-visibility = #'#(#f #f #f)

% allow single-staff system bars
%   \override Score.SystemStartBar #'collapse-height = #1

% set lyric hyphens thickness
\override LyricHyphen.thickness = #4

% set score volta bracket font
%  \override Score.VoltaBracket.font-name = #"Pea Missy with a Marker"
  }

  \midi {
\tempo 2 = 64
  }
}


Quick Brown Fox.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Glyph sample sheet

2019-09-03 Thread Urs Liska
LOL, great!

Do you think you can manage smuggling in a time signature and a key change (to 
a flat key of course)? This is absolutely not necessary, though. I'll report 
with a screencast when I've integrated it.

Thanks very much
Urs

3. September 2019 17:38, "Lukas-Fabian Moser"  schrieb:

>> That would be great!
>> 
>> So far I've seen:
>> 
>> * I'd remove the bass staff completely
>> * the paper block should be removed (fonts are injected through Frescobaldi)
>> * all the other stuff with the layout blocks and the score-markup header 
>> works without problem.
>> 
>> The only remaining issue is that the example will rely on the presence of 
>> the lilyjazz-chords and
>> lilyjazz-text fonts, but this is something that can be done through 
>> documentation.
> 
> (It was pleasantly easy to install the lilyjazz fonts, nice to have them now.)
> 
> How about the attached piece? I hereby decree that this supreme work of art 
> be subject to CC BY
> 4.0. ;-)
> 
> Best
> Lukas

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


Re: Creating combined manuscript/ruled paper

2019-09-03 Thread Aaron Hill

On 2019-09-03 7:43 am, Sam Bivens wrote:

I've of course managed to create the blank staves—see the attached
MWE—but I'm having trouble creating the equidistant lines and then
creating a two-column environment in which to include both the staves
and the lines. (If that's even the best approach to the problem.)

How might I go about doing something like this?


If you want to work exclusively in LilyPond, you could use \markup to 
help with the columnar layout.


Consider the following pattern:


\version "2.19.83"

\markup {
  \override #'(span-factor . 31/64)
  \fill-line {
\column { Left
  \score { \repeat unfold 4 { s1 \break }
\layout {
  indent = 0 ragged-right = ##f line-width = 3.6\in
  \context { \Score
\omit Clef \omit TimeSignature \omit BarNumber \omit BarLine
  }
}
  }
}
\column { Right
  \draw-hline \draw-hline \draw-hline
  \draw-hline \draw-hline \draw-hline
  \draw-hline \draw-hline \draw-hline
}
  }
}



-- Aaron Hill

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


Creating combined manuscript/ruled paper

2019-09-03 Thread Sam Bivens

Hi all,

I'm attempting to use LilyPond to create sheets with blank staves on the 
left half of the page and college-ruled paper (equidistant lines spaced 
by 9/32in, or 7.1mm, apart) on the right.


I've of course managed to create the blank staves—see the attached 
MWE—but I'm having trouble creating the equidistant lines and then 
creating a two-column environment in which to include both the staves 
and the lines. (If that's even the best approach to the problem.)


How might I go about doing something like this?

Thanks,

Sam

\version "2.18.2"

\paper {
  #(set-paper-size "letter")
  ragged-last-bottom = ##f
  left-margin = 0.5\in
  bottom-margin = 0.5\in
  top-margin = 0.5\in
  right-margin = 0.5\in
  tagline = ##f
}

%%% FROM http://lsr.di.unimi.it/LSR/Item?id=464 IF THIS IS HELPFUL
#(define-markup-command (columns layout props args) (markup-list?)
   (let ((line-width (/ (chain-assoc-get 'line-width props
 (ly:output-def-lookup layout 'line-width))
(max (length args) 1
 (interpret-markup layout props
   (make-line-markup (map (lambda (line)
(markup #:pad-to-box `(0 . ,line-width) '(0 . 0)
  #:override `(line-width . ,line-width)
  line))
   args)

\score {
  {
\repeat unfold 14 { s1 \break }
  }
  \layout {
indent = 0
\context {
  \Staff
  \remove "Time_signature_engraver"
  \remove "Clef_engraver"
  \remove "Bar_engraver"
}
\context {
  \Score
  \remove "Bar_number_engraver"
}
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar string bends

2019-09-03 Thread Aaron Hill

On 2019-09-03 6:36 am, Randy Josleyn wrote:

(Sorry for the duplicate, I didn't know how I replied created issues
for others.)


When replying to an email, clients are expected to insert the 
"In-Reply-To" header.  This entry makes it possible for other clients to 
keep track of threads of discussion even when the subject line might 
change.


So while you wanted to begin a new conversation, replying to an email 
rather than composing a new one unintentionally associated it with the 
existing thread.


You can review the mailing list archive [1] to better see the effect 
this has.  Note that "Guitar string bending" is nested underneath "Glyph 
sample sheet" whereas "Guitar string bends" stands alone as its own 
thread.


[1]: 
https://lists.gnu.org/archive/html/lilypond-user/2019-09/threads.html


I hope this helps to clear up any confusion.


-- Aaron Hill

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


Re: Guitar string bends

2019-09-03 Thread Federico Bruni



Il giorno mar 3 set 2019 alle 15:36, Randy Josleyn 
 ha scritto:

Hi all,

(Sorry for the duplicate, I didn't know how I replied created issues 
for others.)


What's the state of Lilypond's support for notating bends in guitar 
music? I've read ["The Story of 'String Bending' in Lilypond"][1] on 
the Lilypond blog, and that seemed promising, but it seems work on 
the new bend engraver has stopped.




As far as I know, there's only one person, Harm, who worked on this 
stuff in the last few years.
I guess he will reply to this thread and let us know if there's any 
progress to be expected in the future.



I'm interested specifically in the angled lines that indicate bends 
in the regular staff, more or less like what is shown in the attached 
PDF (from [issue 1196][2] mentioned in the blog post).


If it's not there yet, I can always use some other notation to 
indicate bending---after all, I'm only using Lilypond to do some 
transcriptions and lead sheets for myself---but it would be a good 
feature. To me, it's also probably the only significant shortcoming 
of Lilypond.



Hoping for good news! If there's anything I can do to help, I'll do 
what I can, although my coding skills are kinda basic.




The angled lines in the staff were present in the old implementation by 
Marc Hohl.
IIRC Harm told me that porting that portion of Marc's code into his 
implementation shouldn't be too difficult. Well, if you can code and 
know Scheme.


You may test your coding skills and try? ;-)



Regards,

Randy

[1]: 
http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/

[2]: https://sourceforge.net/p/testlilyissues/issues/1196/
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.




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


Guitar string bends

2019-09-03 Thread Randy Josleyn
Hi all,

(Sorry for the duplicate, I didn't know how I replied created issues for 
others.)

What's the state of Lilypond's support for notating bends in guitar music? I've 
read ["The Story of 'String Bending' in Lilypond"][1] on the Lilypond blog, and 
that seemed promising, but it seems work on the new bend engraver has stopped.

I'm interested specifically in the angled lines that indicate bends in the 
regular staff, more or less like what is shown in the attached PDF (from [issue 
1196][2] mentioned in the blog post). 

If it's not there yet, I can always use some other notation to indicate 
bending---after all, I'm only using Lilypond to do some transcriptions and lead 
sheets for myself---but it would be a good feature. To me, it's also probably 
the only significant shortcoming of Lilypond.

Hoping for good news! If there's anything I can do to help, I'll do what I can, 
although my coding skills are kinda basic.

Regards,

Randy

[1]: http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/
[2]: https://sourceforge.net/p/testlilyissues/issues/1196/
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

guitar-tab_1.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar string bending

2019-09-03 Thread Federico Bruni

Hi Randy

Would you mind starting a new thread instead of replying to the 
existing thread?
Gmail users like you don't see the problem but everybody else gets 
mixed threads this way.


Thank you
Federico

Il giorno mar 3 set 2019 alle 14:58, Randy Josleyn 
 ha scritto:

Hi all,

What's the state of Lilypond's support for notating bends in guitar 
music? I've read ["The Story of 'String Bending' in Lilypond"][1] on 
the Lilypond blog, and that seemed promising, but it seems work on 
the new bend engraver has stopped.


I'm interested specifically in the angled lines that indicate bends 
in the regular staff, more or less like what is shown in the attached 
PDF (from [issue 1196][2] mentioned in the blog post).


If it's not there yet, I can always use some other notation to 
indicate bending---after all, I'm only using Lilypond to do some 
transcriptions and lead sheets for myself---but it would be a good 
feature. To me, it's also probably the only significant shortcoming 
of Lilypond.


Hoping for good news! If there's anything I can do to help, I'll do 
what I can, although my coding skills are kinda basic.


Regards,

Randy

[1]: 


[2]: 


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


Re: Detecting first and last pages of a score

2019-09-03 Thread David Bowen
The Sacred Harp hymnbooks I'm familiar with are set in landscape mode with
two systems per page, so you won't have three songs on a page.

Dave Bowen


On Tue, Sep 3, 2019 at 7:19 AM Andrew Bernard 
wrote:

> Lovely! Do you use the shape heads?
>
> Are you trying to make a book like the 19c originals? Is there an example
> we can take a look at?
>
> I'm confused about what the page title should be if you have say three
> songs on one page, or does that not happen?
>
> Andrew
>
>
> On Tue, 3 Sep 2019 at 21:51, Leah Velleman 
> wrote:
>
>> > To do what?
>>
>> So here's the situation.
>>
>> I'm writing a template for collections of Sacred Harp–style songs.
>> (Templates for individual songs already exist, but not openly available
>> ones that handle an entire collection.)
>>
> ___
> 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


Guitar string bending

2019-09-03 Thread Randy Josleyn
Hi all,

What's the state of Lilypond's support for notating bends in guitar music? I've 
read ["The Story of 'String Bending' in Lilypond"][1] on the Lilypond blog, and 
that seemed promising, but it seems work on the new bend engraver has stopped.

I'm interested specifically in the angled lines that indicate bends in the 
regular staff, more or less like what is shown in the attached PDF (from [issue 
1196][2] mentioned in the blog post). 

If it's not there yet, I can always use some other notation to indicate 
bending---after all, I'm only using Lilypond to do some transcriptions and lead 
sheets for myself---but it would be a good feature. To me, it's also probably 
the only significant shortcoming of Lilypond.

Hoping for good news! If there's anything I can do to help, I'll do what I can, 
although my coding skills are kinda basic.

Regards,

Randy

[1]: http://lilypondblog.org/2017/03/the-story-of-string-bending-in-lilypond/
[2]: https://sourceforge.net/p/testlilyissues/issues/1196/

guitar-tab_1.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Detecting first and last pages of a score

2019-09-03 Thread Andrew Bernard
Lovely! Do you use the shape heads?

Are you trying to make a book like the 19c originals? Is there an example
we can take a look at?

I'm confused about what the page title should be if you have say three
songs on one page, or does that not happen?

Andrew


On Tue, 3 Sep 2019 at 21:51, Leah Velleman  wrote:

> > To do what?
>
> So here's the situation.
>
> I'm writing a template for collections of Sacred Harp–style songs.
> (Templates for individual songs already exist, but not openly available
> ones that handle an entire collection.)
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Glyph sample sheet

2019-09-03 Thread Urs Liska
3. September 2019 13:33, "Lukas-Fabian Moser"  schrieb:

>> Oh yes, this is what I was *not* thinking about, damn ...
>> So unfortunately I can't use that file ...
> 
> But it should be very easy to replace words & music by something else if all 
> other technical
> requirements are met in the file.
> 
> For example "Swing low" or some other 19th century tune, or something 
> custom-tailored and CC
> licensed. I would be willing to provide this when the technical details are 
> clear.

That would be great!

So far I've seen:

* I'd remove the bass staff completely
* the paper block should be removed (fonts are injected through Frescobaldi)
* all the other stuff with the layout blocks and the score-markup header works 
without problem.

The only remaining issue is that the example will rely on the presence of the 
lilyjazz-chords and lilyjazz-text fonts, but this is something that can be done 
through documentation.

Best
Urs

> 
> Best
> Lukas

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


Re: Detecting first and last pages of a score

2019-09-03 Thread Leah Velleman
> To do what?

So here's the situation.

I'm writing a template for collections of Sacred Harp–style songs.
(Templates for individual songs already exist, but not openly available
ones that handle an entire collection.)

In this tradition, when a song runs over a page break, "SONGTITLE
Continued" or "SONGTITLE Concluded" is written at the top of the page. I
want to automate this.

But I can't make each song its own bookpart. This is because, unlike
bookparts, songs in this tradition don't always start with new pages, but
can begin and end in mid-page.

I believe this means each song needs to be its own score. And as far as I
can tell, that means that in order to automatically generate those
"Continued" and "Concluded" headers, we need to know when we're on the
non-first page of a score, and when we're on the last page.

(I could, of course, hard-code all the line breaks, all the page breaks,
and all the headers. But I prefer not to do this: I want collaborators to
be able to typeset individual songs without knowing in advance where on the
page those songs will start in the finished book.)

On Mon, Sep 2, 2019 at 8:30 PM Andrew Bernard 
wrote:

> To do what?
>
> Andrew
> On 3/9/19 7:48 am, Leah Velleman wrote:
>
> In https://github.com/lilypond/lilypond/blob/master/ly/titling-init.ly there
> are predicates that detect if the current page is the first or last one of
> a *book*, or of a *bookpart*. But it's not clear to me how to generalize
> from there. How would I detect if the current page was the first or last
> page of a *score*?
>
> ___
> 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: Glyph sample sheet

2019-09-03 Thread Lukas-Fabian Moser



Oh yes, this is what I was *not* thinking about, damn ...
So unfortunately I can't use that file ...


But it should be very easy to replace words & music by something else if 
all other technical requirements are met in the file.


For example "Swing low" or some other 19th century tune, or something 
custom-tailored and CC licensed. I would be willing to provide this when 
the technical details are clear.


Best
Lukas


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


Re: Glyph sample sheet

2019-09-03 Thread Urs Liska
3. September 2019 12:53, "Lukas-Fabian Moser"  schrieb:

>> yes, this is exactly what I was thinking about, thank you.
>> 
>> It will be non-trivial to integrate, though …
>>> What’s the difficulty?
>> 
>> The handling of such a file inside the context of an application: first I 
>> have to gracefully handle
>> the case when people don't have the text fonts installed, and second the 
>> set-up in that music font
>> dialog doesn't work smoothly with files having their own \paper blocks 
>> inside, which is something I
>> have yet to find a suitable workaround that is generic enough to work with 
>> all reasonable files.
> 
> But isn't it impossible to integrate copyrighted material (like the words, 
> melody and changes of
> All of Me) in an application?

Oh yes, this is what I was *not* thinking about, damn ...
So unfortunately I can't use that file ...

Urs

> 
> Best
> Lukas

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


Re: Glyph sample sheet

2019-09-03 Thread Lukas-Fabian Moser



yes, this is exactly what I was thinking about, thank you.

It will be non-trivial to integrate, though …

What’s the difficulty?

The handling of such a file inside the context of an application: first I have 
to gracefully handle the case when people don't have the text fonts installed, 
and second the set-up in that music font dialog doesn't work smoothly with 
files having their own \paper blocks inside, which is something I have yet to 
find a suitable workaround that is generic enough to work with all reasonable 
files.


But isn't it impossible to integrate copyrighted material (like the 
words, melody and changes of All of Me) in an application?


Best
Lukas


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