Re: PDF image import

Otfried Cheong <[email protected]>
Newsgroups gmane.comp.graphics.ipe.general
Organization Ipe HQ
Message-ID <[email protected]>

On 17/03/14 19:03, Jerzy Wrobel wrote:
> Or, I use pgfplots latex package (together with standalone package) via:
> ..
> local textex="tex"
> local texpdf="tex.pdf"
> local tmpeps="ipelet.ps"
> local tmppdf="ipelet.pdf"
> local tmpipe="ipelet.ipe"
> local ret
> ret=_G.os.execute("pdflatex -quiet -job-name=" .. textex .. " " .. file)
> ret=_G.os.execute("pdf2ps " .. texpdf .. " " .. tmpeps)
> ret=_G.os.execute("pstoedit -f pdf " .. tmpeps .. " " .. tmppdf)
> ret=_G.os.execute("pdftoipe " .. tmppdf .. " ".. tmpipe)
> ..
> The advantage is, that in GLE or pgfplots scripts you can select the same
> Latex fonts as in Ipe, which gives you indistinguishable (and to much
> extend editable) insert.

Actually, if you use pgfplots, you may not need pdftoipe at all.

I just checked that you can simply insert a basic pgfplot inside an Ipe 
text object.  It is not correctly displayed on the screen, but appears 
just fine on the resulting PDF.

I didn't know about pgfplots before.  This is quite neat, I will speed 
up work on getting Ipe to fully support pgf and tikz graphics (inside 
text objects).

Cheers,
  Ofried
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.