You are here: Home Extensions TexMaths

TexMaths

TexMaths, a LaTeX equation editor for LibreOffice

Project Description

TexMaths

TexMaths is an addon designed to provide LaTeX support into LibreOffice.
LaTeX equations can be inserted as images (SVG or PNG formats) and the LaTeX code is saved into the image attribute for further editing.
To insert your first equation into a document, simply type a LaTex math instruction in the text field of the TexMaths Equations window and then click on the LaTeX button.
Ex: x(t) = \mu ^2 (t) should produce the equation x(t)=µ²(t)

Self-Certification

[X] Internationalized

[ ] Unit tests

[X] End-user documentation

[X] Internal documentation (documentation, interfaces, etc.)

[ ] Existed and maintained for at least 6 months

[X] Installs and uninstalls cleanly

[X] Code structure follows best practice

Current Release
TexMaths 0.35

Released Apr 08, 2012 — tested with LibreOffice 3.3, LibreOffice 3.4, LibreOffice 3.5

This release fixes several bugs and adds a confifuration option that allows to change the numbering level in TexMaths numbered equations.
More about this release…

Download file Get TexMaths for All platforms
TexMaths-0.35.oxt
If you don't know, how to install an extension in LibreOffice, see our howto about installing extension for detailed instructions.

All Releases

Version Released Description Compatibility Licenses Status
0.35 Apr 08, 2012 This release fixes several bugs and adds a confifuration option that allows to change the numbering level in TexMaths numbered equations. More about this release…
LibreOffice 3.3
LibreOffice 3.4
LibreOffice 3.5
GPL

final
0.34 Feb 20, 2012 This release fixes some bugs and adds compatibility with ooolatex equations. The external program paths are now auto-detected. More about this release…
LibreOffice 3.4
LibreOffice 3.5
GPL

final
0.33 Nov 17, 2011 This release improves the equation selection usability. It also adds a Text to LaTeX feature for Writer and buttons to resize the main dialog. The number equation feature was also improved and some critical bugs were fixed. Please note you should uninstall the previous version before installing this new one. More about this release…
LibreOffice 3.3
LibreOffice 3.4
GPL

final

Legal Disclaimer and Limitations for Downloads

Responsibility of Website User

The Document Foundation has not reviewed, and cannot review, all of the material, including computer software, available on or by means of The Document Foundation's websites, and cannot therefore be responsible for that material's content, use or effects. By operating its websites, The Document Foundation does not represent or imply that it endorses the material there available, or that it believes such material to be accurate, useful or nonharmful. You are responsible for taking precautions as necessary to protect yourself and your computer systems from viruses, worms, Trojan horses and other harmful or destructive content.

  1. The Document Foundation's websites may contain content that is offensive, indecent or otherwise objectionable, as well as content containing technical inaccuracies, typographical mistakes and other errors.
  2. The Document Foundation's websites may also contain material that violates the privacy or publicity rights, or infringes the proprietary rights, of third parties, or the downloading, copying or use of which is subject to additional terms and conditions, stated or unstated. The Document Foundation disclaims any responsibility for any harm resulting from the use by The Document Foundation's visitors of The Document Foundation's websites, or from any downloading by those visitors of content available on or by means of The Document Foundation's websites.
Changes

Content contained on The Document Foundation's websites, including these Legal Disclaimers and Limitations, may be changed at the sole discretion of The Document Foundation and without notice. You are bound by any such updates or changes, and so should periodically review these Legal Disclaimers and Limitations.

If you believe any file is present on the site contrary to any TDF rule or applicable law, please supply full details to info@documentfoundation.org for impartial consideration.

Comments (19)

wnfu12nb Oct 25, 2011 01:52 PM
I install texlive in /usr/local/ and set the path in texmaths
but svg failed to work while png works well
Roland Baudin Nov 21, 2011 09:57 AM
Sorry for the long delay in answering but I had troubles with this site.
To use SVG images, you have to install dvisvgm version 1.0.8 or later.
If the problem is still there, don't hesitate to send me directly an email.
Best regards,
RB
till Jan 24, 2012 11:20 AM
Hi I installed the extension and the mictex package as described on the homepage of texmaths, but when I press the latx button a message box appears where it says:
"No file created in the directory:
C:\....Libreoffice\3\Texmaths\tmp"

Can somebody help me please?
Thanks
till Jan 24, 2012 11:34 AM
Hi again, I installed it on windows /
lx owle Feb 01, 2012 02:33 AM
Hi there - great plugin, thanks for your work.
I've created some texMaths objects in libreoffice - and edited them several times. However, all of a sudden, some of them are no longer being recongised as valid texMaths objects, and I can no longer edit them. I'd be happy to submit a bug, or send you the file. Thanks.
Hans Walter Feb 13, 2012 10:18 PM
Hey there,

having been a user of oolatex for quite some time now, I'm very delighted to finally see some updates / ports to libreoffice.

I'm just wondering (or should I say hoping) whether there is a way to import the old oolatex equations into TexMaths? When I try to modify old oolatex equations, I simply get a message saying it isn't a TexMaths equation ... it would be very nice to import the old equations, as they have been used in various documents of mine.
 

Thanks in advance,
Fritz
Roland Baudin Feb 19, 2012 11:41 AM
Hi,
yes, this feature will be available in the next release. I just have to fix a couple of bugs before releasing it.
Stay connected!
RB
MVD Feb 22, 2012 04:03 PM
I have found two critical bugs while trying to use this extension.

1. On Windows, with LibreOffice 3.5.0rc3, I get a BASIC runtime error which states "Type: com.sun.star.ucb.InteractiveAugmentedIOException
Message: a folder could not be created." This occurs on line number 961 with the code:

    oTextStream.setOutputStream(oFileAccess.openFileWrite(cURL))

2. On Linux (Debian squeeze backports), with LibreOffice 3.4.3, the window for entering TeX often does not display right, with the entry box completely hidden. The only way I can get it to show up is to try several times until it works.

Finally, a suggestion: Why not use pstoedit instead of dvisvgm? It is more commonly available on various Linux distributions.

Thanks!
Roland Baudin Feb 25, 2012 04:29 PM
In order to reproduce the first bug I need to know what Windows version you use (I don't see the bug in Windows XP SP3).
Thanks,
RB
Hasi Nasi Apr 14, 2012 08:32 PM
Hi.
I am also suffering from the second problem described by parent. This is LO 3.5.2.2 on a kubuntu 11.04. The controls and text input box in the Texmaths window are completely misplaced. It's so bad that the input box and most controls are not even visible. A workaround is to use the arrow buttons (which are placed correctly in the window) to make the window much larger. Then, the input box and the controls will show up. However, this is totally annoying, since it needs to be done every single time the texmaths window is re-opened. (Somehow the window size or positions seem to be calculated in a wrong way.)

Every now and then, the window will just show perfectly. So far, however, I have not been able to reproducible achieve this.

I hope someone will be able to look into this. It's a major annoyance :(
Carlos Felipe Mar 19, 2012 04:20 PM
Please, help me.
I have installed TexMaths. I created one equation and when I try to create a new one or edit the one a had created I get an empty dialog.
This happens with both 3.3 and 3.4 versions of TexMaths.
My LibreOffice is version is
LibreOffice 3.4.5
OOO340m1 (Build:502)

Does anyone have the same problem?
晓凌 Mar 31, 2012 04:49 PM
First,thank you for your great work.
But, how to edit the euqations?
晓凌 Mar 31, 2012 05:09 PM
After reading the help, I'v got it. It works nice.BTW,the first latex PATH and other two are the place where the Latex package are installed not the path where the component "latex", "dvipng" are. The way to ask the path really confused me.

I use ubuntu and I installed texlive not from source. So the path is somewhere else.

My path is:/usr/local/texlive/2011/bin/i386-linux/
and:/usr/local/texlive/2011/bin/i386-linux/
Sergio Callegari Apr 20, 2012 02:56 PM
Numbered eqns can be created in libreoffice write with the "fn" quicktext (write "fn" then press F3). In this case, the equation goes inside a table. If such an equation contains a formula, attempting to create the formula with TexMaths works fine. However, it is then impossible to modify the equation. When you press the 'latex' button for the second time, an error message is given "End of content node does not have the proper start node" and the extension code hangs at line 470:

 ' Create a text cursor positioned just before the selected image
            oCursor = ThisComponent.Text.createTextCursorByRange( oDocCtrl.selection().getAnchor() )

As a workaround, one needs to cut the formula, paste it somewhere outside the table, edit and re-latex it, cut it again, paste it back inside the table.
Alberto Passalacqua Apr 25, 2012 07:05 AM
The plugin installs correctly, however when I push the "LaTeX" button it opens the debugger and says that the exception

Type: com.sun.star.datatransfer.UnsupportedFlavorException
Message: text/plain; charset=utf-16

occurred at the line

Dim oData as Variant

in the If iPlainLoc >= 0 statement.
Alberto Passalacqua Apr 25, 2012 07:07 AM
I forgot to mention the file is TexMathsTools.
Alberto Passalacqua Apr 25, 2012 07:12 AM
I have cleaned up and re-inserted the paths in the settings, and now it is working properly. I am sorry for the noise.

Thank you for your work!
rsgill May 03, 2012 04:26 AM
Is there any way to get math equations with transparent background in Libre impress. The png images created by this extensions themselves are transparent and when added as an image into the presentation show up as transparent. However, the TexMaths extension adds the same png file with a white background which doesn't look nice if the slides have a coloured background.

Can this be fixed or is there a workaround?

I don't have dvisvgm installed and I don't know if the svg files will be added with transparent backgrounds. I can only use dvipng right now.

Btw, thanks a lot for creating this wonderful extension.
Nicolas Bigaouette May 07, 2012 10:17 PM
I had the same issue: background was white and not transparent. By installing dvisvgm the equations became transparent! Give it a try...

Legal Disclaimers and Limitations | Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0. License. This does not include the source code of LibreOffice, which is licensed under the GNU Lesser General Public License ( LGPL v.3 ).

"LibreOffice" and "The Document Foundation" are registered trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.