1

This question already has an answer here:

I would like the name and year in my bibliography to be bold. For this I used the following LaTeX code:

\usepackage[backend=bibtex, natbib=true, citestyle=numeric, style=numeric, sorting=nty]{biblatex}

\AtBeginBibliography{%
\renewcommand*\mkbibnamefirst[1]{\mkbibbold{#1}}
\renewcommand*\mkbibnamelast[1]{\mkbibbold{#1}}
\renewcommand*\mkbibnameprefix[1]{\mkbibbold{#1}}
\renewcommand*\mkbibnameaffix[1]{\mkbibbold{#1}}
\DeclareFieldFormat{parens}{\mkbibbold{\mkbibparens{#1}}}
\DeclareFieldFormat{date}{\mkbibbold{#1}}
\DeclareFieldFormat{author}{\mkbibbold{#1}}
}
\DeclareNameAlias{sortname}{last-first}
\DeclareNameAlias{default}{last-first}

I write my text on two computers and in both cases I use TeXstudio (with MikTeX). The problem is that on machines (A) the names and years are as desired bold and not on computer (B).

Why? How can I fix this?

marked as duplicate by moewe biblatex Feb 25 '17 at 15:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    I don't think it's a TeXstudio problem. Check if your MiKTeX distributions are updated on both machine A and B. You can see if you're using the same package versions on the two machines adding \listfiles to your preamble and comparing the logs, see here: tex.stackexchange.com/q/13304/101651 – CarLaTeX Feb 15 '17 at 11:08
  • @CarLaTeX I had also thought of this, so I had the packages updated with MiKtex Update (Admin) – ingenium Feb 15 '17 at 11:11
  • Have you tried \listfiles? What do the logs say? – CarLaTeX Feb 15 '17 at 11:14
  • You may have to update the packages with 'MikTeX Update' in the user version if you installed biblatex as user. The code above looks like pre-3.3 code, for current versions of biblatex you should apply some modifications, see Biblatex 3.3 name formatting. – moewe Feb 15 '17 at 15:38
  • Any news here? Did you check the versions involved? Did you do an update? Can you check if the .log files between the two machines differ? Does computer (B) have anything further to say about warnings and errors? – moewe Feb 21 '17 at 7:02

Browse other questions tagged or ask your own question.