-
Notifications
You must be signed in to change notification settings - Fork 1
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
Question: Explain why special characters from paste bin are not mapped in unicode2latex #19
Comments
Thank you @ThiloteE for the kind message and for filing this! I believe those symbols were initially omitted because they are not typically used within a math formula. The point you brought up is certainly valid and after a discussion with @opoudjis he would be able to add them in and let you know. Thank you again for letting us know! |
Thanks for the fast feedback! This issue is tricky. I am not even sure if including them would be the right way to go, hence I was just asking for clarification. I personally was still in the phase of pondering what the best decision would be, but the following reasoning has led me to believe this should maybe be solved at JabRef level: For a start (let's take
There is just no way to know if users want to use math-mode or simply want to have an ordinary I think the same is the case for the other "special characters". Sorry for the noise! I think we should better solve this issue at JabRef with two separate converters or even better with an integrity check (a kind of search for "special characters" that notifies the user of their existence in the bibliography) and maybe also add better documentation about what will be converted and what not. Closing this. |
Appreciate the note and it is indeed the case — a naïve replace all in TeX content won’t work with this gem, a replace would have to be context specific to a document element or within math mode. |
Thank you for your tool! We at JabRef are using your unicode2latex converter with great success.
I do have a question, as we recently had some related issues (JabRef/jabref#8673) and people were pondering if it were possible to find a better solution how to deal with LaTeX "special characters" like %, $, _, and so on.
I looked into it a little and found that the following symbols
can be found in the "raw" table located at:
but not in your code at:
I do know that these are special symbols in LaTeX.
$
for example starts math-mode and%
starts the comment environment.For example, when users have a
$
sign in their bibliographic entry, utilizing theunicod2latex
cleanup action, JabRef behaves as if users wanted to start LaTeXmath-mode
(= leaving the$
as is), instead of converting the sign to\$
, which would be rendered as dollar sign compiling in LaTeX.I am curious, though, about your reasoning. Was including these special characters forgotten, or was it intentional?
The text was updated successfully, but these errors were encountered: