Hi, I'm using Subversion to embed various info about released versions
of a document I've written inside the document itself. The .lyx format
being text, this works *almost* fine.

For example I have a note in the document containing:

        $LastChangedRevision: 2791 $

and this is correctly updated when I check out the document. 

The problem is that I also have the following in the document:

        $HeadURL: 
svn+ssh://dione.no-ip.org/diska/svn-repos/ahdg/trunk/doc/ahdg.lyx $

and this does not work. 

The reason it does not work is that in the .lyx *source* file the line
is split, so svn fails to recognise it as text that it should update.

The .lyx file contains:

        $HeadURL: 
svn+ssh://dione.no-ip.org/diska/svn-repos/ahdg/trunk/doc/ahdg.lyx
         $ 

(Just in case one our newsreads reformats that: the last '$' is on
the next line indented by one space.)

With LyX the line appears as a single line. In the output it does
not appear at all (because it's in a note). But in the source it is
being split over two lines.

If I edit the source and put it all on one line, then the next time
I save, it is split again.

Is there any way to prevent this? 

For info, I'm using LyX 1.5.2, from Debian lenny/testing.

Thanks!

Alexis

Reply via email to