On 06/18/2015 10:21 AM, Arno Smit wrote:
Just an Improvement request,
Example work flow:
While writing a Docbook book I /insert/ a flat chapter after another
chapter.
Somehow later, I decide I want to make this chapter modular.
Current situation:
1.I have to create a new chapter from a template
2.Copy past the flat chapter contents from the book to the new chapter file
3.Replace the flat chapter by a reference to the new chapter file into
the book again.
Request:
Make it possible (if not already) to create a modular chapter from a
selected flat chapter element. The same applies to other elements that
support modularity. Related to this, inserting a new chapter as a new
referenced document is also a nice option.
In order to prepare the advent of DocBook 5.1 (topics and assemblies),
we have implemented this function in XMLmind XML Editor v6.3.1 (which
should be released next week).
This function is available for DocBook 5.0 and 5.1 documents (also works
fine for DocBook 4 documents, but it's currently commented out in
docbook.xxe). It comes in the form of a new menu item called "Convert to
Module".
Excerpts from the documentation:
---
Makes it easy converting a large, monolithic, document to a modular
document.
More precisely this menu saves explicitly selected element to a separate
document and then replaces the selected element by a reference to the
separate document. For example, it can be used to save selected chapter
to file chapter1.xml and then to replace selected chapter by <xi:include
href="chapter1.xm"/> in a monolithic book document.
For this menu item to work, a document template having the same root
element as selected element must be available. For example, this menu
item works when selected element is a chapter, section, appendix, etc,
but not when the selected element is para, table, etc. Available
document templates are listed in the dialog box displayed by menu item
File → New in XMLmind XML Editor - Online Help.
---
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support