Menu

#116 TexMaths not working since upgrade to LO6.2

v1.0_(example)
closed-fixed
nobody
None
5
2019-05-25
2019-03-13
No

I don't know if this is a TexMaths problem, a LibreOffice problem, or a generat tex problem, but it's happening from within TexMath, so I'll start here.

Since upgrading to LibreOffice 6.2 (from 5.something), I haven't been able to use TexMaths. After typing in an equation, I get the below error message when clicking on the LaTeX button. This happens for creating new equations, or existing equations in existing documents.

I have unistalled/reinstalled LibreOffice and MacTex, but this error still persists. If this isn't the right place to post this, let me know where I should go for help with this error.

Thanks.

Error below:
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdftex)
\write18 enabled.
entering extended mode
(./tmpfile.tex
! Undefined control sequence.
l.1 \documentclass
[10pt]{article}
! Undefined control sequence.
l.4 \usepackage
{amsmath}
! Undefined control sequence.
l.5 \usepackage
{amssymb}
! Undefined control sequence.
l.6 \usepackage
[usenames]{color}
! Undefined control sequence.
l.18 \pagestyle
{empty}
! Undefined control sequence.
l.19 \begin
{document}
! Undefined control sequence.
l.20 \newsavebox
{\eqbox}
! Undefined control sequence.
l.20 \newsavebox{\eqbox
}
! Undefined control sequence.
l.21 \newlength
{\width}
! Undefined control sequence.
l.21 \newlength{\width
}
! Undefined control sequence.
l.22 \newlength
{\height}
! Undefined control sequence.
l.22 \newlength{\height
}
! Undefined control sequence.
l.23 \newlength
{\depth}
! Undefined control sequence.
l.23 \newlength{\depth
}
! Undefined control sequence.
l.25 \begin
{lrbox}{\eqbox}
! Undefined control sequence.
l.25 \begin{lrbox}{\eqbox
}
[1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )
(see the transcript file for additional information)
Output written on tmpfile.pdf (1 page, 14790 bytes).
Transcript written on tmpfile.log.

Discussion

  • Edoardo Piparo

    Edoardo Piparo - 2019-03-14

    Try to compile the ./tmpfile.tex generated from outside the program (you have to locate it before), without closing LO. In the case of further error, post the content of the file.

     
  • Howard Francis

    Howard Francis - 2019-03-14

    There doesn't seem to be a tmpfile.txt on my computer. At least a search of "This Mac" in Finder couldn't produce one. Is there a specific directory it should be?

     
  • Edoardo Piparo

    Edoardo Piparo - 2019-03-15

    I think the file is generated in /tmp directory (but I don't use mac). I think you have to open a terminal and type in it: open $TMPDIR, but this may contain a mess of files and directories. Moreover, modifying the wrong one can seriosly damage your installation... so be careful!
    There are other temp directories (like /tmp), so finding the right one can be frustrating!
    Anyway the correct filename is "tmpfile.tex" and not "tmpfile.txt"...

     
  • Howard Francis

    Howard Francis - 2019-05-03

    So this turned out to be my error. I remember with previous versions needing to change the path after an upgrade to some version of the mac OS, so I just assumed I still needed to find the path to the tex files and change the settings by hand. It seems newer version of texMaths now has the correct paths. So I accepted the default values for those and everything has been working great.

    (I should have posted this back when it started working several weeks ago)

    We can close this issue.

    Thanks!

     
  • He Xintong

    He Xintong - 2019-05-05

    My steps to reproduce:

    1. Open swriter.exe
    2. Set the complier as XeLaTeX
    3. Click TexMaths Equations
    4. Input x=\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}, then click XeLaTeX button

    Actual results:
    I got the follwing message:
    Screenshot

    BASIC 运行时间错误. (BASIC runtime error)
    发生异常 (An exception occurred)
    Type: com.sun.star.uno.RuntimeException
    Message: no text selection。

    And I must close TexMaths Equations before I close LibreOffice BASIC.

     

    Last edit: He Xintong 2019-05-05
    • matheod

      matheod - 2019-05-09

      Same issue :/

       
  • Roland Baudin

    Roland Baudin - 2019-05-25
    • status: open --> closed-fixed
     
  • Roland Baudin

    Roland Baudin - 2019-05-25

    The last issue reported by He Xintong is not the same as the issue reported by Howard Francis on MacOSX.

    The last issue is due to a bug in LibreOffice 6.2.3. Please upgrade to LibreOffice 6.2.4 and the bug will disapear. See https://sourceforge.net/p/texmaths/bugs/119/ for an explanation.

     

Log in to post a comment.

MongoDB Logo MongoDB