<br><br><div class="gmail_quote">On Tue, May 1, 2012 at 13:17, Neil Van Dyke <span dir="ltr"><<a href="mailto:neil@neilvandyke.org" target="_blank">neil@neilvandyke.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I might be mistaken, but it looks like Scribble depends very much on source location info for formatting this -- it looks like even a form read as "(a b)" will format as "(ab)" in some cases if the source location info is stripped.<br>
<br>
If this is true, is my best bet to feed the generated syntax through the pretty-printer (with a sensible max. width), and read the output of that so that the location info is Scribble-friendly?<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><div><br>FWIW, the docs for defform say:<br>"The typesetting of <span class="RktVar">form-datum</span>, <span class="RktVar">subform-datum</span>, and
<span class="RktVar">contract-expr-datum</span> preserves the source layout, like
<span class="RktSym"><a href="http://docs.racket-lang.org/scribble/scribble_manual_code.html?q=defthing#%28form._%28%28lib._scribble/manual..rkt%29._racketblock%29%29" class="RktStxLink">racketblock</a></span>."<br>
That could mean indeed that source location is used, though I'm note 100% positive.<br><br>My ±0.02€,<br>Laurent<br><br></div></div>