atom-latex
atom-latex copied to clipboard
DiCy builder didn't work
I get the following error on any file:
[CheckForMissingBuildRule(build;finalize;;ysc.tex)] No applicable build rule was found for main source file `presentation.tex`.
Example of file:
\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\begin{document}
\end{document}
Thanks for reporting the issue!
I am not able to reproduce with the example that you have given. It looks like DiCy thinks that presentation.tex is a main source file. How is that file being included?
It's the file I included. I don't have any \input or \include.
The build rule is referring to ysc.tex. Was main source file renamed?
Yes, I was renaming the main (and only) source file.
Though, I still have the same error:

Try deleting any cache files *-cache.yaml and then restart Atom.
I narrowed it down to the following:
- Built some document.
- Rename current or create a new document in the same folder.
- It won't build anymore, until you remove
*-cache.yamland restart Atom.
Is there any fix for this?
Removing cache files and restarting Atom every time I need to built the file is unbearable...
Is it happening other than when you rename the main source file? You can also try doing a "Rebuild".
"Rebuild" doesn't help for me.
This time I changed:
%!TeX engine = pdflatex
to
%!TeX engine = xelatex
I'm still wonder where it stores the cache, as it doesn't work after Atom restart and *-cache.yaml removal.
I am experiencing the same issue, though in my case, the rename happened before I even built it.
This issue has been marked as stale because due to inactivity. It will be closed in 7 days if no further activity occurs.
It's been a while since anything happened here, and I am having the same problem. Are there any known fixes or workarounds?
MacOS 10.15.1 Atom 1.41.0 x64
Electron 4.2.7 Chrome 69.0.3497.128 Node v10.11.0 LaTeX 0.50.2
File final.tex:
\begin{document}
x
\end{document}
Seeing a similar issue. The file builds fine in TexWorks, but I get the error mentioned above when trying to build with Atom-latex. I even see this for a fresh build for a file which I have never built before, and only have the .tex document that another person sent me.
Windows 10.1903 Atom 1.45.0 x64
Not sure how is it working, I was having the same issue, my solution was to go to preferences,
uncheck use DiCy, try to compile it (it won't work with latexmk), check use DiCy again and problem solved.