latex rendering fails when escaped characters are used such as "\t" "\n"

0 votes
asked Mar 21, 2017 in To be sorted by stephan (270 points)

Dear PlantUML-team

I was able to set up the latex support, however stumbled upon a surprising behaviour. The following lines as well as every other line I tried which includes a "\t" or "\n" do not render

() theta as "<latex>\theta</latex>"

() nu as "<latex>\nu</latex>"

My guess is that "\t" is also known as the tab character and "\n" as newline and this somehow causes the unexpected behaviour.

So there also may be other characters which similarly hinder the rendering to complete correctly.

Thanks in advance and backwards for all the effort you put into this,




commented Mar 21, 2017 by stephan (270 points)
"\left" and "\right" also don't work. E.g.

(math) as "<latex>\left( x^2 \right)</latex>"

will show text instead of formula, leaving out the l of left and r of right.

1 Answer

0 votes
answered Mar 23, 2017 by plantuml (295,000 points)
Thanks for your tests! It really help.

This is fixed in last beta5