This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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&uacute;mero</entry>
            <entry>Electroim&aacute;n</entry>
            <entry>N&uacute;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&oacute;n atrajo 1 trozo de
             hierro (qued&oacute; 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&oacute;gico</entry> <entry>Circuito
            f&iacute;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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]