OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: AW: [docbook] title of figure on different page than image


Here's the document. The image can be exchanged by one that is long enough.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
	"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"; [
  <!ENTITY chap1 SYSTEM "chap1.xml">
  <!ENTITY chap2 SYSTEM "chap2.xml"> 
]>
		
<book lang="en">
	<bookinfo>
		<title>
			Ein Dokument....
		</title>
		<copyright>
			Ein Copyright
		</copyright>
	</bookinfo>
	&chap1;
	&chap2;
</book>

------
Here's chapter1
------
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="einKapitel">
  <?dbhh topicname="Kapitel_1" topicid="1234"?>

  <title>Titel des Kapitels</title>

  <sect1 id="einUnterKapitel">
    <?dbhh topicname="Introduction" topicid="1235"?>

    <title>Titel des Unterkapitels</title>

    <para>hier ein link auf die Abbildung <xref linkend="einbild" /></para>

    <para>Ein Absatz <itemizedlist>
        <title>Eine Liste:</title>

        <listitem>
          <para>Eintrag 1</para>
        </listitem>

        <listitem>
          <para>Eintrag 2</para>
        </listitem>

        <listitem>
          <para>Eintrag 3</para>
        </listitem>

        <listitem>
          <para>Eintrag 4</para>
        </listitem>
      </itemizedlist></para>

    <para>Ein weiter Absatz</para>

    <para>Und noch ein Absatz <orderedlist>
        <title>Eine nummerierte Liste:</title>

        <listitem>
          <para>Eintrag 1</para>
        </listitem>

        <listitem>
          <para>Eintrag 2</para>
        </listitem>

        <listitem>
          <para>Eintrag 3</para>
        </listitem>

        <listitem>
          <para>Eintrag 4</para>
        </listitem>
      </orderedlist></para>
  </sect1>

  <sect1 id="einWeiteresunterkapitel">
    <?dbhh topicname="Capture_Flow" topicid="1236"?>

    <title>Titel des anderen Unterkapitels</title>

    <para>jetzt der Letzte Absatz....</para>

    <figure id="einbild">
      <title>Ein Bild</title>

      <mediaobject>
        <imageobject>
          <imagedata fileref="images/AutomaticClassification.jpg"
                     format="JPEG" />
        </imageobject>
      </mediaobject>
    </figure>
  </sect1>
</chapter>

------
Here's chapter1
------
<chapter id="einZweitesKapitel">
		<?dbhh topicname="Kapitel_2" topicid="2234"?>
		<title>Titel des zweiten Kapitels</title>
		<sect1 id="einWeiteresUnterKapitel">
			<?dbhh topicname="Introduction_2" topicid="2235"?>
			<title>Titel des Unterkapitels</title>
			<para>
				hier ein link auf die Abbildung <xref
linkend="aucheinbild"/>
			</para>
			<para>
				Ein Absatz
				
				<itemizedlist>
					<title>Eine Liste:</title>
					<listitem>
						<para>
							Eintrag 1
						</para>
					</listitem>
					<listitem>
						<para>
							 Eintrag 1
						</para>
					</listitem>
					<listitem>
						<para>
							Eintrag 1
						</para>
					</listitem>
					<listitem>
						<para>
							Eintrag 1
						</para>
					</listitem>
				</itemizedlist>
			</para>
			<para>
				Ein weiter Absatz
			</para>
			<para>
				Und noch ein Absatz
				
				<orderedlist>
					<title>Eine nummerierte
Liste:</title>
					<listitem>
						<para>
							Eintrag 1
						</para>
					</listitem>
					<listitem>
						<para>
							 Eintrag 1
						</para>
					</listitem>
					<listitem>
						<para>
							Eintrag 1
						</para>
					</listitem>
					<listitem>
						<para>
							Eintrag 1
						</para>
					</listitem>
				</orderedlist>
			</para>
		</sect1>
		<sect1 id="nochEinWeiteresunterkapitel">
			<?dbhh topicname="Capture_Flow" topicid="2236"?>
			<title>Titel des anderen Unterkapitels</title>
			<para>
				jetzt der Letzte Absatz....
			</para>
			<figure id="aucheinbild">
				<title>Ein Bild</title>
				<mediaobject>
					<imageobject>
						<imagedata format="JPEG"
fileref="images/AutomaticClassification.jpg"/>
					</imageobject>
				</mediaobject>
			</figure>
		</sect1>
	</chapter>

-------------------------------------------
Hinrich Aue
LCI GmbH
Freiburger Str. 6, 79199 Kirchzarten
Phone: +49 (0)7661 979714
mailto:hinrich.aue@lci-software.com
web:   http://www.lci-software.com
-------------------------------------------

-----Ursprüngliche Nachricht-----
Von: Fekete Robert [mailto:frobert@balabit.com] 
Gesendet: Mittwoch, 21. Juni 2006 08:48
An: Hinrich Aue
Betreff: Re: [docbook] title of figure on different page than image

Maybe there are more elegant ways to accomplish this, but the "dbfo-need 
height" processing instruction can do it. See the section on soft 
pagebreaks in Bob's book at: 
http://www.sagehill.net/docbookxsl/PageBreaking.html#SoftPageBreaks

Regards,

Robert Fekete

Hinrich Aue wrote:
> Hello,
> 
>  
> 
> I'm trying to show an image in a docbook document, and convert it to pdf.
> 
> All fine, but I noticed that it happens that the title of the figure is on
a
> different page than the image.
> 
> (like: title on 3, image on 4)
> 
>  
> 
> Can I somehow group the title and the image or is there an option to the
> title that changes that behaviour?
> 
>  
> 
> Thanks,
> 
>             Hinrich
> 
>  
> 
>  
> 
> -------------------------------------------
> Hinrich Aue
> LCI GmbH
> Freiburger Str. 6, 79199 Kirchzarten
> Phone: +49 (0)7661 979714
>  <mailto:hinrich.aue@lci-software.com> mailto:hinrich.aue@lci-software.com
> web:    <http://www.lci-software.com> http://www.lci-software.com
> -------------------------------------------
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have eceived this e-mail in error)
please
> notify the sender immediately and destroy this e-mail. Any unauthorized
> opying, disclosure or distribution of the material in this e-mail is
> strictly forbidden.
> 
>  
> 
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]