This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


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

Re: inlinegraphic going away... (Was Re: image with link)


Yann,

> > Which is *far* more verbose (thankfully macros can be created!).
> 
> More verbose, but more flexible: you can specify an EPS alternative
> for print (where your GIF would probably perform poorly), which you
> can't do with (inline)?graphic

Exactly.  For the sake of brevity in my response to Bob's posting, 
I just included one <imageobject> with the GIF file.  However,
in all of my documents, my (vim) macro for <mediaobject> creates this:

  <mediaobject>
  <imageobject>
  <imagedata fileref="" format="EPS"/>
  </imageobject>
  <imageobject>
  <imagedata fileref="" format="JPG"/>
  </imageobject>
  <textobject>
  <phrase></phrase>
  </textobject>
  </mediaobject>

which I then fill out appropriately. It works great.  Like you mentioned,
I have one version for print, one for HTML and I also get text that can
be put into the ALT attribute of the HTML IMG tag.

I actually do not really ever find a place to use <inlinemediaobject>
in my docs, but it would be basically the same as above.

Regards,
Dan

-- 
Dan York, Director of Training        dyork@e-smith.com
Ph: +1-613-751-4401 Cell: +1-613-263-4312 Fax: +1-613-564-7739 
Mitel Network Corporation Network Server Solutions Group 
150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/            http://www.mitel.com/           

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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