From: James D. <j-d...@us...> - 2003-05-04 02:33:28
|
In message <87s...@do...> on Sun, May 04, 2003 at 12:39:56AM +0200, Steinar Bang wrote: > Is it possible to use MetaPost input files directly in the LaTeX files > resulting from using the db2latex XSLT style sheet? Maybe... > I guess that would require generating something different than > \includegraphics? One option in the style of DocBook is to use a particular attribute (e.g. 'role') to trigger specific template handling in your own driver file. However, there may be an existing mechanism that you can use. If you have <mediaobject> with no <imageobject>s but with a <textobject> containing <phrase role="latex">, you can insert actual LaTeX commands (untested): <mediaobject> <textobject> <phrase role="latex">\your\latex\code</phrase> </textobject> </mediaobject> |