On Tue, Sep 20, 2011 at 5:34 AM, ehud.kap...@gmail.com <ehud.kap...@gmail.com> wrote: > Thanks, Stefano-- that was helpful. Too bad Lyx requires me to click OK > after reconfiguring. > Where can I find a description of the options for the command line interface > for Lyx?
Hi Ehud, I don't know but I am cc'ing the lyx-users list. The developers may know. I learned about the options from lyx --help Cheers, Stefano > Yours, > Ehud > > On 9/18/2011 9:59 AM, stefano franchi wrote: > > Hi Ehud, > > have you tried issuing > > lyx --execute reconfigure > > from the command line? I don't update texlive very often (even though > I should), so I never tried to put it in a script. But it should work. > It may fire up Lyx, though, so I guess you would have to find a way to > exit it from within the script. > > Cheers, > > Stefano > > > On Sun, Sep 18, 2011 at 6:58 AM, ehud.kap...@gmail.com > <ehud.kap...@gmail.com> wrote: > > Hi Stefano, > This is unrelated to the issue you had, but you might be able to help: > Every time I update/upgrade Texlive (from tlmgr) I have to reconfigure Lyx > from its menus, close t and restart. Is there a command line way of > reconfiguring Lyx? Is so, I could put it in a .bat or .sh file and update > Texlive and reconfigure Lyx all at once. > Thanks, > Ehud Kaplan > > On 9/15/2011 7:24 PM, stefano franchi wrote: > > Problem solved :-) > > Thanks to everyone, and particularly to Julio for pointing me in the > right direction. As he guessed, the problem was not with Lyx, but with > the environment that Kde works with. I always launch my applications > from Krunner (the little Kde app that offer a command line-like > mini-screen). After a lot of searching, I discovered that: > > 1. Krunner uses the PATH variables set by startkde (the script that > starts the KDE desktop) > > 2. startkde does two things, path-wise: > a - first it uses the PATH settings it inherits from the process it > is run from; > b - then it looks for executable (i.e scripts) files in kde's /env > directories (e.g. in $HOME/.kde4/env and other env dirs system wide) > c - it runs any executable files it finds > > 3. To align the PATH variable in a bash shell (which I set in .profile > and .bash_profile) with krunner's, I wrote a one-line file which > exports the correct path, called it profile.sh, made it executable, > and put it in a newly created dir ~HOME/.kde4/env > > after logging out and restarting kde, lyx now finds TL2011 when > launched from a shell and from Krunner. > > > Thanks to everyone. > > > Cheers, > > Stefano > > On Thu, Sep 15, 2011 at 4:42 PM, Paul Rubin <ru...@msu.edu> wrote: > > In LyX, could Tools > Preferences > Paths > PATH prefix be pointing to the > old > version? > > Paul > > > > > > > -- > Ehud Kaplan, Ph.D. > Jules and Doris Stein Research to Prevent Blindness Professor > Director, Center of Excellence for Computational & System neuroscience, > The Friedman Brain Institute, MSSM > Director, The laboratory of Visual & Computational Neuroscience > Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology > The Mount Sinai School of Medicine > One Gustave Levy Place > New York, NY, 10029 > > > > > -- > > 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 -- __________________________________________________ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA