Xavi Planes wrote:
> 
>       I've read the link you sent me. However, I still don't know how to
> insert a title in a DocBook document.
> 

--> Your email is called "Title format". There is no concept of "Title 
format" in DocBook or in XML in general.

Some XML vocabularies may define one or more <title> elements. When the 
documentation of the <title> element says that it is a heading (it could 
be the title of a person!), then the style sheet which formats the 
elements on screen or for printing will generally use a large, bold font 
to render this heading.


--> You cannot insert a title where a <title> element is not allowed by 
a DocBook grammar.

To my knowledge:
* A lot of element requires a <title> element (chapter, section, table, 
etc) and in such case, they are created with the proper  <title> element 
(and you cannot remove it).
* Very few elements have an optional <title> element.

What follows is one of the few case which allows you to insert a <title> 
element:

[1] Use File|New to create a new DocBook article.

[2] Click on the empty <para> contained in first section in order to 
select it (implicitly).

[3] Use the Edit tool or Edit|*Insert After* (not "Insert", not "Insert 
Before") and select "note" from the list.

[4] A <note> element is now inserted after the <para> and is explicitly 
selected (red box around it).

[5] Click in the <para> inside the newly inserted note in order to 
select it.

[6] Use the Edit tool or Edit|*Insert Before* (not "Insert", not "Insert 
After") and select "title" from the list.

[7] A new <title> element is inserted at the beginning of the note. You 
can type some text right away in it.



---
PS: Please use the xmleditor-support mailing list.


Reply via email to