On Tue 17 Feb 2026 at 08:51:00 (-0500), Gabriel Ellsworth wrote:
> Werner LEMBERG wrote:
> 
> > I recommend to look at the actual repository, not a mirror;
> > here is a link to the current version in the 'master' branch.

Surely the appropriate source to view is that which is being run.
I have four versins of LP currently on this machine, namely 2.18.2-1
for some legacy source, 2.22.0 installed by Debian bullseye, 2.24.4
for routine use, and 2.25.33 for running code posted here. It could
cause a lot of confusion to be looking at the wrong code when
consulting the documentation, or worse, debugging.

> I am going to bookmark
> https://gitlab.com/lilypond/lilypond/-/blob/master/ly/titling-init.ly and
> https://gitlab.com/lilypond/lilypond/-/blob/master/ly/paper-defaults-init.ly
> for sure! The latter is also on my “frequently used” list.
> 
> It might be worth linking to these GitLab links, somehow, in the official
> documentation?
> 
>    For example, at 21.1 Creating titles, headers, and footers (LilyPond
> Notation Reference)
> <https://lilypond.org/doc/v2.25/Documentation/notation/creating-titles-headers-and-footers>
> (21.1.2 Default layout of bookpart and score titles and 21.1.3 Default
> layout of headers and footers) the documentation refers to ly/
> titling-init.ly. It might be useful for other lay users (not only me) to be
> able to click a URL and see the code, instead of having to try to find it
> on their machines. Just my 2¢.

Wouldn't the same apply as what I wrote above. There are several
versions of LP documentation on the web.¹ Most of them won't be based
on the current master version of the code. I think it would be better
to make it simple to find the location of the user's code.

> Knute, I’d love to hear from you (or other Frescobaldi experts) regarding
> my Question 2.

When you install LP via Fresco, does it install LP as a first-class
"app", or into Fresco's own tree of files? (Bear in mind that you
could have more than one version of LP on a machine.)

Once you find the top of the LP tree, modern versions (2.23.6 onwards)²
will have the .ly code under …/share/lilypond/2.25.33/ly/; thus:
 4459 Feb  7 09:30 ~/lilypond-2.25.33/share/lilypond/2.25.33/ly/titling-init.ly
bytes         UTC  latest development release.

Some of the tree locations I've seen reported in emails are:
C:/Users/auser/AppData/Local/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.25.31/share/lilypond/…
C:/Users/auser/Documents/lilypond/share/lilypond/…
/usr/share/lilypond/…
/home/auser/lilypond/2.24.4/share/lilypond/…
/opt/homebrew/Cellar/lilypond/2.24.4/share/lilypond/…
/opt/homebrew/share/lilypond/…
/opt/local/share/lilypond/…

¹ I notice that Googling   lilypond addlyrics   on this computer yields:
    
https://lilypond.org/doc/v2.23/Documentation/notation/techniques-specific-to-lyrics
  as the first hit. The sidebar on the hit's webpage displays:
    LilyPond — Notation
    Reference v2.23.82
    (development-branch).

² Older versions, installed in directory foo, would have their .ly
  code, IIRC, under: foo/lilypond/usr/share/lilypond/current/ly/ .

Cheers,
David.

Reply via email to