asciidoctor / asciidoctor-fopub

A portable DocBook-to-PDF build command that wraps DocBook XSL and Apache FOP
MIT License
113 stars 37 forks source link

How to enable Russian Cyrillic letters in MathML? #59

Closed kenaken closed 8 years ago

kenaken commented 8 years ago

I want to use Russian Cyrillic letters in [asciimath] blocks. How can I enable rendering it asciidoctor-fopub? All I found was this: http://jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-ive2.html

mojavelinux commented 8 years ago

Could you provide an example of the formula you are trying to use?

What I recommend is just entering the Unicode glyph directly.

:stem: asciimath

[stem]
++++
text(Память: )M_(доп)(n) = Theta(N)
++++

Then run:

asciidoctor -b docbook document.adoc

I have noticed, however, that this causes asciimath to choke. You should raise that issue in https://github.com/pepijnve/asciimath.

kenaken commented 8 years ago

This issue resolved in asciimath

https://github.com/pepijnve/asciimath/issues/2

mojavelinux commented 8 years ago

:+1: