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

"latex not found" error on running the plot submodule code snippet in Quick Start #4

Closed
raynol-dsouza opened this issue Jul 29, 2024 · 1 comment

Comments

@raynol-dsouza
Copy link

raynol-dsouza commented Jul 29, 2024

Hello,

I am one of the reviewers for your JOSS submission https://github.com/openjournals/joss-reviews/issues/7013. I installed the package on a fresh conda environment, following your instructions here. When running the code snippet for the plot submodule, I run into the following error:

RuntimeError: Failed to process string with tex because latex could not be found

The error could simply be due to setting "text.usetex": True on line 98 of src/mdcraft/plot/rcparams.py while not including any latex-rendering dependency in the conda recipe. Could you please look into this?

Thank you!

@bbye98
Copy link
Owner

bbye98 commented Jul 29, 2024

Hi! I've went ahead and made the text.usetex parameter use True only when LaTeX is found in commit 4b333c1. This should hopefully resolve the issue.

@bbye98 bbye98 closed this as completed Jul 29, 2024
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