2

This question already has an answer here:

After updating my TeXLive 2015 recently, now including Biber 2.4 and Biblatex 3.4, I'm unable to get smallcaps for authors' names in text, footnotes and in the authors' index. When I revert to Biber 2.3 and Biblatex 3.2 (not sure if this was the version), I do get smallcaps where I want.

Here is my MWE:

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

\documentclass[11pt]{memoir}
\usepackage{fontspec}
\usepackage{imakeidx}
\makeindex[name=name,intoc,title=Authors index]
\makeindex[name=topics,intoc,title=Topics index]
\usepackage{polyglossia}
\setdefaultlanguage{english}
%%%%%%%%%%%%%%%%%% Bibliography
\usepackage[backend=biber,%
indexing=cite,%
style=authortitle]%
{biblatex}
\usepackage{filecontents}
\begin{filecontents}{jobname.bib}
@book{BOOK,
author = {Doe, John},
title = {great book},
date = {2015-04-01},
}
\end{filecontents}
\addbibresource{jobname.bib}
\DeclareIndexNameFormat{default}{%
\usebibmacro{index:name}{\index[name]}{%
\textsc{#1}}{#4}{#5}{#7}}
\renewcommand{\mkbibnamelast}{\textsc}
\setlength\bibitemsep{0pt}

%%%%%%%%%%%%%%%% Document
\begin{document}
This is text, with a slight\index[topics]{Complication}
complication.\autocite[33]{BOOK}

\printbibliography
\clearpage
\printindex[name]
\clearpage
\printindex[topics]
\end{document}

Here are the errors I get:

Latex Error: ./test_biblatex3_4.tex:27 Illegal parameter number in definition of \blx@defformat@d.

Latex Error: ./test_biblatex3_4.tex:27 Illegal parameter number in definition of \blx@defformat@d.

Latex Error: ./test_biblatex3_4.tex:27 Illegal parameter number in definition of \blx@defformat@d.

Latex Error: ./test_biblatex3_4.tex:34 Illegal parameter number in definition of \theindexentry.

Latex Error: ./test_biblatex3_4.tex:34 Illegal parameter number in definition of \theindexentry.

Latex Error: ./test_biblatex3_4.tex:34 Illegal parameter number in definition of \theindexentry.

Latex Error: ./test_biblatex3_4.tex:34 Illegal parameter number in definition of \reserved@a.

Latex Error: ./test_biblatex3_4.tex:34 Illegal parameter number in definition of \reserved@a.

Latex Error: ./test_biblatex3_4.tex:34 Illegal parameter number in definition of \reserved@a.

Any help would be greatly appreciated.

marked as duplicate by moewe biblatex Mar 18 '16 at 7:01

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.

  • The syntax of the macro has changed. You need to update your code to use the new syntax. There was a question about it earlier if you poke. Ulrike Fischer posted a reference to stuff about the change in the comments. Take a look. – cfr Mar 15 '16 at 4:17
  • @cfr: I did spend considerable time trying to find answers before I posted but couldn't and still can't locate the source for the new syntax. – Gildas Hamel Mar 15 '16 at 5:30
  • 2
  • @UlrikeFischer Thank you for taking the time to explain the new format. I did have a look at the documentation but didn't understand it. – Gildas Hamel Mar 15 '16 at 15:16
  • Here is the new format for styling I adopted for last names in index of authors: \DeclareIndexNameFormat{default}{% \nameparts{#1} \usebibmacro{index:name}{\index[name]} {\textsc{\namepartfamily}} {\textsc{\namepartgiveni}} {\namepartprefix} {\namepartsuffix}% – Gildas Hamel Mar 16 '16 at 5:18

Browse other questions tagged or ask your own question.