Boost logo

Boost Users :

Subject: Re: [Boost-users] [Quickbook] How to create pdf file
From: John Maddock (john_at_[hidden])
Date: 2009-01-28 04:58:39


> Thank you John for your pointer. But I cannot open it with my browser, IE
> or
>
> Firefox. The error code given by FF is: sec_error_unknown_issuer.
>
> Perhaps the reason is lack of permission?

Hmm, could be because I was logged in when I copied the URL :-(

Try the same URL but with a http: rather than https: prefix. If that
doesn't work there is a link from the main svn.boost.org page near the
bottom, called "Getting Started with Boost Docs".

What it says about PDF's though is:

"First of all you will need an FO processor, there are basically only two
free two choices here:

    * Apache FOP from http://xmlgraphics.apache.org/fop/
    * XEP Personal edition from
http://www.renderx.com/download/personal.html

The XEP processor generally produces much better results, but inserts a
small "built with XEP" advert in the footer of each page. You will also need
a Java virtual machine to run the FO processor on.

You will then need to edit your user-config.jam file to point to the
location of the FO processor, for example:

using fop :
   # path to invocation batch file:
   C:/Progra~1/RenderX/xep/xep.bat
   :
   # path to Java installation, this is ignored if you're using XEP:
   C:/PROGRA~1/Java/j2re1.4.2_12
   ;

You should now be able to build pdf docs via:

bjam pdf

Note: you may actually experience errors at this point if Java runs out of
memory, whether or not this occurs depends on the complexity of the
documentation being built and how you Java runtime is configured. One way to
fix this error is to add the -Xmx option to the Java invocation command in
the batch file that invokes the FO processor, for example -Xmx500m if you
want to allow the FO processor to use 500MBytes of memory. "

I've just realised that doesn't cover font configuration, but it should get
you started.

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net