R Landfill wrote:
> I have a section with 6 subsections (all using the "section" tag). I
> want to surround 3 of the subsections with a new subsection making these
> 3 subsections into subsubsections.
> 
> Here is a picture:
> 
> BEFORE
> 1.1 Introduction
> 1.1.1 Cat
> 1.1.2 Dog
> 1.1.3 Lion
> 1.1.4 Cow
> 1.1.5 Chicken
> 1.1.6 Pig
> 
> AFTER
> 1.1 Introduction
> 1.1.1 Cat
> 1.1.2 Dog
> 1.1.3 Lion
> 1.1.4 Farm animals
> 1.1.4.1 Cow
> 1.1.4.2 Chicken
> 1.1.4.3 Pig
> 
> I selected the three section nodes corresponding to 1.1.4 through 1.1.6
> and tried to use the "Convert|wrap" but that option is greyed out. I
> realize that I could create a new subsection and then cut-and-paste, but
> I would rather use the convert. Can this be done in one operation?

No, but there is an easy and intuitive way to do it:

[1] Switch to the ``document structure view'' using menu item
View|Document Structure. See attached screen shot.

[2] Click on gray word "section" to select section "1.1.3 Lion".

[3] Insert a new section after selected section. This will be your
"1.1.4 Farm animals" section.

[4] Click on gray word "section" to select section "1.1.4 Cow". Use menu
item DocBook|Demote (shortcut F2 Right_Arrow) to move "1.1.4 Cow" to
"1.1.4.1 Cow".

[5] Repeat [4] for "1.1.5 Chicken" and "1.1.6 Pig".

Try it, you'll like it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docstructview.png
Type: image/png
Size: 3139 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20061130/1cd409b3/attachment.png
 

Reply via email to