Dear Gil,
for these warnings in the oo-documents:
ooRexxDocSVN/oodguide/en-US/Book_Info.xml:48: element include: XInclude error :
could not load datepub.tmp, and no fallback was found
ooRexxDocSVN/oodguide/en-US/Book_Info.xml:49: element include: XInclude error :
could not load svnrev.tmp, and no fallback was found
I found the solution in the makefiles in each product. If you add these two
lines to doc2fo.cmd:
svnversion oorexxDocSVN > svnrev.tmp
date /T > datepub.tmp
The warnings go away and the build date and the version is shown on the
product. These tmp files are used in (at least) Book_Info.xml like this
<subtitle>
<xi:include parse="text" href="../../../datepub.tmp"
xmlns:xi="http://www.w3.org/2001/XInclude" /> svn revision
<xi:include parse="text" href="../../../svnrev.tmp"
xmlns:xi="http://www.w3.org/2001/XInclude" />
</subtitle>
And could be included in all books, it would make it easier to see which
version you are looking at.
Regarding winextensions I have not figured out where this warning (32 times)
stem from:
Don't know what gentext to create for xref to: "emphasis"
I cannot see any difference in the output, so I just leave it for now.
I have not found a fix for the syntax highlighting problem, sorry.
Hälsningar/Regards/Grüsse,
P.O. Jonsson
[email protected]
> Am 26.02.2020 um 20:30 schrieb Gil Barmwater <[email protected]>:
>
> Hi P.O.,
>
> Thanks for the kind words about the ease of use of the package. It was one of
> my main goals to make it so that anyone could use it, even if they were not a
> "power" Windows user.
>
> Per the comment re. the output folders: I chose that setup as there are three
> files generated for each book and it then becomes easy to "clean up"
> afterward by just deleting the entire folder. However, it really could be
> just a single folder for all documents. Or maybe just three folders, one for
> each of the three types of output - pdfs, logs, and fos?
>
> I like the idea of adding echo %time% and will put that in my command files.
> Thanks!
>
> As I suspected, there is a "surprise" in the rxxpg book. The Publican version
> has syntax highlighting for the C++ examples and, unfortunately, the xsltproc
> version does not :-(. I would ask Erich and Rick if they feel this is a
> serious issue or if we can live with it for now.
>
> Gil
> On 2/26/2020 1:36 PM, P.O. Jonsson wrote:
>> Dear Gil,
>>
>> I have downloaded your package and started to build the documents. It is an
>> *Incredibly* simple setup! WOW! Having fiddled with Publican some time now
>> it is a real ease. I have built the complete set of documents (including
>> oodialog docs) 3 times now and the results are identical every time, this
>> was not always the case with Publican…
>>
>> I notice you create one folder out-<item> for each item, for me 16 folders
>> in total, maybe it is sufficient with one output folder? It would be easier
>> to pick the documents up in an automated process (from Jenkins). But this is
>> not a big thing.
>>
>> It is not possible to build all documents in parallel, as I could do with
>> Publican, but building all documents sequentially took 1 hour and 12 minutes
>> on a i7 Windows 10 Machine. Leaving out the ooDialog documents will cut the
>> time considerably.
>>
>> A simple way to get some timing data is to echo %time% before and after each
>> build. I also made a batch file that launches the build of all the documents
>> one after the other.
>>
>> I have not tried your version with 3 levels, I have build with 4 levels in
>> the TOC.
>>
>> I found several examples where your build process excels over the current
>> Publican process
>>
>> - your process get the Copyright dates correct (up to build year, not to
>> 2017 or 2018 as in Publican build)
>>
>> -I have seen pages where text what pushed over the edge of a page in
>> Publican where your process gets it correct
>>
>> -your process renders text in drawings better than Publican.
>>
>> I hope the attached document is not stripped of for the list, here I have
>> made the comparison in the built documents.
>>
>>
>>
>>
>> Hälsningar/Regards/Grüsse,
>> P.O. Jonsson
>> [email protected] <mailto:[email protected]>
>>
>>
>>
>>> Am 25.02.2020 um 20:43 schrieb Gil Barmwater <[email protected]
>>> <mailto:[email protected]>>:
>>>
>>> I have now added a warning message to the doc2fo.cmd script that running it
>>> may take several minutes. I experimented with the --timing switch but most
>>> of the time is spent in one spot so it still appears to be "hung" there so
>>> I didn't put it in. I have added the ability, however, to provide
>>> additional parameters to the xsltproc program so that the user could
>>> specify that they wanted to use that flag (or others) without having to
>>> modify doc2fo.cmd.
>>>
>>> I also found the parameter that controls the TOC depth! I have set it to 3
>>> to match our historical document appearance but, by using the same
>>> mechanism mentioned above, a user could change it to 4 if they prefer that
>>> look. I need to document how to use this option (as well as a corresponding
>>> one for FOP which would allow one to change the JAVA heap space) and build
>>> a new package. I will wait a day, however, in case there is additional
>>> feedback that I can incorporate.
>>>
>>> Gil
>>>
>>> On 2/25/2020 9:57 AM, Rony G. Flatscher wrote:
>>>> Dear Gil,
>>>>
>>>> On 25.02.2020 15:31, Gil Barmwater wrote:
>>>>> Thanks so much for the feedback! I was unaware of the "timing " switch so
>>>>> will consider adding
>>>>> that to my package in order to give the user some indication that things
>>>>> are still running. On my
>>>>> laptop the transform step also takes >5 minutes when building the rexxref
>>>>> so some visual feedback
>>>>> would be helpful.
>>>> Yes, or simple warning that some books may take ten minutes or more (if
>>>> they get built faster and
>>>> faster over time, no one would complain ;) ), then the user's expectation
>>>> are "managed" to take time
>>>> and patience to wait...
>>>>> Ad the TOC: the build of ooRexx 5.0.0 that I have installed is at 11978
>>>>> which includes a rexxref
>>>>> at 11974. That version only has three levels of entries compared to what
>>>>> my package produces which
>>>>> has four. I have not checked any other more recent versions of the
>>>>> rexxref so I'm not sure when
>>>>> the fourth level was introduced. As I mentioned to P.O., the extra level
>>>>> seems to me a bit
>>>>> distracting but I am happy to leave it in if that is the general
>>>>> consensus of the development
>>>>> team. It should also be noted that even if there are only three levels in
>>>>> the TOC, the "bookmarks"
>>>>> displayed by Acrobat Reader on the left of the document do contain all
>>>>> four levels making
>>>>> navigation to a specific section simple.
>>>>>
>>>> Oh, o.k. I see now.
>>>>
>>>> Personally, I actually like it as one can get an even better overview of
>>>> the structure and the
>>>> concepts that get documented there.
>>>>
>>>> ---rony
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Oorexx-devel mailing list
>>>> [email protected]
>>>> <mailto:[email protected]>
>>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>> <https://lists.sourceforge.net/lists/listinfo/oorexx-devel>
>>>
>>> --
>>> Gil Barmwater
>>>
>>>
>>>
>>> _______________________________________________
>>> Oorexx-devel mailing list
>>> [email protected]
>>> <mailto:[email protected]>
>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>> <https://lists.sourceforge.net/lists/listinfo/oorexx-devel>
>>
>>
>>
>>
>> _______________________________________________
>> Oorexx-devel mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>> <https://lists.sourceforge.net/lists/listinfo/oorexx-devel>
> --
> Gil Barmwater
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel