docbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [docbook] Embedding XML schema into DocBook document
- From: Michael Valent <michael.valent@boc-eu.com>
- To: "Allison Bloodworth" <abloodworth@berkeley.edu>
- Date: Mon, 11 Oct 2004 13:18:54 +0200
Hello Allison,
> I finally
got the wrap to work on my .pdf file when I downloaded & used the new
DocBook XSL stylesheets, saxon, and
Apache FOP (although FOP couldn't handle my images & I got an out of
memory error...I'm still working on that).
I got this out of memory error too (the pictures were
o.k., after I changed the ../gfx/ images path to a gfx/ and moved the images
dirctory accordingly). Until now, we did not find a solution here, but
we could locate the problem more closely: We are doing a <set> with
some 50 subfiles (3 books and a lot of chapters) and a structure down to
<sect5> and <simplesect>.
The error occured as soon as <sect4> was included
into the pdf generation (rendering only down to <sect3> worked).
Furthermore, the "out of memory" must be a false error / FOP
bug, as my (Win XP) machine has 1 gig RAM and the usage never exceeded
some 320 MB.
Any idea?
Greetings,
Michael
__________________________
Michael Valent
Text Services
BOC Information Systems GmbH
Rabensteig 2
A-1010 Wien
+43/1/513 27 36-17 Fax: -28
michael.valent@boc-eu.com
http://www.boc-eu.com
__________________________
"Allison Bloodworth"
<abloodworth@berkeley.edu>
07.10.2004 20:31
|
To
| "Jirka Kosek" <jirka@kosek.cz>
|
cc
| <docbook@lists.oasis-open.org>
|
Subject
| Re: [docbook] Embedding XML
schema into DocBook document |
|
Hi Jirka,
Thanks very much for your advice! I finally got the wrap to work on my
.pdf
file when I downloaded & used the new DocBook XSL stylesheets, saxon,
and
Apache FOP (although FOP couldn't handle my images & I got an out of
memory
error...I'm still working on that). I think the problem getting it to work
in XML Mind was the fact that although their param.xsl stylesheet had the
monospace.verbatim.properties attribute-set, it didn't have the wrap-option
attribute at all...I had added it. Whereas in the new (ver 1.66.1) DocBook
stylesheets, it already had the wrap-option attribute; I just changed the
value to "wrap". When I did the transform in saxon and fop using
the old XML
Mind stylesheets where I had added the attribute, the programlistings didn't
wrap.
Two last questions if you would be so kind as to give me a one more push
in
the right direction:
1) Does changing the wrap-option on this attribute-set only affect
"programlisting"?
2) Is there a way to fix this problem in the html? I tried adding the
declaration to docbook-xsl-1.66.1/html/param.xsl, but got a stylesheet
compile error that said "No attribute-set exists named monospace.properties"
Thanks very much,
Allison
----- Original Message -----
From: "Jirka Kosek" <jirka@kosek.cz>
To: "Allison Bloodworth" <abloodworth@berkeley.edu>
Sent: Wednesday, October 06, 2004 12:34 AM
Subject: Re: [docbook] Embedding XML schema into DocBook document
Allison Bloodworth wrote:
> I did find it and make this modification in the fo/params.xsl file:
>
> <xsl:attribute-set name="monospace.verbatim.properties"
> use-attribute-sets="verbatim.properties monospace.properties">
> <xsl:attribute name="text-align">start</xsl:attribute>
> <!-- Allison added wrap-option 10/05/04 to make programlisings
wrap-->
> <xsl:attribute name="wrap-option">wrap</xsl:attribute>
> </xsl:attribute-set>
>
> However when I generated the pdf, it didn't make a difference.
This should work. But I would recommend you to try do PDF genereation
outside your editor to test whether editor really uses stylesheets from
location where you have made changes.
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz
http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
Podívejte se na náš nově spuštěný web http://DocBook.cz
Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]