*To:* lyx-users@lists.lyx.org *Cc:* David L. Johnson
<david.john...@lehigh.edu>; Lyx List
<lyx-users@lists.lyx.org> *Sent:* Wednesday, September 5, 2012 11:32:28 AM
*Subject:* Re: LyX
andTeX Live: How to find and link a new latex version?
On 05/09/12 16:40, John Kane wrote:
To David and Rainer,
To continue the saga I renamed my texlive folder in /usr/local to oldtexlive
and now get :
I assume, you also followed step 1 and 2 and did sudo tlmgr path remove ?
john@john-K53U:~$ texlive --version texlive: command not found
I am not aware of a command named "texlive"
john@john-K53U:~$ tlmgr --version No command 'tlmgr' found, did you mean:
Command 'vlmgr'
from package 'qdbm-util' (universe) Command 'rlmgr' from package 'qdbm-util'
(universe)
tlmgr: command not found
Makes sense - as you removed the links o the commands from the path.
john@john-K53U:~$ which latex /usr/bin/latex
This is strange - what gives you
latex --version
Interestingly enough when I do a ls in /bin I no longer seem to see anything
called latex
However much to my surprise LyX is still running happily and the tex
information shows
/usr/share/texlive/texmf-dist/tex/latex/akletter/akletter.cls so it looks like
LyX has found
something, presumabley ver.2012 since the old path was usr/local/texlive2011.
Now, presumably I can reinstall a version of tlmgr and have another go at
installing
leadpar. Or should I expect it to have installed automatically with ver. 2012?
The worst of all this is that I really don't need leadpar, I just was trying to
do a LyX
sales job on a history graduate student and wanted him to see what some of the
more
specialized packages could do. Even he does not really need it but now it's
got me annoyed
that I cannot do it.
Also I am likely to need to update some of my packages so I do need to get
tlmgr working but
it's not that urgent.
Anywhat thanks for all the help so far.
----------------------------------------------------------------------------------------------------
*From:* Rainer M Krug <r.m.k...@gmail.com <mailto:r.m.k...@gmail.com>>
*To:* John Kane <jrkrid...@yahoo.ca <mailto:jrkrid...@yahoo.ca>> *Cc:* David L.
Johnson
<david.john...@lehigh.edu <mailto:david.john...@lehigh.edu>>; Lyx
List <lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>> *Sent:*
Tuesday, September 4,
2012
3:46:03 AM *Subject:* Re: LyX
andTeX Live: How to find and link a new latex version?
On 02/09/12 01:26, John Kane wrote:
----------------------------------------------------------------------------------------------------
*From:* David L. Johnson <david.john...@lehigh.edu
<mailto:david.john...@lehigh.edu>
<mailto:david.john...@lehigh.edu <mailto:david.john...@lehigh.edu>>>
*To:* John Kane <jrkrid...@yahoo.ca <mailto:jrkrid...@yahoo.ca>
<mailto:jrkrid...@yahoo.ca
<mailto:jrkrid...@yahoo.ca>>> *Sent:* Saturday, September
1,
2012 1:51:43 PM *Subject:*
Re: LyX andTeX Live: How to find and link a new latex version?
On 09/01/2012 01:33 PM, John Kane wrote:
Please but in. I am a newbie with Ubuntu and tend to blunder around.
Basically I have
a dual boot Ubutu /Window 7. Some time ago I upgraded from 11.? to 12.04 with
apparently
no problem.
But the system works fine for other programs, is that right? There must be
something else
amiss.
No problem what-so-ever as far as I can see. I have a few programs I use
regularly -
LibreOffice, gedit, R, Firefox, plus a couple play around with - EMACS,
gnumeric-- and
they all install and operate with no problem. Installed mainly with the
software centre or
synaptics although I think I updated R manually from a PPA as the Ubuntu
version was
outdated. I did install tlmgr for 2011 manually following some instructions
that Stefano
Franco supplied on the list.
I have no real idea of what is correct or not-- I lack the partly intuitive
feel that I
had for Windws after years of battling
OTOH, I have no idea about Windows. My last Windows machine was version 3.1.
You really have not missed much. My employers supplied Windows and, perforce, I
used it.
:( Still, it beat punch cards but not by much.
Now my students laugh at me when I try to use one in class for presentations,
so I bring
my laptop.
Can you re-describe your basic issue for me? I did jump in the middle of this.
That
other guy's suggestion to use "tlmgr" may not apply. I don't have it, either,
and I do
have Texlive 2012 and a newish lyx (2.0.3).
Simple summary: Wanted to install leadpar; got error message imply that 2011
was out of
date. Discovered that version 2012 was available through the software centre.
Installed
from there No idea where it is and I get results like this: ohn@john-K53U:~$
which latex
/usr/local/texlive/2011/bin/i386-linux/latex
Both synaptics and the software centre report that TeX Live 2012 is installed.
Synaptics
fails to find 2011 which is in /usr/local/texlive/2011/bin/i386-linux/latex and
working
fine with LyX 2.0.2
OK - just one idea - if you look at http://www.tug.org/texlive/upgrade.html it
shows you the
procedure to install 2012 by hand - BUT DON"T DO IT YET!. Point 12 mentions
tlmgr path add
I would suggest to try:
1) run tlmgr --version
to see which tlmgr is managing.
2) Then you could try to run
sudo tlmgr path remove
to remove the symlinks - this might remove all symlinks created by the package
manager as
well, but don't worry about that.
3) go into synaptic and re-ilnstall texlive, which should re-create the links
by the
package.
4) if you want / need texlive 2012, you could add the ppa
https://launchpad.net/~texlive-backports/+archive/ppa/ to your system by using
sudo apt-add-repository ppa:texlive-backports/ppa
and do
sudo apt-get update sudo apt-get upgrade
to update the ubuntu texlive version to 2012.
Finally, if you have in /usr/local/texlive2012 directory, you SHOULD be save to
delete it -
I would rename it and, if everything stil works, you can then (after a few
weeks) delete it.
Hope this helps,
Rainer
Thanks
--
David L. Johnson
If all economists were laid end to end, they would not reach a conclusion. --
George
Bernard Shaw