Skip to content

Fix Ghostscript detection for MiKTeX installations on Windows#405

Merged
altmany merged 1 commit intoaltmany:masterfrom
JohanWesto:fix-ghostscript-miktex
Aug 3, 2025
Merged

Fix Ghostscript detection for MiKTeX installations on Windows#405
altmany merged 1 commit intoaltmany:masterfrom
JohanWesto:fix-ghostscript-miktex

Conversation

@JohanWesto
Copy link
Contributor

Summary

Fixes Ghostscript detection on Windows when installed via MiKTeX.

Problem

The current code only checks for gswin32c.exe and gswin64c.exe, but MiKTeX installs Ghostscript as mgs.exe.

Solution

  • Added mgs.exe

Testing

  • Tested on Windows with MiKTeX installation
  • Verified existing functionality still works

- Add 'mgs.exe' as first option for Windows (MiKTeX's Ghostscript)
- Include additional common Windows Ghostscript executable names
- Maintains backward compatibility with existing installations
@altmany altmany merged commit 24c901e into altmany:master Aug 3, 2025
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