[Cuis-dev] Erudite Help file system for Cuis -> Can it read Docbook files? PetitParser version?
    H. Hirzel 
    hannes.hirzel at gmail.com
       
    Mon Mar 17 06:05:15 PDT 2025
    
    
  
On 17/03/2025 1:42 pm, Mariano Montone wrote:
> El 17/3/25 a las 09:38, Mariano Montone escribió:
>>> The EruditeDocBookParser class comment has the note
>>>
>>> Instance variables:
>>> - inferLiterals <Boolean>: When enabled, <literal> elements are 
>>> tried to be inferred. If they contain a reference to a Smalltalk 
>>> class or selector. It is disabled by default.
>>>
>>> Maybe this could be always on when parsing nodes resulting from a 
>>> DocBook <literal> node.
>> I think I would like it to be off by default since literals not 
>> always refer to Smalltalk things in books. 
> I think the correct solution would be to set it on from the book 
> instance or class.
Yes set on the instance side
MyDocBookTest2>>inferLiterals
     ^ true
as TheCuisBook already has
TheCuisBook >>inferLiterals
AND it works for classes! As simple as that. Nice.
--Hannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250317/674a4998/attachment.htm>
    
    
More information about the Cuis-dev
mailing list