Skip to content

Commit

Permalink
Use \autonameref instead of just \nameref
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Apr 30, 2020
1 parent e3b8390 commit fb655b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions chapters/revisions.tex
Expand Up @@ -748,7 +748,7 @@ \subsection{Main changes in Modelica 3.3}\doublelabel{main-changes-in-modelica-3
\textbf{backwards compatible}:
\begin{itemize}
\item
\nameref{synchronous-language-elements} from
\autonameref{synchronous-language-elements} from
Modelica 3.2 has been removed (a more powerful functionality is
instead provided with the new \autoref{synchronous-language-elements} and \autoref{state-machines}). Since, no
released tools has yet supported the previous \autoref{synchronous-language-elements}, this not
Expand Down Expand Up @@ -1882,22 +1882,22 @@ \subsection{Main Changes in Modelica 3.0}\doublelabel{main-changes-in-modelica-3
A third argument \lstinline!AssertionLevel! to built-in function \lstinline!assert(!...\lstinline!)! in
order that warnings can optionally be defined.
\item
New annotations \nameref{vendor-specific-annotations}:\\
New annotations \autonameref{vendor-specific-annotations}:\\
In this section it is precisely defined how vendor-specific
annotations should be marked. Any tool shall save files with all
standard annotations (defined in \autoref{annotations}) and all vendor-specific
annotations intact. The advantage is that a typo in non-vendor
annotations can now be detected and marked as an error, whereas in
previous versions this had to be ignored.
\item
New annotation in \nameref{annotations-for-documentation}:\\
New annotation in \autonameref{annotations-for-documentation}:\\
\lstinline!preferredView = info!, \lstinline!diagram! or \lstinline!text!
\item
New annotations \nameref{annotations-for-code-generation}:\\
New annotations \autonameref{annotations-for-code-generation}:\\
\lstinline!Evaluate!, \lstinline!HideResult!, \lstinline!Inline!,
\lstinline!LateInline!, \lstinline!smoothOrder!
\item
New annotation \nameref{annotations-for-simulation-experiments}:\\
New annotation \autonameref{annotations-for-simulation-experiments}:\\
\lstinline!StartTime!, \lstinline!StopTime!, \lstinline!Tolerance! to define important parameters of an
experiment setup.
\item
Expand Down
2 changes: 1 addition & 1 deletion chapters/statements.tex
Expand Up @@ -73,7 +73,7 @@ \subsection{Execution of an algorithm in a model}\doublelabel{execution-of-an-al

\subsection{Execution of the algorithm in a function}\doublelabel{execution-of-the-algorithm-in-a-function}

See \nameref{initialization-and-binding-equations-of-components-in-functions}.
See \autonameref{initialization-and-binding-equations-of-components-in-functions}.

\section{Statements}\doublelabel{statements}

Expand Down

0 comments on commit fb655b4

Please sign in to comment.