Hi, <br><br>I get two questions:<br><br>1. in slideshow, why code could not print my s-exp good?<br><br>2. How can I reserve the annotations when I apply pretty-print ?<br><br>below is the demo code, thanks!<br><br><br clear="all">
(module pretty-print-test (lib &quot;slideshow.ss&quot; &quot;slideshow&quot;)<br>&nbsp; (require (lib &quot;pretty.ss&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (lib &quot;code.ss&quot; &quot;slideshow&quot;))<br>&nbsp; <br>&nbsp; <br>&nbsp; (define code-test &#39;(code &quot;DrScheme&quot; &quot;DrScheme&quot; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;DrScheme&quot; (break one) (break two) &quot;DrScheme&quot; &quot;DrScheme&quot; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (break three) &quot;DrScheme&quot;))<br>&nbsp; <br>&nbsp; (slide/center <br>&nbsp;&nbsp; (code #,code-test))
<br>&nbsp; <br>&nbsp; ;; it is different in REPL<br>&nbsp;<br>&nbsp; <br>&nbsp; (define test<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;(this is<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;annotation<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a test))<br>&nbsp; (define ptest<br>&nbsp;&nbsp;&nbsp; (pretty-format test))<br>&nbsp; <br>&nbsp; (slide/center <br>
&nbsp;&nbsp; (code #,ptest)))<br><br>&nbsp;&nbsp;&nbsp; <br>Gang<br><br>