IPESCRIPT(1)

✨ IPESCRIPT(1) ✨

okay so bestie, welcome to the <strong>General Commands Manual</strong> entry for <code>ipescript</code> πŸ’– β€” the little tool that runs your Ipe scripts, and yes it's written in <strong>Lua</strong>, and yes it is <em>iconic</em> for it.


πŸ¦‹ NAME πŸ¦‹

ipescript β€” Run an Ipe script (written in Lua). That's the whole vibe. periodt πŸ’…


🌸 SYNOPSIS 🌸

ipescript script { arguments }

πŸŽ€ DESCRIPTION πŸŽ€

So like, ipescript runs an Ipe script that's written in Lua. The Ipe bindings are automatically available in the script β€” you literally don't have to do anything, they're just there, like a bestie who already knows your coffee order β˜•βœ¨.

Ipescript goes looking for your script in any of the script directories. the way that it just searches for you πŸ₯Ή

πŸ’€ real talk though: the script argument should not contain the .lua extension. Leave it off. The extension stays home. do not bring it.

πŸ’œ ENVIRONMENT VARIABLES πŸ’œ

ipescript respects the following environment variables, and honestly? respecting boundaries is so main character of it πŸ‘‘

  • IPELATEXDIR β€” the directory where ipetoipe runs Pdflatex. That's it, that's the whole thing 🧚
  • IPELATEXPATH β€” the directory containing pdflatex and xelatex. If it's not set, they get searched for on the path. lowkey chill of it.
  • IPESCRIPTS β€” a list of directories where Ipescript will look for scripts πŸ”πŸŒΈ
    • When this variable is not set, Ipe searches first the current directory, then ~/.ipe/scripts, and finally the system-wide Ipe script directory. (current dir β†’ ~/.ipe/scripts β†’ system-wide, in that exact order, no skipping πŸ’…)
    • When this variable is set, it should contain a list of directories, separated by semicolons.
    • A single underscore _ is replaced by the system-wide Ipe script directory. Cute little shortcut, obsessed πŸŽ€
  • IPEDEBUG β€” set this to 1 for debugging output from ipescript. the way you'll get to see everything happening πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Otfried Cheong πŸ’– (the author, the icon, the moment)


😭 REPORTING BUGS 😭

Please report bugs using Ipe bugzilla at http://ipe.otfried.org/bugzilla.html

not me asking you to file a bug instead of suffering in silence πŸ™ˆ fr fr, they wanna know.

🌈 SEE ALSO 🌈

Ipe is documented fully in The Ipe Manual, which is available online at http://ipe.otfried.org/manual/manual.html πŸ“–βœ¨


and that's the whole page bestie β€” this one was dated <strong>August 28, 2011</strong>, part of the <strong>General Commands Manual</strong> for <strong>IPESCRIPT(1)</strong>. go run your scripts, slay, and don't forget the .lua stays off πŸ«ΆπŸ’œ