Re: Access LyX version number from within a document

2010-04-18 Thread M . Speiser
Steve Litt sl...@... writes: A simple Perl script could scan the doc, delete any lines starting with \mylyxversion=, and then just before the \begin{document} insert \mylyxversion = `lyx --version | head -n1`. Once you have the version in \mylyxversion, that variable can be used in

Re: Access LyX version number from within a document

2010-04-18 Thread M . Speiser
rgheck rgh...@... writes: I've just added this facility to LyX 2.0, via InsetInfo. To enter it, use the mini buffer and enter: info-insert lyx version Sweet! Thanks a lot, M. Speiser

Re: Access LyX version number from within a document

2010-04-18 Thread M . Speiser
Steve Litt sl...@... writes: A simple Perl script could scan the doc, delete any lines starting with \mylyxversion=, and then just before the \begin{document} insert \mylyxversion = `lyx --version | head -n1`. Once you have the version in \mylyxversion, that variable can be used in

Re: Access LyX version number from within a document

2010-04-18 Thread M . Speiser
rgheck rgh...@... writes: I've just added this facility to LyX 2.0, via InsetInfo. To enter it, use the mini buffer and enter: info-insert lyx version Sweet! Thanks a lot, M. Speiser

Re: Access LyX version number from within a document

2010-04-18 Thread M . Speiser
Steve Litt writes: > > A simple Perl script could scan the doc, delete any lines starting with > \mylyxversion=, and then just before the \begin{document} insert > "\mylyxversion = `lyx --version | head -n1`". Once you have the version in > \mylyxversion, that variable can be used

Re: Access LyX version number from within a document

2010-04-18 Thread M . Speiser
rgheck writes: > > I've just added this facility to LyX 2.0, via InsetInfo. To enter it, > use the mini buffer and enter: > info-insert lyx version > Sweet! Thanks a lot, M. Speiser

Re: Access LyX version number from within a document

2010-04-17 Thread rgheck
On 04/16/2010 07:44 AM, nore...@augrime.net wrote: Hi, I would like to stamp documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: This document was produced with LyX 1.6.4.1 Is this currently possible? I've just added this facility to

Re: Access LyX version number from within a document

2010-04-17 Thread rgheck
On 04/16/2010 07:44 AM, nore...@augrime.net wrote: Hi, I would like to stamp documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: This document was produced with LyX 1.6.4.1 Is this currently possible? I've just added this facility to

Re: Access LyX version number from within a document

2010-04-17 Thread rgheck
On 04/16/2010 07:44 AM, nore...@augrime.net wrote: Hi, I would like to "stamp" documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: "This document was produced with LyX 1.6.4.1" Is this currently possible? I've just added this

Access LyX version number from within a document

2010-04-16 Thread noreply
Hi, I would like to stamp documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: This document was produced with LyX 1.6.4.1 Is this currently possible? Thank you, and best regards, M. Speiser

Re: Access LyX version number from within a document

2010-04-16 Thread Pavel Sanda
nore...@augrime.net wrote: This document was produced with LyX 1.6.4.1 Is this currently possible? no pavel

Re: Access LyX version number from within a document

2010-04-16 Thread Steve Litt
On Friday 16 April 2010 08:46:35 Pavel Sanda wrote: nore...@augrime.net wrote: This document was produced with LyX 1.6.4.1 Is this currently possible? no pavel Not so fast slick! A simple Perl script could scan the doc, delete any lines starting with \mylyxversion=, and then just

Access LyX version number from within a document

2010-04-16 Thread noreply
Hi, I would like to stamp documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: This document was produced with LyX 1.6.4.1 Is this currently possible? Thank you, and best regards, M. Speiser

Re: Access LyX version number from within a document

2010-04-16 Thread Pavel Sanda
nore...@augrime.net wrote: This document was produced with LyX 1.6.4.1 Is this currently possible? no pavel

Re: Access LyX version number from within a document

2010-04-16 Thread Steve Litt
On Friday 16 April 2010 08:46:35 Pavel Sanda wrote: nore...@augrime.net wrote: This document was produced with LyX 1.6.4.1 Is this currently possible? no pavel Not so fast slick! A simple Perl script could scan the doc, delete any lines starting with \mylyxversion=, and then just

Access LyX version number from within a document

2010-04-16 Thread noreply
Hi, I would like to "stamp" documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: "This document was produced with LyX 1.6.4.1" Is this currently possible? Thank you, and best regards, M. Speiser

Re: Access LyX version number from within a document

2010-04-16 Thread Pavel Sanda
nore...@augrime.net wrote: > "This document was produced with LyX 1.6.4.1" > > Is this currently possible? no pavel

Re: Access LyX version number from within a document

2010-04-16 Thread Steve Litt
On Friday 16 April 2010 08:46:35 Pavel Sanda wrote: > nore...@augrime.net wrote: > > "This document was produced with LyX 1.6.4.1" > > > > Is this currently possible? > > no > pavel > Not so fast slick! A simple Perl script could scan the doc, delete any lines starting with \mylyxversion=,