TeX Live and MacTeXNo output in moodle

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
astarmathsandphysics
Posts: 1
Joined: Thu Dec 04, 2014 4:53 pm

No output in moodle

Post by astarmathsandphysics »

I installed livetex on ubuntu 12.04 to use with moodle.
Where I would expect an equation I get the latex code.
In debuggin mode click in the code gives the following information:

Code: Select all

Checking executables
latex executable (/usr/bin/latex) is readable
dvips executable (/usr/bin/dvips) is readable
Error: convert executable (/usr/bin/convert) is not readable
Error: dvisvgm executable () is not readable

base filename for expression is '9608176195573c30c6beb3cf078fdf66'

Processing TeX expression:

f(x)=\int_{-\infty}^x~e^{-t^2}dt

$ '/usr/bin/latex' --interaction=nonstopmode --halt-on-error /var/datarootdir/temp/latex/9608176195573c30c6beb3cf078fdf66.tex
OUTPUT: This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(/var/datarootdir/temp/latex/9608176195573c30c6beb3cf078fdf66.tex
LaTeX2e <2009/09/24>
Babel  and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size12.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/latin1.def))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty)
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty)
(/usr/share/texmf-texlive/tex/latex/base/latexsym.sty)
No file 9608176195573c30c6beb3cf078fdf66.aux.
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd)
(/usr/share/texmf-texlive/tex/latex/base/ulasy.fd) [1]
(./9608176195573c30c6beb3cf078fdf66.aux) )
Output written on 9608176195573c30c6beb3cf078fdf66.dvi (1 page, 496 bytes).
Transcript written on 9608176195573c30c6beb3cf078fdf66.log.
RETURN CODE: 0

$ '/usr/bin/dvips' -E /var/datarootdir/temp/latex/9608176195573c30c6beb3cf078fdf66.dvi -o /var/datarootdir/temp/latex/9608176195573c30c6beb3cf078fdf66.ps
OUTPUT: 
RETURN CODE: 0

$ '/usr/bin/convert' -density 240 -trim /var/datarootdir/temp/latex/9608176195573c30c6beb3cf078fdf66.ps /var/datarootdir/temp/latex/9608176195573c30c6beb3cf078fdf66.gif 
OUTPUT: 
RETURN CODE: 127
I think the 'not writable' messages probably means not there, since I have looked for those files to investigate permissions and can't find them.

How can I solve this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

No output in moodle

Post by Stefan Kottwitz »

Welcome to the forum!

convert is a command line tool of ImageMagick, I think you need to install it via the Ubuntu package manager.

Also the package dvisvgm needs to be installed.

Stefan
LaTeX.org admin
Post Reply