[Cuis-dev] Erudite

Hilaire Fernandes hfern at free.fr
Mon Oct 17 12:13:35 PDT 2022


Looks good :)

For the master document of the book, XML may not be too verbose and more 
neutral.

Hilaire

Le 16/10/2022 à 16:04, Mariano Montone via Cuis-dev a écrit :
> A possible idea for the implementation:
>
> Have an EruditeBookFilesSerializer that converts books to and from disk.
>
> On disk, have a main file with the book title and sections 
> descriptions, in Smalltalk format.
>
> Let's say, book.st:
>
> EruditeBook new
>      title: 'My book';
>      sections: {'Section1'.
>                       'Section2' -> {'Subsection1'. 'Subsection2'}}
>
> Sections and subsections point to files on disk.
> I thought of using yaml for that file, but Cuis does not have support.
>
> Then, each section and subsection lives on its own file; they have 
> plain Erudite contents.
>
> Please let me know if you have other ideas for an implementation.
>
-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221017/273ad96a/attachment.htm>


More information about the Cuis-dev mailing list