We propose a lightweight, sustainable publishing framework that enables integrated digital editions combining text, music notation, and other textual modalities. While established encoding standards like MEI and TEI are well-suited for text or music individually, their integration poses significant challenges for interdisciplinary projects such as editions of music theory treatises, composers’ correspondence, and sheet music editions with peritexts. To address these issues, we designed a sustainable approach for multimodal documents, based on established encoding standards, and using a combination of existing frameworks for dynamic rendering in the web (e.g. Verovio and CETEIcean), emphasizing direct data generation without intermediate formats or databases. The model simplifies data organization, synchronizes rendering processes, and ensures low-cost deployment through platforms like GitHub Pages and Zenodo. This method not only supports resource-constrained projects but also serves as a blueprint to harmonize text and music encoding. Further, it includes modeling and rendition methods for other modalities, such as mathematical formulas in MathML or diagrams in SVG.
The integration of text and music notation initially appears to be a topographical issue of text presentation. From a text encoding perspective, the problem can be addressed by integrating graphical representations of music notation as digital images. However, from a music encoding perspective, this approach is insufficient, as it prevents the formulation of relationships between text and music notation encoded in the data (cf. Roeder/Moss/Köster 2023). Therefore, the objective is to model and encode both text and music with comparable structural and semantic depth, and to host it within a long-term sustainable environment. While such a presentation could integrate scanned or vectorized music notation graphics alongside embedded MEI data, the preferred approach is to generate the presentation directly from the data without intermediate formats—while providing a fallback solution with embedded graphics only if necessary. Instead, we propose to use two tools closely associated with TEI and MEI: Verovio for rendering music notation and CETEIcean, a lightweight tool for TEI processing. Both operate on JavaScript and require only a standard web server, as TEI and MEI are both processed client-side. Further, for the integration of mathematical formulas, MathJax is used to render LaTeX notation, while the native support of SVG in browsers is used to render diagrams (see Figure 1).

Due to the different encoding standards, it is necessary to decide how to organize text and music notation data at the file level. To avoid potential namespace conflicts between frameworks, and to allow for modular editing by experts in different encoding domains, separating them into distinct files has proven effective. Rather than producing multiple MEI files, data can be consolidated into a single file with cross-references to TEI sections. For example, a treatise with alternating text and musical examples could use a primary TEI file for the text and a single MEI file containing all musical excerpts, each tagged with unique IDs for cross-referencing. This approach reduces complexity while maintaining semantic depth as well as potential for multi-modal interlinking. Depending on the chosen data organization, the rendering process must be arranged for the browser. With the selected combination of CETEIcean and Verovio, HTML and SVG code are generated live using JavaScript. This requires precise timing: a music notation section can only be rendered by Verovio once the corresponding HTML element has been generated by CETEIcean. To achieve this synchronization, the frameworks are orchestrated via monitoring: When CETEIcean processes an XML element referencing a musical excerpt, it temporarily hands over control to Verovio to render the notation dynamically. This interplay ensures a seamless user experience without relying on pre-generated images or static files. A number of minimal examples is available at the GitHub repository of the Music SIG of the Text Encoding Initiative (cf. TEI Music SIG 2025), which is potentially to be extended by future multimodal use cases, such as non-Western music notations and audio and video for performance-based editions. Finally, ensuring long-term sustainability is a central concern of digital edition projects. However, dynamic digital editions are often precarious resources, as they usually depend on complex server environments. Even standard solutions (e.g. with TEI Publisher) require regular maintenance, which projects and their institutions are not always able to guarantee in the long run. For rendering components such as CETEIcean and Verovio, however, simple hosting solutions for static sites like GitHub Pages or any another web server are sufficient (cf. Cayless/Viglianti 2018). GitHub offers advantages such as temporal organization of data and code into release sequences. Additionally, GitHub can be linked to Zenodo, enabling the repository and its individual releases to obtain DOIs and ensuring that each release is archived independently of GitHub on Zenodo. This combination allows projects to achieve both low-cost deployment and academic curation, compliant with the ‘endings principles for digital longevity’ (cf. The Endings Project 2023). For instance, an edition hosted on GitHub Pages could be continuously updated, while its key versions remain permanently accessible via Zenodo.
Attendants will bring their own examples and use cases. In the 2026 conference, we expect a much broader coverage of non-Western music notation formats. The workshop will be a great opportunity to discuss how MEI might relate to the interoperation and/or inclusion of such notation formats in the future, and discuss possible abstraction levels for data interchange.
Attendants will learn
We plan a half-day workshop of 3-4 hours. We expect up to 15 participants.
Some experience with XML (MEI, TEI) is recommended, but not required.
A laptop with a keyboard (no tablets) and internet access and administrator rights. Preparatory instructions will be sent to participants ahead of the workshop.
This approach would not have been possible without the contributions by Corinna Keupp, Jana Klinger, Maik Köster, Janina Roth, and Felicitas Stickler.