On 09/04/2009 23:39, Pavel Sanda wrote:
Abdelrazak Younes wrote:
1) When a document "doc.lyx" is under version control, we can check its svn
properties:

svn propget svn:keywords dot.lyx

hopefully we can avoid this by checking (under_svn_control&&  
revision_insetinfo_used)

I don't follow you, how would you set 'revision_insetinfo_used' ?
2) For each of those keywords, we add the following line somewhere in a non
visible part of the LyX document:

$keyword$

puting the special command in the lyx preamble part - something like
\svn_revision_info_rev $Internal_LyX_Revision: 200 $

Yes, but we must respect svn syntax so that would be:

\svn_revision_info_rev $Revision: 200 $


[...]
Further ideas? Opinions?

add the section about revisioning trick with ert you discovered now even
into 1.6.3 lyx manual? there has been already some question about this on
users list.

I'll try to do that...

Abdel.

Reply via email to