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: How to select <imageobject> alternativein<mediaobject>?


Bob Stayton wrote:

> OK. Let me see if I understand.
> Let's say we add a parameter "use.role.to.select.image".
> If that parameter is 1 (the default), then role="html|fo" is used
> by the stylesheet to select an imageobject.
> If that parameter is zero, role is not used for image
> selection.
> 
> If you are not doing profiling on role, then you leave
> the default as 1, and you can use role for image selection.
> And you can use role for other purposes that the stylesheet
> supports, such as emphasis.
> 
> If you *are* doing profiling on role, then you need to know
> what you are doing.  You need to review your document to
> see what values of role have been used that are not
> intended for profiling, and include those values in your
> collection of profiling targets in 'profile.role'.  If you
> want image selection, you set 'use.role.to.select.image'
> to zero, and  include either 'html' or 'fo' in
> your target list.

Exactly. This is what I meant but I wasn't able to describe it in a
clear way.
 
> I think we need to add something to the profiling doc
> about how to use role for profiling (and maybe caution them
> not to).

Yes. I will try to do that. 

				Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


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