Jeff Hooker | 24 Oct 21:44 2014

XMLmind 6.0 Paste From Word issue

Hello Hussein,

 

I’ve attached a sample problem file. The problem itself I can reproduce across number of files sharing the same author.

 

Use paste from word to drop the document into a Docbook Article. It will work reasonably well, considering the fact it it’s an offensively terrible document.

 

Next, delete the title called “Remove This” and then Paste From Word again. This time the first table will end up with two titles and the second table will have no title at all. If there were further tables in the document, all the table titles would be moved up by one, until they attempted to cross a boundary marked by a Title.

 

Thanks,

Jeff.

Attachment (sample.rtf): application/rtf, 1281 KiB

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Niels Grundtvig Nielsen | 23 Oct 15:53 2014
Picon

… and now the screenshot :-}

In case it doesn't survive gMail, the header-right definition is {{image(images/_wlBlue.png)}}



--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Niels Grundtvig Nielsen | 23 Oct 15:48 2014
Picon

referencing graphics

Don't think I've run into this before … I'd like to include/reference a small logo in the header when outputting a .ditamap as .pdf.

the .ditamap is in T:\11_Xenturion\userManual\ug_DITA
the logo is in T:\11_Xenturion\userManual\ug_DITA\images

At some stage, I've managed to set up the parameters as in the screenshot, but when I create the .pdf I get an error message because XML Mind is looking for the logo in XMLMind_XML_Editor\bin\images

What do I need to do to point header-right to the correct directory?

N

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 20 Oct 10:06 2014

Release of XMLmind XML Editor v6.1

XMLmind XML Editor Evaluation Edition v6.1 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml

Professional Edition users, please upgrade using this form:
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through
http://www.xmlmind.com/xmleditor/upgrade.html.)
    _____________________________________________

XMLmind XML Editor v6.1 (October 20, 2014)
------------------------------------------

* Many enhancements making XMLmind XML Editor more powerful
   and more comfortable to use.

* Some important bug fixes.

* New documentation. See below.
    _____________________________________________

More information:
http://www.xmlmind.com/xmleditor/changes.html

XMLmind XML Editor - Support of XPath 1.0
http://www.xmlmind.com/xmleditor/_distrib/doc/xpathsupport/index.html

XMLmind XML Editor - How to adapt "Paste from Word" to your needs
http://www.xmlmind.com/xmleditor/_distrib/doc/pastefromword/index.html

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

Hussein Shafie | 15 Oct 09:07 2014

Re: Upgrade XMLmind XML Editor Personal Edition

Didier L. wrote:
>
> I have the
>
>   * xxe-perso-4_8_0
>
> can do I have to pay for a full new license for this 6_0_0?

Yes. See http://www.xmlmind.com/xmleditor/price_list.html

Note that XMLmind XML Editor Personal Edition v4.8 (xxe-perso-4_8_0) was 
free-to-use software. Personal Edition was discontinued after v5.3 (June 
21, 2012).

If you want to upgrade for free, you may want to download v5.3 Personal 
Edition (along with any of its add-ons) from this folder:

http://www.xmlmind.com/archive/xmleditor/5.3.0/

(Your web browser should allow you to visit this folder and download 
files from it.)

However, XMLmind XML Editor v5.3 probably will not work well (if not at 
all) using recent operating systems (e.g. Windows 8+, Mac OS X Mountain 
Lion+) and/or recent versions of the Java runtime (e.g. Java 1.7+).

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

Jeff Hooker | 9 Oct 22:05 2014

XXE 6.0: Paste From Word

Hello Hussein,

 

I’m converting a large quantity of Word 2010 documents to Docbook XML using the Paste From Word feature in XXE 6.0.

 

The documents have been very tightly controlled in Word, so they are unusually clean and, for the most part, convert to XML extremely well. The only important exceptions are the code samples.

 

I’ve tried a number of approaches to styling the code samples in the Word document to  give XMLmind clues about what they are, but it still creates them as a series of simple para elements. If I must I will script a post-processing step to address this, but though I’d ask if there was some configurable way of communicating style information to the Paste From Word feature.

 

Thanks,

Jeff.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Niels Grundtvig Nielsen | 8 Oct 10:57 2014
Picon

ditamap and navigation pane

Is there any trick for getting these two views of a library to move in synch? I thought at first of training myself to use one or the other, but I can't add topicrefs in the navigation pane (afaik) and don't get the useful colour-coding (task, concept, 'reserved for future development') in the ditamap.

I have no idea how much work it would require, but a new context-menu option "Highlight in map/navigation pane" might be a nice-to-have.

N

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 6 Oct 09:20 2014

Re: TEI support in XMLmind XML Editor

Ralf S. wrote:
>
> I need to understand why xmlmind does not support TEI.

The reason is as simple as: we, XMLmind, have not undertaken the huge 
development effort needed to add an excellent support of TEI to XMLmind 
XML Editor.

We have started adding support for TEI several years ago and we gave up 
very quickly for the following reasons:

1) TEI is a very sophisticated document type, possibly having subsets 
and dialects, possibly having hundreds of elements.

2) At that time, we knew nothing at all about the TEI market and we 
tended to underestimate it.

3) The conversion of TEI to PDF did not work well with XSL-FO processors 
such as FOP, XEP or our own XFC.

If my memory serves me well, at that time, this conversion consisted in 
XSLT stylesheets generating XSL-FO ,tested only against PassiveTeX, an 
XSL-FO processor developed by Sebastian Ratz of the TEI consortium, 
written in TeX, generating TeX.

More info in http://www.tei-c.org/Tools/Stylesheets/

--> Fortunately, we now have academic partners who truly are TEI experts 
and who have worked very hard to implement TEI support as an advanced, 
open source, free-to-use, add-on.

We currently wait for these partners to officially release this XMLmind 
XML Editor add-on to the public.

See web page (French):

http://www.unicaen.fr/recherche/mrsh/document_numerique/projets/chaine_editoriale

See screenshot of a TEI document (French) opened in XMLmind XML Editor:

http://www.unicaen.fr/recherche/mrsh/sites/default/files/public/document_numerique/chainEdito3.png

> Could you indicate the technical reason for this?

There is no technical reason whatsoever which would prevent adding 
excellent support for TEI to XMLmind XML Editor.

> Is it that TEI specifications are not adopted yet?

If my memory serves me well, the TEI specification is a stable, 
well-documented, standard.

> Or has this a deeper technical background.

No, once again, there is no technical reason whatsoever which would 
prevent adding excellent support for TEI to XMLmind XML Editor.

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

Hussein Shafie | 4 Oct 10:01 2014

Re: In a DocBook document, how to include all the child elements of an element having an ID?

Devrim E. wrote:
> Thanks Hussein. This helped me understand the concept better. I am using
> XMLMind 6 and when I use the copy as reference method, we have the
> problem that, if new sections are added, they will not be automatically
> part of the referencing doc. So I wonder if it is possible to select all
> the sections under a chapter in a generic fashion.
>
> By looking at the XPath specs, I understand this shall be possible by
> using a path like chapter/section, but I wasn't able to get this
> working. Is this supported?
>
> If you have any idea to achieve this in another way, I'd be glad to hear
> about that too.
>

Modifying by hand xincludes in order to achieve what you want is not 
officially supported by us. Therefore, in principle, I'm not allowed to 
answer your question.

This being said, an xinclude such as any of the following ones should do 
the trick:

---
<xi:include
    href="chapter.xml"
    xpointer="xmlns(db=http://docbook.org/ns/docbook)
              xpointer(id('ModelsAndConfiguration')/db:section)"/>
---

---
<xi:include
    href="chapter.xml"
    xpointer="xmlns(db=http://docbook.org/ns/docbook)
              xpointer(/db:chapter/db:section)"/>
---

---
<xi:include
    href="chapter.xml"
    xpointer="xmlns(db=http://docbook.org/ns/docbook)
              xpointer(/*/db:section)"/>
---

See attached book.xml and chapter.xml for a working example.
Attachment (book.xml): text/xml, 841 bytes
Attachment (chapter.xml): text/xml, 1062 bytes

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 3 Oct 16:52 2014

Re: In a DocBook document, how to include all the child elements of an element having an ID?

Devrim E. wrote:
>
> we are trying to use xinclude in our Docbook 5 documentation. This
> general works great. Now we tried to use the element() scheme to include
> all child elements (sections) of a chapter from another file. The
> chapter looks like:
>
>    <chapterxml:id="ModelsAndConfiguration">
>      <title>Models and Configuration</title>
>
>      <section>
>        <title>General Models</title>
>
>
> In our master docbook file, we would like to include all the child sections of the chapter, we did the following:
>
> select the reference
> untransclude reference
>
> changed the xpointer attribute to element(/ModelsAndConfiguration/*),
> retransclude reference

There is a more convenient and also much safer way to do this:

1) Check option "Allow advanced use of XInclude" in Options|Preferences, 
Edit section

More info about this option in 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/editOptions.html#allowAdvancedXInclude

2) Select all the child elements of the source chapter.

3) Press Ctrl+Shift-C, which is Edit|Reference|Copy as Reference.

4) Select all the child elements of the (generally empty) chapter which 
is the target of the inclusion.

5) Press Ctrl-V (Edit|Paste).

>
>
> we see the error message:
>
>
>       Inclusion Error
>
>   * file:/C:/Home/RTD/Fabrika/_RTDynamics.trunk/VRF/Src/Doc/UG/VRF%20Plugin%20Users%20Guide.xml:::
>     cannot parse inclusion directive: cannot parse XPointer
>     "element(/ModelsAndConfiguration/*)": "/ModelsAndConfiguration/*",
>     XPointer element() scheme syntax error
>
> element(/ModelsAndConfiguration) and element(/ModelsAndConfiguration/1) seems to work, but
element(/ModelsAndConfiguration/*) doesn't seem to work. Any idead how we can get this working?
>

The element() scheme syntax error reported by XXE is 100% correct. The 
element() scheme does not support something like 
element(/ModelsAndConfiguration/*)

If I use the safer way described above, XXE automatically generates for me:

---
<xi:include href="WHATEVER_HREF_HERE"
   xpointer="xpointer(id('ModelsAndConfiguration')/node())"/>
---

Notice how XXE has automatically switched from  the element() scheme to 
the xpointer() scheme.

Reference:

See http://www.w3.org/TR/xinclude/

See http://www.w3.org/TR/xptr-element/

See http://www.w3.org/TR/xptr-framework/

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

Helen Pyle | 1 Oct 16:17 2014

Possible bug

Hello,

I have a small file (below).

It fails to convert, but if I remove ONLY the text “application_1410895274620_0017” it will convert. That text is screen element.

Another way to get it to convert is to make the block of text a paragraph, then I can leave the line in.

Helen

 

 

<?xml version="1.0" encoding="UTF-8"?>

<appendix version="5.0" xmlns="http://docbook.org/ns/docbook"

          xmlns:xlink="http://www.w3.org/1999/xlink"

          xmlns:xi="http://www.w3.org/2001/XInclude"

          xmlns:svg="http://www.w3.org/2000/svg"

          xmlns:m="http://www.w3.org/1998/Math/MathML"

          xmlns:html="http://www.w3.org/1999/xhtml"

          xmlns:db="http://docbook.org/ns/docbook">

  <title>Troubleshooting</title>

 

  <section>

    <title>YARN</title>

 

    <screen>application_1410895274620_0017</screen>

  </section>

</appendix>

<?xxe-serial-numbers i0qogpl2 hpyle

(1z141zb (1z141zc) (1z141zg (1z141zh) (1z1421g)))?>

 

 


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

Gmane