Open scks1 opened 1 year ago
Even though you have kpathsea
, it doesn't come with the source header files (kpathsea/kpathsea.h
) by default. I believe installing libkpathsea-dev
will resolve your issue:
apt install -y libkpathsea-dev
You may be interested in my fork of tikzjax
, where I've created a reproducible Docker container that resolves many of the build issues with the current version.
Technically, this is an issue with web2js, but it's important enough that I feel I should mention it here as it may help make your installation instructions clearer, which would benefit any Obsidian users who are trying to use LaTeX. I'm currently trying to set up the version of this plugin that allows me to add my own LaTeX packages. I cloned the ww-modifications branch of web2js, and attempted to npm install, but I was stopped in my tracks by the following error message:
The error is the same whether I enter this command or 'npm install' in the same web2js folder. My version of TeX includes kpathsea, so I don't understand what is going wrong. This message comes after I updated package.json to pull the appropriate version of node-kpathsea from Github. I'm at a loss for what to do at this point, since I am not experienced with node at all, so I would greatly appreciate some help. I apologize if there is an issue with asking about a dependency, but again, I think it would be useful if information about this could appear in the README and I wasn't sure whether it was appropriate to raise this issue on the web2js project.