Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
allow relative drive path for environment variables and file/dir settings #203
When running Ipe from a USB drive on Windows, one does not choose the drive letter for the USB drive; rather, Windows does. Yet one might want to refer in the configuration (ipe.conf and customize.lua) to other directories and files located on the same USB drive, in settings like
However, I don't believe there is a way to specify the drive in relative fashion, such as "same drive letter that ipe.exe was launched from." I tried setting these without specifying directory, like
... but I find that Ipe is looking for the directory \ipe-settings\latexrun at the root of whichever drive the currently-edited file was last saved to. Thus, depending on the location of my Ipe file, I may get an error about not being able to find or create the directory for the Pdflatex file.
When viewing Help-->Show Configuration:
In order to really run Ipe in self-contained (portable) fashion from a USB drive, one needs to be able to refer to other files on the same drive.
In 7.2.9, you can use
In environment variables, the string "ipe:" will be replaced by the same drive letter.