Aaron Mulder wrote: > Bug: > If you open a DocBook chapter with a section like this: > > <sect1 id="foo"><Title>Foo</title></sect1> > > And then click in the title and click the "Add para" icon, it > inserts something that is not a proper paragraph. It looks like a > paragraph but it spans the whole page width and you can't type in it. You > have to insert a second paragraph. You still can't delete the bad one by > using backspace or delete, but have to select it and "Cut" to remove it.
I cannot reproduce this behavior. I tried to open the following doc: --- <chapter> <title>Bar</title> <sect1 id="foo"><Title>Foo</title><p></p></sect1> </chapter> --- And, as expected, XXE reported a non-well-formed error (mismatch end tag: expected "Title" but got "title") which prevented the editor to open it. However you are right, XXE is not very good at fixing severely invalid XML documents. But unfortunately, it is technically very hard to improve this. > Feature: > It would be nice to automatically recognize documents containing a > root element of <preface> as DocBook (just like <chapter> or <appendix>, > etc.) No offense intended but our goal is not to make XXE the best and more full featured *DocBook* editor in the world. We have made XXE extensible. The basic idea is that, if you need to improve the DocBook configuration -- which we understand perfectly well -- you can do it yourself. See http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch04.html > Feature: > When you insert a new element, it would be nice to automatically > switch the right-hand view to "Attributes" instead of "Edit". Further, it > would be nice to auto-select the first required attribute. This is > particularly aggravating for inserting <xref> elements, which contain > nothing but a mandatory attribute. I can insert the <xref> by typing > Ctrl-i-xref-Enter, but I have to use the mouse to first select the > attribute tab at the very bottom of the screen, then move the mouse up to > near the top to specify the linkend. It ends up being a lot of precision > mouse work, when I'd much prefer to use the keyboard. We are conscious of the problem. This will be solved by XXE V3, which will have a brand new GUI. > Feature: > When an xref points to an element in the current document (an > example, table, section, etc.) it would be nice to render it more like the > output would look ("Example: Title of Example" or "Section 4" or > whatever). That looks nicer on-screen, and would also be an immediate > indicator of whether the linkend was valid or not. To our knowledge, this already works but you need to specify the endterm attribute of the xref. You can easily modify this behavior by changing the CSS style sheet. Excerpts of XXE_install_dir/config/docbook/css/docbook2.imp --- xref { content: icon(left-link) xpath("if(id(@linkend)/@xreflabel,id(@linkend)/@xreflabel, at linkend)"); vertical-align: text-top; /* for the icon */ color: navy; } xref[endterm] { content: icon(left-link) xpath("if(id(@endterm), id(@endterm), @endterm)"); } --- > Feature: > When a para is selected, it would be nice if the "Convert [wrap]" > menu included "example" (not just "informalexample"). True, it's not a > strict wrap because a title would be inserted as well, but you could just > put the example and an empty title around the para, and leave the cursor > in the para, which would become the content of the example. You need to write a macro-command if you often need to do that. See http://www.xmlmind.com/xmleditor/_distrib/docs/commands/ch02.html > Feature: > It would be nice if the UI indicate the Ctrl-Enter shortcut for > inserting a new list item in a list. I was frustrated by the need to use > the mouse for that until I read the productivity tips. It wouldn't be > hard to add "(Ctrl-Enter)" to the tool tip for the tool bar icon, for > example. True. We'll do that.

