/usr/share/doc/racket/scribble/renderer.html is in racket-doc 6.1-4.
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | <!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.4 Renderers</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,"tocview_0");">►</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Scribble:<span class="mywbr"> </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 </td><td><a href="getting-started.html" class="tocviewlink" data-pltdoc="x">Getting Started</a></td></tr><tr><td align="right">2 </td><td><a href="reader.html" class="tocviewlink" data-pltdoc="x">@ Syntax</a></td></tr><tr><td align="right">3 </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 </td><td><a href="plt-manuals.html" class="tocviewlink" data-pltdoc="x">Scribbling Documentation</a></td></tr><tr><td align="right">5 </td><td><a href="lp.html" class="tocviewlink" data-pltdoc="x">Literate Programming</a></td></tr><tr><td align="right">6 </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 </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,"tocview_1");">▼</a></td><td>6 </td><td><a href="internals.html" class="tocviewlink" data-pltdoc="x">Low-<wbr></wbr>Level Scribble API</a></td></tr></table><div class="tocviewsublist" style="display: block;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">6.1 </td><td><a href="layers.html" class="tocviewlink" data-pltdoc="x">Scribble Layers</a></td></tr><tr><td align="right">6.2 </td><td><a href="reader-internals.html" class="tocviewlink" data-pltdoc="x">@ Reader Internals</a></td></tr><tr><td align="right">6.3 </td><td><a href="core.html" class="tocviewlink" data-pltdoc="x">Structures And Processing</a></td></tr><tr><td align="right">6.4 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Renderers</a></td></tr><tr><td align="right">6.5 </td><td><a href="decode.html" class="tocviewlink" data-pltdoc="x">Decoding Text</a></td></tr><tr><td align="right">6.6 </td><td><a href="doclang.html" class="tocviewlink" data-pltdoc="x">Document Language</a></td></tr><tr><td align="right">6.7 </td><td><a href="docreader.html" class="tocviewlink" data-pltdoc="x">Document Reader</a></td></tr><tr><td align="right">6.8 </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 </td><td><a href="tag.html" class="tocviewlink" data-pltdoc="x">Tag Utilities</a></td></tr><tr><td align="right">6.10 </td><td><a href="config.html" class="tocviewlink" data-pltdoc="x">Extending and Configuring Scribble Output</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,"tocview_2");">►</a></td><td>6.4 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Renderers</a></td></tr></table><div class="tocviewsublistbottom" style="display: none;" id="tocview_2"><table cellspacing="0" cellpadding="0"><tr><td align="right">6.4.1 </td><td><a href="#%28part._.Rendering_.Driver%29" class="tocviewlink" data-pltdoc="x">Rendering Driver</a></td></tr><tr><td align="right">6.4.2 </td><td><a href="#%28part._.Base_.Renderer%29" class="tocviewlink" data-pltdoc="x">Base Renderer</a></td></tr><tr><td align="right">6.4.3 </td><td><a href="#%28part._.Text_.Renderer%29" class="tocviewlink" data-pltdoc="x">Text Renderer</a></td></tr><tr><td align="right">6.4.4 </td><td><a href="#%28part._.Markdown_.Renderer%29" class="tocviewlink" data-pltdoc="x">Markdown Renderer</a></td></tr><tr><td align="right">6.4.5 </td><td><a href="#%28part._.H.T.M.L_.Renderer%29" class="tocviewlink" data-pltdoc="x">HTML Renderer</a></td></tr><tr><td align="right">6.4.6 </td><td><a href="#%28part._.Latex_.Renderer%29" class="tocviewlink" data-pltdoc="x">Latex Renderer</a></td></tr><tr><td align="right">6.4.7 </td><td><a href="#%28part._.P.D.F_.Renderer%29" class="tocviewlink" data-pltdoc="x">PDF Renderer</a></td></tr><tr><td align="right">6.4.8 </td><td><a href="#%28part._.Contract__.Blue_boxes__.Renderer%29" class="tocviewlink" data-pltdoc="x">Contract (Blue boxes) Renderer</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><span class="tocsublinknumber">6.4.1<tt> </tt></span><a href="#%28part._.Rendering_.Driver%29" class="tocsubseclink" data-pltdoc="x">Rendering Driver</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Frender..rkt%29._render%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render</span></span></a></td></tr><tr><td><span class="tocsublinknumber">6.4.2<tt> </tt></span><a href="#%28part._.Base_.Renderer%29" class="tocsubseclink" data-pltdoc="x">Base Renderer</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render<%></span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._traverse%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">traverse</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._collect%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">collect</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._resolve%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">resolve</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._serialize-info%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">serialize-<wbr></wbr>info</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._serialize-infos%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">serialize-<wbr></wbr>infos</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._deserialize-info%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">deserialize-<wbr></wbr>info</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-defined%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">get-<wbr></wbr>defined</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-defineds%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">get-<wbr></wbr>defineds</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-external%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">get-<wbr></wbr>external</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-undefined%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">get-<wbr></wbr>undefined</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render%</span></span></a></td></tr><tr><td><a href="#%28constructor._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">new</span></span></a></td></tr><tr><td><span class="tocsublinknumber">6.4.3<tt> </tt></span><a href="#%28part._.Text_.Renderer%29" class="tocsubseclink" data-pltdoc="x">Text Renderer</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Ftext-render..rkt%29._render-mixin%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><span class="tocsublinknumber">6.4.4<tt> </tt></span><a href="#%28part._.Markdown_.Renderer%29" class="tocsubseclink" data-pltdoc="x">Markdown Renderer</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fmarkdown-render..rkt%29._render-mixin%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><span class="tocsublinknumber">6.4.5<tt> </tt></span><a href="#%28part._.H.T.M.L_.Renderer%29" class="tocsubseclink" data-pltdoc="x">HTML Renderer</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29._set-external-tag-path%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">set-<wbr></wbr>external-<wbr></wbr>tag-<wbr></wbr>path</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29._set-external-root-url%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">set-<wbr></wbr>external-<wbr></wbr>root-<wbr></wbr>url</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-multi-mixin%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render-<wbr></wbr>multi-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fhtml-render..rkt%29._render-multi-mixin%29._set-directory-depth%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">set-<wbr></wbr>directory-<wbr></wbr>depth</span></span></a></td></tr><tr><td><span class="tocsublinknumber">6.4.6<tt> </tt></span><a href="#%28part._.Latex_.Renderer%29" class="tocsubseclink" data-pltdoc="x">Latex Renderer</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Flatex-render..rkt%29._render-mixin%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><span class="tocsublinknumber">6.4.7<tt> </tt></span><a href="#%28part._.P.D.F_.Renderer%29" class="tocsubseclink" data-pltdoc="x">PDF Renderer</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fpdf-render..rkt%29._render-mixin%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><span class="tocsublinknumber">6.4.8<tt> </tt></span><a href="#%28part._.Contract__.Blue_boxes__.Renderer%29" class="tocsubseclink" data-pltdoc="x">Contract (Blue boxes) Renderer</a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-multi%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">override-<wbr></wbr>render-<wbr></wbr>mixin-<wbr></wbr>multi</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-multi%29._render%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-single%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">override-<wbr></wbr>render-<wbr></wbr>mixin-<wbr></wbr>single</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-single%29._render%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">render</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, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="core.html" title="backward to "6.3 Structures And Processing"" data-pltdoc="x">← prev</a> <a href="internals.html" title="up to "6 Low-Level Scribble API"" data-pltdoc="x">up</a> <a href="decode.html" title="forward to "6.5 Decoding Text"" data-pltdoc="x">next →</a></span> </div><h4 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""renderer"">6.4<tt> </tt><a name="(part._renderer)"></a>Renderers</h4><p>A renderer is an object that provides four main methods:
<span class="RktSym">traverse</span>, <span class="RktSym">collect</span>, <span class="RktSym">resolve</span>, and
<span class="RktSym">render</span>. Each method corresponds to a pass described in
<a href="core.html" data-pltdoc="x">Structures And Processing</a>, and they are chained together by the <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Frender..rkt%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span>
function to render a document.</p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""Rendering_Driver"">6.4.1<tt> </tt><a name="(part._.Rendering_.Driver)"></a><a name="(mod-path._scribble/render)"></a>Rendering Driver</h5><p><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Frender%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/render</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></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><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._scribble/render..rkt)._render))"></a><span title="Provided from: scribble/render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Frender..rkt%29._render%29%29" class="RktValDef RktValLink" data-pltdoc="x">render</a></span></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">docs</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">names</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span>[</td><td><span class="RktPn">#:render-mixin</span><span class="hspace"> </span><span class="RktVar">render-mixin</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:dest-dir</span><span class="hspace"> </span><span class="RktVar">dest-dir</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:helper-file-prefix</span><span class="hspace"> </span><span class="RktVar">helper-file-prefix</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:prefix-file</span><span class="hspace"> </span><span class="RktVar">prefix-file</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:style-file</span><span class="hspace"> </span><span class="RktVar">style-file</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:style-extra-files</span><span class="hspace"> </span><span class="RktVar">style-extra-files</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:extra-files</span><span class="hspace"> </span><span class="RktVar">extra-files</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:image-preferences</span><span class="hspace"> </span><span class="RktVar">image-preferences</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:xrefs</span><span class="hspace"> </span><span class="RktVar">xrefs</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:info-in-files</span><span class="hspace"> </span><span class="RktVar">info-in-files</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:info-out-file</span><span class="hspace"> </span><span class="RktVar">info-out-file</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:redirect</span><span class="hspace"> </span><span class="RktVar">redirect</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:redirect-main</span><span class="hspace"> </span><span class="RktVar">redirect-main</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:directory-depth</span><span class="hspace"> </span><span class="RktVar">directory-depth</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:quiet?</span><span class="hspace"> </span><span class="RktVar">quiet?</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">#:warn-undefined?</span><span class="hspace"> </span><span class="RktVar">warn-undefined?</span>]<span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">docs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">names</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">render-mixin</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="hspace"> </span><span class="RktPn">. </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-></span></a></span><span class="RktPn"> .</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29%29" class="RktValLink" data-pltdoc="x">render-mixin</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dest-dir</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">helper-file-prefix</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">prefix-file</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">style-file</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">style-extra-files</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">extra-files</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="argcontract"><tr><td><span class="hspace"> </span></td><td><span class="RktVar">image-preferences</span></td><td><span class="hspace"> </span></td><td>:</td><td><span class="hspace"> </span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">ps</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">pdf</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">png</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">svg</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">gif</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td>=</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._null%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">null</a></span></td></tr></table></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">xrefs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="xref.html#%28def._%28%28lib._scribble%2Fxref..rkt%29._xref~3f%29%29" class="RktValLink" data-pltdoc="x">xref?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._null%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">null</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">info-in-files</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._null%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">null</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">info-out-file</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">redirect</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">redirect-main</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">directory-depth</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">0</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">quiet?</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#t</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">warn-undefined?</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._not%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">not</a></span><span class="hspace"> </span><span class="RktVar">quiet?</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Renders the given <span class="RktVar">docs</span>, each with an output name derived from
the corresponding element of <span class="RktVar">names</span>. A directory path (if any)
for a name in <span class="RktVar">names</span> is discarded, and the file suffix is
replaced (if any) with a suitable suffix for the output format.</div></p><p>The <span class="RktVar">render-mixin</span> argument determines the output format. By
default, it is <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29%29" class="RktValLink" data-pltdoc="x">render-mixin</a></span> from <a href="#%28mod-path._scribble%2Fhtml-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/html-render</span></a>.</p><p>The <span class="RktVar">dest-dir</span> argument determines the output directory, which
is created using <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Filesystem.html%23%2528def._%2528%2528lib._racket%252Ffile..rkt%2529._make-directory%252A%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">make-directory*</a></span> if it is non-<span class="RktVal">#f</span> and
does not exist already.</p><p>The <span class="RktVar">helper-file-prefix</span>, <span class="RktVar">prefix-file</span>,
<span class="RktVar">style-file</span>, <span class="RktVar">style-extra-files</span>, and
<span class="RktVar">extra-files</span> arguments are passed on to the <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="RktValLink" data-pltdoc="x">render%</a></span>
constructor.</p><p>The <span class="RktVar">image-preferences</span> argument specified preferred formats
for image files and conversion, where formats listed earlier in the
list are more preferred. The renderer specified by
<span class="RktVar">render-mixin</span> may not support all of the formats listed in
<span class="RktVar">image-preferences</span>.</p><p>The <span class="RktVar">xrefs</span> argument provides extra cross-reference information
to be used during the documents’ <a href="core.html#%28tech._resolve._pas%29" class="techoutside" data-pltdoc="x"><span class="techinside">resolve pass</span></a>. The
<span class="RktVar">info-in-files</span> arguments supply additional cross-reference
information in serialized form. When the <span class="RktVar">info-out-file</span>
argument is not <span class="RktVal">#f</span>, cross-reference information for the
rendered documents is written in serialized for to the specified file.</p><p>The <span class="RktVar">redirect</span> and <span class="RktVar">redirect-main</span> arguments correspond
to the <span class="RktSym">set-external-tag-path</span> and
<span class="RktSym">set-external-root-url</span> methods of <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29%29" class="RktValLink" data-pltdoc="x">render-mixin</a></span> from
<a href="#%28mod-path._scribble%2Fhtml-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/html-render</span></a>, so they should be
non-<span class="RktVal">#f</span> only for HTML rendering.</p><p>The <span class="RktVar">directory-depth</span> arguments correspond to the
<span class="RktSym">set-directory-depth</span> method of <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-multi-mixin%29%29" class="RktValLink" data-pltdoc="x">render-multi-mixin</a></span>.</p><p>If <span class="RktVar">quiet?</span> is a false value, output-file information is
written to the current output port.</p><p>If <span class="RktVar">warn-undefined?</span> is a true value, then references to
missing cross-reference targets trigger a warning message on the
current error port.</p><p class="SHistory">Changed in version 1.4 of package <span class="stt">scribble-lib</span>: Added the <span class="RktPn">#:image-preferences</span> argument.</p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""Base_Renderer"">6.4.2<tt> </tt><a name="(part._.Base_.Renderer)"></a><a name="(mod-path._scribble/base-render)"></a>Base Renderer</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Fbase-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/base-render</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara">The
<a href="#%28mod-path._scribble%2Fbase-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/base-render</span></a> module provides <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="RktValLink" data-pltdoc="x">render%</a></span>,
which implements the core of a renderer. This rendering class must be
refined with a mixin from <a href="#%28mod-path._scribble%2Ftext-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/text-render</span></a>,
<a href="#%28mod-path._scribble%2Fmarkdown-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/markdown-render</span></a>, or
<a href="#%28mod-path._scribble%2Fhtml-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/html-render</span></a>, or
<a href="#%28mod-path._scribble%2Flatex-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/latex-render</span></a>.</div></p><p>The mixin structure is meant to support document-specific extensions
to the renderers. For example, the <span class="stt">scribble</span> command-line tool
might, in the future, extract rendering mixins from a document module
(in addition to the document proper).</p><p>See the <span class="stt">"base-render.rkt"</span> source for more information about
the methods of the renderer. Documents built with higher layers, such
as <a href="manual.html" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/manual</span></a>, generally do not call the render
object’s methods directly.</p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>interface</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/base-render..rkt)._render~3c~25~3e))"></a><span title="Provided from: scribble/base-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValDef RktValLink" data-pltdoc="x">render<%></a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._interface%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">interface?</a></span></p></blockquote></td></tr></table></div><div class="SIntrapara"><blockquote class="leftindent"><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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._traverse))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._traverse%29%29" class="RktValDef RktValLink" data-pltdoc="x">traverse</a></span><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span><span class="RktVar">dests</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._and%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">and/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=hashtables.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._hash%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">hash?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._immutable%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">immutable?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Performs the <a href="core.html#%28tech._traverse._pas%29" data-pltdoc="x">traverse pass</a>, producing a hash table that
contains the replacements for and <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._traverse-block%29%29" class="RktValLink" data-pltdoc="x">traverse-block</a></span>s and
<span class="RktSym">traverse-elements</span>s. See <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span> for
information on the <span class="RktVar">dests</span> argument.</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._collect))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._collect%29%29" class="RktValDef RktValLink" data-pltdoc="x">collect</a></span><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span><span class="RktVar">fp</span><span class="hspace"> </span>[<span class="RktVar">demand</span>]<span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info~3f%29%29" class="RktValLink" data-pltdoc="x">collect-info?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">fp</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._and%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">and/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=hashtables.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._hash%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">hash?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._immutable%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">immutable?</a></span><span class="RktPn">)</span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="argcontract"><tr><td><span class="hspace"> </span></td><td><span class="RktVar">demand</span></td><td><span class="hspace"> </span></td><td>:</td><td><span class="hspace"> </span></td><td><span class="RktPn">(</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><span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info~3f%29%29" class="RktValLink" data-pltdoc="x">collect-info?</a></span><span class="hspace"> </span><span class="RktPn">. </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-></span></a></span><span class="RktPn"> .</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td>=</td><td><span class="hspace"> </span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=lambda.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._lambda%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">lambda</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">tag</span><span class="hspace"> </span><span class="RktVar">ci</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVal">#f</span><span class="RktPn">)</span></td></tr></table></td></tr></table></blockquote></div><div class="SIntrapara">Performs the <a href="core.html#%28tech._collect._pas%29" data-pltdoc="x">collect pass</a>. See <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span> for
information on the <span class="RktVar">dests</span> arguments. The <span class="RktVar">fp</span> argument
is a result from the <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._traverse%29%29" class="RktValLink" data-pltdoc="x">traverse</a></span> method.</div></p><p>The <span class="RktVar">demand</span> argument supplies external tag mappings on demand.
When the <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info%29%29" class="RktValLink" data-pltdoc="x">collect-info</a></span> result is later used to find a mapping
for a tag and no mapping is already available, <span class="RktVar">demand</span> is
called with the tag and the <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info%29%29" class="RktValLink" data-pltdoc="x">collect-info</a></span>. The <span class="RktVar">demand</span>
function returns true to indicate when it adds information to the
<span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info%29%29" class="RktValLink" data-pltdoc="x">collect-info</a></span> so that the lookup should be tried again; the
<span class="RktVar">demand</span> function should return <span class="RktVal">#f</span> if it does not
extend <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info%29%29" class="RktValLink" data-pltdoc="x">collect-info</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._resolve))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._resolve%29%29" class="RktValDef RktValLink" data-pltdoc="x">resolve</a></span><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span><span class="RktVar">ci</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._resolve-info~3f%29%29" class="RktValLink" data-pltdoc="x">resolve-info?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ci</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info~3f%29%29" class="RktValLink" data-pltdoc="x">collect-info?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Performs the <a href="core.html#%28tech._resolve._pas%29" data-pltdoc="x">resolve pass</a>. See <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span> for
information on the <span class="RktVar">dests</span> argument. The <span class="RktVar">ci</span> argument
is a result from the <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._collect%29%29" class="RktValLink" data-pltdoc="x">collect</a></span> method.</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._render))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValDef RktValLink" data-pltdoc="x">render</a></span><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span><span class="RktVar">ri</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._resolve-info~3f%29%29" class="RktValLink" data-pltdoc="x">resolve-info?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Produces the final output. The <span class="RktVar">ri</span> argument is a result from
the <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span> method.</div></p><p>The <span class="RktVar">dests</span> provide names of files for Latex or single-file
HTML output, or names of sub-directories for multi-file HTML output.
If the <span class="RktVar">dests</span> are relative, they’re relative to the current
directory; normally, they should indicates a path within the
<span class="RktVar">dest-dir</span> supplied on initialization of the <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="RktValLink" data-pltdoc="x">render%</a></span>
object.</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._serialize-info))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._serialize-info%29%29" class="RktValDef RktValLink" data-pltdoc="x">serialize-info</a></span><span class="hspace"> </span><span class="RktVar">ri</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._resolve-info~3f%29%29" class="RktValLink" data-pltdoc="x">resolve-info?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Serializes the collected info in <span class="RktVar">ri</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._serialize-infos))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._serialize-infos%29%29" class="RktValDef RktValLink" data-pltdoc="x">serialize-infos</a></span><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span><span class="RktVar">count</span><span class="hspace"> </span><span class="RktVar">doc</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._list%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">list?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._resolve-info~3f%29%29" class="RktValLink" data-pltdoc="x">resolve-info?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">count</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-positive-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-positive-integer?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">doc</span><span class="hspace"> </span>:<span class="hspace"> </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></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._serialize-info%29%29" class="RktValLink" data-pltdoc="x">serialize-info</a></span>, but produces <span class="RktVar">count</span> results
that together have the same information as produced by
<span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._serialize-info%29%29" class="RktValLink" data-pltdoc="x">serialize-info</a></span>. The structure of <span class="RktVar">doc</span> is used to
drive the partitioning (on the assumption that <span class="RktVar">ri</span> is derived
from <span class="RktVar">doc</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>method</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._deserialize-info))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._deserialize-info%29%29" class="RktValDef RktValLink" data-pltdoc="x">deserialize-info</a></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">v</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">ci</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span>[</td><td><span class="RktPn">#:root</span><span class="hspace"> </span><span class="RktVar">root-path</span>]<span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">v</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ci</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info~3f%29%29" class="RktValLink" data-pltdoc="x">collect-info?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">root-path</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._false%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">false/c</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr></table></blockquote></div><div class="SIntrapara">Adds the deserialized form of <span class="RktVar">v</span> to <span class="RktVar">ci</span>.</div></p><p>If <span class="RktVar">root-path</span> is not <span class="RktVal">#f</span>, then file paths that are
recorded in <span class="RktVar">ci</span> as relative to an instantiation-supplied
<span class="RktVar">root-path</span> are deserialized as relative instead to the given
<span class="RktVar">root-path</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._get-defined))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-defined%29%29" class="RktValDef RktValLink" data-pltdoc="x">get-defined</a></span><span class="hspace"> </span><span class="RktVar">ci</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ci</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info~3f%29%29" class="RktValLink" data-pltdoc="x">collect-info?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns a list of tags that were defined within the documents
represented by <span class="RktVar">ci</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._get-defineds))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-defineds%29%29" class="RktValDef RktValLink" data-pltdoc="x">get-defineds</a></span><span class="hspace"> </span><span class="RktVar">ci</span><span class="hspace"> </span><span class="RktVar">count</span><span class="hspace"> </span><span class="RktVar">doc</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ci</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._collect-info~3f%29%29" class="RktValLink" data-pltdoc="x">collect-info?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">count</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-positive-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-positive-integer?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">doc</span><span class="hspace"> </span>:<span class="hspace"> </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></td></tr></table></blockquote></div><div class="SIntrapara">Analogous to <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._serialize-infos%29%29" class="RktValLink" data-pltdoc="x">serialize-infos</a></span>: returns a list of
tags for each of <span class="RktVar">count</span> partitions of the result of
<span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-defined%29%29" class="RktValLink" data-pltdoc="x">get-defined</a></span>, using the structure of <span class="RktVar">doc</span> to
drive the partitioning.</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._get-external))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-external%29%29" class="RktValDef RktValLink" data-pltdoc="x">get-external</a></span><span class="hspace"> </span><span class="RktVar">ri</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._resolve-info~3f%29%29" class="RktValLink" data-pltdoc="x">resolve-info?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns a list of tags that were referenced but not defined within the
documents represented by <span class="RktVar">ri</span> (though possibly found in
cross-reference information transferred to <span class="RktVar">ri</span> via
<span class="RktSym"><a href="xref.html#%28def._%28%28lib._scribble%2Fxref..rkt%29._xref-transfer-info%29%29" class="RktValLink" data-pltdoc="x">xref-transfer-info</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/base-render..rkt)._render~3c~25~3e)._get-undefined))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._get-undefined%29%29" class="RktValDef RktValLink" data-pltdoc="x">get-undefined</a></span><span class="hspace"> </span><span class="RktVar">ri</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._resolve-info~3f%29%29" class="RktValLink" data-pltdoc="x">resolve-info?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Returns a list of tags that were referenced by the resolved documents
with no target found either in the resolved documents represented by
<span class="RktVar">ri</span> or cross-reference information transferred to <span class="RktVar">ri</span>
via <span class="RktSym"><a href="xref.html#%28def._%28%28lib._scribble%2Fxref..rkt%29._xref-transfer-info%29%29" class="RktValLink" data-pltdoc="x">xref-transfer-info</a></span>.</div></p><p><div class="SIntrapara">If multiple tags were referenced via <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._resolve-search%29%29" class="RktValLink" data-pltdoc="x">resolve-search</a></span> and a
target was found for any of the tags using the same dependency key,
then no tag in the set is included in the list of undefined tags.
</div><div class="SIntrapara"></div></p></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>class</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/base-render..rkt)._render~25))"></a><span title="Provided from: scribble/base-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="RktValDef RktValLink" data-pltdoc="x">render%</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span></p></blockquote></td></tr><tr><td><p><span class="hspace"> </span>superclass:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._object%7E25%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">object%</a></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>extends:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Represents a renderer.</div><div class="SIntrapara"><blockquote class="leftindent"><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>constructor</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td colspan="3"><span class="RktPn">(</span><a name="(constructor._((lib._scribble/base-render..rkt)._render~25))"></a><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objcreation.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._new%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">new</a></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="RktValLink" data-pltdoc="x">render%</a></span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">[</span><span class="RktSym">dest-dir</span><span class="hspace"> </span><span class="RktVar">dest-dir</span><span class="RktPn">]</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span>[</td><td><span class="RktPn">[</span><span class="RktSym">refer-to-existing-files</span><span class="hspace"> </span><span class="RktVar">refer-to-existing-files</span><span class="RktPn">]</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">[</span><span class="RktSym">root-path</span><span class="hspace"> </span><span class="RktVar">root-path</span><span class="RktPn">]</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">[</span><span class="RktSym">prefix-file</span><span class="hspace"> </span><span class="RktVar">prefix-file</span><span class="RktPn">]</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">[</span><span class="RktSym">style-file</span><span class="hspace"> </span><span class="RktVar">style-file</span><span class="RktPn">]</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">[</span><span class="RktSym">style-extra-files</span><span class="hspace"> </span><span class="RktVar">style-extra-files</span><span class="RktPn">]</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">[</span><span class="RktSym">extra-files</span><span class="hspace"> </span><span class="RktVar">extra-files</span><span class="RktPn">]</span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktPn">[</span><span class="RktSym">image-preferences</span><span class="hspace"> </span><span class="RktVar">image-preferences</span><span class="RktPn">]</span>]<span class="RktPn">)</span></td><td><span class="hspace"> </span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~25%29%29" class="RktValLink" data-pltdoc="x">render%</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dest-dir</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">refer-to-existing-files</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">root-path</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">prefix-file</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">style-file</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="hspace"> </span><span class="RktVal">#f</span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">style-extra-files</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._null%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">null</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">extra-files</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._null%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">null</a></span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="argcontract"><tr><td><span class="hspace"> </span></td><td><span class="RktVar">image-preferences</span></td><td><span class="hspace"> </span></td><td>:</td><td><span class="hspace"> </span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">ps</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">pdf</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">png</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">svg</span><span class="hspace"> </span><span class="RktVal">'</span><span class="RktVal">gif</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td>=</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._null%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">null</a></span></td></tr></table></td></tr></table></blockquote></div><div class="SIntrapara">Creates a renderer whose output will go to <span class="RktVar">dest-dir</span>. For
example, <span class="RktVar">dest-dir</span> could name the directory containing the
output Latex file, the HTML file for a single-file output, or the
output sub-directory for multi-file HTML output.</div></p><p>If <span class="RktVar">refer-to-existing-files</span> is true, then when a document
refers to external files, such as an image or a style file, then the
file is referenced from its source location instead of copied to the
document destination.</p><p>If <span class="RktVar">root-path</span> is not <span class="RktVal">#f</span>, it is normally the same as
<span class="RktVar">dest-dir</span> or a parent of <span class="RktVar">dest-dir</span>. It causes
cross-reference information to record destination files relative to
<span class="RktVar">root-path</span>; when cross-reference information is serialized, it
can be deserialized via <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._deserialize-info%29%29" class="RktValLink" data-pltdoc="x">deserialize-info</a></span> with a
different root path (indicating that the destination files have
moved).</p><p>The <span class="RktVar">prefix-file</span>, <span class="RktVar">style-file</span>, and
<span class="RktVar">style-extra-files</span> arguments set files that control output
styles in a formal-specific way; see <a href="config-style.html" data-pltdoc="x">Configuring Output</a> for more
information.</p><p>The <span class="RktVar">extra-files</span> argument names files to be copied to the
output location, such as image files or extra configuration files.</p><p>The <span class="RktVar">image-preferences</span> argument specified preferred formats
for image files and conversion, where formats listed earlier in the
list are more preferred. The renderer may not support all of the
formats listed in <span class="RktVar">image-preferences</span>.</p><p><div class="SIntrapara"><p class="SHistory">Changed in version 1.4 of package <span class="stt">scribble-lib</span>: Added the <span class="RktVar">image-preferences</span>
initialization argument.</p></div><div class="SIntrapara"></div></p></blockquote></div></p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""Text_Renderer"">6.4.3<tt> </tt><a name="(part._.Text_.Renderer)"></a><a name="(mod-path._scribble/text-render)"></a>Text Renderer</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Ftext-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/text-render</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/text-render..rkt)._render-mixin))"></a><span title="Provided from: scribble/text-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Ftext-render..rkt%29._render-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">render-mixin</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Specializes a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span> class for generating plain text.</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""Markdown_Renderer"">6.4.4<tt> </tt><a name="(part._.Markdown_.Renderer)"></a><a name="(mod-path._scribble/markdown-render)"></a>Markdown Renderer</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left" colspan="2"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Fmarkdown-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/markdown-render</span></a><span class="RktPn">)</span></td></tr><tr><td align="left"> </td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/markdown-render..rkt)._render-mixin))"></a><span title="Provided from: scribble/markdown-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fmarkdown-render..rkt%29._render-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">render-mixin</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Specializes a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span> class for generating Markdown text.</div><div class="SIntrapara"><p><div class="SIntrapara">Code blocks are marked using the
<a href="http://github.github.com/github-flavored-markdown/">Github convention</a> </div><div class="SIntrapara"><table cellspacing="0" cellpadding="0"><tr><td><p><span class="stt">```racket</span></p></td></tr></table></div><div class="SIntrapara"> so that they are lexed and
formatted as Racket code.</div></p></div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""HTML_Renderer"">6.4.5<tt> </tt><a name="(part._.H.T.M.L_.Renderer)"></a><a name="(mod-path._scribble/html-render)"></a>HTML Renderer</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Fhtml-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/html-render</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/html-render..rkt)._render-mixin))"></a><span title="Provided from: scribble/html-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">render-mixin</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Specializes a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span> class for generating HTML output.</div><div class="SIntrapara"><blockquote class="leftindent"><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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/html-render..rkt)._render-mixin)._set-external-tag-path))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29._set-external-tag-path%29%29" class="RktValDef RktValLink" data-pltdoc="x">set-external-tag-path</a></span><span class="hspace"> </span><span class="RktVar">url</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">url</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Configures the renderer to redirect links to external documents via
<span class="RktVar">url</span>, adding a <span class="stt">tag</span> query element to the end of the
URL that contains the Base64-encoded, <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Writing.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._print%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">print</a></span>ed, serialized
original tag (in the sense of <span class="RktSym"><a href="core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._link-element%29%29" class="RktValLink" data-pltdoc="x">link-element</a></span>) for the link.</div></p><p>If the link is based on a cross-reference entry that has a
document-identifying string (see <span class="RktSym"><a href="xref.html#%28def._%28%28lib._scribble%2Fxref..rkt%29._load-xref%29%29" class="RktValLink" data-pltdoc="x">load-xref</a></span> and its
<span class="RktPn">#:doc-id</span> argument), the document identifier is added as a
<span class="stt">doc</span> query element, and a path to the target within the
document is added as a <span class="stt">rel</span> query element.</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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/html-render..rkt)._render-mixin)._set-external-root-url))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29._set-external-root-url%29%29" class="RktValDef RktValLink" data-pltdoc="x">set-external-root-url</a></span><span class="hspace"> </span><span class="RktVar">url</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">url</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Configures the renderer to redirect links to documents installed in
the distribution’s documentation directory to the given URL, using the
URL as a replacement to the path of the distribution’s document
directory.
</div><div class="SIntrapara"></div></p></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/html-render..rkt)._render-multi-mixin))"></a><span title="Provided from: scribble/html-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-multi-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">render-multi-mixin</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Further specializes a rendering class produced by
<span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fhtml-render..rkt%29._render-mixin%29%29" class="RktValLink" data-pltdoc="x">render-mixin</a></span> for generating multiple HTML
files.</div><div class="SIntrapara"><blockquote class="leftindent"><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>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">a-render-multi</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/html-render..rkt)._render-multi-mixin)._set-directory-depth))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fhtml-render..rkt%29._render-multi-mixin%29._set-directory-depth%29%29" class="RktValDef RktValLink" data-pltdoc="x">set-directory-depth</a></span><span class="hspace"> </span><span class="RktVar">depth</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">depth</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Sets the depth of directory structure used when rendering parts that
are own their own pages. A value of <span class="RktVal">0</span> is treated the same as
<span class="RktVal">1</span>.
</div><div class="SIntrapara"></div></p></blockquote></div></p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""Latex_Renderer"">6.4.6<tt> </tt><a name="(part._.Latex_.Renderer)"></a><a name="(mod-path._scribble/latex-render)"></a>Latex Renderer</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Flatex-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/latex-render</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/latex-render..rkt)._render-mixin))"></a><span title="Provided from: scribble/latex-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Flatex-render..rkt%29._render-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">render-mixin</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Specializes a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span> class for generating Latex input.</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""PDF_Renderer"">6.4.7<tt> </tt><a name="(part._.P.D.F_.Renderer)"></a><a name="(mod-path._scribble/pdf-render)"></a>PDF Renderer</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Fpdf-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/pdf-render</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/pdf-render..rkt)._render-mixin))"></a><span title="Provided from: scribble/pdf-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fpdf-render..rkt%29._render-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">render-mixin</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Specializes a <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span> class for generating PDF output via
Latex, building on <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Flatex-render..rkt%29._render-mixin%29%29" class="RktValLink" data-pltdoc="x">render-mixin</a></span> from <a href="#%28mod-path._scribble%2Flatex-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/latex-render</span></a>.</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-part-tag=""Contract__Blue_boxes__Renderer"">6.4.8<tt> </tt><a name="(part._.Contract__.Blue_boxes__.Renderer)"></a><a name="(mod-path._scribble/contract-render)"></a>Contract (Blue boxes) Renderer</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left" colspan="2"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._scribble%2Fcontract-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/contract-render</span></a><span class="RktPn">)</span></td></tr><tr><td align="left"> </td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">scribble-lib</span></span></td></tr></table></div><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/contract-render..rkt)._override-render-mixin-multi))"></a><span title="Provided from: scribble/contract-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-multi%29%29" class="RktValDef RktValLink" data-pltdoc="x">override-render-mixin-multi</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Overrides the <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span> method of
given renderer to record the content of the
blue boxes (generated by <span class="RktSym"><a href="doc-forms.html#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defproc%29%29" class="RktStxLink" data-pltdoc="x">defproc</a></span>, <span class="RktSym"><a href="doc-forms.html#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defform%29%29" class="RktStxLink" data-pltdoc="x">defform</a></span>, etc)
that appear in the document.</div><div class="SIntrapara"><blockquote class="leftindent"><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>method</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">an-override-render-mixin-multi</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/contract-render..rkt)._override-render-mixin-multi)._render))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-multi%29._render%29%29" class="RktValDef RktValLink" data-pltdoc="x">render</a></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">srcs</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">dests</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">ri</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._path%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym">render-info?</span></td></tr></table></blockquote></div><div class="SIntrapara">Overrides <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span> in <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span>.</div><div class="SIntrapara">In addition to doing whatever the <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._super%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">super</a></span> method
does, also save the content of the blue boxes (rendered
via a <a href="#%28mod-path._scribble%2Ftext-render%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">scribble/text-render</span></a> renderer).</div></p><p><div class="SIntrapara">It saves this information in three pieces in a file
inside the <span class="RktVar">dests</span> directories called
<span class="stt">"blueboxes.rktd"</span>. The first piece is
a single line containing a (decimal, ASCII) number. That number
is the number of bytes that the second piece of information
occupies in the file. The second piece of information
is a <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=hashtables.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._hash%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">hash</a></span> that maps <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> values to
a list of offsets and line numbers that follow the hash table.
For example, if the <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=hashtables.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._hash%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">hash</a></span> maps
<span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">def</span><span class="stt"> </span><span class="RktVal">(</span><span class="RktVal">(</span><span class="RktVal">lib</span><span class="stt"> </span><span class="RktVal">"x/main.rkt"</span><span class="RktVal">)</span><span class="stt"> </span><span class="RktVal">abcdef</span><span class="RktVal">)</span><span class="RktVal">)</span> to
<span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">(</span><span class="RktVal">10</span><span class="stt"> </span><span class="RktVal">. </span><span class="RktVal">3</span><span class="RktVal">)</span><span class="RktVal">)</span>, then that means that the documentation
for the <span class="RktSym">abcdef</span> export from the <span class="RktSym">x</span> collection
starts 10 bytes after the end of the hash table and continues for
<span class="RktVal">3</span> lines. Multiple elements in the list mean that that
<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> has multiple blue boxes and each shows where one
of the boxes appears in the file.</div><div class="SIntrapara"></div></p></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._scribble/contract-render..rkt)._override-render-mixin-single))"></a><span title="Provided from: scribble/contract-render | Package: scribble-lib"><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-single%29%29" class="RktValDef RktValLink" data-pltdoc="x">override-render-mixin-single</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-></span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace"> </span>argument extends/implements:<span class="hspace"> </span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Just like <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-multi%29%29" class="RktValLink" data-pltdoc="x">override-render-mixin-multi</a></span>, except
it saves the resulting files in a different place.</div><div class="SIntrapara"><blockquote class="leftindent"><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>method</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace"> </span><span class="RktVar">an-override-render-mixin-single</span><span class="hspace"> </span><a name="(meth._(((lib._scribble/contract-render..rkt)._override-render-mixin-single)._render))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-single%29._render%29%29" class="RktValDef RktValLink" data-pltdoc="x">render</a></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">srcs</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">dests</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">ri</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">srcs</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </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><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dests</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Manipulating_Paths.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._path%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">path?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ri</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym">render-info?</span></td></tr></table></blockquote></div><div class="SIntrapara">Overrides <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span> in <span class="RktSym"><a href="#%28def._%28%28lib._scribble%2Fbase-render..rkt%29._render~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">render<%></a></span>.</div><div class="SIntrapara">Just like <span class="RktSym"><a href="#%28meth._%28%28%28lib._scribble%2Fcontract-render..rkt%29._override-render-mixin-multi%29._render%29%29" class="RktValLink" data-pltdoc="x">render</a></span>, except
that it saves the file <span class="stt">"blueboxes.rktd"</span> in
the same directory where each <span class="RktVar">dests</span> element resides.</div><div class="SIntrapara"></div></p></blockquote></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, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="core.html" title="backward to "6.3 Structures And Processing"" data-pltdoc="x">← prev</a> <a href="internals.html" title="up to "6 Low-Level Scribble API"" data-pltdoc="x">up</a> <a href="decode.html" title="forward to "6.5 Decoding Text"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|