atom-latex icon indicating copy to clipboard operation
atom-latex copied to clipboard

DiCy builder didn't work

Open m0nhawk opened this issue 7 years ago • 14 comments

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}

m0nhawk avatar Apr 26 '18 21:04 m0nhawk

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?

yitzchak avatar Apr 27 '18 00:04 yitzchak

It's the file I included. I don't have any \input or \include.

m0nhawk avatar Apr 27 '18 06:04 m0nhawk

The build rule is referring to ysc.tex. Was main source file renamed?

yitzchak avatar Apr 27 '18 09:04 yitzchak

Yes, I was renaming the main (and only) source file.

Though, I still have the same error:

error

m0nhawk avatar Apr 27 '18 13:04 m0nhawk

Try deleting any cache files *-cache.yaml and then restart Atom.

yitzchak avatar Apr 27 '18 14:04 yitzchak

I narrowed it down to the following:

  1. Built some document.
  2. Rename current or create a new document in the same folder.
  3. It won't build anymore, until you remove *-cache.yaml and restart Atom.

m0nhawk avatar Apr 27 '18 21:04 m0nhawk

Is there any fix for this?

Removing cache files and restarting Atom every time I need to built the file is unbearable...

m0nhawk avatar May 12 '18 13:05 m0nhawk

Is it happening other than when you rename the main source file? You can also try doing a "Rebuild".

yitzchak avatar May 12 '18 14:05 yitzchak

"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.

m0nhawk avatar May 12 '18 15:05 m0nhawk

I am experiencing the same issue, though in my case, the rename happened before I even built it.

Evpok avatar May 29 '18 14:05 Evpok

This issue has been marked as stale because due to inactivity. It will be closed in 7 days if no further activity occurs.

stale[bot] avatar Jun 28 '18 15:06 stale[bot]

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}

Exr0n avatar Dec 11 '19 05:12 Exr0n

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

scmartin avatar Mar 31 '20 03:03 scmartin

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.

MPenaR avatar Apr 29 '20 18:04 MPenaR