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


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

Re: PNG Inline graphics


First off, Norm, thanks for the guidance... I appreciate the
time you've taken to answer my somewhat elementary questions.
You'd make a good teacher... 

After reading your response and then going back to the 
documentation, I was able to figure out inline and block 
graphics working with both fileref and entityref attributes.. 
pretty cool.  

Anyway,

> No, notations are a way of declaring the content of an external
> entity, but few SGML/XML processing systems really care about the
> information. At best, they are a good idea that was never fully
> developed.

Why is that? Also, in the documentation you recommend using 
entityref over fileref... why is that?

> | ...I assume from what you are saying, that Jade does not support
> | PNG out of the box...  any options?
> 
> Uh, that's a stylesheet bug, I guess. Are you using a customized
> stylesheet or the distribution directly from nwalsh.com?
> My guess is that you're using a custom stylesheet that has
> 
> (define %graphic-default-extension% "gif")
> 
> In that case, also add the declaration:
> 
> (define %graphic-extensions%
>   '("gif" "jpg" "jpeg" "tif" "tiff" "eps" "epsf" "png"))<itemizedlist>

You're right, I modified dbparam.dsl to add "png" as you
described...
it worked for html once I added the PNG notation,
but not for print.  LaTeX blows up with this error message:

! LaTeX Error: Cannot determine size of graphic in 
/home/httpd/html/images/gEDA_logo.png (no BoundingBox).

Is there any way around this?

Thanks,

Matt

P.S    I've had my copy of the Definitive Guide for 2 weeks now
&
it's already growin' dog ears.


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