Skip to content
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

NFD UTF8 in bbl files #22

Closed
perstar opened this issue Feb 11, 2014 · 3 comments
Closed

NFD UTF8 in bbl files #22

perstar opened this issue Feb 11, 2014 · 3 comments

Comments

@perstar
Copy link

perstar commented Feb 11, 2014

\documentclass{article}
\usepackage[utf8]{inputenc}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{ref,
  author = {Mart{\'\i}},
}
\end{filecontents}

\usepackage{biblatex}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{ref}
\printbibliography
\end{document}

The above yields an error, because biber will put NFD UTF8 in the bbl file, and LaTeX can't handle that. Without the inputenc it will work, because then the bcf file won't say utf8. With [backend=bibtex] this works, so there are bib files that look like this.

biber.tex says that output aways will be NFC.

@plk
Copy link
Owner

plk commented Feb 12, 2014

The output is always NFC - what you are seeing is just a problem with dotless i handling. To get NFD handling of letter i with accents, you add the accent to a dotted i, not a dotless i and biber was converting \i to a dotless i before the special cases which processed accented "i"s was reached. This should be fixed in the dev 1.9 version on SF now.

@perstar
Copy link
Author

perstar commented Feb 12, 2014

Thanks! I haven't tested it, but looking at the code I think you should do the same with dotless j as you do with dotless i.

@plk
Copy link
Owner

plk commented Feb 12, 2014

Good point. This is done in the dev branch.

@plk plk closed this as completed Feb 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants