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
How do I make a variable always equal to the result of some calculations?
Several mode to write the symbol of a vector
Would a galaxy be visible from outside, but nearby?
What benefits would be gained by using human laborers instead of drones in deep sea mining?
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
Would a completely good Muggle be able to use a wand?
What does "Its cash flow is deeply negative" mean?
How do scammers retract money, while you can’t?
Multiple labels for a single equation
Complex fractions
Why do airplanes bank sharply to the right after air-to-air refueling?
How to count occurrences of text in a file?
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
Does it take more energy to get to Venus or to Mars?
If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?
What flight has the highest ratio of time difference to flight time?
Is 'diverse range' a pleonastic phrase?
Are there any limitations on attacking while grappling?
Which tube will fit a -(700 x 25c) wheel?
How do I transpose the 1st and -1th levels of an arbitrarily nested array?
How does the Z80 determine which peripheral sent an interrupt?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Is it professional to write unrelated content in an almost-empty email?
Why does standard notation not preserve intervals (visually)
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
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
% Any packages should go here
usepackagegraphicx,natbib
usepackagemathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools
usepackagetikz-cd
usepackageyfonts
usepackagetikz
usepackageurl
usepackagewasysym, stackengine, makebox, graphicx
usetikzlibrarytqft
usepackageyfonts
usepackagehyperref
usepackage[capitalise]cleveref
usepackageurl
usepackagetitlesec
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
begindocument
test
enddocument
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.. usetikzlibrarytqft
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♦ 8 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
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
% Any packages should go here
usepackagegraphicx,natbib
usepackagemathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools
usepackagetikz-cd
usepackageyfonts
usepackagetikz
usepackageurl
usepackagewasysym, stackengine, makebox, graphicx
usetikzlibrarytqft
usepackageyfonts
usepackagehyperref
usepackage[capitalise]cleveref
usepackageurl
usepackagetitlesec
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
begindocument
test
enddocument
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.. usetikzlibrarytqft
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♦ 8 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
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
% Any packages should go here
usepackagegraphicx,natbib
usepackagemathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools
usepackagetikz-cd
usepackageyfonts
usepackagetikz
usepackageurl
usepackagewasysym, stackengine, makebox, graphicx
usetikzlibrarytqft
usepackageyfonts
usepackagehyperref
usepackage[capitalise]cleveref
usepackageurl
usepackagetitlesec
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
begindocument
test
enddocument
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.. usetikzlibrarytqft
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
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
% Any packages should go here
usepackagegraphicx,natbib
usepackagemathrsfs,amsmath,amsfonts,amssymb,amsthm,relsize,geometry,faktor,mathtools,thmtools
usepackagetikz-cd
usepackageyfonts
usepackagetikz
usepackageurl
usepackagewasysym, stackengine, makebox, graphicx
usetikzlibrarytqft
usepackageyfonts
usepackagehyperref
usepackage[capitalise]cleveref
usepackageurl
usepackagetitlesec
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
usepackage[nottoc,notlof,notlot]tocbibind
renewcommandbibnameReferences
begindocument
test
enddocument
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.. usetikzlibrarytqft
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♦ 8 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♦ 8 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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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