Sandra Sol Rodrigo wrote:
>
> My name is Sandra Sol and I?m using XMLmind to write a software user?s
> guide. I have a pair of questions about your software:
>
> ? First question is about color text. Can I change the colour of
> a single word?
You cannot do that directly from XMLmind XML Editor.
The only way to do that is to change the way XML elements are styled on
screen. This is done by modifying a CSS style sheet, which clearly not
the responsibility of the end user.
Let's suppose you have an element called <highlight> which is rendered
as red text (this is specified in the CSS style sheet as follows:
highlight { color: red; }). Changing the color of a single would consist
in doing this:
[1] Select the word by dragging the mouse over it or double-licking on it.
[2] Use Edit|Convert
[3] Select element <highlight> from the list.
Et voil?, the selected word is displayed in red (because it is now
contained in a <highlight> element).
Note that what you see on screen is just there to help you create
content. What you see on screen has no relationship at all with what you
get if you convert the XML document to HTML, RTF, PDF, etc (your
deliverables). We call this WYSIRN (What You See is Really Neat), which
is very different from WYSIWYG.
> ? Second question is about converting a chapter into a section.
> I wrote a first version of the guide and now I?m writing the extended
> one and I have a chapter in the old version which had become a section
> in the new one. Can I convert it directly or I have to create a section
> a copy the text from the old chapter?
--> It depends on the type of document you are writing. For example, the
DocBook menu has a Demote entry. Explicitly select the whole chapter
(that is, you should see a red box around it), then select DocBook|Demote.
--> If you don't have a Demote menu item, please do not copy the text of
the chapter, instead copy its XML *nodes*:
[1] Explicitly select the whole chapter
[2] Press Esc then down arrow to select all its child nodes.
[3] Ctrl-C
[4] Explicitly select the whole empty section
[5] Press Esc then down arrow to select all its child nodes.
[6] Ctrl-V