PDF Output Generation
=====================

The PDF support is enabled by using the ``-pdf`` command line argument.

.. figure:: ../../images/pdf.png
    :align: center

    PDF page of Verilog module

.. important::

    The schematic diagrams are not exported to PDFs due to size constraints.

Required packages
-----------------

- Linux (*recommended*)
    `latexmk <https://www.cantab.net/users/johncollins/latexmk/>`_, texlive-luatex, texlive-formats-extra, texlive-fonts-extra

- MacOS
    `MacTeX <https://www.tug.org/mactex/mainpage2024.html>`_

- Windows
    `MikTex <https://miktex.org/>`_ :download:`requirements <../markdown_dependencies.txt>`
    
    `GTK for Windows <https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases>`_ *contains the Cairo library, used in diagram generation*