What is the mtxrun error about 'context.lua' and how to fix it?
Trying my first steps in the Tex world.
I'm trying to achieve the result for : Pandoc Resume, which creates an intermediary tex
file before a convertion to pdf
using mtxrun
.
Unfortunately, I cannot manage to convert the tex
file into a pdf
file.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
It seems to be a fairly old error, dating back to 2011, and the internet resources say to do:
luatools --generate
But despite this operation, I still have the same error.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
I cannot see clearly what's going wrong. So it is not easy to find the solution.
Any insight?
I am using the linux distribution Nixos v18.03
mtxrun is version 1.32 from package: texlive.combined.scheme-context
context pandoc
|
show 1 more comment
Trying my first steps in the Tex world.
I'm trying to achieve the result for : Pandoc Resume, which creates an intermediary tex
file before a convertion to pdf
using mtxrun
.
Unfortunately, I cannot manage to convert the tex
file into a pdf
file.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
It seems to be a fairly old error, dating back to 2011, and the internet resources say to do:
luatools --generate
But despite this operation, I still have the same error.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
I cannot see clearly what's going wrong. So it is not easy to find the solution.
Any insight?
I am using the linux distribution Nixos v18.03
mtxrun is version 1.32 from package: texlive.combined.scheme-context
context pandoc
5
Welcome! What operating system are you using, and what TeX distribution (i.e., how did you install TeX and ConTeXt)? The repo you linked to has instructions for Debian / Ubuntu, Fedora, Arch, and OSX; did you use one of these? Also, at the very end, it suggestsmtxrun --generate
; did you try this?
– ShreevatsaR
Feb 10 at 22:30
I have edited the question: I use Nixos and the texlive.combined.scheme-context ackage. I did not read the very end... And after running this command it solves the problem.
– Stephane Rolland
Feb 10 at 22:47
5
That's great! Please post it as an answer (yes it's ok to answer your own question) and mark it as accepted, so that someone else who has the same problem can find the solution here (instead of whatever you found on the internet).
– ShreevatsaR
Feb 10 at 22:52
@ShreevatsaR I'm gonna do this. Just thinking about not paraphrasing too much. Also I want to check how I can modify the nixos derivation/package file so as to complete this operation automatically.
– Stephane Rolland
Feb 11 at 11:38
@ShreevatsaR and StephaneRolland Please write an answer or close this question as off-topic because it was solved in the comments.
– Henri Menke
Feb 12 at 10:34
|
show 1 more comment
Trying my first steps in the Tex world.
I'm trying to achieve the result for : Pandoc Resume, which creates an intermediary tex
file before a convertion to pdf
using mtxrun
.
Unfortunately, I cannot manage to convert the tex
file into a pdf
file.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
It seems to be a fairly old error, dating back to 2011, and the internet resources say to do:
luatools --generate
But despite this operation, I still have the same error.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
I cannot see clearly what's going wrong. So it is not easy to find the solution.
Any insight?
I am using the linux distribution Nixos v18.03
mtxrun is version 1.32 from package: texlive.combined.scheme-context
context pandoc
Trying my first steps in the Tex world.
I'm trying to achieve the result for : Pandoc Resume, which creates an intermediary tex
file before a convertion to pdf
using mtxrun
.
Unfortunately, I cannot manage to convert the tex
file into a pdf
file.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
It seems to be a fairly old error, dating back to 2011, and the internet resources say to do:
luatools --generate
But despite this operation, I still have the same error.
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
I cannot see clearly what's going wrong. So it is not easy to find the solution.
Any insight?
I am using the linux distribution Nixos v18.03
mtxrun is version 1.32 from package: texlive.combined.scheme-context
context pandoc
context pandoc
edited Feb 11 at 2:51
Henri Menke
74.6k8164275
74.6k8164275
asked Feb 10 at 22:22
Stephane RollandStephane Rolland
1416
1416
5
Welcome! What operating system are you using, and what TeX distribution (i.e., how did you install TeX and ConTeXt)? The repo you linked to has instructions for Debian / Ubuntu, Fedora, Arch, and OSX; did you use one of these? Also, at the very end, it suggestsmtxrun --generate
; did you try this?
– ShreevatsaR
Feb 10 at 22:30
I have edited the question: I use Nixos and the texlive.combined.scheme-context ackage. I did not read the very end... And after running this command it solves the problem.
– Stephane Rolland
Feb 10 at 22:47
5
That's great! Please post it as an answer (yes it's ok to answer your own question) and mark it as accepted, so that someone else who has the same problem can find the solution here (instead of whatever you found on the internet).
– ShreevatsaR
Feb 10 at 22:52
@ShreevatsaR I'm gonna do this. Just thinking about not paraphrasing too much. Also I want to check how I can modify the nixos derivation/package file so as to complete this operation automatically.
– Stephane Rolland
Feb 11 at 11:38
@ShreevatsaR and StephaneRolland Please write an answer or close this question as off-topic because it was solved in the comments.
– Henri Menke
Feb 12 at 10:34
|
show 1 more comment
5
Welcome! What operating system are you using, and what TeX distribution (i.e., how did you install TeX and ConTeXt)? The repo you linked to has instructions for Debian / Ubuntu, Fedora, Arch, and OSX; did you use one of these? Also, at the very end, it suggestsmtxrun --generate
; did you try this?
– ShreevatsaR
Feb 10 at 22:30
I have edited the question: I use Nixos and the texlive.combined.scheme-context ackage. I did not read the very end... And after running this command it solves the problem.
– Stephane Rolland
Feb 10 at 22:47
5
That's great! Please post it as an answer (yes it's ok to answer your own question) and mark it as accepted, so that someone else who has the same problem can find the solution here (instead of whatever you found on the internet).
– ShreevatsaR
Feb 10 at 22:52
@ShreevatsaR I'm gonna do this. Just thinking about not paraphrasing too much. Also I want to check how I can modify the nixos derivation/package file so as to complete this operation automatically.
– Stephane Rolland
Feb 11 at 11:38
@ShreevatsaR and StephaneRolland Please write an answer or close this question as off-topic because it was solved in the comments.
– Henri Menke
Feb 12 at 10:34
5
5
Welcome! What operating system are you using, and what TeX distribution (i.e., how did you install TeX and ConTeXt)? The repo you linked to has instructions for Debian / Ubuntu, Fedora, Arch, and OSX; did you use one of these? Also, at the very end, it suggests
mtxrun --generate
; did you try this?– ShreevatsaR
Feb 10 at 22:30
Welcome! What operating system are you using, and what TeX distribution (i.e., how did you install TeX and ConTeXt)? The repo you linked to has instructions for Debian / Ubuntu, Fedora, Arch, and OSX; did you use one of these? Also, at the very end, it suggests
mtxrun --generate
; did you try this?– ShreevatsaR
Feb 10 at 22:30
I have edited the question: I use Nixos and the texlive.combined.scheme-context ackage. I did not read the very end... And after running this command it solves the problem.
– Stephane Rolland
Feb 10 at 22:47
I have edited the question: I use Nixos and the texlive.combined.scheme-context ackage. I did not read the very end... And after running this command it solves the problem.
– Stephane Rolland
Feb 10 at 22:47
5
5
That's great! Please post it as an answer (yes it's ok to answer your own question) and mark it as accepted, so that someone else who has the same problem can find the solution here (instead of whatever you found on the internet).
– ShreevatsaR
Feb 10 at 22:52
That's great! Please post it as an answer (yes it's ok to answer your own question) and mark it as accepted, so that someone else who has the same problem can find the solution here (instead of whatever you found on the internet).
– ShreevatsaR
Feb 10 at 22:52
@ShreevatsaR I'm gonna do this. Just thinking about not paraphrasing too much. Also I want to check how I can modify the nixos derivation/package file so as to complete this operation automatically.
– Stephane Rolland
Feb 11 at 11:38
@ShreevatsaR I'm gonna do this. Just thinking about not paraphrasing too much. Also I want to check how I can modify the nixos derivation/package file so as to complete this operation automatically.
– Stephane Rolland
Feb 11 at 11:38
@ShreevatsaR and StephaneRolland Please write an answer or close this question as off-topic because it was solved in the comments.
– Henri Menke
Feb 12 at 10:34
@ShreevatsaR and StephaneRolland Please write an answer or close this question as off-topic because it was solved in the comments.
– Henri Menke
Feb 12 at 10:34
|
show 1 more comment
1 Answer
1
active
oldest
votes
As suggested at the end of this page, running the command:
mtxrun --generate
solves the problem. Further calls to texlive
now execute successfully.
I am searchin for a way to automatically do this in the nixos
derivation. I'll edit with the result here when I'm done.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f474246%2fwhat-is-the-mtxrun-error-about-context-lua-and-how-to-fix-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As suggested at the end of this page, running the command:
mtxrun --generate
solves the problem. Further calls to texlive
now execute successfully.
I am searchin for a way to automatically do this in the nixos
derivation. I'll edit with the result here when I'm done.
New contributor
add a comment |
As suggested at the end of this page, running the command:
mtxrun --generate
solves the problem. Further calls to texlive
now execute successfully.
I am searchin for a way to automatically do this in the nixos
derivation. I'll edit with the result here when I'm done.
New contributor
add a comment |
As suggested at the end of this page, running the command:
mtxrun --generate
solves the problem. Further calls to texlive
now execute successfully.
I am searchin for a way to automatically do this in the nixos
derivation. I'll edit with the result here when I'm done.
New contributor
As suggested at the end of this page, running the command:
mtxrun --generate
solves the problem. Further calls to texlive
now execute successfully.
I am searchin for a way to automatically do this in the nixos
derivation. I'll edit with the result here when I'm done.
New contributor
New contributor
answered Feb 12 at 12:59
Stephane RollandStephane Rolland
1416
1416
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f474246%2fwhat-is-the-mtxrun-error-about-context-lua-and-how-to-fix-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
5
Welcome! What operating system are you using, and what TeX distribution (i.e., how did you install TeX and ConTeXt)? The repo you linked to has instructions for Debian / Ubuntu, Fedora, Arch, and OSX; did you use one of these? Also, at the very end, it suggests
mtxrun --generate
; did you try this?– ShreevatsaR
Feb 10 at 22:30
I have edited the question: I use Nixos and the texlive.combined.scheme-context ackage. I did not read the very end... And after running this command it solves the problem.
– Stephane Rolland
Feb 10 at 22:47
5
That's great! Please post it as an answer (yes it's ok to answer your own question) and mark it as accepted, so that someone else who has the same problem can find the solution here (instead of whatever you found on the internet).
– ShreevatsaR
Feb 10 at 22:52
@ShreevatsaR I'm gonna do this. Just thinking about not paraphrasing too much. Also I want to check how I can modify the nixos derivation/package file so as to complete this operation automatically.
– Stephane Rolland
Feb 11 at 11:38
@ShreevatsaR and StephaneRolland Please write an answer or close this question as off-topic because it was solved in the comments.
– Henri Menke
Feb 12 at 10:34