Itsme wrote:
> I tried this:
> 1. created a stand-alone chapter
> 2. Copied as reference: shows on status bar as db:chapter
> 3. went to existing docbook, selected existing chapter
> 4. tried to paste-after -- menu disabled.
> 
> The problem seems to be a bunch of attributes included with the <chapter 
> ..> element, including
>   namespace = db
> If I remove these by manually editing text, then the paste works.
> 
> - Is my diagnosis correct?
> - Can it be fixed?

I cannot reproduce the problem with XXE v4. My guess is that you are 
trying to paste a reference to a DocBook 5 chapter into a DocBook 4 book.



> Lastly, is there a way to extract chapter elements from a book and save them 
> to separate files? It seems not realistic for book writing to proceed 
> linearly and such re-factorings would be common.
> 

In principle, you can write a macro to do that. The very last step of 
such macro would be to replace the chapter contained in the book by a 
reference to the extracted chapter. This last step requires enhancing 
the "include" command 
(http://www.xmlmind.com/xmleditor/_distrib/doc/commands/include.html). 
Such enhancement will be available in XXE v4.1.




Reply via email to