[Cuis-dev] Erudite Help file system for Cuis -> Can it read Docbook files? PetitParser version?
    H. Hirzel 
    hannes.hirzel at gmail.com
       
    Wed Mar 12 02:19:00 PDT 2025
    
    
  
Hi Mariano
On 11/03/2025 8:36 pm, Mariano Montone wrote:
> DocBookEruditeBook new
>     title: 'CuisReadme';
>     file: 
> '/home/marian/src/Cuis/Cuis-Smalltalk-Dev/CuisREADMEBook.xml' asFileEntry;
>     edit.
Your example with the two attached files, one being the book definition 
is very illustrative.
<book xmlns='http://docbook.org/ns/docbook'
       xmlns:xi='http://www.w3.org/2001/XInclude'
       xml:id="docbook">
   <xi:include href="CuisREADME.docbook"/>
</book>
It means I need to create an individual DocBook file for each Erudite 
section (containing also a DocBook section which pandoc creates by 
default) and bind them together with the book.xml file. This is very doable.
There is a problem which I guess is easy to fix:  after choosing 'store' 
for the imported book I get
  EruditeBookStorer >> store
  self subclassResponsibility
Kind regards
Hannes
    
    
More information about the Cuis-dev
mailing list