<div dir="auto">Ah. XML didn't come to my mind. Good idea.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 17 oct. 2022 16:13, Hilaire Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Looks good :)<br>
</font></p>
<p><font size="4">For the master document of the book, XML may not
be too verbose and more neutral.<br>
</font></p>
<p>Hilaire<br>
</p>
<div>Le 16/10/2022 à 16:04, Mariano Montone
via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite">
<div>A possible idea for the
implementation:</div>
<div><br>
</div>
<div>Have an EruditeBookFilesSerializer
that converts books to and from disk.</div>
<div><br>
</div>
<div>On disk, have a main file with the
book title and sections descriptions, in Smalltalk format.</div>
<div><br>
</div>
<div>Let's say, <a href="http://book.st" target="_blank" rel="noreferrer">book.st</a>:</div>
<div><br>
</div>
<div>EruditeBook new <br>
</div>
<div> title: 'My book';</div>
<div> sections: {'Section1'.</div>
<div> 'Section2'
-> {'Subsection1'. 'Subsection2'}}</div>
<div><br>
</div>
<div>Sections and subsections point to
files on disk.<br>
</div>
<div>I thought of using yaml for that
file, but Cuis does not have support.</div>
<div><br>
</div>
<div>Then, each section and subsection
lives on its own file; they have plain Erudite contents.</div>
<div><br>
</div>
<div>Please let me know if you have other
ideas for an implementation.</div>
<div><br>
</div>
</blockquote>
<pre cols="72">--
GNU Dr. Geo
<a href="http://drgeo.eu" target="_blank" rel="noreferrer">http://drgeo.eu</a>
<a href="http://blog.drgeo.eu" target="_blank" rel="noreferrer">http://blog.drgeo.eu</a></pre>
</div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank" rel="noreferrer">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div>