From e6fd878e144cd717b6ccf49460674b5cc5910441 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 8 Jan 2011 08:07:00 -0700 Subject: [PATCH] doc `Secref' Closes PR 11309 --- collects/scribblings/scribble/base.scrbl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/collects/scribblings/scribble/base.scrbl b/collects/scribblings/scribble/base.scrbl index 4e0716cb70..4a0c32750a 100644 --- a/collects/scribblings/scribble/base.scrbl +++ b/collects/scribblings/scribble/base.scrbl @@ -448,6 +448,16 @@ If @racket[underline?] is @racket[#f], then the hyperlink is rendered in HTML without an underline.} +@defproc[(Secref [tag string?] + [#:doc module-path (or/c module-path? false/c) #f] + [#:tag-prefixes prefixes (or/c (listof string?) false/c) #f] + [#:underline? underline? any/c #t]) + element?]{ + +Like @racket[secref], but if the rendered form of the reference starts +with a word (e.g., ``section''), then the word is capitalized.} + + @defproc[(seclink [tag string?] [#:doc module-path (or/c module-path? false/c) #f] [#:tag-prefixes prefixes (or/c (listof string?) false/c) #f]