Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect footnotes with beamer #581

Closed
moewew opened this issue May 12, 2017 · 1 comment
Closed

Detect footnotes with beamer #581

moewew opened this issue May 12, 2017 · 1 comment

Comments

@moewew
Copy link
Collaborator

moewew commented May 12, 2017

Via https://tex.stackexchange.com/q/369266/35864.

Currently patching \@footnotetext does not work because -- macro cannot be retokenized clean.

I suspect this is because of the category code regime in beamer.

MWE

\documentclass{beamer}
\usepackage{lmodern}
\usepackage[style=authoryear-comp,backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}

\AtEveryCitekey{\iffootnote{y}{n}}

\begin{document}
\begin{frame}
  Lorem\footcite{sigfridsson} \cite{sigfridsson} \footnote{\cite{sigfridsson}}
\end{frame}
\end{document}

Footnote 2 is expected to show 'y' if footnote detection works.

@moewew moewew added this to beamer in Next release Nov 4, 2017
moewew added a commit that referenced this issue Dec 8, 2017
Due to the internal structure of beamer's \newcommand<> and optional
arguments things got a bit messy.
@moewew moewew moved this from beamer to addressed in Next release Dec 9, 2017
@moewew moewew closed this as completed Jan 4, 2018
@moewew
Copy link
Collaborator Author

moewew commented Jan 4, 2018

biblatex 3.10 has been released. biblatex can now detect footnotes in beamer documents.

@moewew moewew removed this from addressed in Next release Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant