Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the use of Ghostscript gs command #68

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

0nyr
Copy link

@0nyr 0nyr commented Jan 7, 2025

This PR is linked to the following issue: Issue 67

I just moved all code that was building a gs command into a dedicated function that checks if the gs command is available in the shell, else defaults to use Ghostscript_jll.

This allows to fix the issue on Nixos.

@tecosaur
Copy link
Contributor

tecosaur commented Jan 9, 2025

Just commenting on one small part of this: I believe Sys.which exists.

@0nyr
Copy link
Author

0nyr commented Jan 9, 2025

Just commenting on one small part of this: I believe Sys.which exists.

Yes, just stumble across it yesterday when trying to dig in my low-resolution latex issue. I also discovered const Ref which will be much better for the variable checking the availability of gs. I'll make a new commit today with those improvements.

I'm still quite new to Julia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants