-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Captial letters after an underscore are wrapped in braces #4
Comments
I have thought a bit about this issue and would propose the idea to only recognize it as latex if there is either exactly one letter or number following, or better only recognize it as latex if after the underscore curly braces follow. Otherwise ignore treat it directly as latex-free string. |
Hmm I think the behavior of determining subscript is consistent with latex (although if not in the math environment a compile error would be thrown). In other words, I guess latex2unicode is doing its job as intended? Maybe JabRef can add some extra logic to determine when latex2unicode should kick in? |
I don't get, why braces ( |
Maybe, subscript and superscript should be implemented using the unicode characters? https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts#Latin_and_Greek_tables |
Yeah so only some characters have corresponding Unicode subscripts and superscripts. For those that don't, I used |
We have huge issue with my proposal. A roundtrip is not possible any more. I am currently not sure whether it its JabRef or this library. I recorded the issue at JabRef's side at JabRef/jabref#3644. |
Hi,
first all thanks for the great lib ;)
while using JabRef I noticed one problem using the formatter: JabRef/jabref#2664
Have a string
Underscore_Underscore
when running the formatter, I get
Underscore_(U)nderscore
Regards
Christoph
The text was updated successfully, but these errors were encountered: