--- Cyrille Chepelov <cyrille@chepelov.org> wrote:
> Le Tue, Jun 18, 2002, à 03:18:05AM -0700, James
> Michael DuPont a écrit:
>
> > But here is my try to answer :
> > I have been looking into the XPDF source code, it
> is
> > quite interesting. C++ classes that encapsulate
> the
> > drawing operations. Each ouput is an renderer,
> > It would be usefull to create a DIA output object
> for
> > it, so the drawing results in the DIA drawing
> objects.
>
> [snip]
>
> Please read the source. You can conveniently grep
> for "Renderer".
>
I have looked at the Renderer, that is an output
object, and it might be interesting, but I think the
original question was of inputting the Tex into Dia.
>Then
>pstoedit is called to translate the postscript to
>Sketch input format, which
>Sketch understands, and so the formatted text is
>displayed as a Sketch object.
The XPDF only contains an PDF interpreter,
I was thinking about using that for building an PDF
import into DIA, but I dont think I explained myself
very well.
Once you get your TEX into PS or eps, then the Dia
seems to have a EPS and DXF import
PS converter to convert the diagram to DFX
http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
Mike
=====
James Michael DuPont
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com