Need help with Latex error; Sorry LONG

November 21st, 2011 - 11:40 pm ET by John W. Foster | Report spam
I have a texlive-full installation on Debian stable. I'm getting a
compile error on a Mediawiki running a workingwiki extension. This
extension is working correctly as is all of the other components.
However I get the following compile error log from the workingwiki
script.



Mon Nov 21 21:12:41 2011
/usr/bin/make -C \
/var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex -f \
/home/MyUserName/mediawiki-1.17.0/extensions/WorkingWiki/ProjectEngine/resources/makefile-before \
-f \
/home/MyUserName/mediawiki-1.17.0/extensions/WorkingWiki/ProjectEngine/resources/makefile-after \
example.latexml.html
make: Entering directory `/var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex'
rm -f example.latexml.html
/usr/bin/make -f /home/MyUserName/mediawiki-1.17.0/extensions/WorkingWiki/ProjectEngine/resources/makefile-before -f /home/MyUserName/mediawiki-1.17.0/extensions/WorkingWiki/ProjectEngine/resources/makefile-after example.latexml.xml
make[1]: Entering directory `/var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex'
make[1]: `example.latexml.xml' is up to date.
make[1]: Leaving directory `/var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex'
bibxmls=`perl -ne '($_)=/^[^%]*\\\bibliography\{([^\\\\]*?)\}/;@_=split /,/;foreach $b (@_) { $b =~ s/\.bib$//; print "$b.bib.xml "}' example.tex $deps` ; bibxargs=`perl -ne '($_)=/^[^%]*\\\bibliography\{([^\\\\]*?)\}/;@_=split /,/;foreach $b (@_) { $b =~ s/\.bib$//; print "--bibliography=$b.bib.xml "}' example.tex $deps`; \
latexmlpost --destination=example.intermediate.latexml.html --format=html --novalidate $bibxargs example.latexml.xml
LaTeXML::Post::MathImages[example.intermediate.latexml.html]: Warning: latex (cd LaTeXMLFyOem3 ; TEXINPUTS=.:.://var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex/:/var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex: latex ltxmlimg > ltxmlimg.output) returned code 256 (!= 0) for image generation:
See LaTeXMLFyOem3/ltxmlimg.log
LaTeXML::Post::MathImages[example.intermediate.latexml.html] Error: LaTeX (cd LaTeXMLFyOem3 ; TEXINPUTS=.:.://var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex/:/var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex: latex ltxmlimg > ltxmlimg.output) somehow failed: See LaTeXMLFyOem3/ltxmlimg.log at /usr/share/perl5/LaTeXML/Post.pm line 56.
make: *** [example.latexml.html] Error 2
make: Leaving directory `/var/cache/ProjectEngine/persistent/pe-ww~http~!!localhost!MyWikitestworkingwiki.tex'




The culprit seems to be that latex can not locate a file "latexml.sty" that it needs.
On my server that file is located in /usr/share/perl5/LaTeXML/texmf/latexml.sty
Since this is a straight forward setup from debian stable, I'm wondering why latex can not find the file it needs. Is this a bug, maybe?
Thanks!
frosty


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1321932575.17427.15.camel@beast.home
email Follow the discussionReplies 6 repliesReplies Make a reply

Similar topics

Replies

#1 Raf Czlonka
November 22nd, 2011 - 06:30 am ET | Report spam
On Tue, Nov 22, 2011 at 03:29:35AM GMT, John W. Foster wrote:
> See LaTeXMLFyOem3/ltxmlimg.log


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Since this is a straight forward setup from debian stable, I'm wondering why latex can not find the file it needs. Is this a bug, maybe?



Have you had a look in there?

Raf


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#2 John W. Foster
November 22nd, 2011 - 01:50 pm ET | Report spam

On Tue, 2011-11-22 at 11:28 +0000, Raf Czlonka wrote:

On Tue, Nov 22, 2011 at 03:29:35AM GMT, John W. Foster wrote:
> > See LaTeXMLFyOem3/ltxmlimg.log
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> Since this is a straight forward setup from debian stable, I'm wondering why latex can not find the file it needs. Is this a bug, maybe?

Have you had a look in there?

Raf





Yes, sorry that I was unclear. The log files are named, and placed in a
newly created directory with each compile. Therefore each error log has
a new name/directory. This is a function of workingwiki. This keeps them
from being overwritten. Not a very elegant way to do logs, but its got a
purpose. I've pasted the entire log below:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
(format=latex 2011.11.20) 21 NOV 2011 21:12
entering extended mode
%&-line parsing enabled.
**ltxmlimg
(./ltxmlimg.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> 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/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\=\count79
\=\count80
\=\count81
\=\count82
\=\count83
\=\count84
\=\count85
\=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\@=\toks14
) (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (/etc/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live
)
Package graphics Info: Driver file: dvips.def on input line 91.
(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\@height=\dimen103
\@width=\dimen104
)

! LaTeX Error: File `latexml.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.7 \usepackage
{marginnote}^^M
*** (cannot ead from terminal in nonstop modes)


Here is how much of TeX's memory you used:
509 strings out of 493849
6000 string characters out of 1152845
53072 words of memory out of 3000000
3856 multiletter control sequences out of 15000+50000
3640 words of font info for 14 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
25i,0n,19p,201b,36s stack positions out of
5000i,500n,10000p,200000b,50000s
No pages of output.




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
On Tue, 2011-11-22 at 11:28 +0000, Raf Czlonka wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Tue, Nov 22, 2011 at 03:29:35AM GMT, John W. Foster wrote:
&gt; &gt; See LaTeXMLFyOem3/ltxmlimg.log
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

&gt; Since this is a straight forward setup from debian stable, I'm wondering why latex can not find the file it needs. Is this a bug, maybe?

Have you had a look in there?

Raf


</PRE>
</BLOCKQUOTE>
Yes, sorry that I was unclear. The log files are named, and placed in a newly created directory with each compile. Therefore each error log has a new name/directory. This is a function of workingwiki. This keeps them from being overwritten. Not a very elegant way to do logs, but its got a purpose. I've pasted the entire log below:<BR>
<BR>
<FONT COLOR="#0000ff">This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2011.11.20)&nbsp; 21 NOV 2011 21:12</FONT><BR>
<FONT COLOR="#0000ff">entering extended mode</FONT><BR>
<FONT COLOR="#0000ff">%&amp;-line parsing enabled.</FONT><BR>
<FONT COLOR="#0000ff">**ltxmlimg</FONT><BR>
<FONT COLOR="#0000ff">(./ltxmlimg.tex</FONT><BR>
<FONT COLOR="#0000ff">LaTeX2e &lt;2009/09/24&gt;</FONT><BR>
<FONT COLOR="#0000ff">Babel &lt;v3.8l&gt; and hyphenation patterns for english, usenglishmax, dumylang, noh</FONT><BR>
<FONT COLOR="#0000ff">yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov</FONT><BR>
<FONT COLOR="#0000ff">ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1</FONT><BR>
<FONT COLOR="#0000ff">9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san</FONT><BR>
<FONT COLOR="#0000ff">skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn</FONT><BR>
<FONT COLOR="#0000ff">orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian</FONT><BR>
<FONT COLOR="#0000ff">, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po</FONT><BR>
<FONT COLOR="#0000ff">rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.</FONT><BR>
<BR>
<FONT COLOR="#0000ff">(/usr/share/texmf-texlive/tex/latex/base/article.cls</FONT><BR>
<FONT COLOR="#0000ff">Document Class: article 2007/10/19 v1.4h Standard LaTeX document class</FONT><BR>
<FONT COLOR="#0000ff">(/usr/share/texmf-texlive/tex/latex/base/size10.clo</FONT><BR>
<FONT COLOR="#0000ff">File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)</FONT><BR>
<FONT COLOR="#0000ff">)</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count79</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count80</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count81</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count82</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count83</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count84</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count85</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%=">\=</A>\count86</FONT><BR>
<FONT COLOR="#0000ff">\abovecaptionskip=\skip41</FONT><BR>
<FONT COLOR="#0000ff">\belowcaptionskip=\skip42</FONT><BR>
<FONT COLOR="#0000ff">\bibindent=\dimen102</FONT><BR>
<FONT COLOR="#0000ff">) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty</FONT><BR>
<FONT COLOR="#0000ff">Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)</FONT><BR>
<FONT COLOR="#0000ff">(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty</FONT><BR>
<FONT COLOR="#0000ff">Package: keyval 1999/03/16 v1.13 key=value parser (DPC)</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%">\</A>@=\toks14</FONT><BR>
<FONT COLOR="#0000ff">) (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty</FONT><BR>
<FONT COLOR="#0000ff">Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)</FONT><BR>
<FONT COLOR="#0000ff">(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty</FONT><BR>
<FONT COLOR="#0000ff">Package: trig 1999/03/16 v1.09 sin cos tan (DPC)</FONT><BR>
<FONT COLOR="#0000ff">) (/etc/texmf/tex/latex/config/graphics.cfg</FONT><BR>
<FONT COLOR="#0000ff">File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live</FONT><BR>
<FONT COLOR="#0000ff">)</FONT><BR>
<FONT COLOR="#0000ff">Package graphics Info: Driver file: dvips.def on input line 91.</FONT><BR>
<FONT COLOR="#0000ff">(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def</FONT><BR>
<FONT COLOR="#0000ff">File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)</FONT><BR>
<FONT COLOR="#0000ff">))</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%">\</A>@height=\dimen103</FONT><BR>
<FONT COLOR="#0000ff"><A HREF="mailto:%">\</A>@width=\dimen104</FONT><BR>
<FONT COLOR="#0000ff">)</FONT><BR>
<BR>
<FONT COLOR="#0000ff">! LaTeX Error: File `latexml.sty' not found.</FONT><BR>
<BR>
<FONT COLOR="#0000ff">Type X to quit or &lt;RETURN&gt; to proceed,</FONT><BR>
<FONT COLOR="#0000ff">or enter new name. (Default extension: sty)</FONT><BR>
<BR>
<FONT COLOR="#0000ff">Enter file name: </FONT><BR>
<FONT COLOR="#0000ff">! Emergency stop.</FONT><BR>
<FONT COLOR="#0000ff">&lt;read *&gt; </FONT><BR>
<FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR>
<FONT COLOR="#0000ff">l.7 \usepackage</FONT><BR>
<FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {marginnote}^^M</FONT><BR>
<FONT COLOR="#0000ff">*** (cannot ead from terminal in nonstop modes)</FONT><BR>
<BR>
<BR>
<FONT COLOR="#0000ff">Here is how much of TeX's memory you used:</FONT><BR>
<FONT COLOR="#0000ff">509 strings out of 493849</FONT><BR>
<FONT COLOR="#0000ff">6000 string characters out of 1152845</FONT><BR>
<FONT COLOR="#0000ff">53072 words of memory out of 3000000</FONT><BR>
<FONT COLOR="#0000ff">3856 multiletter control sequences out of 15000+50000</FONT><BR>
<FONT COLOR="#0000ff">3640 words of font info for 14 fonts, out of 3000000 for 9000</FONT><BR>
<FONT COLOR="#0000ff">714 hyphenation exceptions out of 8191</FONT><BR>
<FONT COLOR="#0000ff">25i,0n,19p,201b,36s stack positions out of 5000i,500n,10000p,200000b,50000s</FONT><BR>
<FONT COLOR="#0000ff">No pages of output.</FONT><BR>
<BR>
<BR>
</BODY>
</HTML>



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#3 deloptes
November 22nd, 2011 - 06:30 pm ET | Report spam
John W. Foster wrote:

/usr/share/perl5/LaTeXML/texmf



you need to setup the environment correctly, so that texmf finds the package

i.e. using the variable TEXINPUTS or so

regards


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/jahapt$eri$
Replies Reply to this message
#4 John W. Foster
November 23rd, 2011 - 10:50 am ET | Report spam
On Wed, 2011-11-23 at 00:21 +0100, deloptes wrote:
John W. Foster wrote:

> /usr/share/perl5/LaTeXML/texmf

you need to setup the environment correctly, so that texmf finds the package

i.e. using the variable TEXINPUTS or so

regards





Yep, I figured that out from reading on the web & am working on it.
Oddly the author of latexml.sty has a note embedded in the code that
plainly says he is not sure where to place it & I find that extremely
weird. I suspect it varies with each distro & how it relates to other
dependencies. If you know where that is in Debian please advise. At this
point I consider it a bug due to the fact that it's inconsistent within
the 'stable' parameters of my install of a complex set of software that
is all from Debian's 'stable' distro. I tried using texmaker & straight
command line latex to use the system and the results are exactly the
same. Always errors out with a log message involving latexml.sty. I have
found no instruction from anyone involved in packaging the various bits
of software latex/texlive, or perl.
Thanks for the tip!!
frosty


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#5 John W. Foster
November 23rd, 2011 - 01:10 pm ET | Report spam
On Wed, 2011-11-23 at 09:42 -0600, John W. Foster wrote:
On Wed, 2011-11-23 at 00:21 +0100, deloptes wrote:
> John W. Foster wrote:
>
> > /usr/share/perl5/LaTeXML/texmf
>
> you need to setup the environment correctly, so that texmf finds the package
>
> i.e. using the variable TEXINPUTS or so


second page:

I have found this in system wide .bashrc:


# Enable sage in Texinputs systems wide.
export TEXINPUTS="/home/MyName/sage/local/share/texmf//:"



These instructions from the web are for fixing the issue;



TEXINPUTS Variable and BSTINPUTS
The environmental variable TEXINPUTS controls where LATEX searches for input les, the de-
fault is:
1. First your current directory.
2. Second the local ifp styles held in /ifp/latex/ and its subdirectories.
3. Third the standard system LATEX directories, where are held in /usr/share/texmf/tex/latex/
and its subdirectories.
which is what most people want.
The common change people want to make is to add their own local style directory. If this is in
an directory mystyles in you home directory then in your .bashrc le put.
export TEXINPUT=.:/Home/loginname/mystyles/:$TEXINPUTS
Note is must have an initial `.' or it will fail to read input from your current directory. Also do
not forget to append the default TEXINPUTS or nothing will work!
The BSTINPUT variable determines where LATEX looks for BiBTeX styles les. By default it is
set the the same at TEXINPUTS; this is to allow revtex4 to work correctly. It has exactly the
same syntax as TEXINPUTS and can be changed in exactly the same way



Question is how to incorporate them both. This sage installation is a
big part of what I trying to accomplish. I need the incorporated export
to be system wide & cover all the changes to TEXINPUTS. BTW where are
the portions for $TEXINPUTS; seems they should be here too.
Still accepting ANY ideas...
Thanks!
frosty


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search