-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
LaTeX commands in fields not displayed in the list of references #1321
Comments
A (quite large) subset of LaTeX-commands are converted to Unicode, the rest is removed. One could consider returning them rather than removing them, but it is not obvious that it is a better idea in general. |
It is always possible to increase the list of available commands, but that particular one is asa far as I know not available as a Unicode character. |
IMHO, returning them verbatim if not available as a Unicode character is not only a good idea, it is necessary. |
Could you give an actual example where it is necessary? (In your current, obviously toy, example, it would be better to return LaTeX.) |
I think @dbitouze has a point that returning the actual LaTeX command is the best idea if our conversion to Unicode for the UI fails - should not be too hard to implement 😉 |
I don't know what are the available commands but I guess it is impossible to deal with all the 14032 LaTeX symbols available. Another problem is for chemical formulae (e.g. |
No, not hard to implement (a few if-statements), but better? |
Well, when your bibliography contains books about LaTeX, that's not only a toy ;) For the other examples,see my other comments (e.g. \ce{Sb2O3} from |
Indeed: good point! |
(Still have not looked in the code.) So the logic should be that unknown commands without parameter (e.g, |
Yes, except if the "parameter" is empty. Indeed, commands without parameter gobble the following space: |
Now, I got some time to work on this. There are basically two cases in the code (although it looks like more):
|
JabRef version 3.3 on Linux (Mageia 5).
Steps to reproduce:
title
field of which containing a LaTeX command.The text was updated successfully, but these errors were encountered: