Skip to content

Commit

Permalink
Address makeindex warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Apr 14, 2021
1 parent 448342b commit b098979
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ \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}\index{declaration equation|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}\index{declaration equation}\index{declaration equation!zzzzz@\igobble |seealso{binding equation}} associated with the declared component.
% 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: 1 addition & 1 deletion chapters/synchronous.tex
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ \subsection{Sub-clock conversion operators}\label{sub-clock-conversion-operators

\section{Clocked When-Clause}\label{clocked-when-clause}

In addition to the previously discussed conditional \lstinline!when!-clause, a \emph{clocked} \lstinline!when!-clause\index{clocked!\lstinline!when!-clause}\index{\lstinline!when!-clause!clocked} is introduced:
In addition to the previously discussed conditional \lstinline!when!-clause, a \emph{clocked} \lstinline!when!-clause\index{clocked!when-clause@\robustinline{when}-clause}\index{when-clause@\robustinline{when}-clause!clocked} is introduced:
% TODO: Can't have angle brackets and \emph in the same mathescape due to LaTeXML issue:
% - https://github.com/brucemiller/LaTeXML/issues/1477
% Once we cut the MathJax dependency, change to single mathescape for better character spacing.
Expand Down
4 changes: 4 additions & 0 deletions preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@
\fi
\makeindex

% 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
\def\igobble#1 {}

% Providing command that other authors seem to take for granted.
\newcommand*\seealso[2]{\emph{\alsoname} #1}

Expand Down

0 comments on commit b098979

Please sign in to comment.