View Issue Details

IDProjectCategoryView StatusLast Update
0000339luatexfeature requestpublic2010-03-12 15:46
ReporterTaco Assigned ToTaco  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.60.0Fixed in Version0.51.0 
Summary0000339: Various small extensions to the lua kpse module table
DescriptionSo far, we have (all from Tomek):

With kpsewhich it is possible to specify
a search path explicitly with the -path switch, but this functionality
is not exposed through lua kpse lib. Could this be added?

There are a few other kpsewhich options not covered thus far:
1) -all output all matches, one per line.
2) -engine=STRING set engine name to STRING.
3) [-no]-mktex=FMT disable/enable mktexFMT generation
(FMT=pk/mf/tex/tfm).
4) -subdir=STRING only output matches whose directory ends with STRING.

(1) and (4) could be occasionally useful (although the latter one can
be trivially implemented in terms of the former one in Lua). For the
remaining ones I have no opinion, I've never encountered the need for
them myself. Perhaps also kpse.version should be added for version
checking?
TagsNo tags attached.

Activities

Taco

2010-03-12 13:38

administrator   ~0000471

#3473 implements kpse.lookup(), taking care of 1,3, and 4.

for engine support, run os.setenv('engine'), this is also what kpsewhich itself does.

Taco

2010-03-12 13:44

administrator   ~0000472

Ah, I forgot. #3474 implements kpse.version()

Issue History

Date Modified Username Field Change
2010-03-03 15:02 Taco New Issue
2010-03-03 15:02 Taco Status new => assigned
2010-03-03 15:02 Taco Assigned To => Taco
2010-03-12 13:38 Taco Note Added: 0000471
2010-03-12 13:38 Taco Status assigned => resolved
2010-03-12 13:38 Taco Resolution open => fixed
2010-03-12 13:44 Taco Note Added: 0000472
2010-03-12 15:46 Taco Fixed in Version => 0.51.0
2010-03-12 15:46 Taco Status resolved => closed