Asi sa mi to podarilo vyriesit - bolo treba nastavit v Texworks --> Preferences -->Typesetting panel<br>a tu pridat cestu /usr/local/texlive/2011/bin/i386-linux a posunut to na prve miesto.<br><br>Vdaka za pomoc.<br>
<br>PK<br><br><div class="gmail_quote">2011/9/12 Zdenek Wagner <span dir="ltr"><<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.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;">
Nikde zde nevidim, ze by se spoustel pri startu desktopu ~/.bashrc,<br>
tedy pokud to neni v /etc/bash.bashrc. Je mozne, ze .bash_profile neni<br>
po instalaci vytvoren, ja jsem si ho vytvoril nejspis sam prave kvuli<br>
programum, ktere spoustim ikonami. TL2009 mate pravdepodobne v<br>
/usr/bin, coz je definovano v /etc/environment.<br>
<div><div></div><div class="h5"><br>
2011/9/12 peter knezel <<a href="mailto:peter.knezel@gmail.com">peter.knezel@gmail.com</a>>:<br>
> 1.more /etc/enviroment<br>
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"<br>
><br>
><br>
> 2.more profile<br>
> # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))<br>
> # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).<br>
><br>
> if [ -d /etc/profile.d ]; then<br>
>   for i in /etc/profile.d/*.sh; do<br>
>     if [ -r $i ]; then<br>
>       . $i<br>
>     fi<br>
>   done<br>
>   unset i<br>
> fi<br>
><br>
> if [ "$PS1" ]; then<br>
>   if [ "$BASH" ]; then<br>
>     PS1='\u@\h:\w\$ '<br>
>     if [ -f /etc/bash.bashrc ]; then<br>
>     . /etc/bash.bashrc<br>
>     fi<br>
>   else<br>
>     if [ "`id -u`" -eq 0 ]; then<br>
>       PS1='# '<br>
>     else<br>
>       PS1='$ '<br>
>     fi<br>
>   fi<br>
> fi<br>
><br>
> umask 022<br>
><br>
> 3.more .bash_profile<br>
> .bash_profile: No such file or directory<br>
><br>
> Hmm, ani to nepomohlo...<br>
><br>
> PK<br>
><br>
><br>
> 2011/9/12 Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>
>><br>
>> 2011/9/12 peter knezel <<a href="mailto:peter.knezel@gmail.com">peter.knezel@gmail.com</a>>:<br>
>> > Spravil som ikonu s prikazom /usr/bin/texworks.<br>
>> ><br>
>> V tom pripade musite mit cestu v /etc/environment, /etc/profile nebo v<br>
>> ~/.bash_profile, protoze pri startu desktopu se ~/.bashrc vubec<br>
>> nepouzije. Krome toho se zminene soubory ctou pouze pri startu<br>
>> desktopu, takze az si to nastavite, musite se odlogovat a znovu<br>
>> nalogovat. (Je to vec Linuxu, nikoliv TeX Live, takze uplne stejne<br>
>> problemy budete mit i u jinych programu spoustenych ikonami a z menu<br>
>> Gnome ci KDE.)<br>
>><br>
>> > PK<br>
>> ><br>
>> > 2011/9/12 Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>
>> >><br>
>> >> 2011/9/12 peter knezel <<a href="mailto:peter.knezel@gmail.com">peter.knezel@gmail.com</a>>:<br>
>> >> > Hmm,<br>
>> >> > pozeral som sa do .bashrc vo svojom domovskom adresari - skutocne tam<br>
>> >> > boli<br>
>> >> > riadky:<br>
>> >> > MANPATH=/home/<user>/TexLive2009pretest/texmf/doc/man<br>
>> >> > INFOPATH=/home/<user>/TexLive2009pretest/texmf/doc/infos<br>
>> >> > PATH=$PATH:/home/<user>/TexLive2009pretest/bin/i386-linux<br>
>> >> ><br>
>> >> > Tie som teraz zakomentoval a este predtym som odstranil vo svojom<br>
>> >> > domovskom<br>
>> >> > adresari staru verziu texlive:<br>
>> >> > sudo rm -Rf TexLive2009pretest<br>
>> >> ><br>
>> >> > Ale taktiez to nepomohlo. Ale vdaka za radu. Idem hladat dalej...<br>
>> >> ><br>
>> >> Jak spoustite texworks? Z terminalu, nebo nejakou ikonou z desktopu?<br>
>> >><br>
>> >> > Peter Knezel<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > 2011/9/12 Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>
>> >> >><br>
>> >> >> 2011/9/12 peter knezel <<a href="mailto:peter.knezel@gmail.com">peter.knezel@gmail.com</a>>:<br>
>> >> >> > Zdravim,<br>
>> >> >> ><br>
>> >> >> > rozhodol som sa, ze vyskusam instalaciu Texlive 2011 pod ubuntu<br>
>> >> >> > 10.04.<br>
>> >> >> > Instalacia prebehla z DVD v poriadku. (cez sudo ./install-tl.bat<br>
>> >> >> > --gui)<br>
>> >> >> ><br>
>> >> >> > Nastavil som aj premenne PATH, ...etc:<br>
>> >> >> > sudo vi /etc/bash.bashrc<br>
>> >> >> > add following in the end:<br>
>> >> >> ><br>
>> >> >> > PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH; export PATH<br>
>> >> >> > MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH; export<br>
>> >> >> > MANPATH<br>
>> >> >> > INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH; export<br>
>> >> >> > INFOPATH<br>
>> >> >> ><br>
>> >> >> To vypada, ze nekde jinde (/etc/environment, bash_profile) je<br>
>> >> >> nastavena v PATH cesta k TL2009 (tuto verzi distribuuji debianni<br>
>> >> >> systemy) a TeXWorks poustite nejakou ikonou z desktopu nebo z menu.<br>
>> >> >> V<br>
>> >> >> takovem pripade se totiz nepouzije .bashrc.<br>
>> >> >><br>
>> >> >> > Edit /etc/manpath.config via:<br>
>> >> >> > sudo vi /etc/manpath.config<br>
>> >> >> > under following :<br>
>> >> >> > # set up PATH to MANPATH mapping<br>
>> >> >> > add this line:<br>
>> >> >> > MANPATH_MAP /usr/local/texlive/2011/bin/i386-linux<br>
>> >> >> > /usr/local/texlive/2011/texmf<br>
>> >> >> > /doc/man<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > Nainstaloval som potom Texworks Version 0.2.3 (r.466) cez Ubuntu<br>
>> >> >> > Software<br>
>> >> >> > Center.<br>
>> >> >> > Ked spustim ale cez Texworks kompilaciu suboru xxx.tex, spusti sa<br>
>> >> >> > stara<br>
>> >> >> > verzia (2009):<br>
>> >> >> ><br>
>> >> >> > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)<br>
>> >> >> ><br>
>> >> >> > entering extended mode<br>
>> >> >> ><br>
>> >> >> > (./leteng12sep2011.tex<br>
>> >> >> ><br>
>> >> >> > LaTeX2e <2009/09/24><br>
>> >> >> ><br>
>> >> >> > Babel <v3.8l> and hyphenation patterns for english, usenglishmax,<br>
>> >> >> > dumylang,<br>
>> >> >> > noh<br>
>> >> >> ><br>
>> >> >> > yphenation, loaded.<br>
>> >> >> ><br>
>> >> >> > Ked spustim pdflatex xxx.tex v terminalovom okne - verzia je 2011:<br>
>> >> >> ><br>
>> >> >> > his is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)<br>
>> >> >> > restricted \write18 enabled.<br>
>> >> >> > entering extended mode<br>
>> >> >> > (./leteng12sep2011.tex<br>
>> >> >> > LaTeX2e <2009/09/24><br>
>> >> >> > Babel <v3.8l> and hyphenation patterns for english, dumylang,<br>
>> >> >> > nohyphenation,<br>
>> >> >> > ge<br>
>> >> >> > rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek,<br>
>> >> >> > ibycus,<br>
>> >> >> > arabi<br>
>> >> >> > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,<br>
>> >> >> > czech,<br>
>> >> >> > danis<br>
>> >> >> > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic,<br>
>> >> >> > farsi,<br>
>> >> >> > finnis<br>
>> >> >> > h, french, galician, german, ngerman, swissgerman, monogreek,<br>
>> >> >> > greek,<br>
>> >> >> > hungarian,<br>
>> >> >> > icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam,<br>
>> >> >> > marathi,<br>
>> >> >> > or<br>
>> >> >> > iya, panjabi, tamil, telugu, indonesian, interlingua, irish,<br>
>> >> >> > italian,<br>
>> >> >> > kurmanji,<br>
>> >> >> > lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal,<br>
>> >> >> > nynorsk,<br>
>> >> >> > pol<br>
>> >> >> > ish, portuguese, romanian, russian, sanskrit, serbian, serbianc,<br>
>> >> >> > slovak,<br>
>> >> >> > sloven<br>
>> >> >> > ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian,<br>
>> >> >> > welsh,<br>
>> >> >> > loaded<br>
>> >> >> ><br>
>> >> >> > Kde moze byt chyba?<br>
>> >> >> ><br>
>> >> >> > Podobny problem je opisany s aplikaciou kile na stranke:<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > <a href="http://tex.stackexchange.com/questions/27721/versions-of-texlive-under-ubuntu" target="_blank">http://tex.stackexchange.com/questions/27721/versions-of-texlive-under-ubuntu</a><br>

>> >> >> ><br>
>> >> >> > S pozdravom,<br>
>> >> >> ><br>
>> >> >> > Peter Knezel<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > _______________________________________________<br>
>> >> >> > csTeX mailing list<br>
>> >> >> > <a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
>> >> >> > <a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> --<br>
>> >> >> Zdeněk Wagner<br>
>> >> >> <a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
>> >> >> <a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
>> >> >><br>
>> >> >> _______________________________________________<br>
>> >> >> csTeX mailing list<br>
>> >> >> <a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
>> >> >> <a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
>> >> ><br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > csTeX mailing list<br>
>> >> > <a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
>> >> > <a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
>> >> ><br>
>> >> ><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Zdeněk Wagner<br>
>> >> <a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
>> >> <a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> csTeX mailing list<br>
>> >> <a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
>> >> <a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > csTeX mailing list<br>
>> > <a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
>> > <a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Zdeněk Wagner<br>
>> <a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
>> <a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
>><br>
>> _______________________________________________<br>
>> csTeX mailing list<br>
>> <a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
>> <a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
><br>
><br>
> _______________________________________________<br>
> csTeX mailing list<br>
> <a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
> <a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Zdeněk Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
_______________________________________________<br>
csTeX mailing list<br>
<a href="mailto:csTeX@cs.felk.cvut.cz">csTeX@cs.felk.cvut.cz</a><br>
<a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/mailman/listinfo/cstex</a><br>
</div></div></blockquote></div><br>