On 7/2/2022 2:48 PM, Rony G. Flatscher wrote:
When creating a pdf book the current script "docprep.cmd" copies the
files from "oorexx/trunc/oorexx/en-US" to
"oorexx/trunc/{book}/en-US/Commons_Content". Not sure why this happens
as it should be possible to refer to "oorexx/en-US" files with
relative paths (e.g. changing "Common_Content" with "../../oorexx/en-US".
Indeed it is possible and I have implemented such a mechanism in the
never-finished rewrite of the scripts to use ooRexx. The coding was
complete but the documentation wasn't and there was no testing in
non-Windows environments. The current mechanism was merely a
work-around for things done under the covers by Publican that would not
break anything.
Also "docprep.cmd" copies "fop.cfg" to
"oorexx/trunc/{book}/en-US/Commons_Content" and "fo2pdf.cmd" then sets
the environment variable "fopcfg" to point to it ("set
fopcfg=%docpath%\%whichdoc%\en-US\Common_Content\fop.cfg"). This would
not be necessary if having "fop.cfg" in "oorexx/trunc/oorexx/en-US"
and setting "fopcfg" to point to it.
I can't remember off the top if I also addressed this in my newer
version of the scripts.
Would it be o.k. to change that (not copying anymore, changing the
references accordingly in all the books) or is there something
non-obvious to "Common_Content"?
---rony
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel