-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Possible bug in reading BibTeX #7049
Comments
On a few quick tests it does look like we get LaTeX fallback iff there's an underscore. Whether I change the keys, their order, place them in the "note" field rather than "title", or remove ":", I get LaTeX fallback just if there's an underscore in the key. There are only 4 raw LaTeX citations in the json and there are just those with underscore.
It doesn't seem to be non-alphanumeric characters in general, cf. the colon above and the
|
Slightly more compact test case: plain latex
Now bibtex
As you note, the ones with underscore have raw latex fallbacks, and the others just have the citekey in brackets. Note that the bibtex reader uses the latex reader, so this divergence is surprising. |
OK, I found out what is happening.
This strips off the |
The thing to note here is that we get the raw latex preserved as a fallback for
\citet{hersch_j:1961}
but not for\citet{marias:1961}
. Outside the bibtex context this doesn't happen:The text was updated successfully, but these errors were encountered: