13

I have a problem within ShareLaTex. I copied a reference from biblatex and pasted it into my bib file and the ignored command is

author={Ran{\v{n}}ik, Jk{\v{r}}{\n}́}

which should generate

 not this: {Ran{\v{n}}ik, Jk{\v{r}}{\n}́}

I get the following error message:

Unicode char' (U+301)

I add references to my bib file with ~ signs or accents.

Stephen
  • 14,890
John
  • 141

2 Answers2

9

Just type in the name using UTF-8 characters:

\begin{filecontents*}{\jobname.bib}
@article{test,
  author={Ranňik, Jkří},
  title={Title},
  journal={Journal},
  year={2016},
}
\end{filecontents*}

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\cite{test}
\printbibliography
\end{document}

enter image description here

egreg
  • 1,121,712
4

\n is generally not defined and the ' afterwards generates the error message. About the "{\'{i}} an error occurs" from your comments: That should be \'{\i}, where \i creates an "i" without dot, so that the "´" can be placed there.

Thus author={Ran{\v{n}}ik, Kj{\v{r}}{\'{\i}}} should produce the right output.

About accents etc. you can find additional information at:

How to type special/accented letters in LaTeX?

"accents" tag wiki

Escaped codes

Stephen
  • 14,890