<br><br><div class="gmail_quote">2011/1/12 Johannes Heck <span dir="ltr"><<a href="mailto:heck.johannes@googlemail.com">heck.johannes@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div class="gmail_quote">2011/1/12 Lutz-Peter Kurdelski <span dir="ltr"><<a href="mailto:lutz-peter@kurdelski.com" target="_blank">lutz-peter@kurdelski.com</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks a lot for your time solving this little problem.<br>
<br>
Under Edit->Preferences->Typesetting there is in the top window a list<br>
of search directories.<br>
The first was /usr/bin the second the one of the TeX binaries.<br>
just moving the second to the top - the order of the list obviously<br>
represents the search order -<br>
solves the problem.<br>
<br>
Regards<br>
Lutz-Peter<br>
<br>
Am 12.01.2011 15:04, schrieb Vladimir Lomov:<br>
<div><div></div><div>> ** Lutz-Peter Kurdelski [2011-01-11 23:00:22 +0100]:<br>
><br>
>> Thanks for the hints. Let me summarize some information.<br>
>> I installed TeXLive from a local copy of the DVD contents using<br>
>> install-tl --gui=perl-tk<br>
>> Luckily I could use the defaults except removing some documentation and<br>
>> languages I do not use.<br>
>> After that I installed - oops, may this be the problem -<br>
>> texworks_0.3.0~svn726~maverick1_amd64.deb<br>
>> with XeTeX extensions and<br>
>> texworks-scripting-lua_0.3.0~svn726~maverick1_amd64.deb<br>
>> texworks-scripting-python_0.3.0~svn726~maverick1_amd64.deb<br>
>> TeXWorks itself runs. I can use the KOMA-letter template and write nice<br>
>> letters. But when I change to dinbrief.cls it fails.<br>
>> Please note the following:<br>
>> $ kpsewhich dinbrief.cls<br>
>> /usr/local/texlive/2010/texmf-dist/tex/latex/dinbrief/dinbrief.cls<br>
>> $ locate dinbrief.cls<br>
>> /usr/local/share/texmf/latex/styles/latex2e/lpkdinbrief.cls<br>
>> /usr/local/share/texmf/latex/styles/latex2e/lpkdinbrief.cls.bak<br>
>> /usr/local/texlive/2010/texmf-dist/tex/latex/dinbrief/dinbrief.cls<br>
>> /usr/local/texlive/texmf-local/tex/latex/local/styles/latex2e/lpkdinbrief.cls<br>
>> /usr/local/texlive/texmf-local/tex/latex/local/styles/latex2e/lpkdinbrief.cls.bak<br>
> Ok, you have the class file.<br>
><br>
>> $ locate kpsewhich<br>
>> /LAB/TeXLive/ctan/graphics/metapost/base/source/texk/kpathsea/kpsewhich.c<br>
>> /LAB/TeXLive/ctan/graphics/metapost/base/source/texk/kpathsea/man/kpsewhich.man<br>
>> /LAB/TeXLive/ctan/support/autoconf/ac_prog_kpsewhich.m4<br>
>> /usr/bin/kpsewhich<br>
>> /usr/local/texlive/2010/bin/x86_64-linux/kpsewhich<br>
>> /usr/local/texlive/2010/texmf/doc/man/man1/kpsewhich.1<br>
>> /usr/local/texlive/2010/texmf/doc/man/man1/kpsewhich.man1.pdf<br>
>> /usr/share/man/man1/kpsewhich.1.gz<br>
> See, you have two kpsewhich: one (first) from distro tex package and<br>
> from TL installation (second)<br>
><br>
>> and the path:<br>
>> $ echo $PATH<br>
>> /usr/local/texlive/2010/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games<br>
> Now this doesn't mean that your texworks uses it. Check this:<br>
> Edit->Prefereces...->Typesetting->Paths for Tex and related programs<br>
> the path<br>
> /usr/local/texlive/2010/bin/x86_64-linux<br>
> should be in first place.<br>
><br>
> ---<br>
> WBR, Vladimir Lomov<br>
><br>
<br>
</div></div></blockquote></div></div></div><br>I was able to reproduce that and solve it the same way, but now I've got another issue:<br>On Ubuntu 10.10 with TeX Live 2010 and
<span style="font-size: small;">Tex works editor Version 0.2.3 (r.466)</span> (this one pas included by today's tl-web-installer)<br>the first lines are cut:<br>
I see only <br>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">EX encoding = UTF-8</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">
</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;"></p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">\documentclass[12pt]{scrreprt}</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">\usepackage{fontspec}</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;"><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;">instead of <br>
</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">% !TEX TS-program = xelatex
% !TEX encoding = UTF-8
\documentclass[12pt]{scrreprt}
\usepackage{fontspec}</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;">Is this issue already known?</p>
<br>
</blockquote></div><br>Sorry guys, forget my former post, in<span style="font-size: small;"> Version 0.3 r.726 (launchpad) this issue doesn't occure anymore.<br></span>