1

I use biblatex and biber to include a bibliography based on a .bib-file. I print the title in the bibliography based on the biblatex-instruction \printfield{title}. Unfortunatley, the title shows up incorrectly sometimes. A few examples: - title = {ECU firmware} in the .bib-file results in ECU rmware - title = {Nice temperature of 25°C} results in Nice temperature of 25C

In the biblatex-documentation I found:

\printfield[hformati]{hfieldi}

This command prints a hfieldi using the formatting directive hformati , as defined with \DeclareFieldFormat . ...

So ist the formatting directive for the title field the problem? Can I change it in order to get the expected result?

Here is MWE:

\documentclass{article}

\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,style=alphabetic]{biblatex}
\usepackage{csquotes}
\usepackage{filecontents}

\begin{filecontents*}{bibfile.bib}
@newtype{xxx,
  title   = {ECU firmware},
  author  = {author1},
}
\end{filecontents*}

\addbibresource{bibfile.bib}

\DeclareBibliographyDriver{newtype}{
    \usebibmacro{begentry}
    \printnames{author}
    \newunit\newblock
    \printfield{title}
    \usebibmacro{finentry}
}

\begin{document}
See~\cite{xxx}

\printbibliography
\end{document}

results in:

enter image description here

Thanks a lot in advance!

  • Can you give us a MWE? – user36296 Aug 12 '16 at 12:55
  • 1
    The problem is, that is not written as individual letters in your bib file, but as a ligature, a composed letter. Delete it and retype fi – user36296 Aug 12 '16 at 13:42
  • I guess the same holds true for the missing degree sign. Delete it and replace it with and appropriate tex syntax (a quick hack being $^\circ$, but there are better ways). – user36296 Aug 12 '16 at 13:44
  • 1
    You may can use \textcelsius instead of °C – SeRe Aug 12 '16 at 13:45
3

Looking into the error messages in the log files, one can find there

! Package inputenc Error: Unicode char fi (U+FB01) (inputenc) not set up for use with LaTeX.

this pretty much already tells the solution. There seems to be a character, which is not suitable as input for the bibliography, more precisely the glyph which represents a ligature of f and i. To solve this simply delete the symbol and retype f and i as individual letters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.