-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ledger line piercing flats #882
Comments
Would it be possible to save all the positions of the holes and draw them on top on a second pass? |
That's an idea... It's just not obvious to me how you would do it... In this direction, I'm wondering if it would be possible to do in in the |
Well, in fact no need to do it in the lua callback, it should even be doable on the pure TeX side, it should be enough to save the information that the last seen glyph is a cavum, and the reduce the size of the ledger line accordingly, it seems even easier! |
I was actually thinking about instrumenting all cavum macros to save the position on the page where the cavum hole glyphs should be drawn, and then draw them at the end of each score (in the second pass, of course). However, what you say sounds simpler, although I don't know TeX well enough to fully understand what you are describing. |
In this image, the ledger line in "piercing" the flat:
I admit I hoped nobody would ever used this... but the Antiphonale Monasticum project does!
I don't think it's easily fixable, but there should be a way to fix it by hand, for instance by specifiying
Once there's a way to manually do that (in gabc), then we can think about making the C code output spot this case and output the correct TeX, but I think we can keep that part for later...
The text was updated successfully, but these errors were encountered: