Re: Doc request: TeX integration with lyLuaTeX

Henning Hraban Ramm <[email protected]> Sat, 1 Aug 2026 10:40:55 +0200
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Am 31.07.26 um 14:55 schrieb Hans Åberg:
> 
>> On 30 Jul 2026, at 07:49, N. Andrew Walsh <[email protected]> wrote:
>>
>> I'm in the process of converting one of my colleagues in musicology to changing her document-production toolchain to use LaTeX, and one of the big features I gave was the ability to integrate Lilypond directly into a .tex document and have it compile correctly. However, since I work with graphic scores myself I rarely have a need for this functionality, so I had to go look up how it's done.
> 
> There is also a package for ConTeXt, that this page says works in a similar fashion:
> https://wiki.contextgarden.net/LilyPond

I’m the author and probably only user.

It’s not a package (we don’t have these), just a setup for the "filter" 
module that you can copy and adapt to your needs.

It works like lyluatex in that it calls LilyPond “underway”, doesn’t 
need a preprocessor or extra run.

Since I only make songbooks (and similar easy stuff), this doesn’t have 
features for critical editions and the like. But talk to me if you need 
more, I’ll try to help implementing the necessary features.

(A German translation of the wiki page is in my book “Drucksachen 
gestalten mit ConTeXt und LuaMetaTeX”.)

Hraban

PS: Since ConTeXt is still rather unknown: it’s an alternative to LaTeX 
(i.e. not compatible), developed since the 1990s (made in the 
Netherlands, like LilyPond ;)  It’s rather monolithic (self-consistent, 
no dependencies), there are no document classes (templates etc.), it’s 
targeted at users who want to make their own layout, and that’s made 
quite easy. Native handling of XML, CSV, JSON, Markdown, SVG and several 
other data formats.
https://wiki.contextgarden.net