-
-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #34282: Make feature TeXFile check latex first
Currently, as observed in [https://trac.sagemath.org/ticket/34185#comment:7 comment 7] of #34185, the method `is_present` of instances of class `TeXFile` runs into an exception if latex is not installed. For example: {{{ sage: from sage.features.latex import LaTeXPackage sage: LaTeXPackage("tkz-graph").is_present() Traceback (most recent call last): ... FileNotFoundError: [Errno 2] No such file or directory: 'kpsewhich' }}} The aim of the ticket is to fix this. URL: https://trac.sagemath.org/34282 Reported by: soehms Ticket author(s): Sebastian Oehms, Kwankyu Lee Reviewer(s): Kwankyu Lee, Sebastian Oehms
- Loading branch information
Showing
1 changed file
with
68 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters