From 462611dbe1449dbd9d811ef7d915cf34f2673fa0 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Sat, 21 Mar 2015 15:35:17 -0700 Subject: [PATCH] doc update --- scribblings/decode.scrbl | 2 +- scribblings/tutorial-third.scrbl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scribblings/decode.scrbl b/scribblings/decode.scrbl index 1c497b3..15855f6 100644 --- a/scribblings/decode.scrbl +++ b/scribblings/decode.scrbl @@ -41,7 +41,7 @@ Recursively process a @racket[_tagged-xexpr], usually the one exported from a Po This function doesn't do much on its own. Rather, it provides the hooks upon which harder-working functions can be hung. -Recall from [future link: Pollen mechanics] that any tag can have a function attached to it. By default, the @racket[_tagged-xexpr] from a source file is tagged with @racket[root]. So the typical way to use @racket[decode] is to attach your decoding functions to it, and then define @racket[root] to invoke your @racket[decode] function. Then it will be automatically applied to every @racket[doc] during compile. +Recall that in Pollen, all @secref["tags-are-functions"]. By default, the @racket[_tagged-xexpr] from a source file is tagged with @racket[root]. So the typical way to use @racket[decode] is to attach your decoding functions to it, and then define @racket[root] to invoke your @racket[decode] function. Then it will be automatically applied to every @racket[doc] during compile. For instance, here's how @racket[decode] is attached to @racket[root] in @italic{Butterick's Practical Typography}. There's not much to it — diff --git a/scribblings/tutorial-third.scrbl b/scribblings/tutorial-third.scrbl index 940a588..3068cba 100644 --- a/scribblings/tutorial-third.scrbl +++ b/scribblings/tutorial-third.scrbl @@ -341,7 +341,7 @@ And most important: As we'll see in the next section, this is where your book truly becomes programmable. -@section{Tags are functions} +@section[#:tag "tags-are-functions"]{Tags are functions} @(noskip-note)