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]
Other format: [Raw text]

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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.



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