From: Steinar B. <sb...@do...> - 2003-05-04 08:30:48
|
>>>>> James Devenish <j-d...@us...>: > 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> That's a possibility, using XInclude with xsltproc, or DocBook XSLT file inclusion extensions with one of the Java XSLT engines, to include the actual text. But that won't give us scaling, hm... I don't really _need_ it. I just thought it would be neat to include vector graphics in a way that's not tied to PDF output. But all I ever output from TeX is PDF or PS, so...:-) |