-
Notifications
You must be signed in to change notification settings - Fork 96
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
include mermaid graph in latexpdf #73
Comments
make latexpdf
Have you installed https://github.com/mermaid-js/mermaid-cli? In my logs I've found an error related to a missing command. If you don't want to install the command but use the dockerized version this script can help; save it and point to it with the #!/bin/bash
in=$2
out=$4
wd=$(realpath $(pwd))
out=${out#$wd}
outdir=$(dirname $out)
infile=$(basename $in)
cp $in .$outdir/$infile
docker run --rm -v $wd:/wd -u $(id -u) minlag/mermaid-cli -i /wd$outdir/$infile -o /wd${out} |
In windows,when you type D:\Software\node\mmdc
D:\Software\node\mmdc.cmd so you should add |
As mentioned here, you can alternatively replace |
With this simple test
look's like the SVG is not added to the tex file::
The text was updated successfully, but these errors were encountered: