Caroline Ingram wrote:
> First: I've been using Docbook article template to write up a few 
> reports.  I've found that I can add a new section at the same level 
> (i.e. 1.2, 1.3, 1.4) easily enoughat any time. However, although at an 
> early stage I can set up a variety of sections and subsections 
> (1.2;1.2.1;1.2.2; 1.3; 1.3.1 etc) - what I don't seem to be able to do 
> once I've added any text to (say) section 1.3 is add in sub-section 
> 1.3.1, even though I can easily add section 1.4.  How do I easily do this? 

Example: section 1.3 has a title and contains 3 paragraphs.

* If you click in the *title* of section 1.3 and use the "?" icon/button 
of the  DocBook toolbar, it will add a section 1.4.

* If you click in the *last paragraph* of section 1.3 and use the "?" 
icon/button of the  DocBook toolbar, it will add a section 1.3.1. In 
this case, the important point is to select (implicitly or explicitly) 
the *last element* of the section.

If you want to understand why this works, we recommend *not* to use the 
DocBook toolbar and instead read our tutorial: 
http://www.xmlmind.com/xmleditor/_distrib/docs/user/userguide2.html#id.s2.

This tutorial will teach to do everything using the basic, generic, 
commands: "Insert", "Insert After", "Insert Before", "Convert", etc.
While being somewhat low-level, these basic, generic, commands are 
straightforward to learn and use. And with these commands, you'll be 
able to do anything you want in XMLmind XML Editor, quickly and precisely.



> Second: when I convert the XXE file to (e.g.) HTML, the resulting doc is 
> always displayed in Times New Roman font, 12 pt.  Is there anyway to 
> change this default without having to go into each instance of the HTML 
> doc and edit the HTML?

Sure. Just use a text editor and modify the CSS style sheet used to 
style the generated HTML.

This CSS style sheet is found in 
<XXE_install_directory>/config/docbook/xsl/css/html.css

It starts with:
---
body {
     background: #FFFFFF;
}
     .
     .
     .
---

For example, you could change this to:
---
body {
     background: #FFFFFF;
     font-family: sans-serif;
     font-size: 10pt;
}
     .
     .
     .
---


Reply via email to