Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
66bad46d
Commit
66bad46d
authored
Nov 04, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make LaTeX setup position-independent
parent
1b1aae99
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
15 deletions
+7
-15
CMakeLists.txt
CMakeLists.txt
+0
-5
doc/CMakeLists.txt
doc/CMakeLists.txt
+0
-4
doc/cmake/variables.tex.in
doc/cmake/variables.tex.in
+1
-0
doc/tex/manual.tex
doc/tex/manual.tex
+6
-6
No files found.
CMakeLists.txt
View file @
66bad46d
...
...
@@ -654,11 +654,6 @@ message(STATUS "Set release version for all documentation to ${CAF_RELEASE}.")
# -- Setup for building manual and API documentation ---------------------------
# we need the examples and some headers relative to the build/doc/tex directory
file
(
COPY examples/ DESTINATION examples
)
file
(
COPY libcaf_core/caf/exit_reason.hpp DESTINATION libcaf_core/caf/
)
file
(
COPY libcaf_core/caf/sec.hpp DESTINATION libcaf_core/caf/
)
add_subdirectory
(
doc
)
################################################################################
...
...
doc/CMakeLists.txt
View file @
66bad46d
cmake_minimum_required
(
VERSION 2.8.12
)
project
(
doc NONE
)
add_custom_target
(
doc
)
# -- list all .tex source files ------------------------------------------------
...
...
doc/cmake/variables.tex.in
View file @
66bad46d
\newcommand{\cafrelease}{@CAF_RELEASE@}
\newcommand{\cafsha}{@CAF_SHA@}
\newcommand{\cafroot}{@PROJECT_SOURCE_DIR@}
doc/tex/manual.tex
View file @
66bad46d
...
...
@@ -124,20 +124,20 @@ User Manual\\
\newcommand
{
\cppexample
}
[2][]
{
%
\ifthenelse
{
\isempty
{
#1
}}
%
{
\lstinputlisting
{
../..
/examples/#2.cpp
}}
%
{
\lstinputlisting
[language=C++,linerange={#1}]
{
../..
/examples/#2.cpp
}}
%
{
\lstinputlisting
{
\cafroot
/examples/#2.cpp
}}
%
{
\lstinputlisting
[language=C++,linerange={#1}]
{
\cafroot
/examples/#2.cpp
}}
%
}
\newcommand
{
\iniexample
}
[2][]
{
%
\ifthenelse
{
\isempty
{
#1
}}
%
{
\lstinputlisting
[language=ini]
{
../..
/examples/#2.ini
}}
%
{
\lstinputlisting
[language=ini,linerange={#1}]
{
../..
/examples/#2.ini
}}
%
{
\lstinputlisting
[language=ini]
{
\cafroot
/examples/#2.ini
}}
%
{
\lstinputlisting
[language=ini,linerange={#1}]
{
\cafroot
/examples/#2.ini
}}
%
}
\newcommand
{
\sourcefile
}
[2][]
{
%
\ifthenelse
{
\isempty
{
#1
}}
%
{
\lstinputlisting
[language=C++]
{
../..
/#2
}}
%
{
\lstinputlisting
[language=C++,linerange={#1}]
{
../..
/#2
}}
%
{
\lstinputlisting
[language=C++]
{
\cafroot
/#2
}}
%
{
\lstinputlisting
[language=C++,linerange={#1}]
{
\cafroot
/#2
}}
%
}
% highlight for INI file syntax
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment