Re: Ubuntu: keep lyx 2.2.3 and 2.3.1 in same system

2018-11-03 Thread Alan L Tyree

On 4/11/18 4:35 am, Liviu Andronic wrote:

On 10/13/18, Paul Johnson  wrote:

I have some projects based on LyX 2.2.3 that I want to work on and I
don't want to update to new. However, I also have projects based on
2.3 and I can't edit those with old LyX.

Liviu Andronic worked out a way for this to be possible a few years
ago, but I cannot find documents about it. I wish I could have old and
new lyx installed at same time, to easily run one or the other.
I've tried to do this by installing 2.3.1 from the Ubuntu package and
then compiling 2.2.3 from source and installing off the path, but then
I found the 2 versions should not share a user configuration folder.
After using 2.3.1 and allowing it to revise ~/.lyx, then lyx 2.2.3
cannot start. Error like this:


I didn't continue doing the previous stable release packages as a
separate install (like I did for 1.6 and 2.0) as it didn't seem like
there was enough demand. I may reconsider this going forward.

If you're building from source, it's very easy to achieve this, and
you would only need to use this argument when configuring, e.g.:
--with-version-suffix=2.2

This will take care of most things, like renaming the binary to
'lyx2.2', the share and home folders to 'lyx2.2', etc. It works
surprisingly well. You should even be able to do make install, and in
principle it shouldn't clash with the existing install from the PPA.

Although it's necessarily more complicated, for inspiration you can
always take a look at, e.g., the lyx2.0 packages. Just fetch e.g.:
lyx2.0_2.0.8.1-2~trusty~ppa1.debian.tar.gz

and inspect the 'debian/rules' file. It will list the config options.

Regards,
Liviu



$ ./lyx
Warning: Could not read configuration file

Error while reading the configuration file
preferences.
Please check your installation.

So obviously I need to be more graceful, separate config folders.

I thought about building a new Debian package "lyx223". I'm pretty
sure that's what I think Liviu did.  For me that was a fail because
the deb packaging code for the lyx project has a lot of hard coded
folders like /usr/share/lyx, so it is not too easy to rebuild a
package to use alternate folders.

If you have advice about this, I would be glad to  hear it.

--
Paul E. Johnson   http://pj.freefaculty.org
Director, Center for Research Methods and Data Analysis http://crmda.ku.edu

To write to me directly, please address me at pauljohn at ku.edu.

And consider using GNU Stow. It makes it easy to manage installation and 
removal of compiled packages.


Cheers,

Alan



--
Alan L Tyreehttp://www2.austlii.edu.au/~alan



Re: Ubuntu: keep lyx 2.2.3 and 2.3.1 in same system

2018-11-03 Thread Liviu Andronic
On 10/13/18, Paul Johnson  wrote:
> I have some projects based on LyX 2.2.3 that I want to work on and I
> don't want to update to new. However, I also have projects based on
> 2.3 and I can't edit those with old LyX.
>
> Liviu Andronic worked out a way for this to be possible a few years
> ago, but I cannot find documents about it. I wish I could have old and
> new lyx installed at same time, to easily run one or the other.
> I've tried to do this by installing 2.3.1 from the Ubuntu package and
> then compiling 2.2.3 from source and installing off the path, but then
> I found the 2 versions should not share a user configuration folder.
> After using 2.3.1 and allowing it to revise ~/.lyx, then lyx 2.2.3
> cannot start. Error like this:
>

I didn't continue doing the previous stable release packages as a
separate install (like I did for 1.6 and 2.0) as it didn't seem like
there was enough demand. I may reconsider this going forward.

If you're building from source, it's very easy to achieve this, and
you would only need to use this argument when configuring, e.g.:
--with-version-suffix=2.2

This will take care of most things, like renaming the binary to
'lyx2.2', the share and home folders to 'lyx2.2', etc. It works
surprisingly well. You should even be able to do make install, and in
principle it shouldn't clash with the existing install from the PPA.

Although it's necessarily more complicated, for inspiration you can
always take a look at, e.g., the lyx2.0 packages. Just fetch e.g.:
lyx2.0_2.0.8.1-2~trusty~ppa1.debian.tar.gz

and inspect the 'debian/rules' file. It will list the config options.

Regards,
Liviu


> $ ./lyx
> Warning: Could not read configuration file
> 
> Error while reading the configuration file
> preferences.
> Please check your installation.
>
> So obviously I need to be more graceful, separate config folders.
>
> I thought about building a new Debian package "lyx223". I'm pretty
> sure that's what I think Liviu did.  For me that was a fail because
> the deb packaging code for the lyx project has a lot of hard coded
> folders like /usr/share/lyx, so it is not too easy to rebuild a
> package to use alternate folders.
>
> If you have advice about this, I would be glad to  hear it.
>
> --
> Paul E. Johnson   http://pj.freefaculty.org
> Director, Center for Research Methods and Data Analysis http://crmda.ku.edu
>
> To write to me directly, please address me at pauljohn at ku.edu.
>


Re: Ubuntu: keep lyx 2.2.3 and 2.3.1 in same system

2018-10-13 Thread Scott Kostyshak
On Sat, Oct 13, 2018 at 01:55:09PM -0400, Paul A. Rubin wrote:

> 1. Start LyX 2.3 the usual way and start LyX 2.2.3 with
>"/lyx -userdir ".

+1 you could create an alias that makes this easy.

Scott


signature.asc
Description: PGP signature


Re: Ubuntu: keep lyx 2.2.3 and 2.3.1 in same system

2018-10-13 Thread Paul A. Rubin

On 10/13/2018 01:24 PM, Paul Johnson wrote:

I have some projects based on LyX 2.2.3 that I want to work on and I
don't want to update to new. However, I also have projects based on
2.3 and I can't edit those with old LyX.

Liviu Andronic worked out a way for this to be possible a few years
ago, but I cannot find documents about it. I wish I could have old and
new lyx installed at same time, to easily run one or the other.
I've tried to do this by installing 2.3.1 from the Ubuntu package and
then compiling 2.2.3 from source and installing off the path, but then
I found the 2 versions should not share a user configuration folder.
After using 2.3.1 and allowing it to revise ~/.lyx, then lyx 2.2.3
cannot start. Error like this:

$ ./lyx
Warning: Could not read configuration file

Error while reading the configuration file
preferences.
Please check your installation.

So obviously I need to be more graceful, separate config folders.

I thought about building a new Debian package "lyx223". I'm pretty
sure that's what I think Liviu did.  For me that was a fail because
the deb packaging code for the lyx project has a lot of hard coded
folders like /usr/share/lyx, so it is not too easy to rebuild a
package to use alternate folders.

If you have advice about this, I would be glad to  hear it.


Two thoughts (both untested):

1. Start LyX 2.3 the usual way and start LyX 2.2.3 with
   "/lyx -userdir ".
2. Create a new user on computer just for LyX 2.2.3, install 2.2.3 as
   that user (or manually move the ~/.lyx folder for 2.2.3 to that
   user) and log in as that user when using 2.2.3.

Paul (the original one)




Ubuntu: keep lyx 2.2.3 and 2.3.1 in same system

2018-10-13 Thread Paul Johnson
I have some projects based on LyX 2.2.3 that I want to work on and I
don't want to update to new. However, I also have projects based on
2.3 and I can't edit those with old LyX.

Liviu Andronic worked out a way for this to be possible a few years
ago, but I cannot find documents about it. I wish I could have old and
new lyx installed at same time, to easily run one or the other.
I've tried to do this by installing 2.3.1 from the Ubuntu package and
then compiling 2.2.3 from source and installing off the path, but then
I found the 2 versions should not share a user configuration folder.
After using 2.3.1 and allowing it to revise ~/.lyx, then lyx 2.2.3
cannot start. Error like this:

$ ./lyx
Warning: Could not read configuration file

Error while reading the configuration file
preferences.
Please check your installation.

So obviously I need to be more graceful, separate config folders.

I thought about building a new Debian package "lyx223". I'm pretty
sure that's what I think Liviu did.  For me that was a fail because
the deb packaging code for the lyx project has a lot of hard coded
folders like /usr/share/lyx, so it is not too easy to rebuild a
package to use alternate folders.

If you have advice about this, I would be glad to  hear it.

-- 
Paul E. Johnson   http://pj.freefaculty.org
Director, Center for Research Methods and Data Analysis http://crmda.ku.edu

To write to me directly, please address me at pauljohn at ku.edu.


Zotero - LyX pipe. Ubuntu 13.10, LyX 2.0.7

2014-03-05 Thread John Kane
I recently upgraded Firefox (only took me a couple of hours to repair most of 
the damages). Iin doing so l managed to lose my connection from Zotero to LyZ.  
Firefox seems to automatically use the Windows path even in a Linux installation

I have reset the path to /home/john/.lyx/lyxpipe which is what it was in LyX 
and I am assuming that it is the same in the Zotero settings.  Does this sound 
correct?

At the moment when I sent a citation to LyX , I get nothing, no citation, no 
error message, no anything.

The annoying thing is that JabRef will sent a citation with no problem with 
exactly the same path setting.

Any suggestions?

Thanks


Zotero - LyX pipe. Ubuntu 13.10, LyX 2.0.7

2014-03-05 Thread John Kane
I recently upgraded Firefox (only took me a couple of hours to repair most of 
the damages). Iin doing so l managed to lose my connection from Zotero to LyZ.  
Firefox seems to automatically use the Windows path even in a Linux installation

I have reset the path to /home/john/.lyx/lyxpipe which is what it was in LyX 
and I am assuming that it is the same in the Zotero settings.  Does this sound 
correct?

At the moment when I sent a citation to LyX , I get nothing, no citation, no 
error message, no anything.

The annoying thing is that JabRef will sent a citation with no problem with 
exactly the same path setting.

Any suggestions?

Thanks


Zotero - LyX pipe. Ubuntu 13.10, LyX 2.0.7

2014-03-05 Thread John Kane
I recently upgraded Firefox (only took me a couple of hours to repair most of 
the damages). Iin doing so l managed to lose my connection from Zotero to LyZ.  
Firefox seems to automatically use the Windows path even in a Linux installation

I have reset the path to /home/john/.lyx/lyxpipe which is what it was in LyX 
and I am assuming that it is the same in the Zotero settings.  Does this sound 
correct?

At the moment when I sent a citation to LyX , I get nothing, no citation, no 
error message, no anything.

The annoying thing is that JabRef will sent a citation with no problem with 
exactly the same path setting.

Any suggestions?

Thanks


Re: aspell on ubuntu with LyX

2008-01-30 Thread Paul A. Rubin

Stacia Hartleben wrote:

Hey guys, I am running into difficulty getting aspell working under
Xubuntu. I installed it but the spellcheck button is always grayed
out...is there some sort of setting I can turn on to get it working? I
couldn't find anything on the Wiki.



Don't know about Xubuntu, but it works for me on Gutsy.  Try 'which 
aspell' and maybe 'aspell --version' in a terminal to make sure it's 
installed correctly.  Then check Tools - Preferences... - Language 
settings - Spellchecker - Spellchecker executable and make sure it's 
set to either 'aspell' or 'aspell (library)'.


HTH,
Paul



Re: aspell on ubuntu with LyX

2008-01-30 Thread Christopher Menzel

On Jan 30, 2008, at 10:48 AM, Paul A. Rubin wrote:

Stacia Hartleben wrote:
Hey guys, I am running into difficulty getting aspell working under  
Xubuntu. I installed it but the spellcheck button is always grayed  
out...is there some sort of setting I can turn on to get it  
working? I couldn't find anything on the Wiki.


Don't know about Xubuntu, but it works for me on Gutsy.


Gutsy is actually the name of the latest stable release (7.10) of  
the general OS underlying all of the various .*buntu incarnations.


Chris Menzel
Picking Nits since 1976 :-)



Re: aspell on ubuntu with LyX

2008-01-30 Thread Paul A. Rubin

Stacia Hartleben wrote:

Hey guys, I am running into difficulty getting aspell working under
Xubuntu. I installed it but the spellcheck button is always grayed
out...is there some sort of setting I can turn on to get it working? I
couldn't find anything on the Wiki.



Don't know about Xubuntu, but it works for me on Gutsy.  Try 'which 
aspell' and maybe 'aspell --version' in a terminal to make sure it's 
installed correctly.  Then check Tools - Preferences... - Language 
settings - Spellchecker - Spellchecker executable and make sure it's 
set to either 'aspell' or 'aspell (library)'.


HTH,
Paul



Re: aspell on ubuntu with LyX

2008-01-30 Thread Christopher Menzel

On Jan 30, 2008, at 10:48 AM, Paul A. Rubin wrote:

Stacia Hartleben wrote:
Hey guys, I am running into difficulty getting aspell working under  
Xubuntu. I installed it but the spellcheck button is always grayed  
out...is there some sort of setting I can turn on to get it  
working? I couldn't find anything on the Wiki.


Don't know about Xubuntu, but it works for me on Gutsy.


Gutsy is actually the name of the latest stable release (7.10) of  
the general OS underlying all of the various .*buntu incarnations.


Chris Menzel
Picking Nits since 1976 :-)



Re: aspell on ubuntu with LyX

2008-01-30 Thread Paul A. Rubin

Stacia Hartleben wrote:

Hey guys, I am running into difficulty getting aspell working under
Xubuntu. I installed it but the spellcheck button is always grayed
out...is there some sort of setting I can turn on to get it working? I
couldn't find anything on the Wiki.



Don't know about Xubuntu, but it works for me on Gutsy.  Try 'which 
aspell' and maybe 'aspell --version' in a terminal to make sure it's 
installed correctly.  Then check Tools -> Preferences... -> Language 
settings -> Spellchecker -> Spellchecker executable and make sure it's 
set to either 'aspell' or 'aspell (library)'.


HTH,
Paul



Re: aspell on ubuntu with LyX

2008-01-30 Thread Christopher Menzel

On Jan 30, 2008, at 10:48 AM, Paul A. Rubin wrote:

Stacia Hartleben wrote:
Hey guys, I am running into difficulty getting aspell working under  
Xubuntu. I installed it but the spellcheck button is always grayed  
out...is there some sort of setting I can turn on to get it  
working? I couldn't find anything on the Wiki.


Don't know about Xubuntu, but it works for me on Gutsy.


"Gutsy" is actually the name of the latest stable release (7.10) of  
the general OS underlying all of the various .*buntu incarnations.


Chris Menzel
"Picking Nits since 1976" :-)



aspell on ubuntu with LyX

2008-01-29 Thread Stacia Hartleben
Hey guys, I am running into difficulty getting aspell working under
Xubuntu. I installed it but the spellcheck button is always grayed
out...is there some sort of setting I can turn on to get it working? I
couldn't find anything on the Wiki.


aspell on ubuntu with LyX

2008-01-29 Thread Stacia Hartleben
Hey guys, I am running into difficulty getting aspell working under
Xubuntu. I installed it but the spellcheck button is always grayed
out...is there some sort of setting I can turn on to get it working? I
couldn't find anything on the Wiki.


aspell on ubuntu with LyX

2008-01-29 Thread Stacia Hartleben
Hey guys, I am running into difficulty getting aspell working under
Xubuntu. I installed it but the spellcheck button is always grayed
out...is there some sort of setting I can turn on to get it working? I
couldn't find anything on the Wiki.


ubuntu and lyx

2006-08-04 Thread Hartmut Haase
Can someone tell me which qt3 packages I have to install under ubuntu/debian 
to get lyx configured?
-- 
Viele Grüße,
Hartmut 

Hungerhilfe: http://www.thehungersite.com

Kampagne gegen den Ausverkauf der Deutschen Bahn:
http://www.bahn-fuer-alle.de

Das heutige Motto:
Try to value useful qualities in one who loves you. 



Re: ubuntu and lyx

2006-08-04 Thread Sven Hoexter
On Fri, Aug 04, 2006 at 03:21:09PM +0200, Hartmut Haase wrote:
 Can someone tell me which qt3 packages I have to install under ubuntu/debian 
 to get lyx configured?
http://marc.theaimsgroup.com/?l=lyx-usersm=115442632416905w=2

and related posts ...

You would be better of running a native Debian ...

Sv*hiding_under_some_economics_books*en
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


ubuntu and lyx

2006-08-04 Thread Hartmut Haase
Can someone tell me which qt3 packages I have to install under ubuntu/debian 
to get lyx configured?
-- 
Viele Grüße,
Hartmut 

Hungerhilfe: http://www.thehungersite.com

Kampagne gegen den Ausverkauf der Deutschen Bahn:
http://www.bahn-fuer-alle.de

Das heutige Motto:
Try to value useful qualities in one who loves you. 



Re: ubuntu and lyx

2006-08-04 Thread Sven Hoexter
On Fri, Aug 04, 2006 at 03:21:09PM +0200, Hartmut Haase wrote:
 Can someone tell me which qt3 packages I have to install under ubuntu/debian 
 to get lyx configured?
http://marc.theaimsgroup.com/?l=lyx-usersm=115442632416905w=2

and related posts ...

You would be better of running a native Debian ...

Sv*hiding_under_some_economics_books*en
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


ubuntu and lyx

2006-08-04 Thread Hartmut Haase
Can someone tell me which qt3 packages I have to install under ubuntu/debian 
to get lyx configured?
-- 
Viele Grüße,
Hartmut 

Hungerhilfe: http://www.thehungersite.com

Kampagne gegen den Ausverkauf der Deutschen Bahn:
http://www.bahn-fuer-alle.de

Das heutige Motto:
Try to value useful qualities in one who loves you. 



Re: ubuntu and lyx

2006-08-04 Thread Sven Hoexter
On Fri, Aug 04, 2006 at 03:21:09PM +0200, Hartmut Haase wrote:
> Can someone tell me which qt3 packages I have to install under ubuntu/debian 
> to get lyx configured?
http://marc.theaimsgroup.com/?l=lyx-users=115442632416905=2

and related posts ...

You would be better of running a native Debian ...

Sv*hiding_under_some_economics_books*en
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]