-
Notifications
You must be signed in to change notification settings - Fork 38
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
Biber makes substitutions for \textgamma that cause errors #480
Comments
It's not a bug, |
I did not see this documented anywhere. Encoding in UTF-8 is not the same thing as replacing TeX macros with Unicode characters on-the-fly, so it seems like this should be mentioned and the mechanism to turn it off advertised in the documentation. Perhaps I just missed it? I did not see |
See section 3.6 of the |
Does it make sense to translate |
Always open to suggestions for default for these - many were just best guesses over a decade ago. |
@hammondkd biber always replaces latex character commands by the character where possible, but \textgamma is intended for Greek so the change in the commit above to map it to Greek gamma certainly looks right to me. The latin gamma has some specialised uses but is pretty esoteric and latex does not define a mapping for it at all in the default setup for classic tex systems, hence the error reported that the standard @plk thanks for quick fix for gamma. I think the whole greek alphabet should be in the 03xx range not 02xx eg
is mapping to Latin upsilon which is possibly used in phonetics or somewhere but isn't the intended interpretation of
|
Done - all of the greek alphabet is available with |
I still think that it is unnecessary that situations like this yield errors. I still think the right solution is to remember the actual text (LaTeX code) used in the bib entry so that after all processing has been done (which includes conversions, standardization and whatnot) to a form used for comparison, sorting etc. when something actually should be output it is that remembered value that the user actually wrote in the bib entry that goes out, and not the standardized form used in the machinery. Then it is the responsibility of the user to have something suitable there, and if there is a problem the user can easily change it and will not get a really hard to understand error message. I suggested this in an issue in 2014. and since then I've seen several related issues about various problematic characters. I don't think we have seen the last such issue yet, but that this will continue to be a problem that appears for users now and then. |
It's just too messy to remember the original chars and we wanted to support Unicode as a standard for such things. You can indeed select the output format as |
[also asked at TeX StackExchange]
The following example produces an error:
Now run LaTeX, then Biber, then LaTeX again and you'll get an error:
In the .bbl file, the sequence \textgamma has been replaced with the actual character (gamma), which is not declared, hence the error.
Note that replacing
\textgamma
with\textalpha
works fine.Why does this occur? That is, why is Biber making this substitution? It seems like a bug in Biber to me.
Additional info: biber version 2.19
The text was updated successfully, but these errors were encountered: