On Sat, 08 Apr 2006 17:25:43 -0700, Bart wrote:

> "Eric Niebler" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Bart wrote:
>>>
>>> I discovered a problem with the documentation build system.
> ...snip...
>>
>> After applying the patch you suggested earlier to fop.sh (actually,
>> fop.bat on my machine), I can now build the date_time PDF. Thanks.
>>
>> I got the above error when I was trying to regenerate the date_time
>> docs using date_time/xmldoc/ref_tag_fix.pl, a perl script that tries to
>> manipulate the DocBook XML and botches it. Is that what you're doing?
>> If so, you should apply the Jamfile.v2 patch I sent around and
>> regenerate date_time's .boostbook files that way. Then try again.
>>
>>
> I actually pulled that snippet out of the string/algorithm's boostbook
> file. The error also exists in the date_time boostbook files *before*
> ref_tag_fix.pl is run.
> 
> I haven't tried the patch. I will, but I don't hold much hope.
> 
> Bart
> 
> 
> 
I tried the patch today on a freshly checked out source tree. The
Jamfile.v2 patch does not fix anything. The doxygen/boostbook generated
reference is still broken.

The method I used to get these broken boostbook files was:

1) Checked out a fresh cvs tree.

2) Modified user-config.jam & date_time/.../xmldoc/Jamfile.vs (added
Eric's patch).

3) From the date_time xmldoc directory I ran `bjam --v2 date_time fo`.

4) Ran fop.sh and built a pdf. This was with the *.boostbook files found
in cvs (they have already had ref_tag_fix.pl run on them many months ago).

5) Regenerated the *.boostbook files with:
 `bjam --v2 date_time_autodoc gregorian_autodoc local_time_autodoc
 posix_time_autodoc`

6) COPIED the newly generated *.boostbook files from
$BOOST_ROOT/bin.v2/libs/date_time/.../gcc/debug to the xmldoc directory.

At this pint I looked inside the freshly generated *.boostbook files and
found the reversed 'template' tags.

I next decided to verify that this is not a date_time problem, but a
boostbook problem, so I did the following...

1) From the $BOOST_ROOT/doc directory I ran `bjam --v2 doc fo`.

2) I looked inside the autodoc.boostbook file for the string algorithm
library and found the reversed 'template' tags.


Bart

PS
Below is the addition I made to my user-config.jam file.
 
  using boostbook
    : /usr/local/src/bart/boost_cvs/tools/boostbook/docbook-xsl-1.67.2 :
    /usr/local/src/bart/boost_cvs/tools/boostbook/docbook-dtd-4.2 ;
  using xsltproc : /usr/bin/xsltproc ;
  using doxygen : /usr/bin/doxygen ;
  using fop :
  /usr/local/src/bart/boost_cvs/tools/boostbook/fop-0.20.5/fop.sh : :
  /usr/local/j2sdk1.4.1/bin/java ;




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to