Opened 4 years ago
Closed 2 years ago
#26343 closed defect (fixed)
Sagetex should unset TEXINPUTS when testing
Reported by: | jhpalmieri | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | sage-9.1 |
Component: | packages: standard | Keywords: | |
Cc: | kcrisman, jdemeyer, ddrake, vbraun, aapitzsch | Merged in: | |
Authors: | John Palmieri | Reviewers: | Matthias Koeppe |
Report Upstream: | N/A | Work issues: | |
Branch: | 594cce6 (Commits, GitHub, GitLab) | Commit: | 594cce604502a26e37e3acdbd92fa5195f14838b |
Dependencies: | Stopgaps: |
Description (last modified by )
The test suite for sagetex should unset TEXINPUTS
when testing. As it is, it runs latex
on the wrong file example.tex
: it tests one that happens to lie in a path in TEXINPUTS
, and then it uses the version of sagetex.sty
from elsewhere, also. (My TEXINPUTS
has .
at the end of the list of paths, not the beginning, so it looks there last. It has PATH_TO_SAGE/local/share/texmf//
, where PATH_TO_SAGE
is the location of my standard stable Sage installation, earlier in the list of paths.)
Change History (10)
comment:1 Changed 4 years ago by
- Branch set to u/jhpalmieri/sagetex-TEXINPUTS
comment:2 Changed 4 years ago by
- Commit set to a1a1cb978d48a45af7e5d856372a1fe54ef6d77d
- Status changed from new to needs_review
comment:3 Changed 4 years ago by
- Description modified (diff)
comment:4 Changed 4 years ago by
I don't know why latex file.tex
looks for file.tex
in places other than the current working directory, but it seems to. I knew it looked for style files elsewhere, but not the actual LaTeX files. I found that out by examining the sagetex-3.0
log file after running ./sage -f -c sagetex
.
comment:5 Changed 4 years ago by
- Description modified (diff)
comment:6 Changed 4 years ago by
- Cc kcrisman jdemeyer ddrake vbraun aapitzsch added
- Reviewers kcrisman, jdemeyer, ddrake, vbraun, aapitzsch deleted
comment:7 Changed 2 years ago by
- Branch changed from u/jhpalmieri/sagetex-TEXINPUTS to u/mkoeppe/sagetex-TEXINPUTS
comment:8 Changed 2 years ago by
- Commit changed from a1a1cb978d48a45af7e5d856372a1fe54ef6d77d to 594cce604502a26e37e3acdbd92fa5195f14838b
- Milestone changed from sage-8.4 to sage-9.1
- Reviewers set to Matthias Koeppe
- Status changed from needs_review to positive_review
New commits:
594cce6 | trac 26343: unset TEXINPUTS when testing sagetex.
|
comment:9 Changed 2 years ago by
Thank you!
comment:10 Changed 2 years ago by
- Branch changed from u/mkoeppe/sagetex-TEXINPUTS to 594cce604502a26e37e3acdbd92fa5195f14838b
- Resolution set to fixed
- Status changed from positive_review to closed
New commits:
trac 26343: unset TEXINPUTS when testing sagetex.