lkml.org 
[lkml]   [2005]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DocBook build failures, and graphical figures
hoi :)

On Tue, May 31, 2005 at 02:31:23PM -0400, Jeff Garzik wrote:
> In each failing case, I can use "db2ps" or "db2pdf" to successfully
> convert the XML file, whereas xmlto fails.

yes, passivetex (which is used by xmlto to process XML-FO) is not as
stable as I thought.
It breaks at strange times but I did not yet had the energy to really
look into it.
So we probably have to support db2pdf/ps again.

> * Can you make it easy to change the paper size to something custom,
> like 6x9in ?

you should be able to put the following lines into stylesheet.xsl:
<param name="paper.width">6in</param>
<param name="paper.height">11in</param>

would it be easy enough if I provided some commented out entries?
(well the above only works for xmlto, I don't know how to set
the paper size for db2*)

> * Is there an example somewhere describing how to insert graphics
> (figures and charts) ?

you can insert graphics with
<mediaobject><imageobject>
<imagedata fileref="blah.png" format="PNG"/>
</imageobject></mediaobject>
(See http://www.faqs.org/docs/docbook/html/mediaobject.html)

The above generates an <img src="blah.png"> in HTML mode.
Is that what you want?

--
Martin Waitz
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-05-31 23:25    [W:0.040 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site