<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 17/03/2025 1:42 pm, Mariano Montone
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:3d10ed2d-aa13-480c-b94b-e27b0c85b161@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">El 17/3/25 a las 09:38, Mariano
Montone escribió:<br>
</div>
<blockquote type="cite"
cite="mid:9853c4b1-f494-425b-9e21-1fd57cc09520@gmail.com">
<blockquote type="cite" style="color: #007cff;">The
EruditeDocBookParser class comment has the note <br>
<br>
Instance variables: <br>
- 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. <br>
<br>
Maybe this could be always on when parsing nodes resulting
from a DocBook <literal> node. <br>
</blockquote>
I think I would like it to be off by default since literals not
always refer to Smalltalk things in books. </blockquote>
I think the correct solution would be to set it on from the book
instance or class.<br>
</blockquote>
<p><br>
</p>
<p>Yes set on the instance side </p>
<p>MyDocBookTest2>>inferLiterals<br>
<br>
^ true<br>
</p>
<p>as TheCuisBook already has<br>
</p>
<p>TheCuisBook >>inferLiterals<br>
</p>
<p>AND it works for classes! As simple as that. Nice.</p>
<p>--Hannes<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>