.. _dune_add_latex_document:

dune_add_latex_document
=======================

.. cmake_function:: dune_add_latex_document

   .. cmake_brief::

      build a pdf document through the Dune build system.

   .. cmake_param:: texfile
      :single:
      :required:
      :positional:

      The texfile to compile into a pdf.

   .. note::

      This function will be rewritten for Dune 3.0 as it currently
      shadows all options provided by the base implementation
      :code:`add_latex_document`.

