TeX - LaTeX Asked on August 27, 2021
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
--MiKTeX
---texmfs
---TexStudio
---miktex-portable.cmd
I have now tried 3 workflows
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?
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
Answered by Kai on August 27, 2021
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
Answered by user170109 on August 27, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP