[1] *Explicitly* select paragraph #2 (the one containing "Text of
paragraph 2"). (For example, Ctrl-Click inside it several times without
moving the mouse until you see it selected in the node path bar.)

[2] Use DocBook|Demote.



---
PS: In my answer, I assume that your sections are valid ones. I'm saying
this because the sections you gave us as examples lacks a <title> or a
<sectioninfo>.


maxwell at umiacs.umd.edu wrote:
> I thought I knew how to do something, but I was wrong.
> 
> In a DocBook document we're editing in XMLmind, I want to convert some
> existing paragraphs into a subsection.  So starting from something like:
> 
> <section>
>   <para>Text of paragraph 1</para>
>   <para>Text of paragraph 2</para>
>   <para>Text of paragraph 3</para>
> </section>
> 
> --I wanted to get to
> 
> <section>
>   <para>Text of paragraph 1</para>
>   <section>
>     <para>Text of paragraph 2</para>
>     <para>Text of paragraph 3</para>
>   </section>
> </section>
> 
> (The newly added section could be a subsection of the existing section, as
> I've shown here, or a sibling section; either would work, on the
> assumption that I can demote the sibling section after I create it.)
> 
> I thought I could do this by selecting paras 2 and 3, and doing Convert
> [Wrap].  But 'section' is not one of the possibilities that comes up in
> the list (which includes 'abstract', 'authorblurb'...'warning' etc.).
> 
> I thought (based on the documentation) that maybe this was because of a
> limit to only being able to wrap a single object, but I get the same list
> of possibilities when I select a single para.
> 
> My work-around is to do an Insert After of the <section>, then cut and
> paste the relevant paragraphs in.  This works, but it's clumsy.
> 
> Is there a more direct way to do what I want?  Why is 'section' not
> available in the Convert [Wrap] possibilities list when the object being
> wrapped is a para, and the next element up is a section?  (I can see why
> it wouldn't work if I selected paragraph 1 or paragraph 2 in the above
> example, but selecting paragraph 3, or 2+3, seems like it should work.)
> 


Reply via email to