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] | [Elist Home]

Subject: DOCBOOK-APPS: <imagelement> selection (Was: profiling on "role"...)

>>>>> Jirka Kosek <jirka@kosek.cz>:

> Steinar Bang wrote:

>> When I do profiling for "html" or "pdf" in <mediaobject>, what's
>> the correct attribute to use on the <imageobject> elements?
>> "role"?  Or "condition"?

> Selection of correct image format can be done without profiling.
> Stylesheet will use first image in recognized format. You can
> customize list of supported formats by customizing of following two
> templates:

The problem in my case is that both <imageobject> elements are PNGs,
but the one used for PDF has scaling.  Eg. like this:
	  <imageobject arch="html">
	    <imagedata fileref="images/rh72_press_enter.png" format="PNG"/>
	  <imageobject arch="pdf">
	    <imagedata fileref="images/rh72_press_enter.png" format="PNG"
	    depth="5cm" scalefit="1"/>

(yes, I know that using "arch" this way is misuse of the attribute)

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

Powered by eList eXpress LLC