Document will compile on TeXworks but not TeXstudio The Next CEO of Stack OverflowTeXworks...
Why has the US not been more assertive in confronting Russia in recent years?
In excess I'm lethal
How to avoid supervisors with prejudiced views?
What flight has the highest ratio of time difference to flight time?
What happens if you roll doubles 3 times then land on "Go to jail?"
Is it possible to search for a directory/file combination?
Calculus II Question
Unreliable Magic - Is it worth it?
If the heap is initialized for security, then why is the stack uninitialized?
What connection does MS Office have to Netscape Navigator?
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
What was the first Unix version to run on a microcomputer?
How do I avoid eval and parse?
What can we do to stop prior company from asking us questions?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
WOW air has ceased operation, can I get my tickets refunded?
How do I make a variable always equal to the result of some calculations?
Can I equip Skullclamp on a creature I am sacrificing?
Won the lottery - how do I keep the money?
Elegant way to replace substring in a regex with optional groups in Python?
How powerful is the invisibility granted by the Gloom Stalker ranger's Umbral Sight feature?
How to safely derail a train during transit?
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
Document will compile on TeXworks but not TeXstudio
The Next CEO of Stack OverflowTeXworks can't compile any .tex documentFigure correctly compiled but TikzEdt gives an errorLaTeX document compile errorFiles won't save unless force is appliedCannot compile my documentTeXShop, “input-files” will not compile (typeset) root fileIncluding the bibliography stops pdf from updatingIs it possible to compile but not showing a part?MikTeX hangs on loading TikZVim-Latex is not compiling
I have a small problem with a document I am trying to compile. The following code will compile in TeXworks without any errors, but bleats about missing packages tqft
, and missing .sty
files for wasysm
, cleveref
, titlesec
and tocbibind
.
My main problem is that I have compiled this before on a different computer, without any problems, and I'm trying to compile it on a different one.
documentclass[12pt,a4paper]{report}
usepackage[latin1]{inputenc}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{graphicx}
% Any packages should go here
usepackage{graphicx,natbib}
usepackage{mathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools}
usepackage{tikz-cd}
usepackage{yfonts}
usepackage{tikz}
usepackage{url}
usepackage{wasysym, stackengine, makebox, graphicx}
usetikzlibrary{tqft}
usepackage{yfonts}
usepackage{hyperref}
usepackage[capitalise]{cleveref}
usepackage{url}
usepackage{titlesec}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
begin{document}
test
end{document}
The errors are all standard "x.sty not found" except for this tqft
error:
Package tikz Error: I did not find the tikz library 'tqft'.
I looked for
file be found in the current texmf trees.. usetikzlibrary{tqft}
I just installed MiKTeX without anything fancy, and then downloaded TeXstudio and tried to compile the document. Are they looking in different places? I have checked on the MiKTeX console, and I have all the relevant packages installed. Using the ctan archive for cleveref
, here, it doesn't even seem to have a style file, so I am out of ideas.
I apologize in advance for the bad formatting in the above example. Thanks for the help!
I think I may have found the problem, but I am not sure. The console is telling me there is "PATH issue" and that the directory
~AppDataLocalProgramsMiKTeX 2.9miktexbinx64
is not in the search path for executables or is in the wrong position of the path. Is there a way to fix this?
I think I may have fixed my own problem - move the texstudio executable to the folder x64, although I'm not sure if this is best practice. I will keep the question up in case there is a better way to do this.
compiling
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have a small problem with a document I am trying to compile. The following code will compile in TeXworks without any errors, but bleats about missing packages tqft
, and missing .sty
files for wasysm
, cleveref
, titlesec
and tocbibind
.
My main problem is that I have compiled this before on a different computer, without any problems, and I'm trying to compile it on a different one.
documentclass[12pt,a4paper]{report}
usepackage[latin1]{inputenc}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{graphicx}
% Any packages should go here
usepackage{graphicx,natbib}
usepackage{mathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools}
usepackage{tikz-cd}
usepackage{yfonts}
usepackage{tikz}
usepackage{url}
usepackage{wasysym, stackengine, makebox, graphicx}
usetikzlibrary{tqft}
usepackage{yfonts}
usepackage{hyperref}
usepackage[capitalise]{cleveref}
usepackage{url}
usepackage{titlesec}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
begin{document}
test
end{document}
The errors are all standard "x.sty not found" except for this tqft
error:
Package tikz Error: I did not find the tikz library 'tqft'.
I looked for
file be found in the current texmf trees.. usetikzlibrary{tqft}
I just installed MiKTeX without anything fancy, and then downloaded TeXstudio and tried to compile the document. Are they looking in different places? I have checked on the MiKTeX console, and I have all the relevant packages installed. Using the ctan archive for cleveref
, here, it doesn't even seem to have a style file, so I am out of ideas.
I apologize in advance for the bad formatting in the above example. Thanks for the help!
I think I may have found the problem, but I am not sure. The console is telling me there is "PATH issue" and that the directory
~AppDataLocalProgramsMiKTeX 2.9miktexbinx64
is not in the search path for executables or is in the wrong position of the path. Is there a way to fix this?
I think I may have fixed my own problem - move the texstudio executable to the folder x64, although I'm not sure if this is best practice. I will keep the question up in case there is a better way to do this.
compiling
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to tex.sx. Off topic: the packagesamsmath
,amsfonts
,amssymb
, andgraphicx
are loaded at the beginning as part of the template, so you don't need (or want) to load them again. Actually, the template doesn't even need to loadamsfonts
because it is automatically loaded byamssymb
. Specifying any of these twice doesn't really hurt, but it's cleaner not to do so, and not all packages have the same safeguards.
– barbara beeton
Feb 28 at 1:40
Avoid moving apps into another since they may have conflicting support files & an update of one can upset the other (one of the reasons windows is now such an abhorrent mass of duplications) you should always use MiKTeX-console packages to update with any missing .sty or other files and resist at all costs downloading yourself from ctan (unless clear that it is NOT listed as supplied by MiKTeX) look at a few package descriptions to see that most are in both Tex Live and MiKTeX. ~~ BOTH one or more MiKTeX Bin folders AND the TeXstudio Binary folder MUST be on system path by using the installers
– KJO
Feb 28 at 2:35
Did you a user or admin or portabel installation of MiKTeX? Did you install windows or windows portabel version of TeXStudio? Please add the complete pathes for MiKTeX and TeXStudio to your question!
– Kurt
Feb 28 at 2:54
add a comment |
I have a small problem with a document I am trying to compile. The following code will compile in TeXworks without any errors, but bleats about missing packages tqft
, and missing .sty
files for wasysm
, cleveref
, titlesec
and tocbibind
.
My main problem is that I have compiled this before on a different computer, without any problems, and I'm trying to compile it on a different one.
documentclass[12pt,a4paper]{report}
usepackage[latin1]{inputenc}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{graphicx}
% Any packages should go here
usepackage{graphicx,natbib}
usepackage{mathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools}
usepackage{tikz-cd}
usepackage{yfonts}
usepackage{tikz}
usepackage{url}
usepackage{wasysym, stackengine, makebox, graphicx}
usetikzlibrary{tqft}
usepackage{yfonts}
usepackage{hyperref}
usepackage[capitalise]{cleveref}
usepackage{url}
usepackage{titlesec}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
begin{document}
test
end{document}
The errors are all standard "x.sty not found" except for this tqft
error:
Package tikz Error: I did not find the tikz library 'tqft'.
I looked for
file be found in the current texmf trees.. usetikzlibrary{tqft}
I just installed MiKTeX without anything fancy, and then downloaded TeXstudio and tried to compile the document. Are they looking in different places? I have checked on the MiKTeX console, and I have all the relevant packages installed. Using the ctan archive for cleveref
, here, it doesn't even seem to have a style file, so I am out of ideas.
I apologize in advance for the bad formatting in the above example. Thanks for the help!
I think I may have found the problem, but I am not sure. The console is telling me there is "PATH issue" and that the directory
~AppDataLocalProgramsMiKTeX 2.9miktexbinx64
is not in the search path for executables or is in the wrong position of the path. Is there a way to fix this?
I think I may have fixed my own problem - move the texstudio executable to the folder x64, although I'm not sure if this is best practice. I will keep the question up in case there is a better way to do this.
compiling
I have a small problem with a document I am trying to compile. The following code will compile in TeXworks without any errors, but bleats about missing packages tqft
, and missing .sty
files for wasysm
, cleveref
, titlesec
and tocbibind
.
My main problem is that I have compiled this before on a different computer, without any problems, and I'm trying to compile it on a different one.
documentclass[12pt,a4paper]{report}
usepackage[latin1]{inputenc}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{graphicx}
% Any packages should go here
usepackage{graphicx,natbib}
usepackage{mathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools}
usepackage{tikz-cd}
usepackage{yfonts}
usepackage{tikz}
usepackage{url}
usepackage{wasysym, stackengine, makebox, graphicx}
usetikzlibrary{tqft}
usepackage{yfonts}
usepackage{hyperref}
usepackage[capitalise]{cleveref}
usepackage{url}
usepackage{titlesec}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
usepackage[nottoc,notlof,notlot]{tocbibind}
renewcommandbibname{References}
begin{document}
test
end{document}
The errors are all standard "x.sty not found" except for this tqft
error:
Package tikz Error: I did not find the tikz library 'tqft'.
I looked for
file be found in the current texmf trees.. usetikzlibrary{tqft}
I just installed MiKTeX without anything fancy, and then downloaded TeXstudio and tried to compile the document. Are they looking in different places? I have checked on the MiKTeX console, and I have all the relevant packages installed. Using the ctan archive for cleveref
, here, it doesn't even seem to have a style file, so I am out of ideas.
I apologize in advance for the bad formatting in the above example. Thanks for the help!
I think I may have found the problem, but I am not sure. The console is telling me there is "PATH issue" and that the directory
~AppDataLocalProgramsMiKTeX 2.9miktexbinx64
is not in the search path for executables or is in the wrong position of the path. Is there a way to fix this?
I think I may have fixed my own problem - move the texstudio executable to the folder x64, although I'm not sure if this is best practice. I will keep the question up in case there is a better way to do this.
compiling
compiling
edited Feb 28 at 3:02
Kurt
40.1k850164
40.1k850164
asked Feb 28 at 1:25
SamSam
11
11
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to tex.sx. Off topic: the packagesamsmath
,amsfonts
,amssymb
, andgraphicx
are loaded at the beginning as part of the template, so you don't need (or want) to load them again. Actually, the template doesn't even need to loadamsfonts
because it is automatically loaded byamssymb
. Specifying any of these twice doesn't really hurt, but it's cleaner not to do so, and not all packages have the same safeguards.
– barbara beeton
Feb 28 at 1:40
Avoid moving apps into another since they may have conflicting support files & an update of one can upset the other (one of the reasons windows is now such an abhorrent mass of duplications) you should always use MiKTeX-console packages to update with any missing .sty or other files and resist at all costs downloading yourself from ctan (unless clear that it is NOT listed as supplied by MiKTeX) look at a few package descriptions to see that most are in both Tex Live and MiKTeX. ~~ BOTH one or more MiKTeX Bin folders AND the TeXstudio Binary folder MUST be on system path by using the installers
– KJO
Feb 28 at 2:35
Did you a user or admin or portabel installation of MiKTeX? Did you install windows or windows portabel version of TeXStudio? Please add the complete pathes for MiKTeX and TeXStudio to your question!
– Kurt
Feb 28 at 2:54
add a comment |
Welcome to tex.sx. Off topic: the packagesamsmath
,amsfonts
,amssymb
, andgraphicx
are loaded at the beginning as part of the template, so you don't need (or want) to load them again. Actually, the template doesn't even need to loadamsfonts
because it is automatically loaded byamssymb
. Specifying any of these twice doesn't really hurt, but it's cleaner not to do so, and not all packages have the same safeguards.
– barbara beeton
Feb 28 at 1:40
Avoid moving apps into another since they may have conflicting support files & an update of one can upset the other (one of the reasons windows is now such an abhorrent mass of duplications) you should always use MiKTeX-console packages to update with any missing .sty or other files and resist at all costs downloading yourself from ctan (unless clear that it is NOT listed as supplied by MiKTeX) look at a few package descriptions to see that most are in both Tex Live and MiKTeX. ~~ BOTH one or more MiKTeX Bin folders AND the TeXstudio Binary folder MUST be on system path by using the installers
– KJO
Feb 28 at 2:35
Did you a user or admin or portabel installation of MiKTeX? Did you install windows or windows portabel version of TeXStudio? Please add the complete pathes for MiKTeX and TeXStudio to your question!
– Kurt
Feb 28 at 2:54
Welcome to tex.sx. Off topic: the packages
amsmath
, amsfonts
, amssymb
, and graphicx
are loaded at the beginning as part of the template, so you don't need (or want) to load them again. Actually, the template doesn't even need to load amsfonts
because it is automatically loaded by amssymb
. Specifying any of these twice doesn't really hurt, but it's cleaner not to do so, and not all packages have the same safeguards.– barbara beeton
Feb 28 at 1:40
Welcome to tex.sx. Off topic: the packages
amsmath
, amsfonts
, amssymb
, and graphicx
are loaded at the beginning as part of the template, so you don't need (or want) to load them again. Actually, the template doesn't even need to load amsfonts
because it is automatically loaded by amssymb
. Specifying any of these twice doesn't really hurt, but it's cleaner not to do so, and not all packages have the same safeguards.– barbara beeton
Feb 28 at 1:40
Avoid moving apps into another since they may have conflicting support files & an update of one can upset the other (one of the reasons windows is now such an abhorrent mass of duplications) you should always use MiKTeX-console packages to update with any missing .sty or other files and resist at all costs downloading yourself from ctan (unless clear that it is NOT listed as supplied by MiKTeX) look at a few package descriptions to see that most are in both Tex Live and MiKTeX. ~~ BOTH one or more MiKTeX Bin folders AND the TeXstudio Binary folder MUST be on system path by using the installers
– KJO
Feb 28 at 2:35
Avoid moving apps into another since they may have conflicting support files & an update of one can upset the other (one of the reasons windows is now such an abhorrent mass of duplications) you should always use MiKTeX-console packages to update with any missing .sty or other files and resist at all costs downloading yourself from ctan (unless clear that it is NOT listed as supplied by MiKTeX) look at a few package descriptions to see that most are in both Tex Live and MiKTeX. ~~ BOTH one or more MiKTeX Bin folders AND the TeXstudio Binary folder MUST be on system path by using the installers
– KJO
Feb 28 at 2:35
Did you a user or admin or portabel installation of MiKTeX? Did you install windows or windows portabel version of TeXStudio? Please add the complete pathes for MiKTeX and TeXStudio to your question!
– Kurt
Feb 28 at 2:54
Did you a user or admin or portabel installation of MiKTeX? Did you install windows or windows portabel version of TeXStudio? Please add the complete pathes for MiKTeX and TeXStudio to your question!
– Kurt
Feb 28 at 2:54
add a comment |
1 Answer
1
active
oldest
votes
If TeXworks can compile a file mwe.tex
then we can say that your MiKTeX installation is working (because TeXworks is part of it).
If TeXStudio can not compile mwe.tex
then the culprit is the installation of TeXStudio.
You should do the installation in the following order (did you?):
- Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.
- Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").
- Important for Windows: Reboot!
- Install TeXStudio. It should recognize the installed MiKTeX and does then an automatic configuration to use the correct path(es) to be able to start compilation via MiKTeX.
- Important for Windows: Reboot!
In your case it seems there was an error in point 4.
- Now check your system and check in which directory TeXStudio has been installed.
- type
path
on your terminal/console to get the actual path displayed. The directory of TeXStudio should appear more or less last in the shown directorys. - Make sure TeXStudio is really in that directory, your moving of the binary was a bad action. Redo it!
- Check the configuration of TeXStudio, could be it has the wrong path to MiKTeX configured ... Correct the path if it is wrong.
If that does not help I suggest to
- deinstall TeXStudio (make sure you deleted the moved part too!),
Reboot and- start installing TeXStudio again (you can try to disconnect to internet, deactivate your anti virus software, install TeXStudio, activate anti virus system, connect to internet).
Reboot!
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%2f477062%2fdocument-will-compile-on-texworks-but-not-texstudio%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
If TeXworks can compile a file mwe.tex
then we can say that your MiKTeX installation is working (because TeXworks is part of it).
If TeXStudio can not compile mwe.tex
then the culprit is the installation of TeXStudio.
You should do the installation in the following order (did you?):
- Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.
- Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").
- Important for Windows: Reboot!
- Install TeXStudio. It should recognize the installed MiKTeX and does then an automatic configuration to use the correct path(es) to be able to start compilation via MiKTeX.
- Important for Windows: Reboot!
In your case it seems there was an error in point 4.
- Now check your system and check in which directory TeXStudio has been installed.
- type
path
on your terminal/console to get the actual path displayed. The directory of TeXStudio should appear more or less last in the shown directorys. - Make sure TeXStudio is really in that directory, your moving of the binary was a bad action. Redo it!
- Check the configuration of TeXStudio, could be it has the wrong path to MiKTeX configured ... Correct the path if it is wrong.
If that does not help I suggest to
- deinstall TeXStudio (make sure you deleted the moved part too!),
Reboot and- start installing TeXStudio again (you can try to disconnect to internet, deactivate your anti virus software, install TeXStudio, activate anti virus system, connect to internet).
Reboot!
add a comment |
If TeXworks can compile a file mwe.tex
then we can say that your MiKTeX installation is working (because TeXworks is part of it).
If TeXStudio can not compile mwe.tex
then the culprit is the installation of TeXStudio.
You should do the installation in the following order (did you?):
- Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.
- Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").
- Important for Windows: Reboot!
- Install TeXStudio. It should recognize the installed MiKTeX and does then an automatic configuration to use the correct path(es) to be able to start compilation via MiKTeX.
- Important for Windows: Reboot!
In your case it seems there was an error in point 4.
- Now check your system and check in which directory TeXStudio has been installed.
- type
path
on your terminal/console to get the actual path displayed. The directory of TeXStudio should appear more or less last in the shown directorys. - Make sure TeXStudio is really in that directory, your moving of the binary was a bad action. Redo it!
- Check the configuration of TeXStudio, could be it has the wrong path to MiKTeX configured ... Correct the path if it is wrong.
If that does not help I suggest to
- deinstall TeXStudio (make sure you deleted the moved part too!),
Reboot and- start installing TeXStudio again (you can try to disconnect to internet, deactivate your anti virus software, install TeXStudio, activate anti virus system, connect to internet).
Reboot!
add a comment |
If TeXworks can compile a file mwe.tex
then we can say that your MiKTeX installation is working (because TeXworks is part of it).
If TeXStudio can not compile mwe.tex
then the culprit is the installation of TeXStudio.
You should do the installation in the following order (did you?):
- Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.
- Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").
- Important for Windows: Reboot!
- Install TeXStudio. It should recognize the installed MiKTeX and does then an automatic configuration to use the correct path(es) to be able to start compilation via MiKTeX.
- Important for Windows: Reboot!
In your case it seems there was an error in point 4.
- Now check your system and check in which directory TeXStudio has been installed.
- type
path
on your terminal/console to get the actual path displayed. The directory of TeXStudio should appear more or less last in the shown directorys. - Make sure TeXStudio is really in that directory, your moving of the binary was a bad action. Redo it!
- Check the configuration of TeXStudio, could be it has the wrong path to MiKTeX configured ... Correct the path if it is wrong.
If that does not help I suggest to
- deinstall TeXStudio (make sure you deleted the moved part too!),
Reboot and- start installing TeXStudio again (you can try to disconnect to internet, deactivate your anti virus software, install TeXStudio, activate anti virus system, connect to internet).
Reboot!
If TeXworks can compile a file mwe.tex
then we can say that your MiKTeX installation is working (because TeXworks is part of it).
If TeXStudio can not compile mwe.tex
then the culprit is the installation of TeXStudio.
You should do the installation in the following order (did you?):
- Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.
- Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").
- Important for Windows: Reboot!
- Install TeXStudio. It should recognize the installed MiKTeX and does then an automatic configuration to use the correct path(es) to be able to start compilation via MiKTeX.
- Important for Windows: Reboot!
In your case it seems there was an error in point 4.
- Now check your system and check in which directory TeXStudio has been installed.
- type
path
on your terminal/console to get the actual path displayed. The directory of TeXStudio should appear more or less last in the shown directorys. - Make sure TeXStudio is really in that directory, your moving of the binary was a bad action. Redo it!
- Check the configuration of TeXStudio, could be it has the wrong path to MiKTeX configured ... Correct the path if it is wrong.
If that does not help I suggest to
- deinstall TeXStudio (make sure you deleted the moved part too!),
Reboot and- start installing TeXStudio again (you can try to disconnect to internet, deactivate your anti virus software, install TeXStudio, activate anti virus system, connect to internet).
Reboot!
edited Feb 28 at 2:50
answered Feb 28 at 2:35
KurtKurt
40.1k850164
40.1k850164
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%2f477062%2fdocument-will-compile-on-texworks-but-not-texstudio%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
Welcome to tex.sx. Off topic: the packages
amsmath
,amsfonts
,amssymb
, andgraphicx
are loaded at the beginning as part of the template, so you don't need (or want) to load them again. Actually, the template doesn't even need to loadamsfonts
because it is automatically loaded byamssymb
. Specifying any of these twice doesn't really hurt, but it's cleaner not to do so, and not all packages have the same safeguards.– barbara beeton
Feb 28 at 1:40
Avoid moving apps into another since they may have conflicting support files & an update of one can upset the other (one of the reasons windows is now such an abhorrent mass of duplications) you should always use MiKTeX-console packages to update with any missing .sty or other files and resist at all costs downloading yourself from ctan (unless clear that it is NOT listed as supplied by MiKTeX) look at a few package descriptions to see that most are in both Tex Live and MiKTeX. ~~ BOTH one or more MiKTeX Bin folders AND the TeXstudio Binary folder MUST be on system path by using the installers
– KJO
Feb 28 at 2:35
Did you a user or admin or portabel installation of MiKTeX? Did you install windows or windows portabel version of TeXStudio? Please add the complete pathes for MiKTeX and TeXStudio to your question!
– Kurt
Feb 28 at 2:54