Re: Maven plugin and Math
Posted by Alvis on
URL: https://discuss.asciidoctor.org/Maven-plugin-and-Math-tp3895p8236.html
Hi, im sorry to revive this old thread, but I'm tryinh to generate PDFs, så the stem attribute won't work for me.
I tried to add MathJax as dependency:
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>mathjax</artifactId>
<version>3.0.5</version>
</dependency>
I also tried to add a require-section:
<requires>
<require>mathjax</require>
</requires>
This is where it stops tho. I don't know where to go from here to tell maven to load it. When I run this in maven, I get the following:
Execution generate-pdf-doc of goal org.asciidoctor:asciidoctor-maven-plugin:2.0.0:process-asciidoc failed: (LoadError) no such file to load -- mathjax
Regards,
Kristian