I am using a .Rmd
file to generate a beamer PDF presentation (which, therefore, accepts LaTeX
code).
In the standard R Markdown
, the reference goes into the last slide. But I want to specify it in a general slide (or specifically, before the last slide).
This is what I have tried so far:
---
title: "Multivariate Regression Model for Count Data"
output:
beamer_presentation:
includes:
in_header: /home/guilherme/GoogleDrive/Analises/Modelo/extra_settings_2.tex
editor_options:
chunk_output_type: console
bibliography: /home/guilherme/GoogleDrive/Analises/Modelo/referencias_so.bib
csl: /home/guilherme/GoogleDrive/Analises/Modelo/stilo_biblio_so.csl
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
options(tinytex.verbose = TRUE)
```
## Ref
[@tmb]
[@r]
[@glmmTMB]
[@compoisson]
## Bibliography
\vspace{.5mm}
\setlength{\parskip}{3pt}
\tiny
\printbibliography
\vspace{.5mm}
##
\huge
+ Thank you for your atention.
Content of extra_settings_2.tex
:
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}[frame number]
% References
\usepackage{biblatex}
\addbibresource{/home/guilherme/GoogleDrive/Analises/Modelo/referencias.bib}
Link for csl
and Bib
files:
What happens is this:
What I need:
- References appear before the last slide.
- Font size small, so that the reference will fit in only one frame.
- The
.csl
reference style still applies to my documment.
I am using Tinytex, which is based on TeX Live
It shows me an error after compilation (that I don't know how to handle):
Output created: teste_pres.pdf
Warning message:
LaTeX Warning: Empty bibliography on input line 118.
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) teste_pres
(biblatex) and rerun LaTeX afterwards.
Thank you!!