[Ipe-discuss] Latex pdf output does not show miter line joins drawn in Ipe editor

Alex Koudrin alex.koudrin at gmail.com
Tue Nov 13 20:46:59 CET 2012

Hi Otfried,

Thank you for your suggestions.

As you guessed, I'm working on Windows with the latest, albeit, relatively
outdated version of Ipe 7.0.10.*
Indeed when I save the EPS figure as PDF in Ipe it saves with *miter *joins.
However due to problems with converting PDF to EPS I will probably give it
up and stay with round corners until

Conversion from PDF to EPS*

It seems to be quite painful for me to try and convert to PDF and then to
EPS. I've spent several hours trying to do it now. It's painful for two
main reasons:

   - I have a lot of figures (all my 30+ figures) that would have
*miter*joins. I change figures frequently too.
   - I've tried XPDF and Ghostscript, but both seem to have bounding box
   problems I couldn't find a resolution for. I couldn't find a pdftoeps

Line Join

*I have tried saving my figure with *normal *and *round *line joins and
they give the same round corners in latex pdf output. Perhaps it can be
done, but some other way?

Interestingly *Bevel *line join gives an error when I compile latex:

Process started: dvipdfm "master".dvi
> MiKTeX GPL Ghostscript 9.00: Unrecoverable error, exit code 1
> master.dvi -> master.pdf [1][2][3 ** WARNING ** Object @page.i already
> defined. ][4 ** WARNING ** Object @page.ii already defined.
> ][5][6][7][8][9][10][11][12][13][14][15][16][17][18 ** WARNING ** Filtering
> file via command -->mgs.exe -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0
> -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false
> -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false
> -dColorImageFilter=/FlateEncode -dUseFlateCompression=true
> -sOutputFile="C:/DOCUME~1/akoudrin/LOCALS~1/Temp/mik1F67.tmp"
> "C:/Personal/Sports/Foosball/Ebook
> Stuff/Ebook/img/table-top-view-solid-parts.eps" -c quit<-- failed. **
> WARNING ** Image format conversion for "C:/Personal/Sports/Foosball/Ebook
> Stuff/Ebook/img/table-top-view-solid-parts.eps" failed... ** ERROR **
> pdf_ref_obj(): passed invalid object. Output file removed.
> Process exited with error(s)

*Line Caps

*I also noticed that Line caps have a very similar problem to Line joins.
No matter which line join I choose (*normal, butt, or round*), the latex
pdf output always has the square-looking line endings.

When I choose *square* for line caps, my latex fails with the same message
as for *bevel* line join above.

*Updated Windows Ipe?*

Is it possible to build a more recent version of Ipe for Windows. I don't
mind if it does not have some new features, but the most important bugs
like these could be backported? This would be a big help for us Windows
users! If the version is coming, could you indicate a possible release date?


On 14 November 2012 01:18, Otfried Cheong <otfried at ipe.airpost.net> wrote:

> On 11/13/2012 08:29 PM, Alex Koudrin wrote:
> > I am using Ipe to draw eps figures to include in my latex document. I
> > use dvipdfm as the package.
> >
> > I just discovered a nice feature in Ipe to make line joints sharp by
> > choosing "Line join = miter". However, when the eps figure is included
> > in my Latex document and I zoom in on the output pdf, I still see the
> > normal soft corners.
> >
> > Does anyone know if/how this is fixable without resorting to completely
> > changing how I do my images such as switching to pdflatex? Perhaps I
> > could do something in Ipe or use a Latex package or an option for
> dvipdfm?
> There was a bug in Ipe 7.0.10 so that the line join was not correctly
> saved in Postscript output (PDF output was correct).  Is this the
> version that you are using?  If so, the solution would be to save as PDF
> and then use pdftoeps or so to convert the figure to Postscript (if you
> really need to use normal Latex).  (Also - I think it may have been an
> off-by-one error, so you could try to set the line join to "round" and
> see if the output is then mitered.)
> Cheers,
>   Otfried
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20121114/0f94e9d9/attachment.html 

More information about the Ipe-discuss mailing list