gregorio-project / gregorio

The Gregorio Project
http://gregorio-project.github.io
Other
162 stars 43 forks source link

Joining of ledger lines vs line break #1519

Open olivierberten opened 3 years ago

olivierberten commented 3 years ago

In case a line break happens between [oll:1{1] and [oll:}] I would expect the ledger to go until the end of the line and start again at the beginning of next line, instead of ignoring it as it currently does.

henryso commented 3 years ago

I don't know what would need to be done on the TeX side. @rpspringuel any ideas?

rpspringuel commented 3 years ago

For me the following document seems to do exactly as requested:

\documentclass{book}

\usepackage[autocompile]{gregoriotex}
\usepackage{libertine}

\begin{document}

\gabcsnippet{(c3) A(i')gnus(l[oll:1{1]) Dé(kl)i,(l.) (,0) Fí(m')li(l)us(kl) Pá([oll:}]l.)tris.(h.) (::) filler(g) filler(g) filler(g) (::) A(i')gnus(l[oll:1{1]) Dé(kl)i,(l.) (,0) Fí(m')li(l)us(kl) Pá([oll:}]l.)tris.(h.) (::)}

\end{document}

@olivierberten can you either explain what's wrong with what I'm seeing here or provide a MWE which shows the problem.

olivierberten commented 3 years ago

It doesn't... It just looks pretty much the same because all these notes have a ledger line anyway but there is a break between gnus and Dé-.

It's more obvious on the following ones where pitch k is involved:

\gabcsnippet{(c3) filler(g) filler(g) (::) sú(il[oll:1{1]!mv)sci(l)pe(l') de(l)pre(k')ca(l[oll:}])ti(hg)ó(f)nem(hi~) nós(i.)tram.(i.) (::) filler(g) filler(g) (::) sú(il[oll:1{1]!mv)sci(l)pe(l') de(l)pre(k')ca(l[oll:}])ti(hg)ó(f)nem(hi~) nós(i.)tram.(i.) (::) filler(g) (::) Tu(il[oll:1{1]) só(k')lus(l) Al([oll:}]ml)tís(k')si(j)mus,(i.) (::) filler(g) (::) Tu(il[oll:1{1]) só(k')lus(l) Al([oll:}]ml)tís(k')si(j)mus,(i.) (::)}