Thomas Dumm wrote:
>  
> 1) On individual words marked with 'xml:lang, the spellchecker does not 
> "see" the dictionary, because the xml:lang attributes that we use in our 
> dtd are defined as: <!ENTITY % attribute.lang 'xml:lang (none | deu | 
> deu-CH | eng-GB | eng-US | fra | ita | spa) #IMPLIED '>
> The default dictionary works fine as I can set  defaultLanguage="de". I 
> have also set the languageAttribute="xml:lang". But I see that you use 
> two letter abbreviations for the language code e.g. "en-GB" and not like 
> we "eng-GB". Do I have to generate a new dictionary with just the 
> language code altered? Or is there a simpler way? Is there a file where 
> I can specify the language code - dictionary relation?

The value of xml:lang is expected to be a two-letter ISO language code 
(to make it simple). That is, "en" and not "eng". The best way to fix 
you problem is to change your DTD.

If you cannot change your DTD, then you are somewhat stuck, and need to 
fallback to desperate things such as modifying the dictionaries (see 
http://www.xmlmind.com/dictbuilder.shtml). Well, I think. Not 100% sure.



> 2) If I use a few special fonts in the css-file ( font-family: "Symbol"; 
> font-family: "Wingdings"; font-family: "ZapfDingbats";) the Characters 
> are not displayed properly.  What are the requirements to the fonts? I 
> wrote the text "abcABC" and then I marked the text with the element 
> <font Type="01">, which resulted in square-Symbols instead of the Greek 
> symbols (Type="01" is the symbol font).

Properly styling an element such as
---
<font family="My Strange Glyphs">abcABC</font>
---
is absolutely not supported by XMLmind XML Editor.

XMLmind XML Editor just supports the serif, sans-serif or monospace 
logical fonts.

These logical fonts have *all* the characters you need: symbols, 
dingbats, greek, etc. Just make sure to input the right Unicode character.

See http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/restrict.html :
``font-family is expected to contain serif, sans-serif or monospace. 
Example: "font-family: Helvetica, Arial, sans-serif;".

However a few well-known font families are mapped to the corresponding 
generic font families. Example: "font-family: verdana;" is understood to 
be sans-serif.

All other cases will cause the serif font family to be used. Example: 
"font-family: 'Nimbus Sans';".''



> 3) Is there a way to also translate the elements an their attributes of 
> the dtd, such that the translated name shows up in the edit and 
> attributes pane? This would be of great help, especially for the 
> non-speaking attribute values like <font Type="01">. For this I would 
> like to see "Schrift" and "Symbol". Probably not possible, but just to 
> be sure, that I did not miss anything in then documentation.

No, this is not possible.



> 4) Is there a way to edit several CALS-Table-Cells at the same time, by 
> marking them an then using editAttributes? I did not succeed.

No, this is not possible. Note that all commands requiring you to 
specify an argument are repeatable using Ctrl-A (Edit|Repeat).

When a command is not repeatable or when you want to repeat a sequence 
of commands, please record a macro using Esc m,...commands...,Esc m (the 
Attribute tool, like all tools, is record-macro-aware), then replay the 
macro using Esc p.

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsMenu.html#recordMacroMenu



> 5) Do you have a template/macro, that can be used to insert a thead in a 
> tgroup with the right number of entry-Elements? I only manage to insert 
> thead/row/entry. I tried also by inserting into thead a copy of an 
> existing row of tbody, which would contain the right numer od entry 
> elements, but I did not succeed.
>  

No, there is no such command. However you can define a number of element 
templates for the tables you use most.

This is done very easily by [1] creating the right table, [2] selecting 
it, [3] Using "Options|Customize Configuration|Save Selected Element As 
Template". See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/optionsMenu.html#customizeConfigurationMenu

Element templates are given a name. They are listed like this in the 
Edit tool: "informaltable(my_favorite_one)", where the element is 
"informaltable" and  "my_favorite_one" is the name of the template.

Note that what works for tables, works for any element, including just 
the thead of a tgroup.

---
PS: I've rerouted your questions and these answers to the xmleditor 
support mailing list because your questions are of general interest.


Reply via email to