[Cuis-dev] Erudite Help file system for Cuis -> Can it read Docbook files? PetitParser version?

H. Hirzel hannes.hirzel at gmail.com
Tue Mar 11 07:37:12 PDT 2025


Hi Mariano

Thank you for answering and the screenshot in your other mail. Exciting 
that Erudite has basic DocBook support! That will allow me to display 
existing documentation in Cuis which I can get from markdown, HTML, docx 
and texinfo sources using pandoc as a converter. I encounter a few 
remaining glitches though:

I loaded all the following:

Feature require: 'Erudite'.
Feature require: 'EruditeDocBook'.
Feature require: 'EruditeExtensions'.
Feature require: 'EruditeToolsExtensions'.

Now I get a submenu 'Erudite' in the World menu which is more populated. 
See the read function in my screen shot.

The first 'read' three entries work well (see attachment).

The fourth and the fifth no: It does not find the files 'guide.xml' and 
'book.xml'.

I downloaded

https://github.com/Cuis-Smalltalk/Erudite/blob/master/DocBook/book.xml

and ch01.xml, ch02.xml, ch03.cml

and put them into my 
C:\Users\Hirzel\Documents\Cuis-Smalltalk-7061-UserFiles but it still did 
not find it.

My questions:

1) Where do I get 'guide.xml' and 'book.xml'?

2) Where do I need to put them?

3) What determines what appears in the 'Read' menu?

Kind regards

Hannes


-----------------------------------

I removed the inclusion of two appendices &appa; and &appb;because the 
files are not included

<?xml version='1.0'?>
<!DOCTYPE book [
<!ENTITY chap1 SYSTEM "chap1.xml">
<!ENTITY chap2 SYSTEM "chap2.xml">
<!ENTITY chap3 SYSTEM "chap3.xml">
]>
<book xmlns="http://docbook.org/ns/docbook" version="5.0">
   <title>My First Book</title>
   &chap1;
   &chap2;
   &chap3;
</book>

On 11/03/2025 12:45 pm, Mariano Montone via Cuis-dev wrote:
> Hi Hannes,
>
> yes, Erudite supports DocBook to some extent.
>
> Have a look at "Books" section in Erudite manual.
>
> To load:
>
> Feature require: 'EruditeDocBook'
>
> Then you should be able to open the available books in DocBook format.
>
> If it doesn't work for you, let me know and I'll fix it.
>
>         Mariano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Erudite_Reading_DocBook.gif
Type: image/gif
Size: 247998 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250311/a3c2b6cf/attachment-0001.gif>


More information about the Cuis-dev mailing list