On 06/04/2013 09:15 AM, Kaj Hjøllund Jensen wrote:

Thank you very much for your reply, -this explains very well what the
problem is, however it does not explain how xml-mind has allowed this text
without a para. I only used XML-mind to edit the document, and I am the
only author. Can it have happened during some copy/paste operation ?


In principle, this is almost impossible to achieve:

* May be your document was initially structurally invalid (that is, severely invalid) and in such case, XMLmind XML Editor puts temporarily itself in a ``lenient'' mode. It automatically switches from ``lenient'' mode to its normal ``strict'' mode once all validity errors have been fixed by the user.

OR

* May be you have used "Edit|Force Deletion" ( http://www.xmlmind.com/xmleditor/_distrib/doc/help/editMenu.html ) because you were stuck. This caused the document to become structurally invalid and XMLmind XML Editor automatically entered the ``lenient'' mode.




I have corrected the full document now, and there were many places where
text had been inserted without being enclosed by a paragraph. Now, only
after fixing all occurrences, "Copy as Reference" works again. I will keep
a look in the future, to get a clue how I got this plain text inserted,
and let you know.

See above.




My next challenge is that I would like to "Wrap" some paragraphs and
figures together inside a paragraph, so that I am able to reference it all
together with a "copy as reference".
I have marked the elements to be wrapped, but when I select to Wrap, the
"Para" is not an option. Which wrapping element can I chose for this
purpose ?

I'm sorry but I don't understand "some paragraphs and figures together inside a paragraph".

If a paragraph contains anything other than inline elements and inline images, then it is not a paragraph any more.

The fact that the DocBook 5 schema (a mistake IMHO) allows to insert figures, lists, tables, etc, inside a para does not mean that you have to do it.

When you want to add a figure, list or table (i.e. a ``block'') to your document, please use the DocBook toolbar or "Insert After" or "Insert Before" for that. Please do not use "Insert".

The DocBook 5 elements expected to contain images, captions, etc, are:

* http://www.docbook.org/tdg5/en/html/informalfigure.html

* http://www.docbook.org/tdg5/en/html/figure.html


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to