Skip to content
This repository was archived by the owner on Aug 10, 2023. It is now read-only.

Commit e0ecb78

Browse files
committed
Fixed typo and updated assertion macro.
1 parent 23bf4b4 commit e0ecb78

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

spec/chapters/engines.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ \section{Selection Algorithm}
4040
the following algorithm assumes only \Viewable\ as input.
4141

4242
Implementations should perform the following steps while trying to find
43-
a suitable view engine for a \Viewable \assertref{selection-algorithm}.
43+
a suitable view engine for a \Viewable\ \assertref{selection-algorithm}.
4444

4545
\begin{enumerate}
4646
\item If calling \code{getViewEngine} on the \Viewable\ returns a non-null value, return

spec/chapters/intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ \section{Conventions}
9090
`RECOMMENDED', `MAY', and `OPTIONAL' in this document are to be interpreted as described in
9191
RFC 2119\cite{rfc2119}.
9292

93-
Assertions defined by this specification are formatted as {\textbf{\lllb{an-assertion}\rrrb}}
93+
Assertions defined by this specification are formatted as {\textbf{\llb{an-assertion}\rrb}}
9494
using a descriptive name as the label and are all listed in Appendix \ref{assertions}.
9595

9696
Java code and sample data fragments are formatted as shown in figure \ref{ex1}:

spec/spec.pdf

-91 Bytes
Binary file not shown.

spec/styles/macros.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@
9191
\newcommand{\ReadFrom}{{\footnotesize {\sf ReadFrom}}}
9292
\newcommand{\WriteTo}{{\footnotesize {\sf WriteTo}}}
9393

94-
\newcommand{\lllb}{$[\![\![$}
95-
\newcommand{\rrrb}{$]\!]\!]$}
96-
\newcommand{\assertref}[1]{\textbf{\lllb\ref{#1}\rrrb}}
94+
\newcommand{\llb}{$[\![$}
95+
\newcommand{\rrb}{$]\!]$}
96+
\newcommand{\assertref}[1]{\textbf{\llb\ref{#1}\rrb}}
9797

9898
\makeatletter
9999
\newcommand{\assert}[1]{%
100-
\def\@itemlabel{\textbf{\lllb#1\rrrb}}
100+
\def\@itemlabel{\textbf{\llb{#1}\rrb}}
101101
\item
102102
\def\@currentlabel{#1}\label{#1}}
103103
\makeatother

0 commit comments

Comments
 (0)