From: Steinar B. <sb...@do...> - 2003-03-18 20:41:39
|
>>>>> James Devenish <j-d...@us...>: > - If we are to support $use.role.for.mediaobject and > $preferred.mediaobject.role, we would have to choose a role (such > as the existing 'html' or 'fo') that corresponds to DB2LaTeX/LaTeX. Why not use a new role value? "tex"? Or "latex"? Then you could add a new <imageobject> for use by DB2LaTeX. The new use of role was done without any changes to the DTD, so the value of role is still defined to be #CDATA. Here's an example of how I currently use this approach: <mediaobject> <imageobject role="html"> <imagedata fileref="images/press_enter.png" format="PNG"/> </imageobject> <imageobject role="fo"> <imagedata fileref="images/press_enter.png" format="PNG" depth="5cm" scalefit="1"/> </imageobject> </mediaobject> If I were to use this with DB2LaTeX, as well as the current HTML and XSL:FO, I would add an extra <imageobject>, with scaling and role "latex", ie.: <mediaobject> <imageobject role="html"> <imagedata fileref="images/press_enter.png" format="PNG"/> </imageobject> <imageobject role="fo"> <imagedata fileref="images/press_enter.png" format="PNG" depth="5cm" scalefit="1"/> </imageobject> <imageobject role="latex"> <imagedata fileref="images/press_enter.png" format="PNG" depth="5cm" scalefit="1"/> </imageobject> </mediaobject> |