<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Mariano</p>
<p>The class MorphicEruditeDocRenderer gives as example2.</p>
<pre class="notranslate"><code>| erudite |
erudite := SmalltalkEruditeParser parse: Object comment.
(MorphicEruditeDocRenderer on: erudite) render edit.
</code></pre>
<p></p>
<p>This is rendered in a window with the comment of Object with
clickable content giving access to browsers.</p>
<p>How would an example code look like for a book with different
sections each one showing the comment of a particular class.</p>
<p>A documentation by showing the class comment of a selection of
classes in a well presented order seems to be useful and easy to
use for documentation.</p>
<p>I am looking for something like<br>
</p>
<pre class="notranslate"><code>| erudite |
ws := WriteStream on: String new.
#{Object ConstructDictionaryEntrySelection ProduceDictionary GenerateLatex} "ordered list of classes"
do: [:class </code><code>| ws nextPutAll: '..the code to define a section', class name; cr
ws nextPutAll: class name; cr]
erudite := SmalltalkEruditeParser parse: ws contents.
(MorphicEruditeDocRenderer on: erudite) render edit.</code>
</pre>
<p></p>
<pre class="notranslate"><code>]
</code></pre>
<p></p>
<p></p>
<p>Or more general: What kind of code does the
SmalltalkEruditeParser expect?</p>
<p>Kind regards</p>
<p>Hannes<br>
</p>
<p><br>
</p>
</body>
</html>