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

gabc <c> tag not working with { } for setting syllable in chant text. #1551

Closed
leduc006 opened this issue Jul 21, 2021 · 11 comments
Closed

gabc <c> tag not working with { } for setting syllable in chant text. #1551

leduc006 opened this issue Jul 21, 2021 · 11 comments
Assignees
Labels

Comments

@leduc006
Copy link

Hi,

Thanks again for a magnificent piece of software!

This is not the most earth-shattering problem, but the following example struck me as unexpected behavior. The last syllable in the second example is not colored red.

% !TEX TS-program = lualatex
\documentclass{article}

\usepackage[autocompile]{gregoriotex}

\begin{document}

\gabcsnippet{(c4) Nar(c)ra(egf)bo(f.) (::) }

\gabcsnippet{(c4) Nar(c)ra(egf){bo}(f.) (::) }

\end{document}

@leduc006
Copy link
Author

Sorry - forgot to say I run TeX Live 2021 with Gregorio TeX 6.0 on an ancient Mac running High Sierra 10.13.6.

@rpspringuel
Copy link
Contributor

There are no <c> tags on the provided examples.

Sent with GitHawk

@leduc006
Copy link
Author

weird. I cut and paste from my .tex file, and they disappeared. Maybe got swallowed as html by the web page email form when I entered?

Anyway, they should be between (c4) and Nar and then a closing one after (f.) in each example.

Trying to attach the .tex file as a .txt file because the attachment mechanism here does not seem to support dragging and dropping .tex files.

mwe.txt

@henryso
Copy link
Contributor

henryso commented Jul 28, 2021

I ran your mwe using TexLive 2021 with the TexLive-packaged gregorio on my Linux-based computer, and I get red words. Can you provide any other information, like how you run lualatex (from some editor?) or perhaps your log file?

@leduc006
Copy link
Author

Hi

I run TeXLive 2021 with the prepackaged gregorio; I just downloaded the file from the attachment I preloaded above and ran it and I still get one black syllable at the end of the second example.

Further details: I'm running Mac OSX 10.13.6, so could not install TeX Live from the prepackaged binaries as my system is too old. Instead I used the "unix install" script, which seems to work otherwise. I execute the lualatex command from within the TeXShop editor Version 4.66, which I believe is the most recent. In the configuration screen, the editor has a tab that says "Latex" but the % !TEX TS-program = lualatex line should (and appears to) cause the run to employ LuaLaTex. Changing that edit tab to "LuaLaTaX" and clicking the Typeset button a couple of times does not change the result for me.

Log file attached.

mwe.log

@leduc006
Copy link
Author

Oh - and the output pdf.
mwe.pdf

@henryso
Copy link
Contributor

henryso commented Jul 28, 2021

OK, I think I better understand the problem now.

@henryso henryso self-assigned this Jul 28, 2021
@henryso
Copy link
Contributor

henryso commented Jul 28, 2021

It's not just the <c> tag, but apparently all styles.

@henryso
Copy link
Contributor

henryso commented Jul 29, 2021

I think this one is a problem in the gregorio_rebuild_characters function.
It's not in gregorio_rebuild_characters. The problem occurs while parsing the score prior to calling this function.

@henryso
Copy link
Contributor

henryso commented Jan 23, 2022

Is there anything preventing the close of this issue?

@rpspringuel
Copy link
Contributor

I don't think so.

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