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

TL2017: latexmk no longer detects autocompiled gabc files as dependencies. #1367

Closed
henryso opened this issue Jun 18, 2017 · 1 comment
Closed
Assignees
Milestone

Comments

@henryso
Copy link
Contributor

henryso commented Jun 18, 2017

Prior to TL2017, we opened autocompiled gabc files in Lua so that latexmk could detect that the autocompiled gabc files were dependencies of the final output. The gabc would be recorded in the .fls file, and changing a gabc file would cause latexmk to rebuild the pdf. This no longer works in TL2017. This technique does not record the gabc in the .fls file. I tried using an \openin technique to do it in TeX, but, though the file is then recorded in the .fls file, it is still not detected as a dependency of the output.

@henryso
Copy link
Contributor Author

henryso commented Jun 18, 2017

OK, the above statement is not exactly correct. I was using touch to mark a file newer, but apparently the new latexmk has some other way of detecting a change. Once I add the \openin so that the gabc file is recorded in the .fls files, as long as one of the dependent gabc files is changed materially (more than just timestamp), latexmk will work properly. I will do some more testing prepare a pull request. I think this should go against 5.0, since there is no change to the executable.

@henryso henryso self-assigned this Jun 19, 2017
@henryso henryso added this to the 5.0.3 milestone Jun 19, 2017
@henryso henryso closed this as completed Sep 7, 2017
rpspringuel added a commit to rpspringuel/gregorio that referenced this issue Nov 26, 2017
* release-5.0:
  Remove note about luaotfload bug
  Prevented the change of \gre@diment@lastglyphwidth by a custos alteration. Fixes gregorio-project#1379.
  Added note about package ordering as related to microtype. Fixes gregorio-project#1364.
  Switched to tex.sprint since it's not the last tex print call in the function.
  Opened auto-compiled gabc files in TeX so opening is recorded correctly. Fixes gregorio-project#1367.
  Update references to gna.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant