Re: Including CVS $Log$ tag in LyX doxument

2002-09-25 Thread Andre Poenitz
On Tue, Sep 24, 2002 at 02:16:43PM -0400, Daniel Clark/Cambridge/IBM wrote: If there is some way to make LyX not touch the *formatting* of TeX code in an ERT section, that would solve the problem. If there is a way to make LyX honor crlf as a \newline in a certain section of text, that

Re: Including CVS $Log$ tag in LyX doxument

2002-09-25 Thread Thomas Geffert
Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] writes: I'd like to have a section of a LyX document be revision history using the CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, which is multiple lines separated by single linebreaks, into a single ugly line. You can

Re: Including CVS $Log$ tag in LyX doxument

2002-09-25 Thread Andre Poenitz
On Tue, Sep 24, 2002 at 02:16:43PM -0400, Daniel Clark/Cambridge/IBM wrote: If there is some way to make LyX not touch the *formatting* of TeX code in an ERT section, that would solve the problem. If there is a way to make LyX honor crlf as a \newline in a certain section of text, that

Re: Including CVS $Log$ tag in LyX doxument

2002-09-25 Thread Thomas Geffert
Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] writes: I'd like to have a section of a LyX document be revision history using the CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, which is multiple lines separated by single linebreaks, into a single ugly line. You can

Re: Including CVS $Log$ tag in LyX doxument

2002-09-25 Thread Andre Poenitz
On Tue, Sep 24, 2002 at 02:16:43PM -0400, Daniel Clark/Cambridge/IBM wrote: > If there is some way to make LyX not touch the *formatting* of TeX code in > an ERT section, that would solve the problem. > > If there is a way to make LyX honor as a \newline in a certain > section of text, that

Re: Including CVS $Log$ tag in LyX doxument

2002-09-25 Thread Thomas Geffert
Daniel Clark/Cambridge/IBM <[EMAIL PROTECTED]> writes: > I'd like to have a section of a LyX document be revision history > using the CVS $Log$ tag. The problem is that LyX seems to reformat > the $Log$ entry, which is multiple lines separated by single > linebreaks, into a single ugly line.

Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
I'd like to have a section of a LyX document be revision history using the CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, which is multiple lines separated by single linebreaks, into a single ugly line. I've tried using the verbatim and listings packages, but they

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: I'd like to have a section of a LyX document be revision history using the CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, Try typing % $Log$ And marking whole line as red TeX. Or you could type the same into

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
know how to use CVS) I'm guessing % must be the TeX comment character? Tuukka Toivonen [EMAIL PROTECTED] 09/24/2002 11:50 AM To: Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in LyX doxument

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: text editor, however it still shows up in LyX as a single line and doesn't show up in created .dvi, .pdf, .ps, .html etc. files at all (which is Right. You could try using this instead: \newcommand{\cvsver}{\$$Log$\$} \cvsver \cvsver

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
/24/2002 12:14 PM To: Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in LyX doxument On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: text editor, however it still shows up in LyX as a single

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Lars Gullik Bjønnes
Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] writes: | I think what maybe I didn't explain well enough is that $Log$ expands to | multiple lines, and CVS takes anything before $Log$ as the language's | comment character. So the suggestions you give end up expanding to things | that are syntax

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On 24 Sep 2002, Lars Gullik Bjønnes wrote: \begin{verbatim} $Log$ \end{verbatim} what happens if you put this in a ERT? I don't use CVS, but trying with hand: when this is saved, it'll look in .lyx file something like this: \latex latex $Log$ When CVS modifies this, it'll replace it with

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Lars Gullik Bjønnes
Tuukka Toivonen [EMAIL PROTECTED] writes: | On 24 Sep 2002, Lars Gullik Bjønnes wrote: | | \begin{verbatim} | $Log$ | \end{verbatim} | | what happens if you put this in a ERT? | | I don't use CVS, but trying with hand: when this is saved, it'll look in | .lyx file something like this: | |

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On 24 Sep 2002, Lars Gullik Bjønnes wrote: what if you put a newcommand in the preamble \newcommand{mylog}{ \begin{verbatim} $Log$ \end{verbatim} } and put \mylog in ert somewhere in the document? I think this might actually work. Daniel, could you try it? you should insert the

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
/2002 01:54 PM To: Lars Gullik Bjønnes [EMAIL PROTECTED] cc: [EMAIL PROTECTED], (bcc: Daniel Clark/Cambridge/IBM) Subject:Re: Including CVS $Log$ tag in LyX doxument On 24 Sep 2002, Lars Gullik Bjønnes wrote: \begin{verbatim} $Log$ \end{verbatim} what

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
7.2 (with a bunch of patches). Tuukka Toivonen [EMAIL PROTECTED] 09/24/2002 02:15 PM To: Lars Gullik Bjønnes [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in LyX doxument On 24 Sep 2002, Lars Gullik

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Dekel Tsur
On Tue, Sep 24, 2002 at 02:41:55PM -0400, Daniel Clark/Cambridge/IBM wrote: It looks promising, as LyX is not changing anything in the preamble. However my lack of any TeX knowedge is showing through. Why does this produce 5 errors? \usepackage{pslatex,verbatim} \newcommand{cvslog}{

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Dekel Tsur
On Tue, Sep 24, 2002 at 08:08:21PM +0200, Lars Gullik Bj?nnes wrote: what if you put a newcommand in the preamble \newcommand{mylog}{ \begin{verbatim} $Log$ \end{verbatim} } and put \mylog in ert somewhere in the document? You can't use verbatim inside an argument to a macro. But

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
: Including CVS $Log$ tag in LyX doxument On Tue, Sep 24, 2002 at 08:08:21PM +0200, Lars Gullik Bj?nnes wrote: what if you put a newcommand in the preamble \newcommand{mylog}{ \begin{verbatim} $Log$ \end{verbatim} } and put \mylog in ert somewhere in the document? You can't use verbatim

Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
I'd like to have a section of a LyX document be revision history using the CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, which is multiple lines separated by single linebreaks, into a single ugly line. I've tried using the verbatim and listings packages, but they

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: I'd like to have a section of a LyX document be revision history using the CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, Try typing % $Log$ And marking whole line as red TeX. Or you could type the same into

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
know how to use CVS) I'm guessing % must be the TeX comment character? Tuukka Toivonen [EMAIL PROTECTED] 09/24/2002 11:50 AM To: Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in LyX doxument

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: text editor, however it still shows up in LyX as a single line and doesn't show up in created .dvi, .pdf, .ps, .html etc. files at all (which is Right. You could try using this instead: \newcommand{\cvsver}{\$$Log$\$} \cvsver \cvsver

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
/24/2002 12:14 PM To: Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in LyX doxument On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: text editor, however it still shows up in LyX as a single

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Lars Gullik Bjønnes
Daniel Clark/Cambridge/IBM [EMAIL PROTECTED] writes: | I think what maybe I didn't explain well enough is that $Log$ expands to | multiple lines, and CVS takes anything before $Log$ as the language's | comment character. So the suggestions you give end up expanding to things | that are syntax

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On 24 Sep 2002, Lars Gullik Bjønnes wrote: \begin{verbatim} $Log$ \end{verbatim} what happens if you put this in a ERT? I don't use CVS, but trying with hand: when this is saved, it'll look in .lyx file something like this: \latex latex $Log$ When CVS modifies this, it'll replace it with

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Lars Gullik Bjønnes
Tuukka Toivonen [EMAIL PROTECTED] writes: | On 24 Sep 2002, Lars Gullik Bjønnes wrote: | | \begin{verbatim} | $Log$ | \end{verbatim} | | what happens if you put this in a ERT? | | I don't use CVS, but trying with hand: when this is saved, it'll look in | .lyx file something like this: | |

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On 24 Sep 2002, Lars Gullik Bjønnes wrote: what if you put a newcommand in the preamble \newcommand{mylog}{ \begin{verbatim} $Log$ \end{verbatim} } and put \mylog in ert somewhere in the document? I think this might actually work. Daniel, could you try it? you should insert the

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
/2002 01:54 PM To: Lars Gullik Bjønnes [EMAIL PROTECTED] cc: [EMAIL PROTECTED], (bcc: Daniel Clark/Cambridge/IBM) Subject:Re: Including CVS $Log$ tag in LyX doxument On 24 Sep 2002, Lars Gullik Bjønnes wrote: \begin{verbatim} $Log$ \end{verbatim} what

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
7.2 (with a bunch of patches). Tuukka Toivonen [EMAIL PROTECTED] 09/24/2002 02:15 PM To: Lars Gullik Bjønnes [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in LyX doxument On 24 Sep 2002, Lars Gullik

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Dekel Tsur
On Tue, Sep 24, 2002 at 02:41:55PM -0400, Daniel Clark/Cambridge/IBM wrote: It looks promising, as LyX is not changing anything in the preamble. However my lack of any TeX knowedge is showing through. Why does this produce 5 errors? \usepackage{pslatex,verbatim} \newcommand{cvslog}{

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Dekel Tsur
On Tue, Sep 24, 2002 at 08:08:21PM +0200, Lars Gullik Bj?nnes wrote: what if you put a newcommand in the preamble \newcommand{mylog}{ \begin{verbatim} $Log$ \end{verbatim} } and put \mylog in ert somewhere in the document? You can't use verbatim inside an argument to a macro. But

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
: Including CVS $Log$ tag in LyX doxument On Tue, Sep 24, 2002 at 08:08:21PM +0200, Lars Gullik Bj?nnes wrote: what if you put a newcommand in the preamble \newcommand{mylog}{ \begin{verbatim} $Log$ \end{verbatim} } and put \mylog in ert somewhere in the document? You can't use verbatim

Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
I'd like to have a section of a LyX document be revision history using the CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, which is multiple lines separated by single linebreaks, into a single ugly line. I've tried using the verbatim and listings packages, but they

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: >I'd like to have a section of a LyX document be revision history using the >CVS $Log$ tag. The problem is that LyX seems to reformat the $Log$ entry, Try typing % $Log$ And marking whole line as red TeX. Or you could type the same into

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
know how to use CVS) I'm guessing % must be the TeX comment character? Tuukka Toivonen <[EMAIL PROTECTED]> 09/24/2002 11:50 AM To: Daniel Clark/Cambridge/IBM <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: >text editor, however it still shows up in LyX as a single line and doesn't >show up in created .dvi, .pdf, .ps, .html etc. files at all (which is Right. You could try using this instead: \newcommand{\cvsver}{\$$Log$\$} \cvsver \cvsver

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
gt; 09/24/2002 12:14 PM To: Daniel Clark/Cambridge/IBM <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED] Subject:Re: Including CVS $Log$ tag in LyX doxument On Tue, 24 Sep 2002, Daniel Clark/Cambridge/IBM wrote: >text editor, however it still

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Lars Gullik Bjønnes
Daniel Clark/Cambridge/IBM <[EMAIL PROTECTED]> writes: | I think what maybe I didn't explain well enough is that $Log$ expands to | multiple lines, and CVS takes anything before $Log$ as the language's | comment character. So the suggestions you give end up expanding to things | that are

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On 24 Sep 2002, Lars Gullik Bjønnes wrote: >\begin{verbatim} >$Log$ >\end{verbatim} > >what happens if you put this in a ERT? I don't use CVS, but trying with hand: when this is saved, it'll look in .lyx file something like this: \latex latex $Log$ When CVS modifies this, it'll replace it

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Lars Gullik Bjønnes
Tuukka Toivonen <[EMAIL PROTECTED]> writes: | On 24 Sep 2002, Lars Gullik Bjønnes wrote: | | >\begin{verbatim} | >$Log$ | >\end{verbatim} | > | >what happens if you put this in a ERT? | | I don't use CVS, but trying with hand: when this is saved, it'll look in | .lyx file something like this:

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Tuukka Toivonen
On 24 Sep 2002, Lars Gullik Bjønnes wrote: >what if you put a newcommand in the preamble > >\newcommand{mylog}{ >\begin{verbatim} >$Log$ >\end{verbatim} >} > >and put "\mylog" in ert somewhere in the document? I think this might actually work. Daniel, could you try it? >you should insert the

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
onen <[EMAIL PROTECTED]> 09/24/2002 01:54 PM To: Lars Gullik Bjønnes <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED], (bcc: Daniel Clark/Cambridge/IBM) Subject: Re: Including CVS $Log$ tag in LyX doxument On 24 Sep 2002, Lars Gullik Bjønnes wrote

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
GNU/Linux 7.2 (with a bunch of patches). Tuukka Toivonen <[EMAIL PROTECTED]> 09/24/2002 02:15 PM To: Lars Gullik Bjønnes <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED], <[EMAIL PROTECTED]> Subject: Re: Including CVS $Log$ tag in LyX doxumen

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Dekel Tsur
On Tue, Sep 24, 2002 at 02:41:55PM -0400, Daniel Clark/Cambridge/IBM wrote: > It looks promising, as LyX is not changing anything in the preamble. > However my lack of any TeX knowedge is showing through. Why does this > produce 5 errors? > > \usepackage{pslatex,verbatim} >

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Dekel Tsur
On Tue, Sep 24, 2002 at 08:08:21PM +0200, Lars Gullik Bj?nnes wrote: > > what if you put a newcommand in the preamble > > \newcommand{mylog}{ > \begin{verbatim} > $Log$ > \end{verbatim} > } > > and put "\mylog" in ert somewhere in the document? You can't use verbatim inside an argument to a

Re: Including CVS $Log$ tag in LyX doxument

2002-09-24 Thread Daniel Clark/Cambridge/IBM
cc: Subject: Re: Including CVS $Log$ tag in LyX doxument On Tue, Sep 24, 2002 at 08:08:21PM +0200, Lars Gullik Bj?nnes wrote: > > what if you put a newcommand in the preamble > > \newcommand{mylog}{ > \begin{verbatim} > $Log$ > \end{verbatim} > } > > a