[texworks] Problems on Ubuntu 10.10

Lutz-Peter Kurdelski lutz-peter at kurdelski.com
Wed Jan 12 15:32:10 CET 2011


Thanks a lot for your time solving this little problem.

Under Edit->Preferences->Typesetting there is in the top window a list
of search directories.
The first was /usr/bin the second the one of the TeX binaries.
just moving the second to the top - the order of the list obviously
represents the search order -
solves the problem.

Regards
Lutz-Peter

Am 12.01.2011 15:04, schrieb Vladimir Lomov:
> ** 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
>



More information about the texworks mailing list