Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710154 - dev-texlive/texlive-context mtxrun doesn't find scripts
Summary: dev-texlive/texlive-context mtxrun doesn't find scripts
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 12:30 UTC by vikraman
Modified: 2020-02-21 09:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of mtxrun --variables (mtxrun-variables.log,19.60 KB, text/x-log)
2020-02-19 12:30 UTC, vikraman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vikraman 2020-02-19 12:30:13 UTC
mtxrun doesn't find any installed scripts because the installation doesn't set the TEXMF variable.

$ mtxrun --script context
txrun          | unknown script 'context.lua' or 'mtx-context.lua'

Setting TEXMF fixes it.

$ export TEXMF=/usr/share/texmf-dist
$ mtxrun --script context --quiet --version
mtx-context     | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2019.03.21 21:39


Reproducible: Always
Comment 1 vikraman 2020-02-19 12:30:50 UTC
Created attachment 614484 [details]
Output of mtxrun --variables

I have attached an output of mtxrun --variables without explicitly setting TEXMF.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-02-21 09:11:41 UTC
What you set is TEXMFDIST, TEXMF is _set_ in your env, why does not it work it is another question, but it _tries_ to look up ypur pathes.