Skip to content
Snippets Groups Projects
Commit 3e6226d2 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[!120] [cmake] Use latexmk to build documentation

Merge branch 'feature/use-latexmk' into 'master'

ref:core/dune-geometry Switch from generating EPS to PNG Requires
[dune-common!642]

See merge request [core/dune-geometry!120]

  [dune-common!642]: gitlab.dune-project.org/Nonedune-common/merge_requests/642
  [core/dune-geometry!120]: gitlab.dune-project.org/core/dune-geometry/merge_requests/120
parents 620f98de c198f6bc
No related branches found
No related tags found
1 merge request!120[cmake] Use latexmk to build documentation
Pipeline #17401 passed
if(INKSCAPE)
set(EPS_IMGS simplexvertexindex.eps referencetokuhn0.eps kuhntriangulation.eps)
inkscape_generate_eps_from_svg(DPI 180
OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}
INPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} ${EPS_IMGS})
endif()
set(PNG_IMGS simplexvertexindex.png referencetokuhn0.png kuhntriangulation.png)
inkscape_generate_png_from_svg(
DPI 180
${PNG_IMGS})
dune_add_latex_document(refinement.tex
DEPENDS ${EPS_IMGS})
create_doc_install(${CMAKE_CURRENT_BINARY_DIR}/refinement.pdf ${CMAKE_INSTALL_DOCDIR}/refinement refinement_safepdf)
dune_add_latex_document(
SOURCE refinement.tex
FATHER_TARGET doc
INSTALL ${CMAKE_INSTALL_DOCDIR})
......@@ -437,7 +437,7 @@ sub-hypercubes. See J.~Beys dissertation\cite{jbey} for details.
\begin{figure}
\centering
\includegraphics[width=.5\hsize]{kuhntriangulation.eps}
\includegraphics[width=.5\hsize]{kuhntriangulation.png}
\caption{\label{kuhntria}Kuhn triangulation in three dimensions.}
\end{figure}
......@@ -538,7 +538,7 @@ Observations:
\begin{figure}
\centering
\includegraphics[width=.5\hsize]{simplexvertexindex.eps}
\includegraphics[width=.5\hsize]{simplexvertexindex.png}
\caption{\label{simplexindex}The image shows the Kuhn0 tetrahedron
of width 2 (wire-frame). It is partitioned into a tetrahedron
(green), a triangle (red), a line (blue), and a vertex (black),
......@@ -610,7 +610,7 @@ simplex, so we have to check for that, and skip them.
\begin{figure}
\centering
\includegraphics[width=.5\hsize]{referencetokuhn0.eps}
\includegraphics[width=.5\hsize]{referencetokuhn0.png}
\caption{\label{ref2kuhn0} Transforming Dunes reference simplex into
the Kuhn0 simplex. Step 1 moves each point by its $x_2$ value
into $x_1$ direction. Step 2 moves each point by its new $x_1$
......@@ -673,7 +673,6 @@ And for the reverse:
\url{http://www.igpm.rwth-aachen.de/bey/ftp/simplex.ps.gz}.
\bibitem{bronstein} Bronstein, Semendjajew, Musiol, M\"uhlig
``Taschenbuch der Mathematik'' (1999)
\end{thebibliography}
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment