Hi Gil,

On 28.03.2020 18:25, Gil Barmwater wrote:
> Thanks for trying the new version of the package and I am happy that I 
> haven't broken the PDF
> generation :-).

One observation I forgot to mention: I created the pdf book in the old 
directory (version 1.2) after
copying the delta-zip files to it (only created the HTML version in the new 2.0 
directory).

After realizing that I did not create the PDF book in the full version (i.e. 
after unzipping the
whole version 2.0 package into a new directory). Just tried it and it did not 
work "out of the box"
because the folder "PDF_files" does not exist:

Here the steps:

    G:\oorexx.tmp\gilDocs\orxbldoc-2.0>docpath F:\work\svn\oorexx\docs\trunk
    The docpath is set to F:\work\svn\oorexx\docs\trunk

    G:\oorexx.tmp\gilDocs\orxbldoc-2.0>docprep rexxpg
    0 File(s) copied

    G:\oorexx.tmp\gilDocs\orxbldoc-2.0>doc2pdf
    20:00:16 - Transforming 
F:\work\svn\oorexx\docs\trunk\rexxpg\en-US\rexxpg.xml to fo_files\rexxpg.fo
    This may take up to 10+ minutes for the largest documents!
    Making portrait pages on A4 paper (210mmx297mm)
    20:03:34 - Transformation complete
    20:03:34 - Creating PDF_files\rexxpg.pdf from fo_files\rexxpg.fo using 
Apache FOP
    20:03:35 - FOP processing was unsuccessful

log_files\rexxpg.log contains:

    G:\oorexx.tmp\gilDocs\orxbldoc-2.0>type log_files\rexxpg.log
    MΣrz 28, 2020 8:03:34 NACHM. org.apache.fop.apps.FopConfParser configure
    INFO: Default page-height set to: 297mm
    MΣrz 28, 2020 8:03:34 NACHM. org.apache.fop.apps.FopConfParser configure
    INFO: Default page-width set to: 210mm
    MΣrz 28, 2020 8:03:34 NACHM. org.apache.fop.cli.Main startFOP
    SEVERE: Exception
    java.io.FileNotFoundException: PDF_files\rexxpg.pdf (The system cannot find 
the path specified)
            at java.base/java.io.FileOutputStream.open0(Native Method)
            at java.base/java.io.FileOutputStream.open(Unknown Source)
            at java.base/java.io.FileOutputStream.<init>(Unknown Source)
            at java.base/java.io.FileOutputStream.<init>(Unknown Source)
            at org.apache.fop.cli.Main.startFOP(Main.java:176)
            at org.apache.fop.cli.Main.main(Main.java:214)

There is no directory "PDF_files", after creating it manually it works 
perfectly:

    G:\oorexx.tmp\gilDocs\orxbldoc-2.0>*md PDF_files*

    G:\oorexx.tmp\gilDocs\orxbldoc-2.0>doc2pdf
    20:05:32 - Transforming 
F:\work\svn\oorexx\docs\trunk\rexxpg\en-US\rexxpg.xml to fo_files\rexxpg.fo
    This may take up to 10+ minutes for the largest documents!
    Making portrait pages on A4 paper (210mmx297mm)
    20:08:50 - Transformation complete
    20:08:50 - Creating PDF_files\rexxpg.pdf from fo_files\rexxpg.fo using 
Apache FOP
    20:08:56 - PDF created

---rony

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to