Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error when executing LATEX file through the latex plugin

william@perasotech.com February 25, 2019

Hello, 

I am using LaTeX Plugin from The Plugin People and happy with it.  Thanks a lot for making it available to everyone.  I am having a problem with it though and wonder if this is something someone here has come across.

Here is problem:

This is the Latex script that I am attempting to execute:

\documentclass{article}
\newcommand{\mx}[1]{\mathbf{\bm{#1}}} % Matrix command  
\newcommand{\vc}[1]{\mathbf{\bm{#1}}} % Vector command
\newcommand{\T}{\text{T}}                % Transpose
\pagestyle{empty}
\begin{document}
\frac{a + b}{2}
\end{document}

 

On the confluence logs, I see this error:

2019-02-25 12:58:55,719 ERROR [http-nio-8090-exec-81] [confluence.plugins.latex.LatexMacro] errorMsg Process failed with exit code: -1
-- url: /confluence/display/SPM/Override+Phased+Array+Sector+Table | traceId: 5c9c859760d4ea62 | userName: william | action: viewpage | page: 32710286

 

 On the browser, confluence display the following when the above fails:

Unable to find DVI conversion log file.

 

We are on confluence 6.12 and I can confirm I have counter checked the setup instructions and everything is setup properly.  I have verified that latex is setup properly as it process the latex file fine when executed on command line... latex simple.tex

What is the best way of overcoming this problem?  Anyone faced this issue before?

 

Regards,

William

 

 

2 answers

0 votes
Deleted user February 26, 2019

Hi William,

Make sure that the paths for Latex and Dvipng have been correctly set in the plugin's configuration within Manage Apps

If the paths are correct and the plugin is still not working, raise a support issue with us and let us know which Linux distribution etc you are using: The Plugin People Support

Kind regards,

Reece

0 votes
william@perasotech.com February 25, 2019

FYI

I have already done as following as per documented on another similar question:

yum install texlive texlive-dvipng

And restarted the confluence server.  Not the operating system though

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events