0

This question already has an answer here:

I am doing a presentation with the beamer class using the metropolis theme. Currently I am using RStudio and compile the file with XeLaTeX. Texmaker is an alternative.

How to make biblatex behave like apacite? - did not work for me. May be I need to compile with more than just 1x XeLaTeX?

I would prefer to use Bibtex with apacite being able to just include a .bib file for \bibliography. However, I read that there exist some conflicts?

Errors:
- Rerun to get \PageLabels entry
- Citation ... undefined

\documentclass{beamer}
\usepackage{appendixnumberbeamer}

% various symbols
\usepackage{gensymb}

% bibliographystyle
\usepackage{apacite}

% Bilbliography
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Misc{Ref1,
  author = {{Test author}},
  title  = {Test title},
  year   = {2016},
  url    = {http://testurl.com=},
}
\end{filecontents}

\usetheme[sectionpage = progressbar, numbering = fraction]{metropolis} 

% title preface
\title{Title}

\begin{document}
\maketitle

% ------------------------------------------------------------------------------
\begin{frame}{Frame1}
    \cite{Ref1}
\end{frame}

% ------------------------------------------------------------------------------
\begin{frame}[allowframebreaks]{Bibliography}%in case more than 1 slide needed
{\footnotesize
\bibliographystyle{apacite}
\bibliography{\jobname}
}
\end{frame}

marked as duplicate by user36296, Mensch, Mico, Claudio Fiandrino, Andrew Swann Sep 29 '16 at 15:14

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
    Try with the second example from tex.stackexchange.com/questions/23651/…. It works fine with metropolis theme, if compiled with xelatex, biber, xelatex, xelatex – user36296 Sep 29 '16 at 13:27
  • Thanks, it works. I now use Texmaker with a custom "quick build" command compiling xelatex, biber, xelatex, xelatex -> xelatex % | biber % | xelatex % | xelatex % referring to this answer: tex.stackexchange.com/a/154788/104937. RStudio seems to be to to basic for this approach atm. Add it as an answer and I´ll accept it! – pat-s Sep 29 '16 at 14:16
https://tex.stackexchange.com/questions/331871/beamer-apacite-citation-undefined?noredirect=1
tex.stackexchange.com
crawl=CC-MAIN-2019-43
120475
application/http; msgtype=response
sha1:ODQXGAC5BSG5D4UH2DCJADLJUBEAABH5
<urn:uuid:8bb5f0b2-e3ac-459f-aa60-de3e57b255bf>
2019-10-23T07:16:28Z
151.101.1.69
text/html
sha1:SWTHFXSR3XURRRYT67W2UEZEZP3LGWCI
<urn:uuid:74ac9ec7-a13f-40a3-878d-4d6f53f26452>
https://tex.stackexchange.com/questions/331871/beamer-apacite-citation-undefined?noredirect=1
response
<urn:uuid:97bb5fda-c736-4701-a48e-ee41aca9cfcd>
isPartOf: CC-MAIN-2019-43
publisher: Common Crawl
description: Wide crawl of the web for October 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-24.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/