I'm trying to use
latexmk -c (or
latexmk -C) to clean a directory, but when I run any of these two commands, I get the following:
Latexmk: This is Latexmk, John Collins, 21 May 2019, version: 4.64a. Latexmk: Disallowing switch of output file as incompatible with file requests.
The "Disallowing switch..." message seems to be related to the
latexmk -c -pdf), the message disappears, and there are no visible effects on the amount of deleted files.
I have a
main.tex which contains Beamer code, and when I run
latexmk -pdf main.tex, the following files are produced (besides
main.fdb_latexmk main.fls main.log main.nav main.out main.snm main.toc main.vrb
If I run
latexmk -c, most of the files are cleaned, but the following remain:
main.nav main.snm main.vrb
How can I remove these Beamer-related files using latexmk?