This file is indexed.

/usr/share/doc/racket/scribble/decode.html is in racket-doc 6.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>6.5&nbsp;Decoding Text</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_0&quot;);">&#9658;</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Scribble:<span class="mywbr"> &nbsp;</span> The Racket Documentation Tool</a></td></tr></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1&nbsp;</td><td><a href="getting-started.html" class="tocviewlink" data-pltdoc="x">Getting Started</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="reader.html" class="tocviewlink" data-pltdoc="x">@ Syntax</a></td></tr><tr><td align="right">3&nbsp;</td><td><a href="generic-prose.html" class="tocviewlink" data-pltdoc="x">High-<wbr></wbr>Level Scribble API</a></td></tr><tr><td align="right">4&nbsp;</td><td><a href="plt-manuals.html" class="tocviewlink" data-pltdoc="x">Scribbling Documentation</a></td></tr><tr><td align="right">5&nbsp;</td><td><a href="lp.html" class="tocviewlink" data-pltdoc="x">Literate Programming</a></td></tr><tr><td align="right">6&nbsp;</td><td><a href="internals.html" class="tocviewselflink" data-pltdoc="x">Low-<wbr></wbr>Level Scribble API</a></td></tr><tr><td align="right">7&nbsp;</td><td><a href="running.html" class="tocviewlink" data-pltdoc="x">Running <span class="stt">scribble</span></a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_1&quot;);">&#9660;</a></td><td>6&nbsp;</td><td><a href="internals.html" class="tocviewlink" data-pltdoc="x">Low-<wbr></wbr>Level Scribble API</a></td></tr></table><div class="tocviewsublistbottom" style="display: block;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">6.1&nbsp;</td><td><a href="layers.html" class="tocviewlink" data-pltdoc="x">Scribble Layers</a></td></tr><tr><td align="right">6.2&nbsp;</td><td><a href="reader-internals.html" class="tocviewlink" data-pltdoc="x">@ Reader Internals</a></td></tr><tr><td align="right">6.3&nbsp;</td><td><a href="core.html" class="tocviewlink" data-pltdoc="x">Structures And Processing</a></td></tr><tr><td align="right">6.4&nbsp;</td><td><a href="renderer.html" class="tocviewlink" data-pltdoc="x">Renderers</a></td></tr><tr><td align="right">6.5&nbsp;</td><td><a href="" class="tocviewselflink" data-pltdoc="x">Decoding Text</a></td></tr><tr><td align="right">6.6&nbsp;</td><td><a href="doclang.html" class="tocviewlink" data-pltdoc="x">Document Language</a></td></tr><tr><td align="right">6.7&nbsp;</td><td><a href="docreader.html" class="tocviewlink" data-pltdoc="x">Document Reader</a></td></tr><tr><td align="right">6.8&nbsp;</td><td><a href="xref.html" class="tocviewlink" data-pltdoc="x">Cross-<wbr></wbr>Reference Utilities</a></td></tr><tr><td align="right">6.9&nbsp;</td><td><a href="tag.html" class="tocviewlink" data-pltdoc="x">Tag Utilities</a></td></tr><tr><td align="right">6.10&nbsp;</td><td><a href="blueboxes.html" class="tocviewlink" data-pltdoc="x">Blue Boxes Utilities</a></td></tr><tr><td align="right">6.11&nbsp;</td><td><a href="config.html" class="tocviewlink" data-pltdoc="x">Extending and Configuring Scribble Output</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-content~3f%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">pre-<wbr></wbr>content?</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-flow~3f%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">pre-<wbr></wbr>flow?</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-part~3f%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">pre-<wbr></wbr>part?</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-part%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode-<wbr></wbr>part</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-flow%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode-<wbr></wbr>flow</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-compound-paragraph%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode-<wbr></wbr>compound-<wbr></wbr>paragraph</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-paragraph%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode-<wbr></wbr>paragraph</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-content%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode-<wbr></wbr>content</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-elements%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode-<wbr></wbr>elements</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-string%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">decode-<wbr></wbr>string</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._whitespace~3f%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">whitespace?</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._title-decl%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">title-<wbr></wbr>decl</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-start%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">part-<wbr></wbr>start</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-index-decl%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">part-<wbr></wbr>index-<wbr></wbr>decl</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-collect-decl%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">part-<wbr></wbr>collect-<wbr></wbr>decl</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-tag-decl%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">part-<wbr></wbr>tag-<wbr></wbr>decl</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">splice</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._spliceof%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">spliceof</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._clean-up-index-string%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">clean-<wbr></wbr>up-<wbr></wbr>index-<wbr></wbr>string</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.3&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.3&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="renderer.html" title="backward to &quot;6.4 Renderers&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="internals.html" title="up to &quot;6 Low-Level Scribble API&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="doclang.html" title="forward to &quot;6.6 Document Language&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div><h4 x-source-module="(lib &quot;scribblings/scribble/scribble.scrbl&quot;)" x-source-pkg="scribble-doc" x-part-tag="&quot;decode&quot;">6.5<tt>&nbsp;</tt><a name="(part._decode)"></a><a name="(mod-path._scribble/decode)"></a>Decoding Text</h4><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&amp;version=6.3" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/decode</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller">&nbsp;package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara">The <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/decode</span></a>
library helps you write document content in a natural way&#8212;<wbr></wbr>more like
plain text, except for <span class="RktInBG"><span class="hspace"></span><span class="RktIn">@</span><span class="hspace"></span></span> escapes.  Roughly, it processes a
stream of strings to produces instances of the
<a href="Compatibility_Libraries.html#%28mod-path._scribble%2Fstruct%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/struct</span></a> datatypes (see <a href="Compatibility_Libraries.html#%28part._struct%29" data-pltdoc="x">Compatibility Structures And Processing</a>).</div></p><p>At the <a href="core.html#%28tech._flow%29" class="techoutside" data-pltdoc="x"><span class="techinside">flow</span></a> level, decoding recognizes a blank line as a
<a href="core.html#%28tech._paragraph%29" class="techoutside" data-pltdoc="x"><span class="techinside">paragraph</span></a> separator. Blocks and paragraphs without blank lines
in between are collected into a <a href="core.html#%28tech._compound._paragraph%29" class="techoutside" data-pltdoc="x"><span class="techinside">compound paragraph</span></a>.</p><p><a name="(elem._(decode._rules))"></a>At the <a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a> level, decoding
makes just a few special text conversions:</p><ul><li><p><span class="RktInBG"><span class="hspace"></span><span class="RktIn">---</span><span class="hspace"></span></span>: converted to <span class="RktVal">'</span><span class="RktVal">mdash</span></p></li><li><p><span class="RktInBG"><span class="hspace"></span><span class="RktIn">--</span><span class="hspace"></span></span>: converted to <span class="RktVal">'</span><span class="RktVal">ndash</span></p></li><li><p><span class="RktInBG"><span class="hspace"></span><span class="RktIn">``</span><span class="hspace"></span></span>: converted to <span class="RktVal">'</span><span class="RktVal">ldquo</span>, which is fancy open quotes: &ldquo;</p></li><li><p><span class="RktInBG"><span class="hspace"></span><span class="RktIn">''</span><span class="hspace"></span></span>: converted to <span class="RktVal">'</span><span class="RktVal">rdquo</span>, which is fancy closing quotes: &rdquo;</p></li><li><p><span class="RktInBG"><span class="hspace"></span><span class="RktIn">'</span><span class="hspace"></span></span>: converted to <span class="RktVal">'</span><span class="RktVal">rsquo</span>, which is a fancy apostrophe: &rsquo;</p></li><li><p><span class="RktInBG"><span class="hspace"></span><span class="RktIn">`</span><span class="hspace"></span></span>: converted to <span class="RktVal">'</span><span class="RktVal">lsquo</span>, which is a fancy quote: &lsquo;</p></li></ul><p>Some functions <a name="(tech._decode)"></a><span style="font-style: italic">decode</span> a sequence of <span class="RktVar">pre-flow</span> or
<span class="RktVar">pre-content</span> arguments using <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-flow%29%29" class="RktValLink" data-pltdoc="x">decode-flow</a></span> or
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-content%29%29" class="RktValLink" data-pltdoc="x">decode-content</a></span>, respectively. For example, the <span class="RktSym"><a href="base.html#%28def._%28%28lib._scribble%2Fbase..rkt%29._bold%29%29" class="RktValLink" data-pltdoc="x">bold</a></span>
function accepts any number of <span class="RktVar">pre-content</span> arguments, so
that in</p><p><table cellspacing="0" cellpadding="0"><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="stt">@bold{``apple''}</span></p></td></tr></table></p><p>the <span class="RktInBG"><span class="hspace"></span><span class="RktIn">``apple''</span><span class="hspace"></span></span> argument is decoded to use fancy quotes, and
then it is bolded.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._pre-content~3f))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-content~3f%29%29" class="RktValDef RktValLink" data-pltdoc="x">pre-content?</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">v</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._boolean%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">boolean?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">v</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns <span class="RktVal">#t</span> if <span class="RktVar">v</span> is a <a name="(tech._pre._content)"></a><span style="font-style: italic">pre-content</span> value: a
string or other non-list <a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a>, a list of <a href="#%28tech._pre._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">pre-content</span></a> values, or a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValLink" data-pltdoc="x">splice</a></span>
containing a list of <a href="#%28tech._pre._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">pre-content</span></a> values; otherwise returns
<span class="RktVal">#f</span>.</div></p><p>Pre-content is decoded into <a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a> by functions like
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-content%29%29" class="RktValLink" data-pltdoc="x">decode-content</a></span> and <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-paragraph%29%29" class="RktValLink" data-pltdoc="x">decode-paragraph</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._pre-flow~3f))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-flow~3f%29%29" class="RktValDef RktValLink" data-pltdoc="x">pre-flow?</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">v</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._boolean%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">boolean?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">v</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns <span class="RktVal">#t</span> if <span class="RktVar">v</span> is a <a name="(tech._pre._flow)"></a><span style="font-style: italic">pre-flow</span> value: a
string or other non-list <a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a>, a <span class="RktSym">block</span>,
<a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=guide&amp;rel=void_undefined.html&amp;version=6.3" class="RktModLink Sq" data-pltdoc="x"><span class="nobreak"><span class="RktRes">#&lt;void&gt;</span></span></a>, a list of <a href="#%28tech._pre._flow%29" class="techoutside" data-pltdoc="x"><span class="techinside">pre-flow</span></a> values, or a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValLink" data-pltdoc="x">splice</a></span> containing a list of
<a href="#%28tech._pre._flow%29" class="techoutside" data-pltdoc="x"><span class="techinside">pre-flow</span></a> values; otherwise returns <span class="RktVal">#f</span>.</div></p><p>Pre-flow is decoded into a <a href="core.html#%28tech._flow%29" class="techoutside" data-pltdoc="x"><span class="techinside">flow</span></a> (i.e., a list of <a href="core.html#%28tech._block%29" class="techoutside" data-pltdoc="x"><span class="techinside">blocks</span></a>)
by functions like <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-flow%29%29" class="RktValLink" data-pltdoc="x">decode-flow</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._pre-part~3f))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-part~3f%29%29" class="RktValDef RktValLink" data-pltdoc="x">pre-part?</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">v</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._boolean%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">boolean?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">v</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns <span class="RktVal">#t</span> if <span class="RktVar">v</span> is a <a name="(tech._pre._part)"></a><span style="font-style: italic">pre-part</span> value: a
string or other non-list <a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a>, a <a href="core.html#%28tech._block%29" class="techoutside" data-pltdoc="x"><span class="techinside">block</span></a>, a
<span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._part%29%29" class="RktValLink" data-pltdoc="x">part</a></span>, a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._title-decl%29%29" class="RktValLink" data-pltdoc="x">title-decl</a></span>, a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-start%29%29" class="RktValLink" data-pltdoc="x">part-start</a></span>, a
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-index-decl%29%29" class="RktValLink" data-pltdoc="x">part-index-decl</a></span>, a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-collect-decl%29%29" class="RktValLink" data-pltdoc="x">part-collect-decl</a></span>, a
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-tag-decl%29%29" class="RktValLink" data-pltdoc="x">part-tag-decl</a></span>, <a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=guide&amp;rel=void_undefined.html&amp;version=6.3" class="RktModLink Sq" data-pltdoc="x"><span class="nobreak"><span class="RktRes">#&lt;void&gt;</span></span></a>, a list of <a href="#%28tech._pre._part%29" class="techoutside" data-pltdoc="x"><span class="techinside">pre-part</span></a> values, or a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValLink" data-pltdoc="x">splice</a></span> containing
a list of <a href="#%28tech._pre._part%29" class="techoutside" data-pltdoc="x"><span class="techinside">pre-part</span></a> values; otherwise returns <span class="RktVal">#f</span>.</div></p><p>A pre-part sequence is decoded into a <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._part%29%29" class="RktValLink" data-pltdoc="x">part</a></span> by functions like
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span> and <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-part%29%29" class="RktValLink" data-pltdoc="x">decode-part</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">lst</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._part~3f%29%29" class="RktValLink" data-pltdoc="x">part?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-part~3f%29%29" class="RktValLink" data-pltdoc="x">pre-part?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Decodes a document, producing a part. In <span class="RktVar">lst</span>, lists and instances of
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValLink" data-pltdoc="x">splice</a></span> are inlined into the list, and <a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=guide&amp;rel=void_undefined.html&amp;version=6.3" class="RktModLink Sq" data-pltdoc="x"><span class="nobreak"><span class="RktRes">#&lt;void&gt;</span></span></a>s are dropped. An instance of
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._title-decl%29%29" class="RktValLink" data-pltdoc="x">title-decl</a></span> supplies the title for the part, plus tag, style
and version information. Instances of <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-index-decl%29%29" class="RktValLink" data-pltdoc="x">part-index-decl</a></span> (that
precede any sub-part) add index entries that point to the
section. Instances of <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-collect-decl%29%29" class="RktValLink" data-pltdoc="x">part-collect-decl</a></span> add elements to the
part that are used only during the <a href="core.html#%28tech._collect._pas%29" data-pltdoc="x">collect pass</a>. Instances
of <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-tag-decl%29%29" class="RktValLink" data-pltdoc="x">part-tag-decl</a></span> add hyperlink tags to the section
title. Instances of <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-start%29%29" class="RktValLink" data-pltdoc="x">part-start</a></span> at level 0 trigger sub-part
parsing. Instances of <span class="RktSym"><a href="base.html#%28def._%28%28lib._scribble%2Fbase..rkt%29._section%29%29" class="RktValLink" data-pltdoc="x">section</a></span> trigger are used as-is as
subsections, and instances of <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._paragraph%29%29" class="RktValLink" data-pltdoc="x">paragraph</a></span> and other
flow-element datatypes are used as-is in the enclosing flow.</div></p><p>Portions of <span class="RktVar">lst</span> are within a part are decoded using
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-flow%29%29" class="RktValLink" data-pltdoc="x">decode-flow</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode-part))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-part%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode-part</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span><span class="RktVar">tags</span><span class="hspace">&nbsp;</span><span class="RktVar">title</span><span class="hspace">&nbsp;</span><span class="RktVar">depth</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._part~3f%29%29" class="RktValLink" data-pltdoc="x">part?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-part~3f%29%29" class="RktValLink" data-pltdoc="x">pre-part?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">tags</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">title</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace">&nbsp;</span><span class="RktVal">#f</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">list?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">depth</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span>, but given a list of tag string for the part, a
title (if <span class="RktVal">#f</span>, then a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._title-decl%29%29" class="RktValLink" data-pltdoc="x">title-decl</a></span> instance is used if
found), and a depth for <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-start%29%29" class="RktValLink" data-pltdoc="x">part-start</a></span>s to trigger sub-part
parsing.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode-flow))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-flow%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode-flow</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">lst</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._block~3f%29%29" class="RktValLink" data-pltdoc="x">block?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-flow~3f%29%29" class="RktValLink" data-pltdoc="x">pre-flow?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Decodes a flow. In <span class="RktVar">lst</span>, lists and instances of
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValLink" data-pltdoc="x">splice</a></span> are inlined into the list. A sequence of two or more
newlines separated only by whitespace is parsed as a
compound-paragraph separator.</div></p><p>Portions of <span class="RktVar">lst</span> are within a compound paragraph are decoded using
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-compound-paragraph%29%29" class="RktValLink" data-pltdoc="x">decode-compound-paragraph</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode-compound-paragraph))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-compound-paragraph%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode-compound-paragraph</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">lst</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._block~3f%29%29" class="RktValLink" data-pltdoc="x">block?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-flow~3f%29%29" class="RktValLink" data-pltdoc="x">pre-flow?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Decodes a compound paragraph. In <span class="RktVar">lst</span>, lists and instances of
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValLink" data-pltdoc="x">splice</a></span> are inlined into the list. Instances of
<span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._paragraph%29%29" class="RktValLink" data-pltdoc="x">paragraph</a></span> and other <a href="core.html#%28tech._block%29" class="techoutside" data-pltdoc="x"><span class="techinside">block</span></a> datatypes are used as-is in
the result. If the compound paragraph contains a single block, the
block is returned without a <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._compound-paragraph%29%29" class="RktValLink" data-pltdoc="x">compound-paragraph</a></span> wrapper.</div></p><p>Portions of <span class="RktVar">lst</span> that are separated by <a href="core.html#%28tech._block%29" class="techoutside" data-pltdoc="x"><span class="techinside">block</span></a>s are
decoded using <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-content%29%29" class="RktValLink" data-pltdoc="x">decode-content</a></span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode-paragraph))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-paragraph%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode-paragraph</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">lst</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._paragraph~3f%29%29" class="RktValLink" data-pltdoc="x">paragraph?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-content~3f%29%29" class="RktValLink" data-pltdoc="x">pre-content?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Decodes a paragraph using <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-content%29%29" class="RktValLink" data-pltdoc="x">decode-content</a></span> to decode
<span class="RktVar">lst</span> as the paragraph&rsquo;s content.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode-content))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-content%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode-content</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">lst</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">list?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-content~3f%29%29" class="RktValLink" data-pltdoc="x">pre-content?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Decodes <a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a>. Elements at the start of the list that are
whitespace (according to <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._whitespace~3f%29%29" class="RktValLink" data-pltdoc="x">whitespace?</a></span>) are dropped.
<span class="refelem"><span class="refcolumn"><span class="refcontent">Dropping whitespace in nested lists and splices was a poor
implementation choice that is left in place for compatibility. To protect
against it, you can exploit the similarly unfortunate fact that an empty
list does not count as whitespace.</span></span></span>
Lists and splices in <span class="RktVar">lst</span> are
flattened into the list, similarly dropping leading whitespace.
Plain strings are <a href="#%28elem._%28decode._rules%29%29" data-pltdoc="x">decoded</a>; non-string, non-list <a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a> is included in
the result as-is.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode-elements))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-elements%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode-elements</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">lst</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">list?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">lst</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._pre-content~3f%29%29" class="RktValLink" data-pltdoc="x">pre-content?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">An alias for <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-content%29%29" class="RktValLink" data-pltdoc="x">decode-content</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._decode-string))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-string%29%29" class="RktValDef RktValLink" data-pltdoc="x">decode-string</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">s</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._content~3f%29%29" class="RktValLink" data-pltdoc="x">content?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">s</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara"><a href="#%28elem._%28decode._rules%29%29" data-pltdoc="x">Decodes</a> a single string to produce
<a href="core.html#%28tech._content%29" class="techoutside" data-pltdoc="x"><span class="techinside">content</span></a>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._whitespace~3f))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._whitespace~3f%29%29" class="RktValDef RktValLink" data-pltdoc="x">whitespace?</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">v</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._boolean%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">boolean?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">v</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns <span class="RktVal">#t</span> if <span class="RktVar">v</span> is a string that contains only whitespace, <span class="RktVal">#f</span>
otherwise.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&amp;version=6.3" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace">&nbsp;</span></td><td><a name="(def._((lib._scribble/decode..rkt)._title-decl-content))"></a><a name="(def._((lib._scribble/decode..rkt)._title-decl-style))"></a><a name="(def._((lib._scribble/decode..rkt)._title-decl-version))"></a><a name="(def._((lib._scribble/decode..rkt)._title-decl-tags))"></a><a name="(def._((lib._scribble/decode..rkt)._title-decl-tag-prefix))"></a><a name="(def._((lib._scribble/decode..rkt)._make-title-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._title-decl~3f))"></a><a name="(def._((lib._scribble/decode..rkt)._struct~3atitle-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._title-decl))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._title-decl%29%29" class="RktValDef RktValLink" data-pltdoc="x">title-decl</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">tag-prefix</span><span class="stt"> </span><span class="RktSym">tags</span><span class="stt"> </span><span class="RktSym">version</span><span class="stt"> </span><span class="RktSym">style</span><span class="stt"> </span><span class="RktSym">content</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:extra-constructor-name</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._make-title-decl%29%29" class="RktValLink" data-pltdoc="x">make-title-decl</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">tag-prefix</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace">&nbsp;</span><span class="RktVal">#f</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">tags</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">version</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace">&nbsp;</span><span class="RktVal">#f</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">style</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._style~3f%29%29" class="RktValLink" data-pltdoc="x">style?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">content</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._content~3f%29%29" class="RktValLink" data-pltdoc="x">content?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">See <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span> and <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-part%29%29" class="RktValLink" data-pltdoc="x">decode-part</a></span>. The <span class="RktSym">tag-prefix</span>
and <span class="RktSym">style</span> fields are propagated to the resulting
<span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._part%29%29" class="RktValLink" data-pltdoc="x">part</a></span>. If the <span class="RktSym">version</span> field is not <span class="RktVal">#f</span>,
it is propagated as a <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._document-version%29%29" class="RktValLink" data-pltdoc="x">document-version</a></span> style property on the
<span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._part%29%29" class="RktValLink" data-pltdoc="x">part</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&amp;version=6.3" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace">&nbsp;</span></td><td><a name="(def._((lib._scribble/decode..rkt)._part-start-title))"></a><a name="(def._((lib._scribble/decode..rkt)._part-start-style))"></a><a name="(def._((lib._scribble/decode..rkt)._part-start-tags))"></a><a name="(def._((lib._scribble/decode..rkt)._part-start-tag-prefix))"></a><a name="(def._((lib._scribble/decode..rkt)._part-start-depth))"></a><a name="(def._((lib._scribble/decode..rkt)._make-part-start))"></a><a name="(def._((lib._scribble/decode..rkt)._part-start~3f))"></a><a name="(def._((lib._scribble/decode..rkt)._struct~3apart-start))"></a><a name="(def._((lib._scribble/decode..rkt)._part-start))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-start%29%29" class="RktValDef RktValLink" data-pltdoc="x">part-start</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">depth</span><span class="stt"> </span><span class="RktSym">tag-prefix</span><span class="stt"> </span><span class="RktSym">tags</span><span class="stt"> </span><span class="RktSym">style</span><span class="stt"> </span><span class="RktSym">title</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:extra-constructor-name</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._make-part-start%29%29" class="RktValLink" data-pltdoc="x">make-part-start</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">depth</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._integer%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">integer?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">tag-prefix</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace">&nbsp;</span><span class="RktVal">#f</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">tags</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">style</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._style~3f%29%29" class="RktValLink" data-pltdoc="x">style?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">title</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._content~3f%29%29" class="RktValLink" data-pltdoc="x">content?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._title-decl%29%29" class="RktValLink" data-pltdoc="x">title-decl</a></span>, but for a sub-part.  See <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span> and
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-part%29%29" class="RktValLink" data-pltdoc="x">decode-part</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&amp;version=6.3" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace">&nbsp;</span></td><td><a name="(def._((lib._scribble/decode..rkt)._part-index-decl-entry-seq))"></a><a name="(def._((lib._scribble/decode..rkt)._part-index-decl-plain-seq))"></a><a name="(def._((lib._scribble/decode..rkt)._make-part-index-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._part-index-decl~3f))"></a><a name="(def._((lib._scribble/decode..rkt)._struct~3apart-index-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._part-index-decl))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-index-decl%29%29" class="RktValDef RktValLink" data-pltdoc="x">part-index-decl</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">plain-seq</span><span class="stt"> </span><span class="RktSym">entry-seq</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:extra-constructor-name</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._make-part-index-decl%29%29" class="RktValLink" data-pltdoc="x">make-part-index-decl</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">plain-seq</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">entry-seq</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">list?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">See <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span>. The two fields are as for <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._index-element%29%29" class="RktValLink" data-pltdoc="x">index-element</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&amp;version=6.3" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace">&nbsp;</span></td><td><a name="(def._((lib._scribble/decode..rkt)._part-collect-decl-element))"></a><a name="(def._((lib._scribble/decode..rkt)._make-part-collect-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._part-collect-decl~3f))"></a><a name="(def._((lib._scribble/decode..rkt)._struct~3apart-collect-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._part-collect-decl))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-collect-decl%29%29" class="RktValDef RktValLink" data-pltdoc="x">part-collect-decl</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">element</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:extra-constructor-name</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._make-part-collect-decl%29%29" class="RktValLink" data-pltdoc="x">make-part-collect-decl</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">element</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._element~3f%29%29" class="RktValLink" data-pltdoc="x">element?</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._part-relative-element~3f%29%29" class="RktValLink" data-pltdoc="x">part-relative-element?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">See <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&amp;version=6.3" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace">&nbsp;</span></td><td><a name="(def._((lib._scribble/decode..rkt)._part-tag-decl-tag))"></a><a name="(def._((lib._scribble/decode..rkt)._make-part-tag-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._part-tag-decl~3f))"></a><a name="(def._((lib._scribble/decode..rkt)._struct~3apart-tag-decl))"></a><a name="(def._((lib._scribble/decode..rkt)._part-tag-decl))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._part-tag-decl%29%29" class="RktValDef RktValLink" data-pltdoc="x">part-tag-decl</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">tag</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:extra-constructor-name</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._make-part-tag-decl%29%29" class="RktValLink" data-pltdoc="x">make-part-tag-decl</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">tag</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._tag~3f%29%29" class="RktValLink" data-pltdoc="x">tag?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">See <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&amp;version=6.3" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace">&nbsp;</span></td><td><a name="(def._((lib._scribble/decode..rkt)._splice-run))"></a><a name="(def._((lib._scribble/decode..rkt)._make-splice))"></a><a name="(def._((lib._scribble/decode..rkt)._splice~3f))"></a><a name="(def._((lib._scribble/decode..rkt)._struct~3asplice))"></a><a name="(def._((lib._scribble/decode..rkt)._splice))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValDef RktValLink" data-pltdoc="x">splice</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">run</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:extra-constructor-name</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._make-splice%29%29" class="RktValLink" data-pltdoc="x">make-splice</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">run</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">list?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">See <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode%29%29" class="RktValLink" data-pltdoc="x">decode</a></span>, <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-part%29%29" class="RktValLink" data-pltdoc="x">decode-part</a></span>, and <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._decode-flow%29%29" class="RktValLink" data-pltdoc="x">decode-flow</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._spliceof))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._spliceof%29%29" class="RktValDef RktValLink" data-pltdoc="x">spliceof</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">ctc</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=contract-utilities.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._flat-contract%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">flat-contract?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">ctc</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=contract-utilities.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._flat-contract%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">flat-contract?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Produces a contract for a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._splice%29%29" class="RktValLink" data-pltdoc="x">splice</a></span> instance whose
<span class="RktSym">run</span> elements satisfy <span class="RktVar">ctc</span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._scribble/decode..rkt)._clean-up-index-string))"></a><span title="Provided from: scribble/decode | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fdecode..rkt%29._clean-up-index-string%29%29" class="RktValDef RktValLink" data-pltdoc="x">clean-up-index-string</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">str</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">str</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.3/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.3" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Trims leading and trailing whitespace, and converts non-empty
sequences of whitespace to a single space character.</div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.3&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.3&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="renderer.html" title="backward to &quot;6.4 Renderers&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="internals.html" title="up to &quot;6 Low-Level Scribble API&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="doclang.html" title="forward to &quot;6.6 Document Language&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>