My only explanation for the symptoms you describe is that:

1) You have the "Quick Start cache" enabled. More information in http://www.xmlmind.com/xmleditor/_distrib/doc/help/advancedOptions.html#cacheOptions

2) test.xml is not detected as being a DocBook 4 document by XMLmind XML Editor.

Hence the error message you have: "docb.toPSFile" is not found because XMLmind XML Editor has not loaded the DocBook 4 configuration containing this command.

Therefore:

--> Make sure that test.xml is actually a DocBook *4* document. If test.xml is a DocBook *5* document, please invoke db5.toPSFile.

--> If the above step does not help, please start XMLmind XML Editor, temporarily disable the "Quick Start cache" ("Options|Preferences", "Advanced|Cached data" section), quit XMLmind XML Editor and run convertdoc again. You should have then a different, hopefully more meaningful, error message.



On 03/17/2014 07:15 PM, Brian C. Huffman wrote:
I'm trying to use the convertdoc command in xxe-pro-5.7 to convert xml
to PDF and I'm getting the following error:
[ xxe-pro-5_7_0]$ bin/convertdoc docb.toPSFile test.xml -s pdf -s "|pdf"
-u testout.pdf
convertdoc: *** error: command 'docb.toPSFile' not found

Running with the "-h" works fine:
[ bin]$ ./convertdoc -h docb.toPSFile
convertdoc [options] docb.toPSFile docbook_file_or_URL \
   -s pdf -s "|pdf" -u pdf_file_or_URL

   Convert DocBook document docbook_file_or_URL to PDF file
pdf_file_or_URL.

   Example:
   convertdoc docb.toPSFile doc.xml -s pdf -s "|pdf" -u out/doc.pdf

convertdoc docb.toPSFile docbook_file_or_URL \
   -s ps -s "|eps|ps" -u ps_file_or_URL

   Convert DocBook document docbook_file_or_URL to PostScript file
   ps_file_or_URL.

   Example:
   convertdoc docb.toPSFile doc.xml -s ps -s "|eps|ps" -u out/doc.ps

This is on CentOS 6.3, 64-bit.



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

Reply via email to