public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Martin Waitz <tali@admingilde.org>
Cc: Andrew Morton <akpm@osdl.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: DocBook build failures, and graphical figures
Date: Thu, 02 Jun 2005 18:56:56 -0400	[thread overview]
Message-ID: <429F8EB8.2010406@pobox.com> (raw)
In-Reply-To: <20050531212141.GC14161@admingilde.org>

Martin Waitz wrote:
> 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.

Cool, just wanted to make sure it got noticed and fixed.


>>* 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?

don't bother.  I was just curious for my own knowledge.


> (well the above only works for xmlto, I don't know how to set
> the paper size for db2*)

Yeah, as I have discovered :/


>>* 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?

Yep!

I was curious how to include images (and figures) in the kernel docbook 
docs.  The above example and URL were more than enough to get me going.

Thanks,

	Jeff



      reply	other threads:[~2005-06-02 23:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-31 18:31 DocBook build failures, and graphical figures Jeff Garzik
2005-05-31 18:33 ` Jeff Garzik
2005-05-31 21:21 ` Martin Waitz
2005-06-02 22:56   ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429F8EB8.2010406@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tali@admingilde.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox