Home > Net >  install portable MiKTeX in idea with TeXiFy Plugin
install portable MiKTeX in idea with TeXiFy Plugin

Time:03-06

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.

CodePudding user response:

TeXiFy dev here. You probably need to configure a LaTeX SDK.

  1. Open the project settings (Ctrl Shift Alt S).
  2. Go to the SDK tab.
  3. Click the plus on the top left and select Add MiKTeX Windows SDK.
  4. Select the path to your portable MiKTeX, this probably ends with something like MiKTeX 2.9 (depending on your current MiKTeX version).
  5. Select the SDK in the Project tab (still in the project settings).
  6. In your run configuration select Use project SDK for LaTeX Distribution.
  7. Select a compiler in the 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.

  • Related