← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK: MediaObject, ImageObject & ImageData problems - Please Help

From
=?iso-8859-1?P?Rt=F9phane_Cline?=
Date
2000-04-27T15:00:58+00:00
ID
034e01bfb052$9fa12c10$820114ac@sbline
Thread
DOCBOOK: MediaObject, ImageObject & ImageData problems - Please Help
Hello,

 

I was trying to play with the MediaObject element 
and see what I can do in terms of using eps images & gifs, so I tried 
this:

 

<?xml version="1.0" 
encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//Norman Walsh//DTD 
DocBk XML V3.1.7//EN" "x:\docbook\docbookx.dtd" [
<!ENTITY epsimage SYSTEM 
"x:/pool/cases/epsimage.eps" NDATA EPS>
<!ENTITY gifimage SYSTEM 
"x:/pool/cases/gifimage.gif"NDATA GIF>
]>
<chapter 
lang="en"><?dbhtml filename="images test cases.html"?>

<title>Graphics &amp; figures with 
DocBook</title>

<para><figure><title>Notre Dame 
de Paris</title>

<mediaobject><imageobject><imagedata 
align="right"  entityref="epsimage" format="EPS" 
scale="50"></imagedata></imageobject><imageobject><imagedata 
align="right"  entityref="gifimage" format="GIF" 
scale="50"></imagedata></imageobject></mediaobject></figure></para>

<para><figure><title>Notre Dame 
de Paris</title>

<mediaobject><imageobject><imagedata 
entityref="epsimage" format="EPS" width="181" 
scalefit="true"></imagedata></imageobject><imageobject><imagedata 
entityref="gifimage" format="GIF" width="181" 
scalefit="true"></imagedata></imageobject></mediaobject></figure></para>
</chapter>

 

When I output this using jade in both html & 
rtf format, the first picture is not aligned on the right side of the doc nor 
scaled 50% as it should be and the second one is not scaled either. What am I 
doing wrong ?

 

Any help appreciated,

 

St廧hane Bline.
← Prev in month ← Prev in thread
Next in thread → Next in month →