OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] giving "Style" images


Have you already tried

<!ENTITY style="width='9cm' contentwidth='9cm'">

?

BTW: You've misspelled "width" as "widht" (I don't know if it was a copy 
of your real code or just a typo in the message, but suppose the first).

Gisbert

Jens Skripczynski wrote:
> Hi,
> 
> I have a set of screenhots in my document. I want them to appear
> all the same, but do not yet know the correct size of those images.
> 
> I tried to define an entity
> <!ENTITY style="widht=&quot;9cm&quot; contentwidth=&quot;9cm&quot;" >
> 
> and use
>          <mediaobject>
>           <imageobject>
>             <imagedata &style; fileref="images/session/log4j/log4j-add.png" format="PNG"/>
>           </imageobject>
>          </mediaobject>
> So I can 'play' with the size and change all their style in a single place.
> 
> But this does not seem to be the 'xml' way, as xmllint complains.
> 
> Is there a way to 'macro' attributes for similar elements ?
> 
> 
> Ciao
> 
> Jens Skripczynski


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]