List Info

Thread: PDF woes




PDF woes
user name
2006-05-22 18:21:03
I'm using docbook as the source to generate my site and
most things seem
to work well. The biggest problem I'm having is with the
PDF output
missing images. Regardless of whether I use the Simplified
Docbook
plug-in or the docbook scripts directly, the following code
to place an
image in my doc:
    <figure id="fig_1">
      <title>Celtix Configuration
Hierarchy</title>

      <mediaobject>
        <imageobject>
          <imagedata
fileref="images/configuration.gif" />
        </imageobject>
      </mediaobject>
    </figure>

results in an empty table in the generated PDF. The HTML
looks great and
has the image in place.

Is there a work around for this? Am I using the wrong
mark-up?

Also when using docbook directly, code listings placed
inside a
<programlisting> element loose there spacing and all
run together in the
PDF. The HTML looks great though.
Is there a way to fix this? 

PDF woes
user name
2006-05-23 07:25:32
Johnson, Eric wrote:
> I'm using docbook as the source to generate my site
and most things seem
> to work well. The biggest problem I'm having is with
the PDF output
> missing images. 

see:
  http://forrest.apache.org/docs_0_70/faq.html#pdf_images
Since you use *.gif this should not be the problem.

> Regardless of whether I use the Simplified Docbook
> plug-in or the docbook scripts directly, the following
code to place an
> image in my doc:
>     <figure id="fig_1">
>       <title>Celtix Configuration
Hierarchy</title>
> 
>       <mediaobject>
>         <imageobject>
>           <imagedata
fileref="images/configuration.gif" />
>         </imageobject>
>       </mediaobject>
>     </figure>
> 
> results in an empty table in the generated PDF. The
HTML looks great and
> has the image in place.

Where are your images located?
For the PDF to display them correctly place them in
  ...\documentation\resources\images

See http://i
ssues.apache.org/jira/browse/FOR-635

> 
> Is there a work around for this? Am I using the wrong
mark-up?
> 
> Also when using docbook directly, code listings placed
inside a
> <programlisting> element loose there spacing and
all run together in the
> PDF. The HTML looks great though.
> Is there a way to fix this? 

don't know.
using the sdocbook-plugin <programlisting> works for
me.

can you send the output of the HTML-markup for this tag?
if the spacing is still there,
you may try to format it in skinconf.xml/extra-css
by using
  white-space:pre
(see http://en.selfhtml.org/navigation/css.htm#ausrichtung)

Hope this helps
Johannes

> 
> 

-- 
User Interface Design GmbH
Teinacher Str. 38, 71634 Ludwigsburg
Fon:      +49-7141-37700-0
Fax:      +49-7141-37700-99
Email:    jschaeferuidesign.de
Internet: www.uidesign.de

Geschäftsstellen:
Teinacher Str. 38,    71634 Ludwigsburg
Truderinger Str. 330, 81825 München
Friedrichsring 46,    68161 Mannheim

Buch "User Interface Tuning" von Joachim Machate
& Michael Burmester
www.user-interface-tuning.de

Attraktivität von interaktiven Produkten messen mit
www.attrakdiff.de
PDF woes
user name
2006-05-25 13:06:03
try changing your code as indicated in bold below:    

<figure id="fig_1">
<title&gt;Celtix Configuration Hierarchy&lt;/title&gt;

<mediaobject>
<imageobject>
<imagedata fileref="./images/configuration.gif" />
</imageobject>
</mediaobject>
</figure>

hope this helps

kroikie


Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )