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

latexmk does not recognise changes #1123

Closed
cortner opened this issue Jan 19, 2019 · 3 comments
Closed

latexmk does not recognise changes #1123

cortner opened this issue Jan 19, 2019 · 3 comments

Comments

@cortner
Copy link

cortner commented Jan 19, 2019

Note before reading the description: this may appear as a bug with latexmk but it is not - I can use latexmk without problems from Atom.io as well as from the terminal with latexmk -pdf ....

On trying to build a latex project, it regularly happens that latexmk does not recognise that the files have changes and exists with the following message:

Latexmk: This is Latexmk, John Collins, 17 Jan. 2018, version: 4.55.
Latexmk: All targets (proposal.pdf) are up-to-date

Note the time-stamps (only subset of files displayed):

-rw-r--r--@  1 ortner  staff   15936 19 Jan 11:31 proposal.aux
-rw-r--r--@  1 ortner  staff   19238 19 Jan 11:42 proposal.fdb_latexmk
-rw-r--r--@  1 ortner  staff   18126 19 Jan 11:31 proposal.fls
-rw-r--r--@  1 ortner  staff   42750 19 Jan 11:31 proposal.log
-rw-r--r--@  1 ortner  staff     963 19 Jan 11:31 proposal.out
-rw-r--r--@  1 ortner  staff  759226 19 Jan 11:31 proposal.pdf
-rw-r--r--@  1 ortner  staff  402186 19 Jan 11:31 proposal.synctex.gz
-rw-r--r--@  1 ortner  staff    8555 19 Jan 11:42 proposal.tex

Steps to reproduce the behavior: I cannot reproduce consistently. But what typically seems to happen is I run into this problem, I then delete all auxiliary files, then the next build works fine. I then make further changes and the next build runs into the problem described above.

LaTeX Workshop Output [11:51:44] File watcher: responding to change in /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:51:44] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:51:44] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/references-B1.tex [11:51:46] File watcher: responding to change in /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:51:46] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:51:46] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/references-B1.tex [11:52:09] SyncTeX to file /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:52:13] File watcher: responding to change in /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:52:13] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:52:13] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/references-B1.tex [11:52:14] BUILD command invoked. [11:52:14] Found root file by magic comment: /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal.tex [11:52:14] Root file remains unchanged from: /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal.tex. [11:52:14] Building root file: /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal.tex [11:52:14] Build root file /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal.tex [11:52:14] Recipe step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=./,/Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal [11:52:14] Recipe of length 1 finished. [11:52:14] Successfully built /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal.tex [11:52:14] Refresh PDF viewer for /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal.pdf [11:52:14] Preview PDF file: /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/proposal.pdf [11:53:41] File watcher: responding to change in /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:53:41] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/B1.tex [11:53:41] Parsing /Users/ortner/Dropbox/Work/Grants/2019-ERC/case/references-B1.tex

Desktop:

  • OS: OS X 10.14.2
  • VS Code version: 1.30.2
  • Extension version: 5.20.1
@cortner
Copy link
Author

cortner commented Jan 19, 2019

similar / same as #1114?

@James-Yu
Copy link
Owner

Will release the fix shortly.

@cortner
Copy link
Author

cortner commented Jan 19, 2019

ok - thanks, sorry I didn't see the other issue right away.

@cortner cortner closed this as completed Jan 19, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2023
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

2 participants