Von: Hartmut Holzgraefe [mailto:[EMAIL PROTECTED]
> Thomas Schöfbeck wrote:
> > I've found a(n easy ;) solution for building PDFs, simply use FOP
> > 0.20.5rc2 and include the hyphenation-files from 0.20.4 (otherwise it
> > would take the whole night listing error-msgs)). There is still much
> > work to do, but if you're interested in the result:
> >
> > http://www.t0.or.at/~sunny/php/php_manual_en.pdf.zip
>
> this is looking *very* promising :)
Many thanks!
> the paragraph layout is not as perfect as with TeX or other layout
> systems (regarding whitespace distribution in justified text)
> but it is definetly readable (about as good as what Word does IMHO)
If you mean the empty lines in the grey boxes before and after the real
text:
this is a general problem (also in html), there doesn't exist something like
a trim() in XPATH 1.0. I've thought already about a manual template "xsl"
for it checking char by char, but considering all the different encodings,
etc. it would be too messy and time-consuming during the build. The only
thing I could offer is to change step by step all the e.g.
to
> looks like we're finally done with DSSSL then?
> (ok, i assume the fancy style for www.php.net still needs porting?)
Hmmm On one hand I'd like to have more testing and feedback before (I
did these 3 styles in just one week beside my job, so there might be several
bugs).
On the other hand, if I remember James' mail that omitting manual-builds for
almost 7 weeks is due to a "problem" "a: take forever" (while html takes
almost the same time with 20min, bightml takes with xsl 11min and dsssl
80min{!}), and we've got again a mail concerning a "printable format" we
should speed up things.
But as you've already mentioned, phpweb needs porting, and the following
things should also be done before:
- ensure that the building machine has physically 1 GB RAM (is needed by
fop - will decrease when the dev-part got a separate doc), otherwise it
would swap around the whole night for a job of 2 min.) JAMES: Would you
please take care of this while you move stuff around?
- Check, if there are hyphenation-files for all languages (otherwise fop
shows a whole night error-msgs). I didn't check if fop 0.20.4 has hyph-files
for all languages we provide as translation (just in case that there are
some missing: would you be so kind and provide me the missing hyph-files
from tex to rewrite and implement them into fop.jar {I don't wanna search
and download 100s of MEGS for just 2 or 3 files}?)
- xmllib (xsltproc), java, and fop (0.20.5rc2 with our adapted fop.jar)
should be installed on the generating-machine. JAMES?
- The configure/makefile should be adapted (implementation of images (still
a open bug!), paths, etc.) the best would be with a temporary possibility
for a fallback, and a final agreement with the systems-group (JAMES?) what
will be called (so that we finally have control over build-process again via
these files (see bugs #18914 and #20077 which wouldn't even occur if they
went over us))
- and all the things that won't come into my mind in this very moment ;)
Cu,
Thomas
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php