Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-25 Thread Lance Simmons
On Mon, Feb 23, 2009 at 5:18 AM, Helge Hafting  wrote:
>
> So it is possible to have LyX 1.6.1, and everything else from stable.

I have much experience mixing stable and testing and unstable and experimental.
Too much experience.  I want a pure stable installation for the next year or
so, so I can ignore system administration and do my own work, which is not
computer-related.  I've had good luck in the past installing stable Debian and
having a year or two of peace and quiet.  Testing and unstable are like
cigarettes and alcohol.  They seem harmless enough, but for people with
addictive personalities, they lead to trouble!

-- 
Lance Simmons


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-23 Thread Helge Hafting

Lance Simmons wrote:

On Wed, Feb 18, 2009 at 11:36 AM, Richard Heck 
wrote:

Better yet, upgrade to 1.5.7 (I think that's the number...last
1.5.x anyway), which can read 1.6. docs.


The reason the issue about 1.5.5 came up is my switching from Debian
unstable to Debian stable (now that there's a new stable Debian
release).  If I'm going to switch back to unstable Debian, or a
stable/non-stable mix, I might as well keep LyX 1.6.1.


You are aware that it is possibly to install LyX 1.6.1 (and perhaps
a _few_ dependant packages) from unstable, without pulling in everything
else that is new in unstable?

So it is possible to have LyX 1.6.1, and everything else from stable.

Helge Hafting



Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-19 Thread M-L
On Fri, 20 Feb 2009, Lance Simmons engaged keyboard and shared this with us 
all:
>--} On Thu, Feb 19, 2009 at 5:25 PM, Robert Orr 
> wrote: --} >
>--} > Why do you want to downgrade?
>--}
>--} Last week Debian released its new stable version, Lenny.  Debian stable
> is rock --} solid; all release-critical bugs have been worked out.  The
> packages are --} somewhat older than Debian testing or unstable, but they
> all work, and they all --} work together with the other stable packages. 
> Lenny has LyX 1.5.5. --}

Great script Lance, thanks, but I had already done it manually just by 
stripping everything to the "\begin_body" section.

I don't know how I got LyX 1.6.1 but think that my sources list was still 
programmed to testing and apt-get upgraded, before I changed it to Lenny. I 
usually keep this system as testing without change, but have to have it 
reliable for a few months and might then change back to testing. LyX 1.6.1 
didn't work very well at all, a few glitches. 

I wish I had your script before I changed all the documents I'd worked on with 
1.6.1

Thanks for that.
Charlie
-- 
Registered Linux User:- 329524
***
People with opinions just go around bothering one another. -- THE BUDDHA

***
Debian, just the best way to create magic
___


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-19 Thread Lance Simmons
On Thu, Feb 19, 2009 at 5:25 PM, Robert Orr  wrote:
>
> Why do you want to downgrade?

Last week Debian released its new stable version, Lenny.  Debian stable is rock
solid; all release-critical bugs have been worked out.  The packages are
somewhat older than Debian testing or unstable, but they all work, and they all
work together with the other stable packages.  Lenny has LyX 1.5.5.

-- 
Lance Simmons


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-19 Thread Robert Orr

Why do you want to downgrade?    



What influenced you to go back to 1.5.5?




--- On Thu, 2/19/09, rgheck  wrote:

From: rgheck 
Subject: Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?
To: "Lance Simmons" 
Cc: lyx-users@lists.lyx.org
Date: Thursday, February 19, 2009, 5:41 PM

Lance Simmons wrote:
> I'm sure there are much better ways to do this, and plenty of
> pitfalls to the way I did it, but it converted about 600 LyX files
> to the 1.5.x format, without any apparent problems, and in about 5
> seconds.  I checked many files in different directories at random,
> and haven't found any problems.  If I ever do find problems, I have
> the old documents backed up on various media, so I think I'm set.
>
>   
Are scripts great?!

rh




  

Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-19 Thread rgheck

Lance Simmons wrote:

I'm sure there are much better ways to do this, and plenty of
pitfalls to the way I did it, but it converted about 600 LyX files
to the 1.5.x format, without any apparent problems, and in about 5
seconds.  I checked many files in different directories at random,
and haven't found any problems.  If I ever do find problems, I have
the old documents backed up on various media, so I think I'm set.

  

Are scripts great?!

rh



Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-19 Thread Lance Simmons
On Wed, Feb 18, 2009 at 11:15 AM, Vincent van Ravesteijn - TNW
wrote:
>
>>How can I convert the 1.6.1 documents to the older 1.5.5 format?
>
> In LyX 1.6.1, choose File->Export->LyX 1.5.x

I did a shell script to convert all my LyX documents to 1.5.x.  I
had about 600 LyX documents with many different formats, going back
several years to LyX 1.3.  Now they are all in the same format.

First a script:

  #!/bin/sh

  # filename of script is ~/bin/lyxconvert

  python -tt /usr/share/lyx/lyx2lyx/lyx2lyx -t 276 "$1" > /tmp/temp.lyx

  mv -f /tmp/temp.lyx "$1"

  exit 0

Then:

  find ./ -name '*.lyx' -execdir ~/bin/lyxconvert '{}' ';'

Then:

  uninstall LyX 1.6.1, install Lyx 1.5.5

Now all the packages installed on my machine are Debian stable and
all my LyX documents are in 1.5.x format.  I'm a happy camper.

I'm sure there are much better ways to do this, and plenty of
pitfalls to the way I did it, but it converted about 600 LyX files
to the 1.5.x format, without any apparent problems, and in about 5
seconds.  I checked many files in different directories at random,
and haven't found any problems.  If I ever do find problems, I have
the old documents backed up on various media, so I think I'm set.

This seemed like it might be useful for converting all one's LyX
files to a single format, so please let me know if there are obvious
errors in what I did.

-- 
Lance Simmons


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-19 Thread Pavel Sanda
Sven Hoexter wrote:
> I hope to finish my Debian Application soon[1] so that I can provide again
> LyX packages on backports.org for the current Debian stable release.
> Will take some time though to get this all sorted out and done.

i dont know much about the exact debian policy for updating packages
but from the users point of view it would be good if debian stable release
contain always the last member of stable releases. in a way its better to have
lyx 1.5.7 in stable distro than lyx 1.6.1.

pavel


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-18 Thread Sven Hoexter
On Wed, Feb 18, 2009 at 02:13:13PM -0600, Lance Simmons wrote:
> On Wed, Feb 18, 2009 at 11:36 AM, Richard Heck 
> wrote:
> >
> > Better yet, upgrade to 1.5.7 (I think that's the number...last
> > 1.5.x anyway), which can read 1.6. docs.
> 
> The reason the issue about 1.5.5 came up is my switching from Debian
> unstable to Debian stable (now that there's a new stable Debian
> release).  If I'm going to switch back to unstable Debian, or a
> stable/non-stable mix, I might as well keep LyX 1.6.1.

I hope to finish my Debian Application soon[1] so that I can provide again
LyX packages on backports.org for the current Debian stable release.
Will take some time though to get this all sorted out and done.

Oh and yes the freeze length for Lenny and the start point has been
suboptimal for the LyX packages in Debian.

Sven

[1] May or June is something that's realistic. 
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-18 Thread Lance Simmons
On Wed, Feb 18, 2009 at 11:36 AM, Richard Heck 
wrote:
>
> Better yet, upgrade to 1.5.7 (I think that's the number...last
> 1.5.x anyway), which can read 1.6. docs.

The reason the issue about 1.5.5 came up is my switching from Debian
unstable to Debian stable (now that there's a new stable Debian
release).  If I'm going to switch back to unstable Debian, or a
stable/non-stable mix, I might as well keep LyX 1.6.1.

-- 
Lance Simmons


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-18 Thread James C. Sutherland


On Feb 18, 2009, at 10:15 AM, Vincent van Ravesteijn - TNW wrote:




I've switched from Debian unstable to the new stable release, but now
now I have a few dozen LyX 1.6.1 documents that LyX 1.5.5 says it
cannot convert.

How can I convert the 1.6.1 documents to the older 1.5.5 format?


In LyX 1.6.1, choose File->Export->LyX 1.5.x





Or install 1.5.7, which can read 1.6.x documents.


Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-18 Thread Richard Heck

Vincent van Ravesteijn - TNW wrote:
 
  

I've switched from Debian unstable to the new stable release, but now
now I have a few dozen LyX 1.6.1 documents that LyX 1.5.5 says it 
cannot convert.


How can I convert the 1.6.1 documents to the older 1.5.5 format?



In LyX 1.6.1, choose File->Export->LyX 1.5.x

  
Better yet, upgrade to 1.5.7 (I think that's the number...last 1.5.x 
anyway), which can read 1.6. docs.


rh



RE: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-18 Thread Vincent van Ravesteijn - TNW
 
>I've switched from Debian unstable to the new stable release, but now
>now I have a few dozen LyX 1.6.1 documents that LyX 1.5.5 says it 
>cannot convert.
>
>How can I convert the 1.6.1 documents to the older 1.5.5 format?

In LyX 1.6.1, choose File->Export->LyX 1.5.x

>--
>Lance Simmons

Vincent


Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?

2009-02-18 Thread Lance Simmons
I've switched from Debian unstable to the new stable release, but now now I
have a few dozen LyX 1.6.1 documents that LyX 1.5.5 says it cannot convert.

How can I convert the 1.6.1 documents to the older 1.5.5 format?

-- 
Lance Simmons