This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] problems with images in tables
- From: aguerra at utp dot edu dot co
- To: <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 13 Aug 2004 15:11:09 -0500
- Subject: [docbook-apps] problems with images in tables
Hello there, i have a problem when i try to include images in tables they
are bad aligned, or to big in the pdf output
Here are some screen shots of the problem, another question is there a way
to avoid the table titles to appear alone in the end of a page?
The images speak by themselves
http://gda.utp.edu.co/~duto/error1.png
http://gda.utp.edu.co/~duto/error2.png
http://gda.utp.edu.co/~duto/error3.png
I'm working with docbook xml dtd, and dsssl, in a debian machine
here the code fragment:
<table>
<title>Pruebas de electroimanes con circuito inicial</title>
<tgroup cols="5" align="center">
<colspec colnum="5" align="char"/>
<thead>
<row>
<entry>Número</entry>
<entry>Electroimán</entry>
<entry>Núcleo</entry>
<entry>Calibre alambre</entry>
<entry>Observaciones</entry>
</row>
</thead>
<tbody>
<row>
<entry>B1</entry>
<entry><mediaobject>
<imageobject>
<imagedata scale="80" scalefit="1"
fileref="imagenes/capitulo3/b1.png" format="PNG"/>
</imageobject>
</mediaobject></entry>
<entry>Puntilla de hierro</entry>
<entry>31</entry>
<entry><itemizedlist>
<listitem>
<para>Cuando estaba alimentado atrajo 2 trozos de
hierro.</para>
</listitem>
<listitem>
<para>Sin alimentación atrajo 1 trozo de
hierro (quedó imantado).</para>
</listitem>
</itemizedlist></entry>
</row>
<row>
<entry>B2</entry>
<entry><mediaobject>
<imageobject>
...
<table>
<title>Circuito de potencia</title>
<tgroup cols="2" align="center">
<thead>
<row>
<entry>Circuito lógico</entry> <entry>Circuito
físico</entry>
</row>
</thead>
<tbody>
<row>
<entry><mediaobject id="circuito2">
<imageobject>
<imagedata align="center" scale="80" scalefit="1"
fileref="imagenes/capitulo3/circuito2.png"
format="PNG"/>
</imageobject>
</mediaobject></entry> <entry><mediaobject
id="circuito_fisico2">
<imageobject>
<imagedata align="center" scale="80" scalefit="1"
fileref="imagenes/capitulo3/circuito_fisico2.png"
format="PNG"/>
</imageobject>
</mediaobject></entry>
</row>
</tbody>
</tgroup>
</table>
Thanks
John Alexis Guerra GOmez
__________________________________________________________________
"Vivamos los valores institucionales son parte de nuestra Misión!"
Universidad Tecnologica de Pereira