On Monday 10 March 2008 15:23, you wrote:
> On Monday 10 March 2008 08:25, All is discovered--flee at once! wrote:
> > On Monday 10 March 2008 12:30, G. Milde wrote:
> > > On  9.03.08, Paul A. Rubin wrote:
> > > > A simple solution might be for LyX to automatically treat the document
> > > > as if it were a template it decides the layout is broken -- change to
> > > > article or whatever, but in read-only mode, so that you can only save
> > > > the modified document under a new name.  That would leave the original
> > > > (now presumably broken) version intact.
> > >
> > > This is a nice idea, I hope it is easy to implement and look forward to
> > > see it in the next version.
> >
> > Doesn't version control already let you revert to an earlier version?  (If
> > it's turned on.)
> >
> > -Mel
> 
> I never knew LyX had version control. How do I turn it on?
> 
> SteveT
> 
> Steve Litt
> Books written in LyX:
>       Troubleshooting Techniques of the Successful Technologist
>       Twenty Eight Tales of Troubleshooting
>       Troubleshooting: Just the Facts
> 

Hey Steve.

I was at your website this morning!  I think it was when I was reading about 
classes.  (Didn't find what I was looking for, but I bookmarked it anyway. 
Lots of stuff there.)

I just had to install GNU RCS to make version control work. It's accessible 
from my File menu.  I made an RCS folder and symlinked it from my assorted 
working directories (Articles, Reviews, etc.) to keep all the version control 
information in one place. (I'm using LyX 1.5.3 (with the default.ui) on 
Ubuntu 6.06.)

There's a section on version control in the Extended Features manual.

Basically I did:
~$sudo apt-get install rcs
~$mkdir writing/RCS

and then some symlinks like:
~$ ln -s /home/fs/writing/RCS /home/fs/RCS
~$ ln -s /home/fs/writing/RCS /home/fs/writing/articles/RCS

Without the symlink to your designated RCS directory, the version control 
information file will be placed in the same working directory as the .lyx 
file you have entered in version control.  It works without the symlinks, but 
I'm one of those people that gets compulsive about organization and backups.  
I haven't found a way to specify a default path for RCS.  I read some 
assorted documents on setting it up and they all seem to do the symlink 
thing.  

Hope that helps.

-Mel

Reply via email to