aboutsummaryrefslogtreecommitdiff
path: root/assets/manual/tex
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-09-04 17:31:09 +0200
committerY. Wang <yw05@forksworld.de>2022-09-04 17:50:09 +0200
commit49beb106f00d35296c54a6f15cc663526651d376 (patch)
tree21e551a285a4f44960f50082d7ceedab667252d0 /assets/manual/tex
parent9a9023bdf8c846661596ba16b125a5ab1102a25a (diff)
downloadadvtrains-49beb106f00d35296c54a6f15cc663526651d376.tar.gz
advtrains-49beb106f00d35296c54a6f15cc663526651d376.tar.bz2
advtrains-49beb106f00d35296c54a6f15cc663526651d376.zip
Use ldoc instead of manpages
Diffstat (limited to 'assets/manual/tex')
-rw-r--r--assets/manual/tex/luaatc.tex6
-rw-r--r--assets/manual/tex/main.tex4
-rw-r--r--assets/manual/tex/man/.gitkeep0
-rw-r--r--assets/manual/tex/manpages.tex7
-rw-r--r--assets/manual/tex/preamble.tex5
5 files changed, 5 insertions, 17 deletions
diff --git a/assets/manual/tex/luaatc.tex b/assets/manual/tex/luaatc.tex
index 8ee5d43..99ef77f 100644
--- a/assets/manual/tex/luaatc.tex
+++ b/assets/manual/tex/luaatc.tex
@@ -124,11 +124,11 @@ The following are available if \texttt{advtrains\_interlocking} is enabled.
\item \apifunc{can\_set\_route}{\var{pos},\var{name}} Returns a boolean indicating whether the route named \var{name} of the signal at \var{pos} can be set.
\item \apifunc{set\_route}{\var{pos},\var{name}} Sets the route named \var{name} of the signal at \var{pos}.
\item \apifunc{cancel\_route}{\var{pos}} Cancels the route that is set from the signal at \var{pos}.
-\item \apifunc{get\_aspect}{\var{pos}} Returns the signal aspect of the signal at \var{pos}. Please refer to \manref{signal\string_aspect}{7advtrains} for the structure of signal aspect tables.
+\item \apifunc{get\_aspect}{\var{pos}} Returns the signal aspect of the signal at \var{pos}.
\end{apidoc}
\subsection{Railway time}
-Please refer to \manref{rwt}{7advtrains} for information on the railway time API.
+Please refer to the railway time API documentation for more information.
\begin{apidoc}{LuaATC}
\item \apifunc{schedule}{\var{time},\var{message}} Triggers a \texttt{schedule} event at \var{time} with the message \var{message}. Only one event can be scheduled this way.
\item \apifunc{schedule\_in}{\var{time},\var{message}} Like \texttt{schedule}, but \var{time} is given as the time until the event is triggered.
@@ -194,4 +194,4 @@ The following operations are safe in the approach callback:
%%% Local Variables:
%%% TeX-master: "a4manual"
-%%% End: \ No newline at end of file
+%%% End:
diff --git a/assets/manual/tex/main.tex b/assets/manual/tex/main.tex
index 2ea7bde..c93b5c9 100644
--- a/assets/manual/tex/main.tex
+++ b/assets/manual/tex/main.tex
@@ -9,8 +9,6 @@
\include{contributing.tex}
-\input{manpages.tex}
-
\include{physics.tex}
\ifx\HCode\undefined
@@ -20,4 +18,4 @@
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "a4manual"
-%%% End: \ No newline at end of file
+%%% End:
diff --git a/assets/manual/tex/man/.gitkeep b/assets/manual/tex/man/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/assets/manual/tex/man/.gitkeep
+++ /dev/null
diff --git a/assets/manual/tex/manpages.tex b/assets/manual/tex/manpages.tex
deleted file mode 100644
index 3ef817d..0000000
--- a/assets/manual/tex/manpages.tex
+++ /dev/null
@@ -1,7 +0,0 @@
-\part{Manual Pages}
-\input{man.tex}
-
-%%% Local Variables:
-%%% mode: LaTeX
-%%% TeX-master: "a4manual"
-%%% End: \ No newline at end of file
diff --git a/assets/manual/tex/preamble.tex b/assets/manual/tex/preamble.tex
index 567b16d..cd2553f 100644
--- a/assets/manual/tex/preamble.tex
+++ b/assets/manual/tex/preamble.tex
@@ -51,9 +51,6 @@
\newcommand{\vari}[1]{\varnth{#1}{1}}
\newcommand{\varii}[1]{\varnth{#1}{2}}
-\newcommand{\manref}[2]{\hyperref[man:#1.#2]{\texttt{#1(#2)}}}
-\def\tightlist{} % pandoc compat
-
\def\luatrue{\texttt{true}}
\def\luafalse{\texttt{false}}
\def\luanil{\texttt{nil}}
@@ -202,4 +199,4 @@
%%% Local Variables:
%%% TeX-master: "a4manual"
-%%% End: \ No newline at end of file
+%%% End: