Once again I seem to have confused the folks I was trying to help
<sigh>. In version 2, the folders fo_files and log_files are included
and each contain a single, one-line file names info.txt. This was
supposed to eliminate the need to create them dynamically. I thought I
had remembered that FOP would create the PDF_files folder the first time
a PDF is created but perhaps I am wrong. If so I will make sure that
this folder is part of the package (with an info.txt file) as well.
Sorry for not explaining that change. Gil
On 3/28/2020 4:09 PM, P.O. Jonsson wrote:
Dear Rony,
Am 28.03.2020 um 20:13 schrieb Rony G. Flatscher
<rony.flatsc...@wu.ac.at <mailto:rony.flatsc...@wu.ac.at>>:
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:
I compared the files before the delta and after and it seems these
lines are missing in Docprep.cmd
rem Check for the local output folders
??? if not exist .\fo_files\ md fo_files
??? if not exist .\log_files\ md log_files
??? if not exist .\PDF_files\ md PDF_files
Change this
rem Check for the sub-folder Common_Content
rem if exist %com_cont% (
rem??? echo %com_cont% already exists.
rem ) else (
??? xcopy %docpath%\oorexx\en-US\* %com_cont% /d /s /i /q
??? if not exist %com_cont%\fop.cfg copy fop.cfg %com_cont%\
rem echo %com_cont% has been created.
rem )
Into this
rem Check for the sub-folder Common_Content
if exist %com_cont% (
??? echo %com_cont% already exists.
) else (
??? xcopy %docpath%\oorexx\en-US\* %com_cont% /s /i /q
??? if not exist %com_cont%\fop.cfg copy fop.cfg %com_cont%\
??? echo %com_cont% has been created.
rem Check for the local output folders
??? if not exist .\fo_files\ md fo_files
??? if not exist .\log_files\ md log_files
??? if not exist .\PDF_files\ md PDF_files
)
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
--
Gil Barmwater
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel