Re: Need help with Latex error; Sorry LONG

2011-11-24 Thread deloptes
John W. Foster wrote:

 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

look into

/etc/texmf/

I would setup the PATH (TEXINPUTS) in /etc/profile if it is system wide
installation. The same for BSTINPUT 

When I started using LaTeX it took a few years to become a mature user, so
be patient ... and start reading docs please. I agree that there is a lot
of info and some of it is cryptic, but please do your homework. 
You could also ask someone experienced around you to set it up and buy a
beer or so ... At least my sister did so ... :-) Well in my case it was a
cocktail that I got :-)

A good starting point is http://www.ctan.org/

If you are planning to work a lot with LaTeX then I suggest you create a
dedicated setup for this ... i.e. in a virtual machine, so you don't mess
up with the system after configuration. After it is working you should
NEVER touch it ... people nowdays are doing silly updates ... and then
complain :-)

I would help better if I could

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jaln07$m9$1...@dough.gmane.org



Re: Need help with Latex error; Sorry LONG

2011-11-23 Thread John W. Foster
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 debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1322062974.27041.13.ca...@beast.home



Re: Need help with Latex error; Sorry LONG

2011-11-23 Thread John W. Foster
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 debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1322067826.30137.6.ca...@beast.home



Re: Need help with Latex error; Sorry LONG

2011-11-22 Thread Raf Czlonka
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 debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2022112845.ga10...@linuxstuff.pl



Re: Need help with Latex error; Sorry LONG

2011-11-22 Thread John W. Foster
On Tue, 2011-11-22 at 11:28 +, 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)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\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)
\KV@toks@=\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)
))
\Gin@req@height=\dimen103
\Gin@req@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 \read 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 300
3856 multiletter control sequences out of 15000+5
3640 words of font info for 14 fonts, out of 300 for 9000
714 hyphenation exceptions out of 8191
25i,0n,19p,201b,36s stack positions out of
5000i,500n,1p,20b,5s
No pages of output.




Re: Need help with Latex error; Sorry LONG

2011-11-22 Thread deloptes
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 debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jahapt$eri$1...@dough.gmane.org



Need help with Latex error; Sorry LONG

2011-11-21 Thread John W. Foster
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-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321932575.17427.15.ca...@beast.home