[texworks] Problems on Ubuntu 10.10

Vladimir Lomov lomov.vl at gmail.com
Wed Jan 12 15:04:49 CET 2011


** Lutz-Peter Kurdelski [2011-01-11 23:00:22 +0100]:

> Thanks for the hints. Let me summarize some information.

> I installed TeXLive from a local copy of the DVD contents using
> install-tl --gui=perl-tk
> Luckily I could use the defaults except removing some documentation and
> languages I do not use.

> After that I installed - oops, may this be the problem -
> texworks_0.3.0~svn726~maverick1_amd64.deb
> with XeTeX extensions and
> texworks-scripting-lua_0.3.0~svn726~maverick1_amd64.deb
> texworks-scripting-python_0.3.0~svn726~maverick1_amd64.deb

> TeXWorks itself runs. I can use the KOMA-letter template and write nice
> letters. But when I change to dinbrief.cls it fails.

> Please note the following:

> $ kpsewhich dinbrief.cls
> /usr/local/texlive/2010/texmf-dist/tex/latex/dinbrief/dinbrief.cls
> $ locate dinbrief.cls
> /usr/local/share/texmf/latex/styles/latex2e/lpkdinbrief.cls
> /usr/local/share/texmf/latex/styles/latex2e/lpkdinbrief.cls.bak
> /usr/local/texlive/2010/texmf-dist/tex/latex/dinbrief/dinbrief.cls
> /usr/local/texlive/texmf-local/tex/latex/local/styles/latex2e/lpkdinbrief.cls
> /usr/local/texlive/texmf-local/tex/latex/local/styles/latex2e/lpkdinbrief.cls.bak
Ok, you have the class file.

> $ locate kpsewhich
> /LAB/TeXLive/ctan/graphics/metapost/base/source/texk/kpathsea/kpsewhich.c
> /LAB/TeXLive/ctan/graphics/metapost/base/source/texk/kpathsea/man/kpsewhich.man
> /LAB/TeXLive/ctan/support/autoconf/ac_prog_kpsewhich.m4
> /usr/bin/kpsewhich
> /usr/local/texlive/2010/bin/x86_64-linux/kpsewhich
> /usr/local/texlive/2010/texmf/doc/man/man1/kpsewhich.1
> /usr/local/texlive/2010/texmf/doc/man/man1/kpsewhich.man1.pdf
> /usr/share/man/man1/kpsewhich.1.gz
See, you have two kpsewhich: one (first) from distro tex package and
from TL installation (second)

> and the path:
> $ echo $PATH
> /usr/local/texlive/2010/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Now this doesn't mean that your texworks uses it. Check this:
Edit->Prefereces...->Typesetting->Paths for Tex and related programs
the path
/usr/local/texlive/2010/bin/x86_64-linux
should be in first place.

---
WBR, Vladimir Lomov

-- 
One man's constant is another man's variable.
		-- A.J. Perlis


More information about the texworks mailing list