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 -task fails consistently / Current Latex File is OK #9

Closed
hhakula opened this issue Apr 12, 2022 · 2 comments
Closed

latexmk -task fails consistently / Current Latex File is OK #9

hhakula opened this issue Apr 12, 2022 · 2 comments

Comments

@hhakula
Copy link

hhakula commented Apr 12, 2022

Here is the error message:
Could not run “latexmk”.
The extension assistant with identifier “org.flyx.tex::org.flyx.tex.latex.tasks” failed to resolve the action.

I have set the main file via the standard interface. Adding or removing latexmk options does not affect the behaviour.
If I use the Current Latex File -option, everything works just fine. I have projects with deep hierarchies and hence I'd love to see that option working again.

Nova is 9.2. I have a global latexmkrc. (This was the way I used the extension before the latest upgrade. I do appreciate your work!)

@flyx
Copy link
Owner

flyx commented Apr 12, 2022

Can reproduce. Reason not immediately obvious.

The problem might be this line where the generated task contains a call to a registered command. This works for autogenerated tasks but might not for resolved tasks. The Nova docs are not very precise about this sadly.

I need to take this to the devforum. In the meantime, a workaround may be to have a local latexmkrc file that sets @default_files. This will autogenerate a task for every file given in there (files currently need to be given with .tex extension even though latexmk doesn't require this, WIP).

@flyx flyx closed this as completed in 1ed4fa9 Apr 12, 2022
@flyx
Copy link
Owner

flyx commented Apr 12, 2022

Submitted updated version which should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants