P.O.,
I definitely should have made that more clear for you and Rony. I, too,
ran into that issue as I mentioned in my post when Rony stumbled over
it. As I said then, the problem arises because I could not include the
empty folders in the zip file. They only need to be created once so I
did not want to do the test for them on every run, hence putting their
creation in the "housekeeping" section of docprep. Of course, we all had
previously run version 1 so the "housekeeping" section never ran in
v1.1, causing us all problems. So sorry for the grief!
I will have a go at the HTML creation later today.
Gil
On 3/2/2020 4:39 AM, P.O. Jonsson wrote:
Dear Gil,
I have not started looking at this yet, I got stuck since your last
amendment did not work for me and I did not want to bother you until I
found out why.
I had the problem that the new version did not create the work folders
correctly and I could not for my life figure out what I did wrong
(basic assumption that the flaw was on my side) until I peeked
into docprep.cmd. In this part:
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
)
The else statement and in particular the 3 last lines were never
executed, since I had already run conversions before. This only works
for a fresh build, not an updated build. I have moved the 4 last lines
out of the else and now it works. I am testing it on the Jenkins
machine now.
If you already have an idea of what needs to be done for the html
please go ahead and do it, I have a feeling you are already way ahead
of me there.
Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se <mailto:oor...@jonases.se>
Am 02.03.2020 um 02:05 schrieb Gil Barmwater <gbarmwa...@alum.rpi.edu
<mailto:gbarmwa...@alum.rpi.edu>>:
P.O., I have done some further digging into Docbook to HTML and the
Docbook documentation has quite a lot to say about it. I hope most of
this is in the html.xsl file but if you are running into problems,
this <http://www.sagehill.net/docbookxsl/Chunking.html> link may help. GB
On 3/1/2020 9:38 AM, P.O. Jonsson wrote:
Am 01.03.2020 um 15:27 schrieb Rick McGuire <object.r...@gmail.com
<mailto:object.r...@gmail.com>>:
Gil, I believe publican generated them directly using a style
sheet. This can also be done using
xsltproc:�https://codeghar.wordpress.com/2012/02/07/generate-html-and-pdf-from-docbook-in-debian/
Gil, I think Rick is correct, I am already investigating this. I
have looked at the Publican build log and I think all that is needed
is to replace pdf.xsl with html.xsl in doc2fo and then amend downstream.
If you bear with me a couple of hours I will come back and tell you
what I found. It is painfully slow to do the testing :-(
_______________________________________________
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
<mailto: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
--
Gil Barmwater
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel