This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook] <figure> and images
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "DocBook Apps" <docbook-apps at lists dot oasis-open dot org>, "Christian Kaspari" <christian dot kaspari at uidesign dot de>
- Date: Wed, 21 Jul 2004 21:53:33 -0700
- Subject: Re: [docbook] <figure> and images
- References: <JMEDIDCIJCKEABPCMPJHOEDCCAAA.christian.kaspari@uidesign.de>
[I'm moving this over to the docbook-apps mailing list since it deals with a
formatting application. The docbook list is for DTD issues.]
I'm not using Forrest, but I am able to process your sample file with the
DocBook XSL 1.65.1 HTML stylesheet without problems. Have you tried it
outside of Forrest? What sort of strangeness are you seeing?
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Christian Kaspari" <christian.kaspari@uidesign.de>
To: <docbook@lists.oasis-open.org>
Sent: Wednesday, July 21, 2004 7:23 AM
Subject: [docbook] <figure> and images
> Hi everybody,
>
> i´m kinda new to XML and already having my first problem. I´m using
> simplified docbook for my XML Files and Apache Forrest 0.6 to build
> html-pages, etc. My problem is, that I´m using several <figure>-Tags in my
> XML-Files and as long as they contain text everything works fine, but as
> soon as they contain images, the layout and format of the following tags
> isn´t the way it should be (concerning alignment, font size, etc.). I
placed
> my sample-code below. If I skip the <figure>-tag and just use the
> <mediaobject>-tag, the layout works fine, but I lose the title option for
> graphics. Is there any alternative?
>
> Thanks for your help!
>
> Christian Kaspari
>
> ####################################################
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.0//EN"
> "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd">
>
> <article>
>
> <title>Article Test Document Title</title>
>
> <figure id="testId1"><title>Test Figure</title>
> <mediaobject>
> <imageobject>
> <imagedata fileref="images/image.png" format="PNG"/>
> </imageobject>
> </mediaobject>
> </figure>
>
> <para>
> This is a <quote>short quote</quote>.
> This is a <quote>Quotation with a <quote>nested quotation
> containing a <quote>nested quotation and another <quote>nested
> quotation</quote></quote></quote></quote>.
> </para>
>
> <figure id="testId2"><title>Test Figure</title>
> <programlisting>This is a
> ProgramListing
> </programlisting>
> </figure>
>
> </article>
>
> ####################################################
>
>
> To unsubscribe from this list, send a post to
docbook-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>