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
