Hello,
i just switched from windows to mac os and installed st2 to compile a latex document.
When i’m compiling my main file “main.tex” (cmd+b), the compilation works fine and opens the SKIM pdf viewer. When i’m compiling my secondary file “secondary.tex”, the compilation works and creates an updated PDF but the SKIM viewer fails to open.
What could be the reason ? How can i fix this ?
Thanks in advance!
-Mika
SOLUTION:
Another ST2 Latex package was conflicting with Latextools.
After a clean reinstall of everything, it worked again!
Here are both files:
main.tex:
\documentclass]{article}
\begin{document}
\section{Hello World}
This is the primary file!
\input{secondary.tex}
\end{document}
secondary.tex:
%!TEX root = main.tex
Hello, this is the secondary file!