Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable pdflatex.fls file gerneration #189

Closed
sth4nth opened this issue Jul 12, 2017 · 3 comments
Closed

Disable pdflatex.fls file gerneration #189

sth4nth opened this issue Jul 12, 2017 · 3 comments

Comments

@sth4nth
Copy link

sth4nth commented Jul 12, 2017

When working with large tex file, the building time is often longer than the interval of hitting ctrl-s. It seems that every time I hit ctrl-s while last build hasn't finish yet, latexmk will generate a pdflatex**.fls file. After a while, my dir accumulates a large amount of such files.

How do I disable the pdflatex.fls file generation. I highly suggest disable this feature in default setting.

@James-Yu
Copy link
Owner

This is a latexmk issue. We do not develop that.

Though there is a simple workaround. You can add a new step in your toolchain, which executes rm pdflatex*.fls (in linux) after all latex-related command. So the extension will execute this command after latexmk, which deletes all matching files.

@nicholashanoian
Copy link

Where exactly would I add this command to implement this workaround?

@jwu277
Copy link

jwu277 commented Jan 16, 2020

You could write a bash script to compile your .tex files. In this case, simply add rm pdflatex*.fls e.g.

latexmk -pdf
rm pdflatex*.fls

Repository owner locked as resolved and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants