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

Add hooks for inserting code at given points in score. #7

Open
eroux opened this issue Sep 21, 2014 · 4 comments
Open

Add hooks for inserting code at given points in score. #7

eroux opened this issue Sep 21, 2014 · 4 comments
Labels

Comments

@eroux
Copy link
Contributor

eroux commented Sep 21, 2014

these will be useful to hack lines without custos

@eroux eroux added this to the 2.4 milestone Dec 18, 2014
@eroux eroux modified the milestones: 2.5, 2.4 Jan 7, 2015
@rpspringuel rpspringuel modified the milestone: 3.0 Mar 16, 2015
@henryso
Copy link
Contributor

henryso commented Apr 30, 2015

How do you detect when TeX has decided to wrap the line (for AtBeginLine)?

@eroux
Copy link
Contributor Author

eroux commented Apr 30, 2015

When I reported this, I certainly had in mind a system that would have had
allowed that, but this system was too complex and is abandonned..
AtBeginningForcedLine would be enough with current code
Le 30 avr. 2015 12:04, "Henry So" [email protected] a écrit :

How do you detect when TeX has decided to wrap the line (for AtBeginLine)?


Reply to this email directly or view it on GitHub
#7 (comment)
.

@eroux
Copy link
Contributor Author

eroux commented Dec 7, 2015

I'm not sure this is really relevant, closing

@eroux eroux closed this as completed Dec 7, 2015
henryso added a commit that referenced this issue Dec 29, 2015
don't access fonts.hashes.identifiers
@rpspringuel rpspringuel changed the title missing AtBeginScore, AtBeginLine and AtBeginSyllable Add hooks for inserting code at given points in score. Feb 15, 2021
@rpspringuel
Copy link
Contributor

Reopening as a post to the list which could make use of this: https://groups.google.com/g/gregorio-users/c/WPbwsmIqHrc

\AtBeginScore sort of exists in the form of \optgabcAtScoreBeginning

\AtBeginLine is not feasible, based on @eroux.

\AtForcedBeginLine should be possible, though perhaps should have an optional argument allowing specifying which force linebreak the code applies to (otherwise it would simply be every line).

\AtBeginSyllable should be possible, though again the option argument might be useful

Are there other hooks which might be useful?

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

3 participants