-
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
Support generation of lilypond-like textedit links #528
Comments
Wow! I'm afraid I love you :) |
Oh, sorry, not yet. :) I thought it's already a PR. |
Good code takes time :) |
@igneus Pull request #530 is ready. You will need to set |
…texrenaming * commit '2ad2fcdc7e8feed4612cc1ede9d03e1e9285669b': Matched LilyPond's algorithm for counting columns. Added missing point-and-click link to bar syllable text. Fixes to handle above lines text. Emit a warning on dynamically sized braces spanning multiple lines. Further documentation adjustments. Adjust warning wording, update the documentation. Fix a pasto in [ub:\[01\]{] handling. Rework variable length brace handling to use luatexlatelua, and store/read all the variable length brace info from *.greaux file. Pass 0 always to grevarbracer in grevarbraces. Compute cur_score_id always. Read *.gaux file in lua, avoid \AtBeginDocument and \AtEndDocument. Parsing of [ob:1{] [ob:0}] and other variable length over and under braces, store horizontal position in *.gaux file. Added the ability to generate LilyPond-like textedit links. Fixes gregorio-project#528.
This idea comes from http://www.mail-archive.com/gregorio-users%40gna.org/msg02769.html
The format of the URL is
textedit://{filename}:{line}:{char}:{column}
. Line and column appear to be 1-based and char is the character-offset from the beginning given line, 0-based. Column expands tabs.Links would be created for score glyphs and for syllable text.
This feature would be disabled by default. You would need to enable it both when calling
gregorio
to generate additional information in thegtex
files (because this "leaks" filenames into the gtex file) as well as in the TeX code (which is possible to drive strictly based on whether the additional information is in thegtex
file, but I like the idea of toggling it from TeX as well).Obviously, it would be disabled if
gregorio
is reading from stdin since it can't know the filename.https://www.tug.org/pipermail/pdftex/2006-March/006475.html shows how to generate links without LaTeX and hyperref.
The text was updated successfully, but these errors were encountered: