MikTeX + TeXstudio Portable












0















I have a new problem. I would like to use MikTeX and TeXstudio as portable version. But I have a problem and you can help me with Stutkur



-Latex
--Miketex
---texmfs
---TexStudio
---miktex-portable.cmd


I have now tried 3 workflows




  1. miktex-portable.cmd -> open MikeTex Terminal -> Comand "TexStudioTexstudio.exe"
    Works great

  2. added the line "TexStudioTexstudio.exe" to miktex-portable.cmd
    Texstudio cannot compile

  3. miktex-portable.cmd -> open cmd -> Comand "TexStudioTexstudio.exe"
    Texstudio cannot compile


I don't see any difference in the TeXstudio settings and the parameters of the MikTeX-Terminal I don't find either.
The aim is to start both programs via a .CMD so that they work.
Can someone please give me a solution?










share|improve this question





























    0















    I have a new problem. I would like to use MikTeX and TeXstudio as portable version. But I have a problem and you can help me with Stutkur



    -Latex
    --Miketex
    ---texmfs
    ---TexStudio
    ---miktex-portable.cmd


    I have now tried 3 workflows




    1. miktex-portable.cmd -> open MikeTex Terminal -> Comand "TexStudioTexstudio.exe"
      Works great

    2. added the line "TexStudioTexstudio.exe" to miktex-portable.cmd
      Texstudio cannot compile

    3. miktex-portable.cmd -> open cmd -> Comand "TexStudioTexstudio.exe"
      Texstudio cannot compile


    I don't see any difference in the TeXstudio settings and the parameters of the MikTeX-Terminal I don't find either.
    The aim is to start both programs via a .CMD so that they work.
    Can someone please give me a solution?










    share|improve this question



























      0












      0








      0








      I have a new problem. I would like to use MikTeX and TeXstudio as portable version. But I have a problem and you can help me with Stutkur



      -Latex
      --Miketex
      ---texmfs
      ---TexStudio
      ---miktex-portable.cmd


      I have now tried 3 workflows




      1. miktex-portable.cmd -> open MikeTex Terminal -> Comand "TexStudioTexstudio.exe"
        Works great

      2. added the line "TexStudioTexstudio.exe" to miktex-portable.cmd
        Texstudio cannot compile

      3. miktex-portable.cmd -> open cmd -> Comand "TexStudioTexstudio.exe"
        Texstudio cannot compile


      I don't see any difference in the TeXstudio settings and the parameters of the MikTeX-Terminal I don't find either.
      The aim is to start both programs via a .CMD so that they work.
      Can someone please give me a solution?










      share|improve this question
















      I have a new problem. I would like to use MikTeX and TeXstudio as portable version. But I have a problem and you can help me with Stutkur



      -Latex
      --Miketex
      ---texmfs
      ---TexStudio
      ---miktex-portable.cmd


      I have now tried 3 workflows




      1. miktex-portable.cmd -> open MikeTex Terminal -> Comand "TexStudioTexstudio.exe"
        Works great

      2. added the line "TexStudioTexstudio.exe" to miktex-portable.cmd
        Texstudio cannot compile

      3. miktex-portable.cmd -> open cmd -> Comand "TexStudioTexstudio.exe"
        Texstudio cannot compile


      I don't see any difference in the TeXstudio settings and the parameters of the MikTeX-Terminal I don't find either.
      The aim is to start both programs via a .CMD so that they work.
      Can someone please give me a solution?







      miktex texstudio portability






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 19 at 18:15









      Sigur

      25.6k456139




      25.6k456139










      asked Feb 19 at 13:28









      KaiKai

      284




      284






















          2 Answers
          2






          active

          oldest

          votes


















          0














          It is important that the path is set for Texstudio with "set PATH".



          The CMD is as follows
          setlocal



          start "" "%~d0%~p0MikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps

          set PATH=%~d0%~p0MikTextexmfsinstallmiktex/bin;%PATH%

          start "" "%~d0%~p0miktexTexStudiotexstudio.exe"

          endlocal


          The structure is as follows



          Latex
          -00Template
          -MikTex
          --TexStudio
          --texmfs
          -00Start.cmd





          share|improve this answer































            0














            It is safer and more conventional to run from anywhere on the same drive



            set PATH=%~d0LatexMikTextexmfsinstallmiktexbin;%PATH%  
            %~d0LatexMikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps
            rem pause
            %~d0LatexMikTexTexStudiotexstudio.exe "%1"


            Differences are the %1 allows you to drag and drop a tex file onto the cmd where the path is set prior to running the console,



            you may also want to add the pause between console and calling TeXstudio so you can do updates without TeXstudio locking out MiKTeX from updating / downloading critical files






            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%2f475654%2fmiktex-texstudio-portable%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              It is important that the path is set for Texstudio with "set PATH".



              The CMD is as follows
              setlocal



              start "" "%~d0%~p0MikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps

              set PATH=%~d0%~p0MikTextexmfsinstallmiktex/bin;%PATH%

              start "" "%~d0%~p0miktexTexStudiotexstudio.exe"

              endlocal


              The structure is as follows



              Latex
              -00Template
              -MikTex
              --TexStudio
              --texmfs
              -00Start.cmd





              share|improve this answer




























                0














                It is important that the path is set for Texstudio with "set PATH".



                The CMD is as follows
                setlocal



                start "" "%~d0%~p0MikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps

                set PATH=%~d0%~p0MikTextexmfsinstallmiktex/bin;%PATH%

                start "" "%~d0%~p0miktexTexStudiotexstudio.exe"

                endlocal


                The structure is as follows



                Latex
                -00Template
                -MikTex
                --TexStudio
                --texmfs
                -00Start.cmd





                share|improve this answer


























                  0












                  0








                  0







                  It is important that the path is set for Texstudio with "set PATH".



                  The CMD is as follows
                  setlocal



                  start "" "%~d0%~p0MikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps

                  set PATH=%~d0%~p0MikTextexmfsinstallmiktex/bin;%PATH%

                  start "" "%~d0%~p0miktexTexStudiotexstudio.exe"

                  endlocal


                  The structure is as follows



                  Latex
                  -00Template
                  -MikTex
                  --TexStudio
                  --texmfs
                  -00Start.cmd





                  share|improve this answer













                  It is important that the path is set for Texstudio with "set PATH".



                  The CMD is as follows
                  setlocal



                  start "" "%~d0%~p0MikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps

                  set PATH=%~d0%~p0MikTextexmfsinstallmiktex/bin;%PATH%

                  start "" "%~d0%~p0miktexTexStudiotexstudio.exe"

                  endlocal


                  The structure is as follows



                  Latex
                  -00Template
                  -MikTex
                  --TexStudio
                  --texmfs
                  -00Start.cmd






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 19 at 16:28









                  KaiKai

                  284




                  284























                      0














                      It is safer and more conventional to run from anywhere on the same drive



                      set PATH=%~d0LatexMikTextexmfsinstallmiktexbin;%PATH%  
                      %~d0LatexMikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps
                      rem pause
                      %~d0LatexMikTexTexStudiotexstudio.exe "%1"


                      Differences are the %1 allows you to drag and drop a tex file onto the cmd where the path is set prior to running the console,



                      you may also want to add the pause between console and calling TeXstudio so you can do updates without TeXstudio locking out MiKTeX from updating / downloading critical files






                      share|improve this answer






























                        0














                        It is safer and more conventional to run from anywhere on the same drive



                        set PATH=%~d0LatexMikTextexmfsinstallmiktexbin;%PATH%  
                        %~d0LatexMikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps
                        rem pause
                        %~d0LatexMikTexTexStudiotexstudio.exe "%1"


                        Differences are the %1 allows you to drag and drop a tex file onto the cmd where the path is set prior to running the console,



                        you may also want to add the pause between console and calling TeXstudio so you can do updates without TeXstudio locking out MiKTeX from updating / downloading critical files






                        share|improve this answer




























                          0












                          0








                          0







                          It is safer and more conventional to run from anywhere on the same drive



                          set PATH=%~d0LatexMikTextexmfsinstallmiktexbin;%PATH%  
                          %~d0LatexMikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps
                          rem pause
                          %~d0LatexMikTexTexStudiotexstudio.exe "%1"


                          Differences are the %1 allows you to drag and drop a tex file onto the cmd where the path is set prior to running the console,



                          you may also want to add the pause between console and calling TeXstudio so you can do updates without TeXstudio locking out MiKTeX from updating / downloading critical files






                          share|improve this answer















                          It is safer and more conventional to run from anywhere on the same drive



                          set PATH=%~d0LatexMikTextexmfsinstallmiktexbin;%PATH%  
                          %~d0LatexMikTextexmfsinstallmiktexbinmiktex-console.exe" --hide --mkmaps
                          rem pause
                          %~d0LatexMikTexTexStudiotexstudio.exe "%1"


                          Differences are the %1 allows you to drag and drop a tex file onto the cmd where the path is set prior to running the console,



                          you may also want to add the pause between console and calling TeXstudio so you can do updates without TeXstudio locking out MiKTeX from updating / downloading critical files







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Feb 19 at 18:13

























                          answered Feb 19 at 17:39









                          KJOKJO

                          2,6641119




                          2,6641119






























                              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%2f475654%2fmiktex-texstudio-portable%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

                              How to change which sound is reproduced for terminal bell?

                              Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                              Can I use Tabulator js library in my java Spring + Thymeleaf project?