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]

openjade supports PNG?


> From: Lane Stevens <lane@cycletime.com>
> To: docbook-apps@lists.oasis-open.org
> Date: Thu, 30 Nov 2000 13:35:57 -0700
>
> 1)  If I use a statement like this:
>       <mediaobject>
> 	<imageobject>
> 	  <imagedata format="pdf" align="Center" fileref="./images/SDGDFD0.pdf">
> 	</imageobject>
>       </mediaobject>
>
> in my sgml document, then I get the following complaint from openjade:
>
> openjade:sdd.sgml:237:25:E: value of attribute "FORMAT" cannot be "PDF";
> must be one of "BMP", "CGM-CHAR", "CGM-BINARY", "CGM-CLEAR", "DITROFF",
> "DVI", "EPS", "EQN", "FAX", "GIF", "GIF87A", "GIF89A", "JPG", "JPEG",
> "IGES", "PCX", "PIC", "PNG", "PS", "SGML", "TBL", "TEX", "TIFF", "WMF",
> "WPG", "LINESPECIFIC"

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?


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