Skip to content

Commit

Permalink
Turn see-also index entry into textual cross-reference
Browse files Browse the repository at this point in the history
As requested by Hans.
  • Loading branch information
henrikt-ma committed Nov 29, 2021
1 parent c17ee1c commit 64042a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chapters/classes.tex
Expand Up @@ -202,7 +202,8 @@ \subsection{Component Declaration Static Semantics}\label{component-declaration-

\subsubsection{Declaration Equations}\label{declaration-equations}

An environment that defines the value of a component of built-in type is said to define a \firstuse{declaration equation}\index{declaration equation!zzzzz@\igobble |seealso{binding equation}} associated with the declared component.
An environment that defines the value of a component of built-in type is said to define a \firstuse{declaration equation} associated with the declared component.
These are a subset of the binding equations, see \cref{equation-categories}.
% Note: In variability-of-expressions, it's called a "binding equation", not "declaration equation".
The declaration equation is of the form \lstinline!x = expression! defined by a component declaration, where \lstinline!expression! must not have higher variability than the declared component \lstinline!x! (see \cref{variability-of-expressions}).
Unlike other equations, a declaration equation can be overridden (replaced or removed) by an element modification.
Expand Down
2 changes: 2 additions & 0 deletions preamble.tex
Expand Up @@ -90,6 +90,8 @@

% For solving issue with see-also entries in index, see
% - https://tex.stackexchange.com/questions/231840/what-is-the-proper-use-of-several-seealso-in-the-same-index-entry-with-makeinde
% For example, this is how to create a see-also item under "declaration equation":
% \index{declaration equation!zzzzz@\igobble |seealso{binding equation}}
\def\igobble#1 {}

% Providing command that other authors seem to take for granted.
Expand Down

0 comments on commit 64042a1

Please sign in to comment.