Skip to content
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

left alignment before <eu> linebreak? #764

Closed
eroux opened this issue Jan 8, 2016 · 6 comments
Closed

left alignment before <eu> linebreak? #764

eroux opened this issue Jan 8, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@eroux
Copy link
Contributor

eroux commented Jan 8, 2016

For the Antiphonale Monasticum project, it would be great if the lines were aligned left (and the custos removed as in #761) if a line break occurs before an <eu> block. This behavior should be optional too... I'm not entirely sure it's feasible easily (if at all)... The most important is that

(::) (Z) <eu>euouae(g) </eu>(::)

and

(::Z) <eu>euouae(g) </eu>(::)

remove the custo

@eroux eroux added the TeX label Jan 8, 2016
@henryso
Copy link
Contributor

henryso commented Jan 8, 2016

What do you mean by "aligned left" here? Can you post a mock-up?

@eroux
Copy link
Contributor Author

eroux commented Jan 8, 2016

It just means that some blank space can be added to the right of the line before the <eu> block (if it's one a new line), as if there was a Z in gabc before the <eu> block, while now if you have a double bar before, it will be at the very end of the line...

@henryso
Copy link
Contributor

henryso commented Jan 8, 2016

As of now, (::Z) will get the effect you are describing (ragged line break and suppressed custos). (::) (Z) will neither break the line in a ragged manner nor will it remove the custos. Should I try to fix this, or is it better to just suggest people use (::Z) instead of (::) (Z)?

@eroux
Copy link
Contributor Author

eroux commented Jan 8, 2016

That's a bit surprising, (Z) should break the line in a ragged manner... I think it's a bug if it doesn't (I cannot test right now, sorry)... But yes (::) (Z) should remove the custos too...

@henryso
Copy link
Contributor

henryso commented Jan 8, 2016

Any hints on the TeX side as to how to insert a \hfill on an automatic linebreak? I don't think I can put that in a \discretionary.

@eroux
Copy link
Contributor Author

eroux commented Jan 8, 2016

No you can't in a discretionary... I really don't have a clue on how to do that simply... maybe in a two-pass system by saving the information that we cut the lines in a particular way in a particular score, as we do for other features...

@henryso henryso self-assigned this Jan 8, 2016
@henryso henryso added this to the 4.1 milestone Jan 8, 2016
henryso added a commit to henryso/gregorio-test that referenced this issue Jan 8, 2016
henryso added a commit to henryso/gregorio that referenced this issue Jan 8, 2016
Fixed bug preventing custos suppression between "(::) (Z)" and EUOUAE.
Fixes gregorio-project#764.
@eroux eroux closed this as completed Jan 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants