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

What is the result of assigning to std::vector<T>::begin()?

How did the Bene Gesserit know how to make a Kwisatz Haderach?

Unreliable Magic - Is it worth it?

Why am I allowed to create multiple unique pointers from a single object?

Is 'diverse range' a pleonastic phrase?

Why do professional authors make "consistency" mistakes? And how to avoid them?

Can you replace a racial trait cantrip when leveling up?

Bold, vivid family

What was the first Unix version to run on a microcomputer?

Preparing Indesign booklet with .psd graphics for print

Is there a difference between "Fahrstuhl" and "Aufzug"

Novel about a guy who is possessed by the divine essence and the world ends?

How to safely derail a train during transit?

Anatomically Correct Strange Women In Ponds Distributing Swords

How do scammers retract money, while you can’t?

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

Can we say or write : "No, it'sn't"?

Can I equip Skullclamp on a creature I am sacrificing?

Can I run my washing machine drain line into a condensate pump so it drains better?

To not tell, not take, and not want

Should I tutor a student who I know has cheated on their homework?

Why didn't Khan get resurrected in the Genesis Explosion?

Is there a way to save my career from absolute disaster?

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?



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










0















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.










share|improve this question
















bumped to the homepage by Community 11 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 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











  • 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
















0















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.










share|improve this question
















bumped to the homepage by Community 11 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 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











  • 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














0












0








0








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 11 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 11 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 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











  • 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











  • 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











1 Answer
1






active

oldest

votes


















0














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?):



  1. Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.

  2. Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").

  3. Important for Windows: Reboot!

  4. 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.

  5. 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!





share|improve this answer

























    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    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?):



    1. Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.

    2. Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").

    3. Important for Windows: Reboot!

    4. 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.

    5. 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!





    share|improve this answer





























      0














      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?):



      1. Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.

      2. Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").

      3. Important for Windows: Reboot!

      4. 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.

      5. 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!





      share|improve this answer



























        0












        0








        0







        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?):



        1. Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.

        2. Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").

        3. Important for Windows: Reboot!

        4. 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.

        5. 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!





        share|improve this answer















        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?):



        1. Install MiKTeX with installer from Homepage. Better use complete MiKTeX (netinstaller) than Basic MiKTeX.

        2. Because the installer is usually based on an older version update all packages with package manager (click in the MiKTeX Console on "Packages").

        3. Important for Windows: Reboot!

        4. 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.

        5. 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!






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 28 at 2:50

























        answered Feb 28 at 2:35









        KurtKurt

        40.1k850164




        40.1k850164



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

            Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

            Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm