Skip to content
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

ConTeXt can't find mtx-context.lua unless TEXMF is manually set #19279

Closed
anderspapitto opened this issue Oct 6, 2016 · 4 comments
Closed

ConTeXt can't find mtx-context.lua unless TEXMF is manually set #19279

anderspapitto opened this issue Oct 6, 2016 · 4 comments
Labels
0.kind: bug Something is broken 9.needs: clean-up 9.needs: package (update) This needs a package to be updated

Comments

@anderspapitto
Copy link
Contributor

anderspapitto commented Oct 6, 2016

[anders@gurney:~/playground]
$ git clone git@github.com:mszep/pandoc_resume
Cloning into 'pandoc_resume'...
remote: Counting objects: 153, done.        
remote: Total 153 (delta 0), reused 0 (delta 0), pack-reused 153        
Receiving objects: 100% (153/153), 58.20 KiB | 0 bytes/s, done.
Resolving deltas: 100% (64/64), done.
[anders@gurney:~/playground]
$ nix-shell -p haskellPackages.pandoc -p 'texlive.combine { inherit (texlive) scheme-context; }'

[nix-shell:~/playground]$ cd pandoc_resume/

[nix-shell:~/playground/pandoc_resume]$ make pdf
pandoc --standalone --template style_chmduquesne.tex \
--from markdown --to context \
-V papersize=A4 \
-o resume.tex resume.md; \
context resume.tex

mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'
make: *** [Makefile:5: resume.pdf] Error 1

[nix-shell:~/playground/pandoc_resume]$ nativeBuildInputsAsBashArray=($nativeBuildInputs)

[nix-shell:~/playground/pandoc_resume]$ TEXMF=${nativeBuildInputsAsBashArray[1]}/share/texmf make pdf
# output elided, but it works just fine

I shouldn't have to set TEXMF myself

I'm on current NixOS unstable

@NeQuissimus NeQuissimus added 0.kind: bug Something is broken 9.needs: package (update) This needs a package to be updated 9.needs: clean-up labels Oct 11, 2016
@AndersonTorres
Copy link
Member

It was solved?

@anderspapitto
Copy link
Contributor Author

no idea but I haven't been using this, so I'll close it

@AndersonTorres
Copy link
Member

I have tested it and the workaround is still needed. Maybe it can be useful to the package maintainers.

@xeji
Copy link
Contributor

xeji commented Sep 27, 2018

fixed in #47426

dtzWill pushed a commit to dtzWill/nixpkgs that referenced this issue Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 9.needs: clean-up 9.needs: package (update) This needs a package to be updated
Projects
None yet
Development

No branches or pull requests

4 participants