Is there a way to check from command line whether tex
and other commands belong to MiKTeX or some other distribution (I want to only (require 'tex-mik)
in Emacs initialization if it's needed)?
[Tex/LaTex] Check if TeX installed is MikTeX
emacsmiktex
Best Answer
You can use
pdflatex
for that. If you callpdflatex --version
you get which distribution is used, in my case TeX Live:Or you can use the
latex
command, which works the same.