Re: Use the role attribute to select <mediaobject>

Steinar Bang <[email protected]> Wed, 19 Mar 2003 22:48:02 +0100
Newsgroups gmane.text.docbook.db2latex.devel
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> James Devenish <[email protected]>:

> Exactly my point :)

Yah!  I really shouldn't post to mailing lists when I'm too sleepy to
read and understand the message I'm responding to. :-)

But I least I posted my real life example, which is to use the role
when the <imageobject> elements are otherwise indistinguishable.
Ie. when they have the same @format value.

> Elsewhere in DB2LaTeX there is already use of @role="tex". What
> makes me uncertain about it is that our imagedata handling won't
> work with plain TeX, so "tex" is a bit of a misnomer.

I agree.

> We could easily accept either "tex" or "latex", but a decision would
> have to be made about whether this was appopriate :)

How about accepting both "tex" and "latex" for the places where it's
already in use, for legacy reasons, but mark it as deprecated in the
docs, and only accept "latex" for the new places?



-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en