On 09/12/2015 07:11 AM, Martin Goik wrote:

I've just upgraded from Xmlmind 6.0.2 to 6.0.4

It's XXE v6.4.


thereby moving my Docbook 5.0 document instances to 5.1.

It's too early to do that. DocBook 5.1 is not yet an OASIS standard. More annoying, "DocBook 5: The Definitive Guide" -- http://docbook.org/tdg51/en/html/docbook.html -- is not yet up to date.





Unfortunately xxetool invocation no longer works. I've changed the conversion 
command names according to
http://www.xmlmind.com/xmleditor/_distrib/doc/xxetool/using_it_to_convert.html:


goik@virt:~/xxe-pro-6_4_0/bin$ xxetool convert -vvv docb.toHTML
/home/goik/workspace/GoikLectures/Doc/target/lectures.xml -u /tmp
xxetool: Loading document 
"/home/goik/workspace/GoikLectures/Doc/target/lectures.xml"...
xxetool: Stripping ignoreable whitespace from 
"file:/home/goik/workspace/GoikLectures/Doc/target/lectures.xml"...
xxetool: *** error: command 'docb.toHTML' not found

Even more confusing: The doc states that calling the utility yields the list of 
available conversion options. And the
above "docb.toHTML" seems to be readily available:

goik@virt:~/xxe-pro-6_4_0/bin$ xxetool convert
db5.toEclipseHelp
db5.toEpub
db5.toHTML
db5.toHTML1
db5.toHTMLHelp
db5.toJavaHelp
db5.toJavaHelpWithPrefix
db5.toPSFile
db5.toPSPrinter
db5.toRTF
db5.toWebHelp
dita.toEPUB
dita.toEclipseHelp
dita.toHTMLHelp
dita.toJavaHelp
dita.toJavaHelpWithPrefix
dita.toPSFile
dita.toPSPrinter
dita.toRTF
dita.toWebHelp
dita.toXHTML
dita.toXHTML1
docb.toEclipseHelp
docb.toEpub
docb.toHTML
docb.toHTML1
docb.toHTMLHelp
docb.toJavaHelp
docb.toJavaHelpWithPrefix
docb.toPSFile
docb.toPSPrinter
docb.toRTF
docb.toWebHelp
xhtml.toPSFile
xhtml.toPSPrinter
xhtml.toRTF

Am I doing something stupid? Up to now I was using "db5.toHTML" and 
"db5.toPSFile" for years without any problems.


Unless lectures.xml is a DocBook 4 document, any docb.XXX process command will not be available.

It works like this:

1) xxetool loads the document.
2) xxetool detects its document type and loads the associated configuration.
3) xxetool can now use any of the process commands found in the loaded configuration. It cannot use any other process command listed by xxetool convert.

Hence,

* if lectures.xml is a DocBook 4 document, use docb.toHTML and docb.toPSFile.

* if lectures.xml is a DocBook 5 document, use db5.toHTML and db5.toPSFile.

* if lectures.xml is a DocBook 5.1 document:
a) Download and install the add-on called "DocBook v5.1 configuration (Release Candidate)" using Options|Install Add-ons then restart XXE. b) Open lectures.xml in XXE to make sure it has been detected as being a DocBook 5.1 document. Hover the document tab to check this.
c) Quit XXE.
d) Invoke xxetool convert with the process commands called db51.toHTML or db51.toPSFile.

----------
Important: when you'll want to convert an assembly, please use asm.toHTML and asm.toPSFile and not db51.toHTML and db51.toPSFile.

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to