From adb25c72c5b1e75670acce11fc62ade891a7dab3 Mon Sep 17 00:00:00 2001 From: HOS Date: Tue, 2 Apr 2024 13:14:52 +0200 Subject: [PATCH 1/2] Avoid syntax errors. --- chapters/annotations.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chapters/annotations.tex b/chapters/annotations.tex index 78505f554..4cb528238 100644 --- a/chapters/annotations.tex +++ b/chapters/annotations.tex @@ -41,12 +41,13 @@ \section{Documentation}\label{annotations-for-documentation}\label{documentation record Documentation String info = "" "Description of the class"; String revisions = "" "Revision history"; - Figure[:] figures = {}; "Simulation result figures"; - String[:] styleSheets = {} "Style sheets for documentation"; + Figure[:] figures; "Simulation result figures"; + String[:] styleSheets = fill("", 0) "Style sheets for documentation"; end Documentation; \end{lstlisting} The \lstinline!styleSheets! may also be given as a single string, see \cref{style-sheets}. +The \lstinline!figures! is described in \cref{figures}, if missing it i interpreted as if no figures are given in the model. How the tool interprets the information in \lstinline!Documentation! is unspecified. From 333d7132c9738b2da18e730f7146540bcc333101 Mon Sep 17 00:00:00 2001 From: HOS Date: Tue, 30 Apr 2024 13:22:15 +0200 Subject: [PATCH 2/2] Spelling --- chapters/annotations.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/annotations.tex b/chapters/annotations.tex index 4cb528238..a00b6ad73 100644 --- a/chapters/annotations.tex +++ b/chapters/annotations.tex @@ -47,7 +47,7 @@ \section{Documentation}\label{annotations-for-documentation}\label{documentation \end{lstlisting} The \lstinline!styleSheets! may also be given as a single string, see \cref{style-sheets}. -The \lstinline!figures! is described in \cref{figures}, if missing it i interpreted as if no figures are given in the model. +The \lstinline!figures! is described in \cref{figures}, if missing it is interpreted as if no figures are given in the model. How the tool interprets the information in \lstinline!Documentation! is unspecified.