antononcube / WL-MermaidJS-paclet

Wolfram Language (aka Mathematica) paclet for obtaining Mermaid-JS images and graphics.
https://resources.wolframcloud.com/PacletRepository/resources/AntonAntonov/MermaidJS/
MIT License
3 stars 2 forks source link

"Prolog" option duality #2

Closed gdelfino closed 6 months ago

gdelfino commented 6 months ago

I use Linux with bash. So the hardcoded default "Prolog"->"~.zshrc" doesn't work well for me. Also, in order to have a nodejs that is not too old, I installed a fresh nodejs using nvm. In order for this to be recognized, I have found that I can provide a "Prolog" -> "source ~/.nvm/nvm.sh" option. The problem is that "Prolog" is also an option for Graphics so when I generate a diagram in "PDF" format, the option is also sent to the resulting Graphic resulting in a error.

antononcube commented 6 months ago

Thank you for your interest in this paclet! I will review and test your proposed changes and submit a new paclet version soon.

antononcube commented 6 months ago

This issue should be fixed in the version 1.0.5 of the paclet.