-
Notifications
You must be signed in to change notification settings - Fork 6
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
Subscripts in the source line of an interlinear example are not properly rendered #10
Comments
I think a formatting function similar to Lines 444 to 465 in 2a1e55a
|
The basic problem is the automatic formatting that is done by panda-ling, which can be controlled by the option 'formatGloss`. Basically, this is a convenience option that works for many glosses, but it will never work for all options that people would like to throw at their glossing. For that reason I added the possibility to prevent this automatic formatting on a per-example basis. So, if you find that a certain gloss is not formatted as you would like it to be, then you should start the example with |
Professor Dr. @cysouw
I use the latest pandoc-ling 2a1e55a as of June 26, 2022. I want to add subscripts that indicate coindexation to the source line of an interlinear example, as shown below.
However, I found I cannot achieve this either using
~...~
notation of pandoc markdown or using`\textsubscript{...}`{=latex}
notation, although these notations successfully work in the translation line.Using
~...~
notation of pandoc markdownI implemented the following notation but the subscripts are rendered as normal characters (e.g. not 'i' but 'i').
Using
`\textsubscript{...}`{=latex}
notationThe subscripts disappear when I added subscripts using
`\textsubscript{...}`{=latex}
notation.Would you mind telling me whether there is any workaround or what I can do to resolve the issue?
MWE
The text was updated successfully, but these errors were encountered: