Re: [NTG-context] Including xfig graphics

2011-01-08 Thread Alan BRASLAU
Florian, This is not exactly how to proceed. The metapost export needs to be stripped of its preamble before being used with ConTeXt. Can you send us a (simple) concrete example, i.e. .fig file. It may not be worth the effort to get fig2dev fixed to produce pure (LaTeX free) metapost. I had

Re: [NTG-context] Including xfig graphics

2011-01-07 Thread Alan BRASLAU
Hello, Ultimately, you will probably be more satisfied using Metapost graphics natively within ConTeXt. With xfig, you can export to Metapost. This code can probably be directly used by ConTexT, or perhaps with minor modifications. As Taco wrote, if you post an example (file.fig), someone can

Re: [NTG-context] Including xfig graphics

2011-01-07 Thread Taco Hoekwater
On 01/07/2011 10:07 AM, Alan BRASLAU wrote: Hello, Ultimately, you will probably be more satisfied using Metapost graphics natively within ConTeXt. With xfig, you can export to Metapost. This code can probably be directly used by ConTexT, or perhaps with minor modifications. I did a quick

Re: [NTG-context] Including xfig graphics

2011-01-07 Thread Florian Unglaub
On Fri, Jan 07, 2011 at 10:09:47AM +0100, Taco Hoekwater wrote: I did a quick test, and the transfig mp code starts with this nice (!) block of verbatimtex: % +MP-ADDITIONAL-HEADER verbatimtex %latex \documentclass{article} \begin{document} etex % -MP-ADDITIONAL-HEADER [...] It looks

[NTG-context] Including xfig graphics

2011-01-06 Thread Florian Unglaub
Hi there, I'm pretty new to ConTeXt and stumbled upon a problem when trying to use Xfig: I'm trying to create figures with xfig and including them in my ConTeXt document. I would export them as PDF, but unfortunately I have TeX math inside the figure and I'd like to have native fonts. I used to

Re: [NTG-context] Including xfig graphics

2011-01-06 Thread Taco Hoekwater
On 01/06/2011 01:21 PM, Florian Unglaub wrote: Hi there, I'm pretty new to ConTeXt and stumbled upon a problem when trying to use Xfig: I'm trying to create figures with xfig and including them in my ConTeXt document. I would export them as PDF, but unfortunately I have TeX math inside the