Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

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

0 votes

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,

best,

Stephan

 

asked Mar 21 by stephan (390 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
Thanks for your tests! It really help.

This is fixed in last beta5 https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
answered Mar 23 by plantuml (126,850 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...