Change Bibliography style and name

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

In the attached file, I would like to do two things:

1) replace the automatic name Bibliography with Literature and
2) change the style to Section

I know this is possible, but couldn't find the way to do it.

So how can this be achieved?

Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBHMs0ACgkQoYgNqgF2egrplACfUxAFB1et5KHeZlwG+npkA4Er
/1cAoIT9RlTWu5HhUuIlhea7m7lW4a+b
=CuoD
-END PGP SIGNATURE-


BibTest.lyx
Description: application/lyx


BibTest.lyx.sig
Description: Binary data


Re: Change Bibliography style and name

2012-09-05 Thread Richard Heck

On 09/05/2012 07:09 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

In the attached file, I would like to do two things:

1) replace the automatic name Bibliography with Literature and

At the very beginning of the document:
\addto\captionsenglish{\renewcommand\bibname{Literature}}
You have to do it this way because you are using babel.


2) change the style to Section

To do that, you will need to copy the declaration of \thebibliography 
from book.cls to your preamble, change it from \newenvironment to 
\renewenvironment, and change the line that makes it a chapter* to one 
that makes it a section*.


rh



Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread John Kane
To David and Rainer,

To continue the saga I renamed my texlive folder in /usr/local to oldtexlive 
and now get :

john@john-K53U:~$ texlive --version
texlive: command not found
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

john@john-K53U:~$ which latex 
/usr/bin/latex


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
To: John Kane jrkrid...@yahoo.ca 
Cc: David L. Johnson david.john...@lehigh.edu; Lyx List 
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?
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/09/12 01:26, John Kane wrote:
 
 
 


 
*From:* David L. Johnson david.john...@lehigh.edu
 *To:* John Kane 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 DONT 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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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
 *To:* John Kane jrkrid...@yahoo.ca *Cc:* David L. Johnson 
 david.john...@lehigh.edu; Lyx
 List 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
 *To:* John Kane 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 DONT 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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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

texlive 2011 or 2012?

Is there any texliv installed via synaptic / software-centre?

 
 Interestingly enough when  I do a ls in /bin I no longer seem to see anything 
 called latex

can you execute

latex --version
?

 
 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?

Why do you need tlmgr?
If you really need tlmgr, I would suggest to uninstall all texlive versions 
installed via
synaptic, and reinstall 2012 from the texlive website.

 
 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.

:-) I know that...

 
 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.

OK - then uninstall all texlive installed via synaptic and install texlive from 
their website into
your home directory - then you cen play with it without messing up your system! 
Works nicely for me.

See e.g. http://www.tug.org/texlive/quickinstall.html

but make sure that it installs into your home directory and do not change the 
path - rather use
point 12 from
http://www.tug.org/texlive/upgrade.html
as you can easily remove the links afterwards.

Cheers,

Rainer


 
 Anywhat thanks for all the help so far.
 
 


 
*From:* Rainer M Krug r.m.k...@gmail.com
 *To:* John Kane jrkrid...@yahoo.ca *Cc:* David L. Johnson 
 david.john...@lehigh.edu; Lyx 
 List 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
 *To:* John Kane 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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread David L. Johnson

On 09/05/2012 10:40 AM, John Kane wrote:

To David and Rainer,

To continue the saga I renamed my texlive folder in /usr/local to 
oldtexlive and now get :


john@john-K53U:~$ texlive --version
texlive: command not found
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

john@john-K53U:~$ which latex
/usr/bin/latex

Interestingly enough when  I do a ls in /bin I no longer seem to see 
anything called latex


Did you before?  I didn't notice that.  My latex executable is 
/usr/bin/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.


Right.  What happened was that the system (not Lyx itself, probably) now 
found the right latex, and that gives the paths to support files like 
that.




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?


Maybe not.  I have neither tlmgr nor leadpar in my TeXlive 2012.

--

David L. Johnson

Business! cried the Ghost. Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!
--Dickens, A Christmas Carol



Problems after upgrading to texlive 2012

2012-09-05 Thread ehud.kaplan
I have upgraded to texlive 2012 (from texlive 2009) on ubuntu 12.04, 32 
bit.
I did it by adding a ppa for backport of texlive 2012, followed by sudo 
apt-get install texlive and all seemed to go without a hitch.
However, when I tried to compile some Lyx files that have worked fine 
with texlive 2009, I got error messages:

subscript.sty not found,
or
movie15.sty not found.
I ran sudo texhash and reconfigured Lyx, but the errors persist.
I then exported the Lyx file to plain latex and it compiled without a 
problem, including the subscripts.
When I look at the Lyx /Tools/Texinfo and look for Latex styles, I do 
not see subscript.sty.

What is going on?

Thanks
EK




Re: Problems after upgrading to texlive 2012

2012-09-05 Thread UD
Mystery solved-- with texlive 2009 I loaded many additional packages, 
which I forgot to load

upon upgrading.  Once I did that, all is well.

EK

On 09/05/2012 05:03 PM, ehud.kaplan wrote:
I have upgraded to texlive 2012 (from texlive 2009) on ubuntu 12.04, 
32 bit.
I did it by adding a ppa for backport of texlive 2012, followed by 
sudo apt-get install texlive and all seemed to go without a hitch.
However, when I tried to compile some Lyx files that have worked fine 
with texlive 2009, I got error messages:

subscript.sty not found,
or
movie15.sty not found.
I ran sudo texhash and reconfigured Lyx, but the errors persist.
I then exported the Lyx file to plain latex and it compiled without a 
problem, including the subscripts.
When I look at the Lyx /Tools/Texinfo and look for Latex styles, I do 
not see subscript.sty.

What is going on?

Thanks
EK




--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Change Bibliography style and name

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

In the attached file, I would like to do two things:

1) replace the automatic name Bibliography with Literature and
2) change the style to Section

I know this is possible, but couldn't find the way to do it.

So how can this be achieved?

Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBHMs0ACgkQoYgNqgF2egrplACfUxAFB1et5KHeZlwG+npkA4Er
/1cAoIT9RlTWu5HhUuIlhea7m7lW4a+b
=CuoD
-END PGP SIGNATURE-


BibTest.lyx
Description: application/lyx


BibTest.lyx.sig
Description: Binary data


Re: Change Bibliography style and name

2012-09-05 Thread Richard Heck

On 09/05/2012 07:09 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

In the attached file, I would like to do two things:

1) replace the automatic name Bibliography with Literature and

At the very beginning of the document:
\addto\captionsenglish{\renewcommand\bibname{Literature}}
You have to do it this way because you are using babel.


2) change the style to Section

To do that, you will need to copy the declaration of \thebibliography 
from book.cls to your preamble, change it from \newenvironment to 
\renewenvironment, and change the line that makes it a chapter* to one 
that makes it a section*.


rh



Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread John Kane
To David and Rainer,

To continue the saga I renamed my texlive folder in /usr/local to oldtexlive 
and now get :

john@john-K53U:~$ texlive --version
texlive: command not found
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

john@john-K53U:~$ which latex 
/usr/bin/latex


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
To: John Kane jrkrid...@yahoo.ca 
Cc: David L. Johnson david.john...@lehigh.edu; Lyx List 
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?
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/09/12 01:26, John Kane wrote:
 
 
 


 
*From:* David L. Johnson david.john...@lehigh.edu
 *To:* John Kane 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 DONT 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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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
 *To:* John Kane jrkrid...@yahoo.ca *Cc:* David L. Johnson 
 david.john...@lehigh.edu; Lyx
 List 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
 *To:* John Kane 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 DONT 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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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

texlive 2011 or 2012?

Is there any texliv installed via synaptic / software-centre?

 
 Interestingly enough when  I do a ls in /bin I no longer seem to see anything 
 called latex

can you execute

latex --version
?

 
 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?

Why do you need tlmgr?
If you really need tlmgr, I would suggest to uninstall all texlive versions 
installed via
synaptic, and reinstall 2012 from the texlive website.

 
 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.

:-) I know that...

 
 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.

OK - then uninstall all texlive installed via synaptic and install texlive from 
their website into
your home directory - then you cen play with it without messing up your system! 
Works nicely for me.

See e.g. http://www.tug.org/texlive/quickinstall.html

but make sure that it installs into your home directory and do not change the 
path - rather use
point 12 from
http://www.tug.org/texlive/upgrade.html
as you can easily remove the links afterwards.

Cheers,

Rainer


 
 Anywhat thanks for all the help so far.
 
 


 
*From:* Rainer M Krug r.m.k...@gmail.com
 *To:* John Kane jrkrid...@yahoo.ca *Cc:* David L. Johnson 
 david.john...@lehigh.edu; Lyx 
 List 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
 *To:* John Kane 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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread David L. Johnson

On 09/05/2012 10:40 AM, John Kane wrote:

To David and Rainer,

To continue the saga I renamed my texlive folder in /usr/local to 
oldtexlive and now get :


john@john-K53U:~$ texlive --version
texlive: command not found
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

john@john-K53U:~$ which latex
/usr/bin/latex

Interestingly enough when  I do a ls in /bin I no longer seem to see 
anything called latex


Did you before?  I didn't notice that.  My latex executable is 
/usr/bin/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.


Right.  What happened was that the system (not Lyx itself, probably) now 
found the right latex, and that gives the paths to support files like 
that.




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?


Maybe not.  I have neither tlmgr nor leadpar in my TeXlive 2012.

--

David L. Johnson

Business! cried the Ghost. Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!
--Dickens, A Christmas Carol



Problems after upgrading to texlive 2012

2012-09-05 Thread ehud.kaplan
I have upgraded to texlive 2012 (from texlive 2009) on ubuntu 12.04, 32 
bit.
I did it by adding a ppa for backport of texlive 2012, followed by sudo 
apt-get install texlive and all seemed to go without a hitch.
However, when I tried to compile some Lyx files that have worked fine 
with texlive 2009, I got error messages:

subscript.sty not found,
or
movie15.sty not found.
I ran sudo texhash and reconfigured Lyx, but the errors persist.
I then exported the Lyx file to plain latex and it compiled without a 
problem, including the subscripts.
When I look at the Lyx /Tools/Texinfo and look for Latex styles, I do 
not see subscript.sty.

What is going on?

Thanks
EK




Re: Problems after upgrading to texlive 2012

2012-09-05 Thread UD
Mystery solved-- with texlive 2009 I loaded many additional packages, 
which I forgot to load

upon upgrading.  Once I did that, all is well.

EK

On 09/05/2012 05:03 PM, ehud.kaplan wrote:
I have upgraded to texlive 2012 (from texlive 2009) on ubuntu 12.04, 
32 bit.
I did it by adding a ppa for backport of texlive 2012, followed by 
sudo apt-get install texlive and all seemed to go without a hitch.
However, when I tried to compile some Lyx files that have worked fine 
with texlive 2009, I got error messages:

subscript.sty not found,
or
movie15.sty not found.
I ran sudo texhash and reconfigured Lyx, but the errors persist.
I then exported the Lyx file to plain latex and it compiled without a 
problem, including the subscripts.
When I look at the Lyx /Tools/Texinfo and look for Latex styles, I do 
not see subscript.sty.

What is going on?

Thanks
EK




--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Change Bibliography style and name

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

In the attached file, I would like to do two things:

1) replace the automatic name "Bibliography" with "Literature" and
2) change the style to "Section"

I know this is possible, but couldn't find the way to do it.

So how can this be achieved?

Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBHMs0ACgkQoYgNqgF2egrplACfUxAFB1et5KHeZlwG+npkA4Er
/1cAoIT9RlTWu5HhUuIlhea7m7lW4a+b
=CuoD
-END PGP SIGNATURE-


BibTest.lyx
Description: application/lyx


BibTest.lyx.sig
Description: Binary data


Re: Change Bibliography style and name

2012-09-05 Thread Richard Heck

On 09/05/2012 07:09 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

In the attached file, I would like to do two things:

1) replace the automatic name "Bibliography" with "Literature" and

At the very beginning of the document:
\addto\captionsenglish{\renewcommand\bibname{Literature}}
You have to do it this way because you are using babel.


2) change the style to "Section"

To do that, you will need to copy the declaration of \thebibliography 
from book.cls to your preamble, change it from \newenvironment to 
\renewenvironment, and change the line that makes it a chapter* to one 
that makes it a section*.


rh



Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread John Kane
To David and Rainer,

To continue the saga I renamed my texlive folder in /usr/local to oldtexlive 
and now get :

john@john-K53U:~$ texlive --version
texlive: command not found
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

john@john-K53U:~$ which latex 
/usr/bin/latex


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 
To: John Kane  
Cc: David L. Johnson ; Lyx List 
 
Sent: Tuesday, September 4, 2012 3:46:03 AM
Subject: Re: LyX andTeX Live: How to find and link a new latex version?
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/09/12 01:26, John Kane wrote:
> 
> 
> 
>
>
> 
*From:* David L. Johnson 
> *To:* John Kane  *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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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 
> *To:* John Kane  *Cc:* David L. Johnson 
> ; Lyx
> List  *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  >
>> *To:* John Kane > *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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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

texlive 2011 or 2012?

Is there any texliv installed via synaptic / software-centre?

> 
> Interestingly enough when  I do a ls in /bin I no longer seem to see anything 
> called latex

can you execute

latex --version
?

> 
> 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?

Why do you need tlmgr?
If you really need tlmgr, I would suggest to uninstall all texlive versions 
installed via
synaptic, and reinstall 2012 from the texlive website.

> 
> 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.

:-) I know that...

> 
> 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.

OK - then uninstall all texlive installed via synaptic and install texlive from 
their website into
your home directory - then you cen play with it without messing up your system! 
Works nicely for me.

See e.g. http://www.tug.org/texlive/quickinstall.html

but make sure that it installs into your home directory and do not change the 
path - rather use
point 12 from
http://www.tug.org/texlive/upgrade.html
as you can easily remove the links afterwards.

Cheers,

Rainer


> 
> Anywhat thanks for all the help so far.
> 
> 
>
>
> 
*From:* Rainer M Krug 
> *To:* John Kane  *Cc:* David L. Johnson 
> ; Lyx 
> List  *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  >
>> *To:* John Kane > *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 

Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-05 Thread David L. Johnson

On 09/05/2012 10:40 AM, John Kane wrote:

To David and Rainer,

To continue the saga I renamed my texlive folder in /usr/local to 
oldtexlive and now get :


john@john-K53U:~$ texlive --version
texlive: command not found
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

john@john-K53U:~$ which latex
/usr/bin/latex

Interestingly enough when  I do a ls in /bin I no longer seem to see 
anything called latex


Did you before?  I didn't notice that.  My latex executable is 
/usr/bin/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.


Right.  What happened was that the system (not Lyx itself, probably) now 
found the "right" latex, and that gives the paths to support files like 
that.




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?


Maybe not.  I have neither tlmgr nor leadpar in my TeXlive 2012.

--

David L. Johnson

"Business!" cried the Ghost. "Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!"
--Dickens, "A Christmas Carol"



Problems after upgrading to texlive 2012

2012-09-05 Thread ehud.kaplan
I have upgraded to texlive 2012 (from texlive 2009) on ubuntu 12.04, 32 
bit.
I did it by adding a ppa for backport of texlive 2012, followed by sudo 
apt-get install texlive and all seemed to go without a hitch.
However, when I tried to compile some Lyx files that have worked fine 
with texlive 2009, I got error messages:

subscript.sty not found,
or
movie15.sty not found.
I ran sudo texhash and reconfigured Lyx, but the errors persist.
I then exported the Lyx file to plain latex and it compiled without a 
problem, including the subscripts.
When I look at the Lyx /Tools/Texinfo and look for Latex styles, I do 
not see subscript.sty.

What is going on?

Thanks
EK




Re: Problems after upgrading to texlive 2012

2012-09-05 Thread UD
"Mystery" solved-- with texlive 2009 I loaded many additional packages, 
which I forgot to load

upon upgrading.  Once I did that, all is well.

EK

On 09/05/2012 05:03 PM, ehud.kaplan wrote:
I have upgraded to texlive 2012 (from texlive 2009) on ubuntu 12.04, 
32 bit.
I did it by adding a ppa for backport of texlive 2012, followed by 
sudo apt-get install texlive and all seemed to go without a hitch.
However, when I tried to compile some Lyx files that have worked fine 
with texlive 2009, I got error messages:

subscript.sty not found,
or
movie15.sty not found.
I ran sudo texhash and reconfigured Lyx, but the errors persist.
I then exported the Lyx file to plain latex and it compiled without a 
problem, including the subscripts.
When I look at the Lyx /Tools/Texinfo and look for Latex styles, I do 
not see subscript.sty.

What is going on?

Thanks
EK




--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029