How can I automatically render LaTex equations between tags?

Discuss the formula editor

How can I automatically render LaTex equations between tags?

Postby zaqwsx170 » Thu Jan 05, 2017 8:19 pm

So I'm interested in trying to render LaTeX equations in an *.odt document that are between tags (arbitrary, but [$] and [/$]).

Currently OoLatex is rendering beautifully when I highlight a LaTeX equation and press the "TexMaths Equation" button, but I have documents with many equations within tags, and it would be extremely convenient if I could press a single button and have all LaTeX mark-up between the tags immediately be rendered.

Any thoughts?

Thanks!
LibreOffice 4.2.8.2, Ubuntu 14.04 LTS.
zaqwsx170
 
Posts: 2
Joined: Thu Jan 05, 2017 8:17 pm

Re: How can I automatically render LaTex equations between t

Postby Villeroy » Thu Jan 05, 2017 9:09 pm

The tool should support multiple selections. Can you select multiple sections and call the macro? Then you can use a regex search to select all parts between the tags.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 25443
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How can I automatically render LaTex equations between t

Postby zaqwsx170 » Thu Jan 05, 2017 11:16 pm

Unfortunately, I cannot select multiple selections and then call the macro. When I try multiple selections then press the "TexMaths Equation" button, instead of automatically rendering the equations,pulls up a blank Latex editor window. When i try using this window to render latex, it merges all of my disjoint highlights into a single big highlight, and replaces everything with the single equation entered in the box.
LibreOffice 4.2.8.2, Ubuntu 14.04 LTS.
zaqwsx170
 
Posts: 2
Joined: Thu Jan 05, 2017 8:17 pm


Return to Math

Who is online

Users browsing this forum: No registered users and 1 guest