Re: Possible to use MetaPost input directly?

Steinar Bang <[email protected]> Sun, 04 May 2003 10:30:41 +0200
Newsgroups gmane.text.docbook.db2latex.devel
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> James Devenish <[email protected]>:

> 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...:-)



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf