Yes, that was the error I corrected yesterday so the Dropbox link should
have the fixed version.
A little background on this obscure code: my setup is as follows - an
older laptop that has Tortoise SVN and all of the package files and is
where I did the majority of the development and testing. My documents
working copy, however, is on a portable hard drive. After things seemed
to be working OK on that machine, I transferred the zipped package to my
newer, faster laptop and copied the documents working copy from the
portable drive to its hard drive. That machine does not yet have SVN so
attempting to run svnversion fails. The where command will search the
path for an executable and with the /q switch will set the errorlevel to
0 if it finds one or 1 if not. So if SVN is on the machine, svnversion
runs and outputs the data to the file. But if SVN is not on the machine,
the echo command writes a ? into the file and prevents doc2fo from crashing.
Gil
On 3/1/2020 10:47 AM, P.O. Jonsson wrote:
Dear Gil,
In the meantime I found another typo in doc2fo.cmd. It should be:
where svnversion /q
if %errorlevel% EQU 0 (
?? ?? svnversion %docpath% > %docpath%\..\svnrev.tmp
) else echo ?> %docpath%\..\svnrev.tmp
Otherwise svn revision will run on the wrong directory level.
Since I am not using Windows any more I do not understand the logics
of the ???where??? test; under what conditions will the ???else" kick in?
Can you elaborate for a Win noob?
H??lsningar/Regards/Gr??sse,
P.O. Jonsson
oor...@jonases.se <mailto:oor...@jonases.se>
Am 01.03.2020 um 16:41 schrieb Gil Barmwater <gbarmwa...@alum.rpi.edu
<mailto:gbarmwa...@alum.rpi.edu>>:
Thanks P.O. I suspected it might be something along those lines but I
was not sure how the multiple HTML output files were specified. The
examples tend to be simple single-file output. 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