Yves Forkl wrote:
> 
> That page mentions the possibility of defining character entities in a 
> Java[TM] properties file, which sounds interesting. Unfortunately, in 
> the MathML example given its not very clear how the command 
> insertCharByName makes use of the new entity names defined:
> 
> When the properties file has "CircleTimes=\u2297", where do I refer 
> again to this name? The examples only show the usage of insertCharByName 
> with other parameters, like InvisibleTimes, or no one at all. What did I 
> miss here?
> 

Please try to use command insertCharByName (by installing the "sample 
customize.xxe" add-on OR by opening a DocBook 4 document and by using 
"Tools|Execute Command", "insertCharByName" ENTER) to understand how it 
works.

To make it simple:

* Without any parameter ("insertCharByName"), this command displays a 
dialog box allowing you to type the name of the character.

* With a parameter ("insertCharByName InvisibleTimes"),  this command 
inserts the character specified by its name ("InvisibleTimes") without 
displaying any dialog box.

The contents of the dialog box is determined as explained in 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/insertCharByName.html. 


---
The character entities listed in the dialog box displayed by this 
command are determined as follows:

    1. If a [DocBook] parameter has been specified, use the character 
entities defined in the DocBook 4.4+ DTD and this, whatever the schema 
the document being edited is conforming to.

    2.  If a [$property_name] parameter ...
---

Reply via email to