Skip to content
Snippets Groups Projects
Commit 4b26bf2a authored by Wuttke, Joachim's avatar Wuttke, Joachim Committed by GitHub
Browse files

Merge pull request #20 from waltervh/fixmanual

Fixmanual
parents 8f6fc6b4 870351bd
No related branches found
No related tags found
No related merge requests found
project(BornAgainManual NONE)
# version is read from main directory,
# and written to cmake/scripts/UserManualVersion.tex.in
# and written to cmake/bornagain/scripts/UserManualVersion.tex.in
include( ../../VERSION.cmake )
if(POLICY CMP0046)
......@@ -15,25 +15,26 @@ set(LATEX_COMPILER_FLAGS "-interaction=errorstopmode" CACHE STRING "Flags passed
if(BORNAGAIN_USERMANUAL)
# --- configure a header file to pass CMake settings to the source code
configure_file(
"${CMAKE_SOURCE_DIR}/cmake/scripts/UserManualVersion.tex.in"
"${CMAKE_SOURCE_DIR}/cmake/bornagain/scripts/UserManualVersion.tex.in"
"${CMAKE_SOURCE_DIR}/Doc/UserManual/UserManualVersion.tex"
)
include(${CMAKE_MODULE_PATH}/UseLATEX.cmake)
include(UseLATEX)
else()
# to compile in standalone mode
configure_file(
"${CMAKE_SOURCE_DIR}/../../cmake/scripts/UserManualVersion.tex.in"
"${CMAKE_SOURCE_DIR}/../../cmake/bornagain/scripts/UserManualVersion.tex.in"
"${CMAKE_SOURCE_DIR}/../../Doc/UserManual/UserManualVersion.tex"
)
include(../../cmake/modules/UseLATEX.cmake)
include("../../cmake/modules/UseLATEX.cmake")
endif()
file(GLOB tex_inputs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.tex)
file(GLOB fig_inputs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} fig/[a-z]*/*)
ADD_LATEX_DOCUMENT(BornAgainManual.tex
ADD_LATEX_DOCUMENT(
BornAgainManual.tex
INPUTS ${tex_inputs} ${fig_inputs}
BIBFILES jw7.bib
USE_INDEX
......
......@@ -516,4 +516,4 @@ The complete example described in this section can be found at
\section{UNDER CONSTRUCTION}
\PyImport{simulation/ex01_BasicParticles/AllFormFactorsAvailable.py}
%\PyImport{simulation/ex01_BasicParticles/AllFormFactorsAvailable.py}
......@@ -4,4 +4,4 @@
% using cmake/scripts/UserManualVersion.tex.in
\newcommand{\UserManualVersionNumber}
{1.5.99}
{1.6.99}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment