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

I can not use the latexmath macro in JavaDoc. #89

Open
diguage opened this issue Jul 14, 2018 · 1 comment
Open

I can not use the latexmath macro in JavaDoc. #89

diguage opened this issue Jul 14, 2018 · 1 comment

Comments

@diguage
Copy link

diguage commented Jul 14, 2018

I want to write a mathematical formula in JavaDoc. I writed it as following

The overall run time complexity should be latexmath:[O(log(m+n))].

And, I set the attribute as following:

<additionalparam>
    --base-dir ${project.basedir}

    --attribute "stem=latexmath"

    --attribute "name=${project.name}"
    --attribute "version=${project.version}"
</additionalparam>

But, it did not generate the formula:

The overall run time complexity should be \(O(log(m+n))\).

It seems to be no import JavaScript Library.

@johncarl81
Copy link
Member

You should be able to import the library using the -r option, like so:

<additionalparam>
    ....
    -r asciidoctor-diagram
</additionalparam>

But I'm unable to get this to work successfully - I can't seem to install the ruby gem.

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