Comments (6)
Thanks for your input! Relevant Inkscape (outdated?) docs: MacOSX#Inkscape command line. A bit confusing to be honest. I think we should probably
- check if
inkscape
is in the path (checkout return code ofwhich inkscape
) - check if
/Applications/Inkscape.app/Contents/Resources/bin/inkscape
exists - check if
/Applications/Inkscape.app/Contents/MacOS/inkscape
exists,
and depending on that execute the right file. Sounds good?
from inkscape-figures.
Not familiar with MacOS, but I think the code as is should work if your path is setup correctly, so I'm hesitant to change it right now. What are your thoughts @pierreglaser?
from inkscape-figures.
inkscape
is not so straightfoward to install on MacOS
, and I may have symlink
-ed inkscape to some place in my $PATH
at some point in the process when developing inkscape-figures
MacOS
suppport. Apologies if this ended up breaking your setup @adir-ux.
/Applications/Inkscape.app/Contents/MacOS/inkscape
sounds like a reasonable place for an Inkscape
executable to be on MacOS
. But so is $PATH
. So if we want to support the two, we will need some form of fallback mechanism. Is there any guidelines from the inkscape
folks on how to launch inkscape
from the command line in MacOS
? If not, I would be slightly in favor of supporting @adir-ux 's situation.
from inkscape-figures.
if set to /Applications/Inkscape , would it check the PATH as well?
on Inkscape wiki I found this link to /usr/local/bin
sudo ln -s /Applications/Inkscape.app/Contents/Resources/bin/inkscape /usr/local/bin
but running
/Applications/Inkscape.app/Contents/Resources/bin/inkscape
returns "no such file or directory", so I assume it applies only to the older xquartz versions.
someone on StackOverflow suggested the location I pointed.
https://stackoverflow.com/a/60068607
from inkscape-figures.
sounds great.
from inkscape-figures.
Moved off-topic conversation to issue #23.
from inkscape-figures.
Related Issues (20)
- Inkscape-figures command not found
- Do not understand inkscape-figures HOT 4
- Strange rapid glitching
- Fzf instead of choose for MacOS
- watch not working on macOS HOT 2
- (Kind of) Windows Port HOT 1
- Stop watch? HOT 2
- Saving the figure HOT 4
- import.sty not found HOT 1
- VScode configuration HOT 3
- Clipboard only working when figure changed HOT 1
- inkscape-figures: command not found
- rofi pops up when creating new figure
- Not using vim-tex. How to recreate the commands in basic vim-setup?
- Unable to lock on the pidfile HOT 2
- Inkscape opening over tiled windows HOT 1
- How to make this work in macvim? HOT 2
- dyld[1317]: Library not loaded: β@rpath/libinkscape_base.dylibβ
- Inkscape window gets closed immediately after creating figure
- File save is not registered when using WSL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inkscape-figures.