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] excluding image format according to output


The mediaobject element was invented to solve this problem.  It is a
container for several images, only one of which is to be used for a given
output.  The stylesheets have a selection algorithm for mediaobject to
select a likely graphics file.  The graphic element can only specify one
graphics file.  You will have to use profiling if you want to select from a
sequence of graphic elements.

It might be a good time to switch over to mediaobject.  The graphic element
won't even be in DocBook V5 (as mentioned in the current TDG).  It has been
deprecated for some time.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Camille Bégnis" <camille@neodoc.biz>
To: "apps docbook" <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, April 13, 2005 9:38 AM
Subject: Re: [docbook-apps] excluding image format according to output


> Thanks all for your answers,
>
> Bob Stayton wrote:
> > Yes, see:
> >
> > http://www.sagehill.net/docbookxsl/GraphicSelection.html
>
> OK, I could make it work tweaking graphic.notations.
> Any special reason why this is not implemented for "graphic" elements,
> and only for "imagedata"?
>
> Dave Pawson wrote:
>  >
>  > I used PNG in my xsl-fo book Camille, so it *does* work?
>
> Yes but PNG is not vector based.
>
> Camille.
>




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