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

Errors when translations inside <sc> </sc> style tags. #1572

Open
sudobash1 opened this issue Jan 2, 2023 · 0 comments
Open

Errors when translations inside <sc> </sc> style tags. #1572

sudobash1 opened this issue Jan 2, 2023 · 0 comments

Comments

@sudobash1
Copy link

I get errors when I try to add a translation to <sc> small-capital text segments. For instance, when I add a \gabcsnippet like this:

(c4) <sc>Test[testing](g)ing</sc>[/](g)

I get this error:

Runaway argument?
{\GreWriteTranslationWithCenterBeginning {\GreSmallCaps {testing}}{\GreSyllable
NoteCount \ETC.
! Paragraph ended before \GreSyllable was complete.
<to be read again>
\par
l.13

The error wasn't informative for me, so I started experimenting around. I was able to get what I wanted like this:

(c4) <sc>Test</sc>[<sc>testing</sc>](g)<sc>ing</sc>[/](g)

I had to close the <sc> style before I could add a translation, and reopen it after the translation. (I also had to add <sc>...</sc> inside the translation, but that doesn't seem problematic).

I think that one of two things should be done:

  1. Give a more descriptive error message
  2. Automatically close </sc> before the translation, and reopen it after.

I would lean towards the second option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant