← Overview
Embed a whole PDF file into your document.
![[sample.pdf]]
.pdf file in your vault.An \includepdf command (from the pdfpages package). By default all pages are included (pages=-). The exact command is set by the DDS field pdfCmdText.
\includepdf[pages=-]{./pdf/sample.pdf}
On export, the PDF is copied into the pdf/ subfolder and referenced from there.
<aside> 📸
Screenshot needed: the compiled document showing an embedded PDF page inserted inline.
</aside>
pdfpages package must be loaded in the preamble — the standard templates already do.pdfCmdText (e.g. pages={1-3}).![[appendix/survey.pdf]]) so Obsitex knows which one you mean. In the export both are kept apart automatically — the second one gets a short suffix added to its file name, so neither overwrites the other.