FIGTOIPE(1)

πŸ“¦
version 7.2.29.2 Β· 2 versions
  • 7.2.29.2 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • fedora 43, fedora 44
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ FIGTOIPE(1) β€” the figtoipe glow-up guide ✨

okay bestie, sit down, hydrate, and let me tell you about figtoipe, a lil General Commands Manual icon whose whole job is converting FIG figures into Ipe format. yes she's niche. yes she's useful. πŸ’…


🌸 NAME 🌸

figtoipe β€” Convert FIG figures into Ipe format

like literally that's it, that's her whole thing, and she eats πŸ“


πŸ¦‹ SYNOPSIS πŸ¦‹

figtoipe [-g] [-p preamble] FIGfile XMLfile

two files, some flags, boom. main character energy fr fr.


πŸ’– DESCRIPTION πŸ’–

so figtoipe takes files in FIG format (the kind you'd get from, say, xfig) and turns them into Ipe's XML format. glow-up complete, no cap. ✨

ngl, figtoipe is not complete. the big missing feature is the conversion of splines. and arc-boxes? they get replaced by rectangles. if you're feeling generous, feel free to improve this version! 🫢

the tea is that FIG and Ipe have somewhat different drawing models. Ipe does not support:

  • depth ordering independent of grouping
  • pattern fill
  • Postscript fonts

so like, those vibes just don't translate, sorry babe 😭

figtoipe does try to include images specified in the XFIG file. for JPEG pictures, it tries to include the compressed image data right into the XML file. for files not recognized as JPEG, anytopnm is called; its output gets compressed and included in the XML file too. and here's the warning: some output of anytopnm might be rejected (e.g. images larger than 5000x5000 pixels or B&W bitmaps), or misunderstood. so watch out πŸ‘€


πŸ’… OPTIONS πŸ’…

  • -g β€” group the figure in the output XML
  • -c β€” tell ipe to crop PDF output to the boundingbox
  • -6 β€” write in ipe 6 format instead of ipe 7 format
  • -p latex β€” add latex as a preamble to the generated XML file, e.g. Β΄\usepackage{amsmath}Β΄

yes bestie, -g, -c, -6, -p β€” collect them all πŸŽ€


πŸ‘‘ AUTHORS πŸ‘‘

  • Otfried Cheong
  • Alexander BΓΌrger <acfb@users.sf.net> (image handling)

shoutout to the legends, we stan 🌈


πŸ”₯ REPORTING BUGS πŸ”₯

Please report bugs using Ipe bugzilla at https://github.com/otfried/ipe-tools/issues

found something cursed? tell the bugzilla, don't suffer in silence πŸ’€


🌟 SEE ALSO 🌟

More information about Ipe can be found in The Ipe Manual, which can be found in your Ipe installation.

go read the manual, iykyk πŸ“–


πŸ’œ LICENSE & WARRANTY πŸ’œ

figtoipe comes with ABSOLUTELY NO WARRANTY. It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the file gpl.txt accompanying the source for details.

like, zero warranty, but all the freedom. iconic behavior honestly 🧚


and that's the whole page, bestie! this manual is from the General Commands Manual, dated April 26, 2008, and it's the figtoipe(1) page πŸŽ€ thanks for reading, mwah πŸ’–