Skip to content

Conversation

@pdaoust
Copy link

@pdaoust pdaoust commented Jul 12, 2024

(and perhaps other versions of Inkscape; I've only tested against 1.3.2.)

This removes Python and PyGTK deprecation warnings and gets the extension ready to work with changes to the manifest format. It also pulls in fixes from seignovert/LaTeXText.

# Convert PDF to SVG
if PLATFORM == WINDOWS:
PDF2SVG_PATH = os.path.join(os.path.realpath(EXT_PATH), 'pdf2svg')
if PLATFORM == MAC:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if has to be replaced by elif, otherwise the code on Windows will result in empty PDF2SVG_PATH.

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.

3 participants