I recently wanted to reproduce an old score, on which an editorial
annotation is located after the score. For fidelity's sake, I wanted to
reproduce the annotation.
I used a solution found on music stack exchange
<https://music.stackexchange.com/a/101207/68804> and it didn't work right
away. So I investigated, and it seems that the problem is apparent when the
score is integrated via latex. Now, I know this mailing list is for
lilypond related bugs, not latex' ones, but I'm not sure the bug is related
to the package I use, just that it becomes apparent when I integrate with
latex, thus the bug report.

Onto the issue :
When trying to add after staff editorial annotation, my score looks fine
when I compile with lilypond directly, but the annotation doesn't appear on
my document when I integrate the score in my document via latex.

Documents attached :
- MWE : pianoTest.ly (14 lines, 336 chars)  and latex.tex (6 lines, 150
chars)
- what it looks like compiled with lilypond : pianoTest.pdf
- what it looks like integrated via latex : latex.pdf

Configuration :
- lilypond v2.20.0
- texlive-full 20200626-1 w/ texlive-music 2019.52275-1
- latex package used : lyluatex
- OS : Manjaro KDE (arch-based linux)

Claire

Attachment: pianoTest.pdf
Description: Adobe PDF document

Attachment: latex.pdf
Description: Adobe PDF document

fancyMarkup = \markup \with-dimensions #'(0 . 0) #'(0 . 0) {
	\raise #2 \center-column { "D. S." "al" "Fin" }
}
\new Staff { b1
			\once \override Staff.BarLine.stencil =
			#(lambda (grob)
				(ly:stencil-combine-at-edge
				(ly:bar-line::print grob)
				X RIGHT
				(grob-interpret-markup grob fancyMarkup)
				0))
			\bar "S-S"
			}
\documentclass[10pt]{article}
\usepackage[nofragment,insert=systems]{lyluatex}
\begin{document}
	\lilypondfile[noindent]{pianoTest.ly}
\end{document}
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to