Skip to content

Alternative to kpathsea/kpsewhich for external tools #987

Answered by pkgw
let-def asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Fred,

Thanks for asking!

First of all, I'll mention that Tectonic includes an xdv crate that does some basic parsing of the DVI/XDV format. It doesn't handle everything, and doesn't properly handle some things like RTL text segments, but depending on your needs, it might come in handy.

As for your main question, I can think of at least a few different ways to approach the problem that you want to solve. But if it's what you want, it wouldn't be that complicated to put together some kind of program that takes "TeX paths" as inputs and responds with the file contents, using Tectonic's on-the-fly fetching and caching framework. The first step is to set up the "bundle" to use, and you can …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by let-def
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants