Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 8d8b9c8e authored by Christof Metzger-Kraus's avatar Christof Metzger-Kraus
Browse files

adding version string to user guide

parent 7c8c41ec
No related branches found
No related tags found
No related merge requests found
OPTION (ENABLE_DOCUMENTATION "Enable build of documentation" OFF)
OPTION (EXCLUDE_DOC_FROM_ALL "Exclude the target doc from all" OFF)
OPTION (EXCLUDE_DOC_FROM_ALL "Exclude the target doc from all" ON)
IF (ENABLE_DOCUMENTATION)
project(opal_user_guide NONE)
......@@ -12,9 +12,11 @@ IF (ENABLE_DOCUMENTATION)
MESSAGE(STATUS "BIBER_COMPILER is '${BIBER_COMPILER}'")
MESSAGE(STATUS "")
configure_file(version.tex.in ${CMAKE_CURRENT_SOURCE_DIR}/version.tex)
IF (EXCLUDE_DOC_FROM_ALL)
add_latex_document(opal_user_guide.tex
INPUTS actions.tex autophase.tex benchmarks.tex changelog.tex control.tex conventions.tex dingbat.sty distribution.tex elements.tex errors.tex examples/diagnostic.in examples/matchedDistribution.in examples/matchedDistribution.output examples/multipacting.in examples/OBLA-Gun/OBLA-Gun.in examples/opal-cycl.in examples/opal-cycl-sc.in examples/surfacephysics.in examples/tuning.sh fieldemission.tex fieldmaps.tex fieldsolvers.tex figures/Elements/RBend.tex figures/Elements/SBend.tex figures/Multipacting/HB_Fig4.tikz figures/opalt/flowdiagram.tex footer.tex format.tex geometry.tex header.tex html.sty installation.tex introduction.tex lines.tex macros.tex match.tex multipact.tex opalcycl.tex opal-flavours.tex opal-madx.tex opalmap.tex opalt.tex packages.tex partmatter.tex pdfdraftcopy.sty physics.tex quick-installation.tex switches.tex syntax.tex tables.tex track.tex tutorial.tex uml.tex wakefields.tex
INPUTS actions.tex autophase.tex benchmarks.tex changelog.tex control.tex conventions.tex dingbat.sty distribution.tex elements.tex errors.tex examples/diagnostic.in examples/matchedDistribution.in examples/matchedDistribution.output examples/multipacting.in examples/OBLA-Gun/OBLA-Gun.in examples/opal-cycl.in examples/opal-cycl-sc.in examples/surfacephysics.in examples/tuning.sh fieldemission.tex fieldmaps.tex fieldsolvers.tex figures/Elements/RBend.tex figures/Elements/SBend.tex figures/Multipacting/HB_Fig4.tikz figures/opalt/flowdiagram.tex footer.tex format.tex geometry.tex header.tex html.sty installation.tex introduction.tex lines.tex macros.tex match.tex multipact.tex opalcycl.tex opal-flavours.tex opal-madx.tex opalmap.tex opalt.tex packages.tex partmatter.tex pdfdraftcopy.sty physics.tex quick-installation.tex switches.tex syntax.tex tables.tex track.tex tutorial.tex uml.tex version.tex wakefields.tex
BIBFILES bibliography.bib
CONFIGURE macros.tex
IMAGE_DIRS figures figures/Benchmarks figures/cyclotron figures/Elements figures/Fieldmaps figures/Gun figures/Multipacting figures/opalt figures/partmatter figures/traveling-wave-structure
......@@ -25,7 +27,7 @@ IF (ENABLE_DOCUMENTATION)
)
ELSE()
add_latex_document(opal_user_guide.tex
INPUTS actions.tex autophase.tex benchmarks.tex changelog.tex control.tex conventions.tex dingbat.sty distribution.tex elements.tex errors.tex examples/diagnostic.in examples/matchedDistribution.in examples/matchedDistribution.output examples/multipacting.in examples/OBLA-Gun/OBLA-Gun.in examples/opal-cycl.in examples/opal-cycl-sc.in examples/surfacephysics.in examples/tuning.sh fieldemission.tex fieldmaps.tex fieldsolvers.tex figures/Elements/RBend.tex figures/Elements/SBend.tex figures/Multipacting/HB_Fig4.tikz figures/opalt/flowdiagram.tex footer.tex format.tex geometry.tex header.tex html.sty installation.tex introduction.tex lines.tex macros.tex match.tex multipact.tex opalcycl.tex opal-flavours.tex opal-madx.tex opalmap.tex opalt.tex packages.tex partmatter.tex pdfdraftcopy.sty physics.tex quick-installation.tex switches.tex syntax.tex tables.tex track.tex tutorial.tex uml.tex wakefields.tex
INPUTS actions.tex autophase.tex benchmarks.tex changelog.tex control.tex conventions.tex dingbat.sty distribution.tex elements.tex errors.tex examples/diagnostic.in examples/matchedDistribution.in examples/matchedDistribution.output examples/multipacting.in examples/OBLA-Gun/OBLA-Gun.in examples/opal-cycl.in examples/opal-cycl-sc.in examples/surfacephysics.in examples/tuning.sh fieldemission.tex fieldmaps.tex fieldsolvers.tex figures/Elements/RBend.tex figures/Elements/SBend.tex figures/Multipacting/HB_Fig4.tikz figures/opalt/flowdiagram.tex footer.tex format.tex geometry.tex header.tex html.sty installation.tex introduction.tex lines.tex macros.tex match.tex multipact.tex opalcycl.tex opal-flavours.tex opal-madx.tex opalmap.tex opalt.tex packages.tex partmatter.tex pdfdraftcopy.sty physics.tex quick-installation.tex switches.tex syntax.tex tables.tex track.tex tutorial.tex uml.tex version.tex wakefields.tex
BIBFILES bibliography.bib
CONFIGURE macros.tex
IMAGE_DIRS figures figures/Benchmarks figures/cyclotron figures/Elements figures/Fieldmaps figures/Gun figures/Multipacting figures/opalt figures/partmatter figures/traveling-wave-structure
......
......@@ -77,7 +77,6 @@
\newcommand{\Z}{{\mathbb Z}} % integer numbers
\newcommand{\N}{{\mathbb N}} % natural numbers
\newcommand{\opalversion}[1]{\ifstrempty{#1}{@OPAL_VERSION@\xspace}{#1}}
\newcommand{\mad}{\textsc{mad}\xspace}
\newcommand{\madnine}{\textsc{mad9}\xspace}
\newcommand{\madninep}{\textsc{mad9p}\xspace}
......@@ -198,4 +197,6 @@
\makeatletter
\renewcommand*{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi\stdchapter}
\makeatother
\ No newline at end of file
\makeatother
\input{version}
\ No newline at end of file
......@@ -27,7 +27,7 @@
<center>
PAUL SCHERRER INSTITUT
<br>
<h1>The OPAL Framework , Version \opalversion{} \footnote{Release Date: Not yet released!}</h1>
<h1>The OPAL Framework , \opalversion{} \footnote{Release Date: Not yet released!}</h1>
<h2>(Object Oriented Parallel Accelerator Library)</h2>
<h2>User's Reference Manual</h2>
<br>
......@@ -50,7 +50,7 @@ PSI-PR-08-02
\begin{center}\LARGE % document title
{\bf The OPAL Framework } \\
(Object Oriented Parallel Accelerator Library) \\
Version \opalversion\ \\
\opalversion{} \\
(compiled \today)\\
{\bf User's Reference Manual}
\end{center}
......
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