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]

Re: openjade supports PNG?


On Tue, Dec 19, 2000 at 05:15:02PM -0800, Ross Smith wrote:
> That's suprising. When I use:
> 
> <mediaobject>
>  <imageobject>
>   <imagedata format="png" fileref="ex.png" >
>  </imageobject>
> </mediaobject>
> 
> I get:
> 
> openjade:test.sgml:46:29:E: value of attribute "FORMAT" cannot be "PNG";
> must be one of "BMP", "CGM-CHAR", "CGM-BINARY", "CGM-CLEAR", "DITROFF",
> "DVI", "EPS", "EQN", "FAX", "GIF", "GIF87A", "GIF89A", "JPG", "JPEG",
> "IGES", "PCX", "PIC", "PS", "SGML", "TBL", "TEX", "TIFF",
> "WMF", "WPG", "LINESPECIFIC"
> 
> How come your openjade supports PNG and mine doesn't?  I've installed
> libpng, but openjade came with the OS (RedHat 7.0).
> 
> Typing:
> 
> $ openjade -v
> 
> produces:
> 
> openjade:I: OpenJade version "1.3"
> openjade:I: OpenSP version "1.3.4"
> 
> Can anyone tell me how to enable PNG support in openjade?
I don't think that this is an openjade issue.  What version of Dockbook DTD
are you using?

I fixed my problem by changing the DTD to include the format type that I
wanted.  See attached email from Norm on the preferred solution.

Thanks,
Lane.
> 

-- 
Lane Stevens
Terrapin Technologies, Inc.
http://www.cycletime.com


/ Lane Stevens <lane@cycletime.com> was heard to say:
| My DTD is docbook 4.1, and for some reason it doesn't feel right having to
| make a change to the DTD to make this work.  Is there a more appropriate way
| to have solved this problem? or am I completely missing the boat somewhere?

Adding the notation is OK. You should do it in dbgenent.ent, though.
Or in your document.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | The Future is something which
http://www.oasis-open.org/docbook/ | everyone reaches at the rate of
Chair, DocBook Technical Committee | sixty minutes an hour, whatever he
                                   | does, whoever he is.--C. S. Lewis



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