On 05/23/2011 04:38 PM, Roy MacLean wrote:
> 
> I currently have scripts with convertdoc commands for PDF output - of
> the form:
> 
> CALL convertdoc dita.toPSFile InDoc.dita -s pdf -s "|pdf" -u
> "C:\Temp\OutDoc.pdf"

More precisely it's:

convertdoc dita.toPSFile InDoc.dita -s pdf -s pdf -u "C:\Temp\OutDoc.pdf"

That is, there is no "|" before the second "pdf".



> 
> This works fine.
> 
> However, I can't work out the equivalent for Word output.
> I've looked at xslMenu.incl, but I can't work out the arguments to pass
> for dita.toRTF (which I think is the correct command).

Example:

convertdoc dita.toRTF foo.dita -s docx -s UTF-8 -u C:\Temp\foo.docx

The input file (foo.dita in the above example) may be a topic or a map.

Reference:

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

Reply via email to