-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Features for latex packages #32926
Comments
Dependencies: #32174 |
Last 10 new commits:
|
Commit: |
comment:4
When testing the feature, I get:
an import is missing. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
diff --git a/src/sage/features/latex.py b/src/sage/features/latex.py
index 7b95796be4..7bd8d72164 100644
--- a/src/sage/features/latex.py
+++ b/src/sage/features/latex.py
@@ -147,7 +147,7 @@ class TeXFile(StaticFile):
sage: from sage.features.latex import TeXFile
sage: TeXFile('x', 'x.tex').is_present() # optional: pdflatex
FeatureTestResult('x', True)
- sage: TeXFile('nonexisting', 'fajfhjdksf-nonexisting-file.tex').is_present() # optional: pdflatex
+ sage: TeXFile('nonexisting', 'xxxxxx-nonexisting-file.tex').is_present() # optional - pdflatex
FeatureTestResult('nonexisting', False)
"""
def __init__(self, name, filename, **kwds):
@@ -161,7 +161,7 @@ class TeXFile(StaticFile):
sage: from sage.features.latex import TeXFile
sage: feature = TeXFile('latex_class_article', 'article.cls')
- sage: feature.absolute_path() # optional: pdflatex
+ sage: feature.absolute_path() # optional - pdflatex
'.../latex/base/article.cls'
"""
from subprocess import run, CalledProcessError, PIPE
@@ -183,7 +183,7 @@ class LaTeXPackage(TeXFile):
EXAMPLES::
sage: from sage.features.latex import LaTeXPackage
- sage: LaTeXPackage('graphics').is_present() # optional: pdflatex
+ sage: LaTeXPackage('graphics').is_present() # optional - pdflatex
FeatureTestResult('latex_package_graphics', True)
"""
@staticmethod Otherwise, looks good to me. |
Reviewer: Kwankyu Lee |
comment:10
I agree with these changes, please push them to the ticket |
Changed branch from u/mkoeppe/features_for_latex_packages to public/32926 |
Changed commit from |
Commit: |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
comment:13
Okay. Done. |
comment:15
Let's wait for the patchbot run once more. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:23
rebased on top of updated #32174 |
Changed reviewer from Kwankyu Lee to Kwankyu Lee; Sébastien Labbé |
comment:25
No more thing to do here. Right? |
comment:26
Maybe a short ticket description? E.g. is there a meta-ticket or documentation page Other than that, this ticket depends on #32174 |
comment:27
Okay then. |
This comment has been minimized.
This comment has been minimized.
comment:30
As the dependency #32174 just got positive review. |
comment:31
|
Changed branch from public/32926 to |
Changed commit from |
Changed reviewer from Kwankyu Lee; Sébastien Labbé to Kwankyu Lee, Sébastien Labbé |
Add Features
LaTeXPackage
to detect presence of latex packages.Depends on #32174
CC: @seblabbe @kwankyu
Component: refactoring
Author: Matthias Koeppe
Branch:
e22c173
Reviewer: Kwankyu Lee, Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/32926
The text was updated successfully, but these errors were encountered: