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

Prevent texlab from building. #532

Open
AdhTri001 opened this issue Dec 27, 2021 · 2 comments
Open

Prevent texlab from building. #532

AdhTri001 opened this issue Dec 27, 2021 · 2 comments

Comments

@AdhTri001
Copy link

AdhTri001 commented Dec 27, 2021

Hello Sir! I love this project. Tho I found some buggy behavior with the building functionality of the extension so I want to disable it. It fills the directory with artifacts and texlab.auxDirectory and texlab.build.args doesn't seem to help. So I want to disable this functionality and continue with very customizable Code Runner extension. How can I stop the build?

@pfoerster
Copy link
Member

Thanks for the kind words!

So I want to disable this functionality

texlab should not build automatically unless you set texlab.build.onSave to true. For the VSCode extension, you can unbind the latex.build command so it does not trigger a build when you press F5: https://code.visualstudio.com/docs/getstarted/keybindings#_removing-a-specific-key-binding-rule

It fills the directory with artifacts and texlab.auxDirectory and texlab.build.args doesn't seem to help

Have you tried the -outdir=build option of latexmk? You can add it to texlab.build.args and set texlab.auxDirectory to "build". texlab.auxDirectory is "read-only" in the sense that the value is not passed to latexmk. Instead, it is used to find the directory containing the log and aux files.

If you want, you can share your texlab configuration here. Then, I can take a look at it.

@AdhTri001
Copy link
Author

@pfoerster

Have you tried the -outdir=build option of latexmk?

I did it, and failed. I though maybe some of the settings are clashed or something. I tried ./artifacts in both args and auxDirectory. Idk why it didn't worked, BUT when I added full path to build folder like C:/path/to/artifacts it created the folder but no artifacts. I somehow managed to stop the build functionality by removing latexmk as build command.

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