Re: String with actual date (+ time)

2006-09-18 Thread Hellmut Weber

Hi Jean-Marc,
Thanks for that information.

I'm sorry I answered Paul before I saw your message.
Tweaking works fine too.

Greetings from Munich

Hellmut


You can tweak in preference the string that is returned by
date-insert.


--
Dr. Hellmut Weber
Degenfeldstraße 2, D - 80803 München-Schwabing
tel (+49 89) 3081172, mobil (+49 172) 8450321
[EMAIL PROTECTED]
--



Re: String with actual date (+ time)

2006-09-18 Thread Hellmut Weber

Hi Paul,
thanks for your quick answer ;-)
The procedure you describe works well.

But the format of the date string does not fit well with all my needs, 
because it is quite long.


So I come to a more general question:
Is it possible to invoke some linux command from inside LyX AND to get 
the output of that command in the text?


Greetings from Munich

Hellmut

Half an answer:  Type M-x to open the command minibuffer, then 
date-insert (enter) in the minibuffer to insert the date at the current 
cursor position.  You could bind the date-insert command to a key 
combination for easy access.  I don't know any way to insert the current 
time, though.  Maybe something with a shell script?  (Or bug the 
developers to add a time-insert LFUN?)


--
Dr. Hellmut Weber
Degenfeldstraße 2, D - 80803 München-Schwabing
tel (+49 89) 3081172, mobil (+49 172) 8450321
[EMAIL PROTECTED]
--



Re: String with actual date (+ time)

2006-09-18 Thread Jean-Marc Lasgouttes
> "Paul" == Paul A Rubin <[EMAIL PROTECTED]> writes:

Paul> Half an answer: Type M-x to open the command minibuffer, then
Paul> date-insert (enter) in the minibuffer to insert the date at the
Paul> current cursor position. You could bind the date-insert command
Paul> to a key combination for easy access. I don't know any way to
Paul> insert the current time, though. Maybe something with a shell
Paul> script? (Or bug the developers to add a time-insert LFUN?)

You can tweak in preference the string that is returned by
date-insert.

JMarc


Re: String with actual date (+ time)

2006-09-16 Thread Paul A. Rubin

Hellmut Weber wrote:

Hi list,
quite often I would like to insert the actual date (and time) into my 
LyX text as a string. (Printing the document this date would be always 
the same in contrast to \today.)


Does anybody have an idea how this could be realised in LyX? As menu 
item? As Icon? As key stroke sequence (which I would prefer ;-)?


Actually I'm using LyX-1.3.5 with KDE-3.4 but in a few days I will start 
using LyX-1.4.2 with KDE-3.5.2 on my new machine.


Greetings from Munich

Hellmut




Half an answer:  Type M-x to open the command minibuffer, then 
date-insert (enter) in the minibuffer to insert the date at the current 
cursor position.  You could bind the date-insert command to a key 
combination for easy access.  I don't know any way to insert the current 
time, though.  Maybe something with a shell script?  (Or bug the 
developers to add a time-insert LFUN?)


/Paul



String with actual date (+ time)

2006-09-16 Thread Hellmut Weber

Hi list,
quite often I would like to insert the actual date (and time) into my 
LyX text as a string. (Printing the document this date would be always 
the same in contrast to \today.)


Does anybody have an idea how this could be realised in LyX? As menu 
item? As Icon? As key stroke sequence (which I would prefer ;-)?


Actually I'm using LyX-1.3.5 with KDE-3.4 but in a few days I will start 
using LyX-1.4.2 with KDE-3.5.2 on my new machine.


Greetings from Munich

Hellmut

--
Dr. Hellmut Weber
Degenfeldstraße 2, D - 80803 München-Schwabing
tel (+49 89) 3081172, mobil (+49 172) 8450321
[EMAIL PROTECTED]
--