# Why doesn't \mkbibbold work while \textbf does when using the ebook package?

To activate the ebook package, one has to put \usepackage{ebook} in the preamble, and \ebook in the document. If both are activated, \mkbibbold stops working while \textbf works fine. Why is that?

I use XeLaTeX -> Biber-> XeLaTeX.

# WME

\documentclass{report}
%\usepackage{ebook}
\usepackage[style=authortitle,url=false]{biblatex}

\DeclareFieldFormat*{title}{\mkbibbold{#1}}

\begin{document}
%\ebook
\textbf{Bold text} \textit{Italic text}
\nocite{*}
\end{document}


# Results

Log file

If \renewcommand{\bibfont}{\textnormal} is used, then the heading is not large anymore

FYI: How to have a bibliography style like Google Scholar?

• Don't use the package with xelatex (actually don't use it at all, it seems to have only a vage idea about how to change the font setup and uses a more or less random set of commands). Dec 26, 2017 at 11:39
• unfortunately only XeLaTeX can produce pretty result Dec 26, 2017 at 11:57
• I didn't say that you shouldn't use xelatex but don't use the package ebook -- it is not good. Dec 26, 2017 at 12:51

The package ebook does not change fonts in a good way. In particular, the result is a different set of fonts is being used in the bibliography. To work around this you can either compile with pdflatex or use

\renewcommand{\bibfont}{\textnormal}


\documentclass{report}

\usepackage{ebook}
\usepackage[style=authortitle,url=false]{biblatex}

\DeclareFieldFormat*{title}{\mkbibbold{#1}}
\renewcommand{\bibfont}{\textnormal}

\begin{document}
\ebook
\textbf{Bold text} \textit{Italic text}
\nocite{*}
\printbibliography
\end{document}


with Qu.bib

@Book{Douglas:Moebius,
author =   {Douglas, Arnold},
title =    {Moebius transform},
year =     2000
}

• Thanks. I'm trying to use hyperref to avoid the border wrapping the links. The ebook package has option clash with it, even though it is only loaded once. Do you know how to fix? Dec 26, 2017 at 11:56
• Use \hypesetup to adjust options to hyperref. Dec 26, 2017 at 12:26
• \hypersetup{colorlinks = false,linkbordercolor = {0 0 0}} doesn't work, while linkbordercolor={white} is not support. I also notice that after using \renewcommand the heading is not large anymore. Do you have any ideas? Dec 26, 2017 at 12:49
• \hypsetup{hidelinks=true}. The heading does not change size for me, but the bib text is larger; can use e.g. \renewcommand{\bibsetup}{\small} to get that text smaller again. Dec 26, 2017 at 16:04