asciidoctor / asciidoctor-mathematical

An extension for Asciidoctor that converts the content of STEM blocks and inline macros using Mathematical.
MIT License
50 stars 45 forks source link

Incorrectly render latin symbols or something #126

Open atwiriye opened 6 months ago

atwiriye commented 6 months ago

Hello! Im using asciidoctor official docker image (latest) and get some inline render issue:

image

asciidoctor -r asciidoctor-mathematical -a mathematical-format=svg -a mathematical-inline=true -r asciidoctor-diagram $ADOC_DIR/index.adoc -o $WWW_DIR/index.html -a imagesoutdir=$WWW_DIR

While converting to PDF format, everything is processed correctly:

image

asciidoctor-pdf -r asciidoctor-mathematical -a mathematical-format=svg -r asciidoctor-diagram $ADOC_DIR/index.adoc -o $PDF_DIR/index.pdf

ASCII code:

image

Can anyone suggest something to try and fix this?