Embed a pdf in a R Markdown file and adapt pagination
问题 I am finishing my PhD, and I need to embed some papers (in pdf format) in somewhere in the middle of my R Markdown text. When converting the R Markdown into PDF, I would like those PDF papers to be embed in the conversion. However, I would like those PDF papers to be also numbered according to the rest of the Markdown text. How can I do it? UPDATE: New error By using \includepdf , I get this error: output file: Tesis_doctoral_-_TEXTO.knit.md ! Undefined control sequence. l.695 \includepdf