moewew / biblatex-ext

Extensions for the biblatex standard styles
LaTeX Project Public License v1.3c
24 stars 3 forks source link

\footcites leads to an error #12

Closed LukasCBossert closed 6 years ago

LukasCBossert commented 6 years ago

Consider this MWE

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{test1,
  author = {A. Author},
  date = {2018}
}
@Book{test2,
  author = {B. Buthor},
  date = {2017}
}
@Book{test3,
  author = {C. Cuthor},
  date = {2017}
}
\end{filecontents*}
\usepackage[%
 backend=biber,
 bibstyle=ext-authortitle,
 citestyle=ext-authoryear,
]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}

\footnote{\cites%
[1--3]{test1}%
[4--6]{test2}%
[7--10]{test3}}

% Does not work
\footcites%
[1--3]{test1}%
[4--6]{test2}%
[7--10]{test3}

\end{document}

It seems like \footcites is not working !?

moewew commented 6 years ago

Thank you very much for that bug report. This was a small copy-and-paste error. It has been fixed in https://github.com/moewew/biblatex-ext/commit/e1ab5d4ac5c08d4ab93a5618ee5ff6eb96836593.

An updated version (v0.5a) is on its way to CTAN and should arrive in TeX distributions in the next few days. In the meantime

\DeclareMultiCiteCommand{\footcites}[\mkextblxfootcite]
  {\footcite}{\multicitedelim}
\DeclareMultiCiteCommand{\footcitetexts}[\mkextblxfootcitetext]
  {\footcitetext}{\multicitedelim}

should be a work-around if you use (cite)sytle=ext-authoryear.

LukasCBossert commented 6 years ago

Thank you very much for the very quick debug! It works very well! So I will close this issue...