Feature for testing the presence of pdf2svg - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# Feature for testing the presence of `pdf2svg`

sage.features.pdf2svg.all_features()

class sage.features.pdf2svg.pdf2svg(*args, **kwds)

  Bases: `Executable`

  A `Feature` describing the presence of pdf2svg.

  EXAMPLES:

  Sage

      sage: from sage.features.pdf2svg import pdf2svg
      sage: pdf2svg().is_present()             # optional - pdf2svg
      FeatureTestResult('pdf2svg', True)

  Python

      >>> from sage.all import *
      >>> from sage.features.pdf2svg import pdf2svg
      >>> pdf2svg().is_present()             # optional - pdf2svg
      FeatureTestResult('pdf2svg', True)