Re: lexlive2011 and Debian squeeze

2011-09-28 Thread Helge Hafting

On 13. sep. 2011 16:01, Wolfgang Engelmann wrote:

Could somebody who uses Debian squeeze and texlive2011 share his
experience installing it with me (and others)?. Where is texlive
installed and how do I make sure that lyx is using it (and also other
programs which use tex/latex such as xfig etc), i.e. the Path setting?
At the moment I have downloaded the unx.tar.gz package, which is waiting
to be unpacked and further manipulated.


I installed texlive2011 into debian - it was easy enough:

1. Download the texlive installer from their site
2. Run the installer as root
3. Select what you want - I deselected support for a lot of
   languages I don't use, but installed everything else.
4. Wait, as the texlive installer fetch the 2.7GB or so,
   and puts it in /usr/local. (You can select somewhere else,
   if you like.)
5. Update your PATH setting, so that texlive2011 binaries will
   be found before Debian's older texlive. I updated my
   .bashrc file with this line:
   export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH
   If your platform is 32-bit, this line will be slightly different.
6. Log out and in again, verify the changed PATH. You may also want
   to run the command "pdflatex" and see that it says "(TeX Live 2011)"
7. Start LyX, use the menu "Tools->Reconfigure". After this, LyX uses
   the new texlive because of the PATH update.

No need to remove Debian's texlive - it satisfies dependencies for
other packages that wants TeX. The 2011 version will be used anyway
due to the PATH change.

To switch back, (when Debian eventually get texlive2011), remove 
texlive2011 from the PATH and use Tools->Reconfigure in LyX again.


Helge Hafting



Re: lexlive2011 and Debian squeeze

2011-09-14 Thread David L. Johnson

On 09/14/2011 05:26 AM, Guenter Milde wrote:

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.
Oops.  I did not pay attention to texlive2011 being the issue.  Sorry 
for my misunderstanding.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]



Re: lexlive2011 and Debian squeeze

2011-09-14 Thread Guenter Milde
On 2011-09-13, David L. Johnson wrote:
> On 09/13/2011 10:01 AM, Wolfgang Engelmann wrote:
>> Could somebody who uses Debian squeeze and texlive2011 share his 
>> experience installing it with me (and others)?. Where is texlive 
>> installed and how do I make sure that lyx is using it (and also other 
>> programs which use tex/latex such as xfig etc), i.e. the Path setting? 
>> At the moment I have downloaded the unx.tar.gz package, which is 
>> waiting to be unpacked and further manipulated.

> I am using wheezy, not squeeze (the "testing" distribution rather than 
> the stable), but texlive has always been trivial to install, and is a 
> big improvement over the previous version of tex that came with debian 
> (whose name I forgot).

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.

I would put texlive 2011 under /usr/local/...

I don't know whether some paths still need adjustment or the common
preference of /usr/local/... over /usr/... will suffice.

If space is an issue, a "dummy package" could be used to fullfill
requirements of LyX etc. and all Debian texlive packages removed.


Günter



Re: lexlive2011 and Debian squeeze

2011-09-13 Thread Wolfgang Engelmann

Zitat von "David L. Johnson" :
Thanks, David. where do you find the lyx2.x package for Debian, and  
what do I have to add to my sources.list in /etc?

Wolfgang


On 09/13/2011 10:01 AM, Wolfgang Engelmann wrote:
Could somebody who uses Debian squeeze and texlive2011 share his  
experience installing it with me (and others)?. Where is texlive  
installed and how do I make sure that lyx is using it (and also  
other programs which use tex/latex such as xfig etc), i.e. the Path  
setting? At the moment I have downloaded the unx.tar.gz package,  
which is waiting to be unpacked and further manipulated.


I am using wheezy, not squeeze (the "testing" distribution rather  
than the stable), but texlive has always been trivial to install,  
and is a big improvement over the previous version of tex that came  
with debian (whose name I forgot).


Just don't install tarballs on top of the distribution and expect it  
all to work together.  The better approach would be to just install  
texlive and lyx, both using the package management system (which has  
several interfaces, from the minimal dpkg to synaptic.  I use apt,  
which helps me keep things up to date without it being too busy.


I haven't worried about paths in years.

The only reason to install something other than is what comes with  
the distribution is to get new bells and whistles.  With lyx, the  
build process automatically finds the stuff it needs, and if it  
doesn't, something serious is wrong.  You may have to install a lot  
of packages to get lyx compiled, which is why the package management  
is easier.  Wheezy, at least, is up to 2.0.0 with lyx.


--

David L. Johnson

Accept risk.  Accept responsibility.  Put a lawyer out of business.







Re: lexlive2011 and Debian squeeze

2011-09-13 Thread David L. Johnson

On 09/13/2011 10:01 AM, Wolfgang Engelmann wrote:
Could somebody who uses Debian squeeze and texlive2011 share his 
experience installing it with me (and others)?. Where is texlive 
installed and how do I make sure that lyx is using it (and also other 
programs which use tex/latex such as xfig etc), i.e. the Path setting? 
At the moment I have downloaded the unx.tar.gz package, which is 
waiting to be unpacked and further manipulated.


I am using wheezy, not squeeze (the "testing" distribution rather than 
the stable), but texlive has always been trivial to install, and is a 
big improvement over the previous version of tex that came with debian 
(whose name I forgot).


Just don't install tarballs on top of the distribution and expect it all 
to work together.  The better approach would be to just install texlive 
and lyx, both using the package management system (which has several 
interfaces, from the minimal dpkg to synaptic.  I use apt, which helps 
me keep things up to date without it being too busy.


I haven't worried about paths in years.

The only reason to install something other than is what comes with the 
distribution is to get new bells and whistles.  With lyx, the build 
process automatically finds the stuff it needs, and if it doesn't, 
something serious is wrong.  You may have to install a lot of packages 
to get lyx compiled, which is why the package management is easier.  
Wheezy, at least, is up to 2.0.0 with lyx.


--

David L. Johnson

Accept risk.  Accept responsibility.  Put a lawyer out of business.



lexlive2011 and Debian squeeze

2011-09-13 Thread Wolfgang Engelmann
Could somebody who uses Debian squeeze and texlive2011 share his  
experience installing it with me (and others)?. Where is texlive  
installed and how do I make sure that lyx is using it (and also other  
programs which use tex/latex such as xfig etc), i.e. the Path setting?  
At the moment I have downloaded the unx.tar.gz package, which is  
waiting to be unpacked and further manipulated.


Thanks a lot,

Wolfgang