On 03/16/2017 05:26 PM, Pierce Tyler wrote:

I'm trying to convert DocBook to PDF using XXE version 7.2.0 on Windows
8, but the process fails right at the end, just before the file is
produced. I have checked and rechecked my setup multiple times,
comparing also to my XXE version 4.5.2 configuration,

Version 7.2 has been released several years after v4.5.2. I mean, *loads* of changes separate these two versions.




which is working fine. But at this point I am stumped as to what might be the 
cause of
the error.

If it may help with troubleshooting, I've attached the log file I get
when generating a .PDF, as well as a copy of my local configuration. The
header of the log window also reports these errors: http://take.ms/8bSim

The error message indicates an error (a spurious "%4" variable) in the <upload> child element of (your customized?) docb.toPSFile process command.

In v7.2, the stock docb.toPSFile process command has no "%4" variable:

---
<command name="docb.toPSFile">
  <process>
    <info>
      <usage>...</usage>
    </info>

    <subProcess name="docb.toPS" parameter='"%0" "%1"' />

    <upload base="%2">
      <copyFile file="__doc.%0" to="%2" />
    </upload>
  </process>
</command>
---




One thing I noticed that didn't seem right is that the primary combo box
at the top of my Customize Document Conversion Stylesheets window does
not include an option for converting to PDF.

Your customized docb.toPSFile process command needs to be updated to support this.




I'm not sure if this is related or not but thought I would mention it.

No, not directly. It's a second, different, issue.




I haven't been able to
figure out how to add a convert to PDF option to that combo box list.

Thanks for any help.


These issues should be simple to fix.

The first one seems to be caused by a customized docb.toPSFile process command probably found in:

C:\Users\Pierce\AppData\Roaming\XMLmind\XMLEditor7\addon\custom\0docbook.xxe

The docb.toPSFile process command probably defined in this .xxe file makes use of:

C:\Users\Pierce\AppData\Roaming\XMLmind\XMLEditor7\addon\custom\fo\fo.xsl

Please send me these two files (or better, the zipped contents of your "C:\Users\Pierce\AppData\Roaming\XMLmind\XMLEditor7\addon\custom\ folder") and I'll try to fix these two problems for you.




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

Reply via email to