Skip to content

Commit a773f04

Browse files
committed
adding all callouts
1 parent 81a1362 commit a773f04

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

dataforge.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ \section{Doing Calculations}\label{s:dataforge-calc}
381381
\end{minted}
382382

383383
\noindent
384-
To sub-sort by another column we use \texttt{thenBy}:
384+
To sub-sort (\figref{f:dataforge-sorting}) by another column we use \texttt{thenBy}:
385385

386386
\begin{minted}{js}
387387
const doubleSorted = colors
@@ -518,7 +518,7 @@ \section{Subsets}\label{s:dataforge-subset}
518518
\end{minted}
519519

520520
If we want data from the middle of the table,
521-
we can skip a few rows and then take as many as we want:
521+
we can skip a few rows and then take as many as we want (\figref{f:dataforge-positional}):
522522

523523
\begin{minted}{js}
524524
console.log(earthquakes.skip(10).take(3).toArray())

dynamic.tex

+2-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ \section{Developing with Parcel}\label{s:dynamic-parcel}
291291
The browser will try to load the required files when those statements run,
292292
but who is going to serve them?
293293
294-
The solution is to use a \gref{g:bundler}{bundler} to combine everything into one big file,
294+
The solution is to use a \gref{g:bundler}{bundler} (\figref{f:dynamic-parcel})
295+
to combine everything into one big file,
295296
and to run a \gref{g:local-server}{local server} to preview our application during development.
296297
However,
297298
this solution brings with it another problem:

pages.tex

+4-6
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ \section{Creating a Table of Contents}\label{s:pages-toc}
298298
\section{Sortable Lists}\label{s:pages-sort-list}
299299
300300
Creating nodes allows us to add content to a page,
301-
but we can also rearrange the nodes that are there.
301+
but we can also rearrange the nodes that are there (\figref{f:pages-sortlist}).
302302
Our next exercise is to sort the elements of a list,
303303
so that if the author writes:
304304
@@ -541,10 +541,8 @@ \section{Bibliographic Citations}\label{s:pages-citations}
541541
\end{minted}
542542
543543
\noindent
544-
Here's our function
545-
(which we'll call from an event listener as before---again,
546-
the line breaks in the second call to \texttt{map} are there
547-
so that the printed version will fit the page):
544+
Here's our function (\figref{f:pages-pipeline}),
545+
which we'll call from an event listener as before:
548546
549547
\begin{minted}{js}
550548
const citations = () => {
@@ -573,7 +571,7 @@ \section{Bibliographic Citations}\label{s:pages-citations}
573571
\figpdf{figures/pages-pipeline.pdf}{A Processing Pipeline}{f:pages-pipeline}
574572
575573
There is a lot going on here,
576-
but it all uses patterns we have seen before.
574+
but it all uses patterns we have seen before.
577575
It starts by building an array of all the links in the document
578576
i.e., every \texttt{a} element:
579577

0 commit comments

Comments
 (0)