Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-22 Thread Dr Eberhard Lisse
Pavel,


I didn't know that such a toolbar existed )-)-O More to explore :-)-O

Thank you.

el

On 21/02/2018 17:40, Pavel Sanda wrote:
> Dr Eberhard Lisse wrote:
>> \rcsid{$Id: handbook.lyx,v 1.11 2017/08/12 18:20:59 el Exp $}
>>
>> \newcommand{\versionstring}{v\rcsfilerev,
>> \rcsfileyear-\rcsfilemonth-\rcsfileday}
>>
>> suitable for preamble and/or ERT, page styles or watermarks.
> 
> Do you know you can do such things natively in LyX? Version Control
> Toolbar->Insert Version Info and the select what you want in context
> menu.
> 
> Pavel
> 



Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-21 Thread Pavel Sanda
Dr Eberhard Lisse wrote:
> \rcsid{$Id: handbook.lyx,v 1.11 2017/08/12 18:20:59 el Exp $}
> 
> \newcommand{\versionstring}{v\rcsfilerev,
> \rcsfileyear-\rcsfilemonth-\rcsfileday}
> 
> suitable for preamble and/or ERT, page styles or watermarks.

Do you know you can do such things natively in LyX?
Version Control Toolbar->Insert Version Info and the select what you want
in context menu.

Pavel


Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-21 Thread Dr Eberhard Lisse
As I wrote,

for collaboration RCS is not good enough and I would also not use it.

Whether to use GIT or SVN, I defer to the experts and if GIT is
supported out of the box, so be it :-)-O

But, for my own use on the Mac with Time Machine and Unison (to
synchronize my machines at home and work) RCS is all I need.

el

On 21/02/2018 02:35, Steve Litt wrote:
> On Tue, 20 Feb 2018 14:12:01 -0800 (PST) Rich Shepard
>  wrote:
> 
>> On Wed, 21 Feb 2018, Dr Eberhard Lisse wrote:
>>
>>> Maybe one can take the time to look at one of the already existing
>>> converters from RCS (CVS?) to SVN/GIT or whatever else LyX can
>>> handle, but to be honest, why bother?
>>
>> el,
>>
>>Even as a single user I've found git better suited to my needs
>>than svn.  Shrug.
>>
>> Regards,
>>
>> Rich
> 
> Git's the bomb.  If you're having your editor review your LyX doc,
> there could be two special paragraph styles that doesn't show up on
> the PDF: Query and Answer: Your editor queries you why you don't do
> something different, and you either answer "Agreed", or you say why
> you think it should stand.  The discussion might go another couple
> rounds.  If you both push and pull from the same Git repo, then you
> have a history of the whole thing, and a very easy way to collaborate.
> 
> SteveT
> 



Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-20 Thread Steve Litt
On Tue, 20 Feb 2018 14:12:01 -0800 (PST)
Rich Shepard  wrote:

> On Wed, 21 Feb 2018, Dr Eberhard Lisse wrote:
> 
> > Maybe one can take the time to look at one of the already existing
> > converters from RCS (CVS?) to SVN/GIT or whatever else LyX can
> > handle, but to be honest, why bother?  
> 
> el,
> 
>Even as a single user I've found git better suited to my needs
> than svn. Shrug.
> 
> Regards,
> 
> Rich

Git's the bomb. If you're having your editor review your LyX doc, there
could be two special paragraph styles that doesn't show up on the PDF:
Query and Answer: Your editor queries you why you don't do something
different, and you either answer "Agreed", or you say why you think it
should stand. The discussion might go another couple rounds. If you both
push and pull from the same Git repo, then you have a history of the
whole thing, and a very easy way to collaborate.

SteveT


Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-20 Thread Rich Shepard

On Wed, 21 Feb 2018, Dr Eberhard Lisse wrote:


Maybe one can take the time to look at one of the already existing
converters from RCS (CVS?) to SVN/GIT or whatever else LyX can handle, but
to be honest, why bother?


el,

  Even as a single user I've found git better suited to my needs than svn.
Shrug.

Regards,

Rich





Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-20 Thread Dr Eberhard Lisse
Rich,

half in jest :-)-O

RCS on an an existing file is better than no version control, or
starting a new version control with different software (on the same
document, and loosing all previous version control).

It also works for single users very well, I have a few documents with
includes all under RCS, and I use the rcs-multi package to generate
something like

\rcsid{$Id: handbook.lyx,v 1.11 2017/08/12 18:20:59 el Exp $}

\newcommand{\versionstring}{v\rcsfilerev,
\rcsfileyear-\rcsfilemonth-\rcsfileday}

suitable for preamble and/or ERT, page styles or watermarks.

On new files one can obviously take something modern, especially if one
collaborates.

Maybe one can take the time to look at one of the already existing
converters from RCS (CVS?) to SVN/GIT or whatever else LyX can handle,
but to be honest, why bother?



el

On 2018-02-20 15:49 , Rich Shepard wrote:
> On Tue, 20 Feb 2018, Dr Eberhard Lisse wrote:
> 
>> can you quickly hack up a converter for existing documents?
> 
> Eberhard,
> 
>   I don't understand what you're asking.
> 
>   When I want to track changes to a document I set up a git repository
>   in that document's subdirectory, external to lyx. Within LyX I use
>   File -> Version control (or the keyboard shortcuts) to commit
>   changes adding the explanatory text in the data entry widget without
>   quotes.
> 
> Rich
> 



Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-20 Thread Rich Shepard

On Tue, 20 Feb 2018, Dr Eberhard Lisse wrote:


can you quickly hack up a converter for existing documents?


Eberhard,

  I don't understand what you're asking.

  When I want to track changes to a document I set up a git repository in
that document's subdirectory, external to lyx. Within LyX I use File ->
Version control (or the keyboard shortcuts) to commit changes adding the
explanatory text in the data entry widget without quotes.

Rich


Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-20 Thread Dr Eberhard Lisse
Rich,

can you quickly hack up a converter for existing documents?

:-)-O

el

On 17/02/2018 15:40, Rich Shepard wrote:
> On Sat, 17 Feb 2018, Pavel Sanda wrote:
> 
>> For the record, it turned out that High Sierra is no more compatible
>> with old RCS binaries (if you manually run co -l file.lyx you get
>> "Illegal instruction: 4").  Compiling RCS via homebrew fixed the
>> problem.
> 
> Pavel,
> 
>   If subversion, mercurial, or git are available for Macs they are
>   more modern than RCS. Have you considered them?
> 
> Rich
> 



Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-17 Thread Pavel Sanda
Rich Shepard wrote:
>   If subversion, mercurial, or git are available for Macs they are more
> modern than RCS. Have you considered them?

I was solving someone-else's problem, so not my choice.

Anyway, more modern does not mean more appropriate.

RCS is most easy and one does not have to deal with repositories (I actually
prefer to use it for small-scale lyx documents myself). But the moment you need
to track pictures, bibliography etc, you need more powerful tool.  SVN is best
when you want collaborate and enforce locking for (childerns of) the document.
Git allows you to have easy local repo without any need of server hassle.
So it really depends what is the particular usecase...

Pavel


Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-17 Thread Rich Shepard

On Sat, 17 Feb 2018, Pavel Sanda wrote:


For the record, it turned out that High Sierra is no more compatible with
old RCS binaries (if you manually run co -l file.lyx you get "Illegal
instruction: 4").
Compiling RCS via homebrew fixed the problem.


Pavel,

  If subversion, mercurial, or git are available for Macs they are more
modern than RCS. Have you considered them?

Rich


Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-17 Thread Pavel Sanda
Pavel Sanda wrote:
> Busch, Andreas wrote:
> > I use GNU RCS 5.9.0 which appears to be the most recent, on a Mac with High 
> > Sierra (10.13.2) and LyX 2.2. Updating to LyX 2.3rc1 made no difference. I 
> > am not sure whether the last successful use of rcs with LyX predates 
> > upgrading to High Sierra, otherwise there were no changes to my setup.
> > 
> > Having checked the mailing list archive, I find no recent discussion of 
> > problems around rcs. If anyone has an idea where the cause of the error may 
> > be or any suggestions what else I should try I'd be very grateful!

For the record, it turned out that High Sierra is no more compatible with old 
RCS binaries (if you manually run co -l file.lyx you get "Illegal instruction: 
4").
Compiling RCS via homebrew fixed the problem.
Pavel


Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-01 Thread Pavel Sanda
Busch, Andreas wrote:
> I use GNU RCS 5.9.0 which appears to be the most recent, on a Mac with High 
> Sierra (10.13.2) and LyX 2.2. Updating to LyX 2.3rc1 made no difference. I am 
> not sure whether the last successful use of rcs with LyX predates upgrading 
> to High Sierra, otherwise there were no changes to my setup.
> 
> Having checked the mailing list archive, I find no recent discussion of 
> problems around rcs. If anyone has an idea where the cause of the error may 
> be or any suggestions what else I should try I'd be very grateful!

First idea: change of username (rcs lock is saved under your login name).

Then looking at debug would be helpful:
1. View->Message Pane
2. Settings panel->Selected & "lyxvc - Version control"
3. Switch back to Output panel
4. run your erring command and check (post here) the message.

You can also play with the commands after "doVCCommandCall:"
msg on your own to check what is going on if you know how
to work with terminal/rcs.

Pavel