[texworks] Problems on Ubuntu 10.10

Johannes Heck heck.johannes at googlemail.com
Wed Jan 12 19:25:55 CET 2011


2011/1/12 Lutz-Peter Kurdelski <lutz-peter at kurdelski.com>

> 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
> >
>
>
I was able to reproduce that and solve it the same way, but now I've got
another issue:
On Ubuntu 10.10 with TeX Live 2010 and Tex works editor Version 0.2.3
(r.466) (this one pas included by today's tl-web-installer)
the first lines are cut:
I see only

EX encoding = UTF-8

 \documentclass[12pt]{scrreprt}

\usepackage{fontspec}


instead of

% !TEX TS-program = xelatex % !TEX encoding = UTF-8
\documentclass[12pt]{scrreprt} \usepackage{fontspec}


 Is this issue already known?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110112/9e102f72/attachment-0001.html>


More information about the texworks mailing list