How can I configure MiKTeX portable in idea with TeXiFy plugin?
I tried to setup a build configuration, but the compiler is not found. MiKTeX is not in the compiler list and pdfLatex is not found. A custom compiler is not working, I can not select the MiKTeX folder as compiler folder.
The host system is running windows.
TeXiFy dev here. You probably need to configure a LaTeX SDK.
Add MiKTeX Windows SDK
.miktex-portable\texmfs\install
.Use project SDK
for LaTeX Distribution
.Compiler
dropdown at the top of the run configuration.I suppose TeXiFy doesn't automatically recognise portable TeX distributions and it's also not added to your path (I guess because what would happen when you disconnect the portable device?), and that's why you have to add it yourself.
If the above doesn't work, it should always be possible to select a custom compiler in the run configuration, using the Select custom compiler executable path
and specifying the path to your pdflatex.exe
. Note that you have to specify a specific compiler here, not the parent (MiKTeX) folder.
For any problems with TeXiFy in the future I recommend you check the wiki or open a discussion. We're more than happy to help, but not very likely to stumble upon SO questions.