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

include local package in preview_math_template_packages #1403

Open
nikolaibobenko opened this issue Apr 16, 2019 · 2 comments
Open

include local package in preview_math_template_packages #1403

nikolaibobenko opened this issue Apr 16, 2019 · 2 comments

Comments

@nikolaibobenko
Copy link

I am not able to find a satisfactory way to do this, so sorry if this has been asked before.

Is it possible to just give a global path or local relative to the root folder of the project to a .sty file to include it via \usepackage in preview_math_template_packages?

Thanks.

@r-stein
Copy link
Member

r-stein commented Apr 16, 2019

Sorry including local files is currently not possible #1179
We cache the generated thumbnails and reuse them. This will lead to issues if they depend on external files in the current implementation and one has to consider performance problems when changing the implementation.

@nikolaibobenko
Copy link
Author

nikolaibobenko commented Apr 24, 2019

Thanks for the answer.

So the only real way around this is to install the local package so it can to be seen globally or to maintain a copy of the package in the format of preview_math_template_preamble?

The first will probably not work either if changes to the package are introduced, right?

I love the preview feature but this makes it much less usable sadly.

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