# Building a PDF Template

PDFs are assembled by combining the appropriate **Template**, **Merge Maps**, and a **Data Source**. Review the following sub-sections to learn the details of each.

* **PDF Templates**: The parent record that defines the content & overall behavior of the PDF
  * [**HTML to PDF Merge Templates**](https://docs.yansalabs.com/pdf-generator/technical-docs/building-a-pdf-template/html-to-pdf-merge-templates): Templates used for a typical single-page or multi-page PDF
  * [**Labels**](https://docs.yansalabs.com/pdf-generator/technical-docs/building-a-pdf-template/creating-labels): Templates used when printing pages of adhesive labels such as Avery-branded labels
* [**Merge Maps**](https://docs.yansalabs.com/pdf-generator/technical-docs/building-a-pdf-template/merge-maps): Mappings from dynamic data into a usable piece of PDF content
* [**Data Sources**](https://docs.yansalabs.com/pdf-generator/technical-docs/building-a-pdf-template/data-sources): Group of records from which to generate PDFs
