default date format

2010-12-18 Thread alain . didierjean

I insert dates through the date lyx command (and a key binding). How can I set a
different default date format ( I used to get samedi 18 décembre 2010 and now
I get 18/12/210 which is ugly in a letter in french.
Thx,


Re: default date format

2010-12-18 Thread Ignacio García
alain . didierjean Sat, 18 Dec 2010

 I insert dates through the date lyx command (and a key binding). How can I 
 set a
 different default date format ( I used to get samedi 18 décembre 2010 and 
 now
 I get 18/12/210 which is ugly in a letter in french.

Menu Tools  Preferences  Outputs  General
The text field Date Format allows the date settings
Writing in
 %A %d %B %Y
outputs the inserted date as you want. (They are _date_ command options)

Or you can insert in Tex code the LaTeX command \today

Another way for insert the date is the menu
Insert  File  External Material

If you want more info about these issues have a look to sec. 6.1
in the Embedded Objects manual or the date command help

Regards
Ignacio Garcia


default date format

2010-12-18 Thread alain . didierjean

I insert dates through the date lyx command (and a key binding). How can I set a
different default date format ( I used to get samedi 18 décembre 2010 and now
I get 18/12/210 which is ugly in a letter in french.
Thx,


Re: default date format

2010-12-18 Thread Ignacio García
alain . didierjean Sat, 18 Dec 2010

 I insert dates through the date lyx command (and a key binding). How can I 
 set a
 different default date format ( I used to get samedi 18 décembre 2010 and 
 now
 I get 18/12/210 which is ugly in a letter in french.

Menu Tools  Preferences  Outputs  General
The text field Date Format allows the date settings
Writing in
 %A %d %B %Y
outputs the inserted date as you want. (They are _date_ command options)

Or you can insert in Tex code the LaTeX command \today

Another way for insert the date is the menu
Insert  File  External Material

If you want more info about these issues have a look to sec. 6.1
in the Embedded Objects manual or the date command help

Regards
Ignacio Garcia


default date format

2010-12-18 Thread alain . didierjean

I insert dates through the date lyx command (and a key binding). How can I set a
different default date format ( I used to get "samedi 18 décembre 2010" and now
I get "18/12/210" which is ugly in a letter in french.
Thx,


Re: default date format

2010-12-18 Thread Ignacio García
alain . didierjean Sat, 18 Dec 2010

> I insert dates through the date lyx command (and a key binding). How can I 
> set a
> different default date format ( I used to get "samedi 18 décembre 2010" and 
> now
> I get "18/12/210" which is ugly in a letter in french.

Menu Tools > Preferences > Outputs > General
The text field Date Format allows the date settings
Writing in
 %A %d %B %Y
outputs the inserted date as you want. (They are _date_ command options)

Or you can insert in Tex code the LaTeX command \today

Another way for insert the date is the menu
Insert > File > External Material

If you want more info about these issues have a look to sec. 6.1
in the Embedded Objects manual or the date command help

Regards
Ignacio Garcia


Re: default date format (LyX/LaTeX)

2003-02-13 Thread Herbert Voss
Ronald Florence schrieb:

How do I change the default date format in LyX/LaTeX from 13th
February 2003 to February 13, 2003?


http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.phtml#date

Herbert


--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: default date format (LyX/LaTeX)

2003-02-13 Thread Dekel Tsur
On Thu, Feb 13, 2003 at 10:09:49AM -0500, Ronald Florence wrote:
 How do I change the default date format in LyX/LaTeX from 13th
 February 2003 to February 13, 2003?
 
 (I know, it's an antiquated and illogical Americanism, but some
 publishers prefer it.  And with www.lyx.org not responding and the URL
 I have for Herbert Voss's site out of date, I apologize in advance for
 troubling the list for something I ought to be able to find myself.)

Change the language of the document to American.



Re: default date format (LyX/LaTeX)

2003-02-13 Thread Christian Ridderström
On Thu, 13 Feb 2003, Dekel Tsur wrote:

 On Thu, Feb 13, 2003 at 10:09:49AM -0500, Ronald Florence wrote:
  How do I change the default date format in LyX/LaTeX from 13th
  February 2003 to February 13, 2003?
  
 Change the language of the document to American.

So what is this setting for then?
Edit-Preferences-Outputs-Date format

(The help says: Date format for strftime output)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr





Re: default date format (LyX/LaTeX)

2003-02-13 Thread Dekel Tsur
On Thu, Feb 13, 2003 at 06:41:05PM +0100, Christian Ridderstr?m wrote:
   How do I change the default date format in LyX/LaTeX from 13th
   February 2003 to February 13, 2003?
   
  Change the language of the document to American.
 
 So what is this setting for then?
   Edit-Preferences-Outputs-Date format
 
 (The help says: Date format for strftime output)

It is the format of the date that is inserted with M-x date-insert



Re: default date format (LyX/LaTeX)

2003-02-13 Thread Christian Ridderström
On Thu, 13 Feb 2003, Dekel Tsur wrote:

  So what is this setting for then?
  Edit-Preferences-Outputs-Date format
  
  (The help says: Date format for strftime output)
 
 It is the format of the date that is inserted with M-x date-insert

Thanks.

I did a search for 'date-insert' and noticed that it's actually 
mentioned in $LYXDIR/lyxrc.example.

Is there somewhere (in the source) where I could find a listing of these 
commands, or is this perhaps an example of a typical LFUN? And I should 
therefore look in src/lyxfunc.C and src/commandtags.h ?

This isn't the first time I've been thinking that there are probably lots 
of (more or less) useful commands (LFUNS?) that I don't know about.

/Christian


-- 
Christian Ridderström   http://www.md.kth.se/~chr





Re: default date format (LyX/LaTeX)

2003-02-13 Thread Herbert Voss
Ronald Florence schrieb:

How do I change the default date format in LyX/LaTeX from 13th
February 2003 to February 13, 2003?


http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.phtml#date

Herbert


--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: default date format (LyX/LaTeX)

2003-02-13 Thread Dekel Tsur
On Thu, Feb 13, 2003 at 10:09:49AM -0500, Ronald Florence wrote:
 How do I change the default date format in LyX/LaTeX from 13th
 February 2003 to February 13, 2003?
 
 (I know, it's an antiquated and illogical Americanism, but some
 publishers prefer it.  And with www.lyx.org not responding and the URL
 I have for Herbert Voss's site out of date, I apologize in advance for
 troubling the list for something I ought to be able to find myself.)

Change the language of the document to American.



Re: default date format (LyX/LaTeX)

2003-02-13 Thread Christian Ridderström
On Thu, 13 Feb 2003, Dekel Tsur wrote:

 On Thu, Feb 13, 2003 at 10:09:49AM -0500, Ronald Florence wrote:
  How do I change the default date format in LyX/LaTeX from 13th
  February 2003 to February 13, 2003?
  
 Change the language of the document to American.

So what is this setting for then?
Edit-Preferences-Outputs-Date format

(The help says: Date format for strftime output)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr





Re: default date format (LyX/LaTeX)

2003-02-13 Thread Dekel Tsur
On Thu, Feb 13, 2003 at 06:41:05PM +0100, Christian Ridderstr?m wrote:
   How do I change the default date format in LyX/LaTeX from 13th
   February 2003 to February 13, 2003?
   
  Change the language of the document to American.
 
 So what is this setting for then?
   Edit-Preferences-Outputs-Date format
 
 (The help says: Date format for strftime output)

It is the format of the date that is inserted with M-x date-insert



Re: default date format (LyX/LaTeX)

2003-02-13 Thread Christian Ridderström
On Thu, 13 Feb 2003, Dekel Tsur wrote:

  So what is this setting for then?
  Edit-Preferences-Outputs-Date format
  
  (The help says: Date format for strftime output)
 
 It is the format of the date that is inserted with M-x date-insert

Thanks.

I did a search for 'date-insert' and noticed that it's actually 
mentioned in $LYXDIR/lyxrc.example.

Is there somewhere (in the source) where I could find a listing of these 
commands, or is this perhaps an example of a typical LFUN? And I should 
therefore look in src/lyxfunc.C and src/commandtags.h ?

This isn't the first time I've been thinking that there are probably lots 
of (more or less) useful commands (LFUNS?) that I don't know about.

/Christian


-- 
Christian Ridderström   http://www.md.kth.se/~chr





Re: default date format (LyX/LaTeX)

2003-02-13 Thread Herbert Voss
Ronald Florence schrieb:

How do I change the default date format in LyX/LaTeX from 13th
February 2003 to February 13, 2003?


http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.phtml#date

Herbert


--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: default date format (LyX/LaTeX)

2003-02-13 Thread Dekel Tsur
On Thu, Feb 13, 2003 at 10:09:49AM -0500, Ronald Florence wrote:
> How do I change the default date format in LyX/LaTeX from 13th
> February 2003 to February 13, 2003?
> 
> (I know, it's an antiquated and illogical Americanism, but some
> publishers prefer it.  And with www.lyx.org not responding and the URL
> I have for Herbert Voss's site out of date, I apologize in advance for
> troubling the list for something I ought to be able to find myself.)

Change the language of the document to American.



Re: default date format (LyX/LaTeX)

2003-02-13 Thread Christian Ridderström
On Thu, 13 Feb 2003, Dekel Tsur wrote:

> On Thu, Feb 13, 2003 at 10:09:49AM -0500, Ronald Florence wrote:
> > How do I change the default date format in LyX/LaTeX from 13th
> > February 2003 to February 13, 2003?
> > 
> Change the language of the document to American.

So what is this setting for then?
Edit->Preferences->Outputs->Date format

(The help says: "Date format for strftime output")

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr





Re: default date format (LyX/LaTeX)

2003-02-13 Thread Dekel Tsur
On Thu, Feb 13, 2003 at 06:41:05PM +0100, Christian Ridderstr?m wrote:
> > > How do I change the default date format in LyX/LaTeX from 13th
> > > February 2003 to February 13, 2003?
> > > 
> > Change the language of the document to American.
> 
> So what is this setting for then?
>   Edit->Preferences->Outputs->Date format
> 
> (The help says: "Date format for strftime output")

It is the format of the date that is inserted with M-x date-insert



Re: default date format (LyX/LaTeX)

2003-02-13 Thread Christian Ridderström
On Thu, 13 Feb 2003, Dekel Tsur wrote:

> > So what is this setting for then?
> > Edit->Preferences->Outputs->Date format
> > 
> > (The help says: "Date format for strftime output")
> 
> It is the format of the date that is inserted with M-x date-insert

Thanks.

I did a search for 'date-insert' and noticed that it's actually 
mentioned in $LYXDIR/lyxrc.example.

Is there somewhere (in the source) where I could find a listing of these 
commands, or is this perhaps an example of a typical LFUN? And I should 
therefore look in src/lyxfunc.C and src/commandtags.h ?

This isn't the first time I've been thinking that there are probably lots 
of (more or less) useful commands (LFUNS?) that I don't know about.

/Christian


-- 
Christian Ridderström   http://www.md.kth.se/~chr





changing the default Date format

2002-04-15 Thread Nirmal Govind


How do I  change the default format of the Date? Right now it says 15th 
April 2002 but say I want it to be April 15, 2002 instead? I know I can 
do it manually with \date{} but how do I change the default so that it 
looks like this when I just say \today for instance..

Thanks,
nirmal




Re: changing the default Date format

2002-04-15 Thread Matej Cepl

On Mon, Apr 15, 2002 at 03:18:02AM -0400, Nirmal Govind wrote:
 How do I  change the default format of the Date? Right now it says 15th 
 April 2002 but say I want it to be April 15, 2002 instead? I know I can 
 do it manually with \date{} but how do I change the default so that it 
 looks like this when I just say \today for instance..

Find defintion of \today in your particular Babel's language
definition file (I suppose, it is
$TEXMF/tex/generic/babel/english.ldf) and redefine it to your
likes. I guess, that it is sufficiently obvious what to do.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




Re: changing the default Date format

2002-04-15 Thread Herbert Voss

Nirmal Govind wrote:

 
 How do I  change the default format of the Date? Right now it says 15th 
 April 2002 but say I want it to be April 15, 2002 instead? I know I 
 can do it manually with \date{} but how do I change the default so that 
 it looks like this when I just say \today for instance..


in preamble:
\newcommand\myToday{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}

and in the text in tex(red)

\myToday

Herbert

-- 
http://www.lyx.org/help/




changing the default Date format

2002-04-15 Thread Nirmal Govind


How do I  change the default format of the Date? Right now it says 15th 
April 2002 but say I want it to be April 15, 2002 instead? I know I can 
do it manually with \date{} but how do I change the default so that it 
looks like this when I just say \today for instance..

Thanks,
nirmal




Re: changing the default Date format

2002-04-15 Thread Matej Cepl

On Mon, Apr 15, 2002 at 03:18:02AM -0400, Nirmal Govind wrote:
 How do I  change the default format of the Date? Right now it says 15th 
 April 2002 but say I want it to be April 15, 2002 instead? I know I can 
 do it manually with \date{} but how do I change the default so that it 
 looks like this when I just say \today for instance..

Find defintion of \today in your particular Babel's language
definition file (I suppose, it is
$TEXMF/tex/generic/babel/english.ldf) and redefine it to your
likes. I guess, that it is sufficiently obvious what to do.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




Re: changing the default Date format

2002-04-15 Thread Herbert Voss

Nirmal Govind wrote:

 
 How do I  change the default format of the Date? Right now it says 15th 
 April 2002 but say I want it to be April 15, 2002 instead? I know I 
 can do it manually with \date{} but how do I change the default so that 
 it looks like this when I just say \today for instance..


in preamble:
\newcommand\myToday{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}

and in the text in tex(red)

\myToday

Herbert

-- 
http://www.lyx.org/help/




changing the default Date format

2002-04-15 Thread Nirmal Govind


How do I  change the default format of the Date? Right now it says "15th 
April 2002" but say I want it to be "April 15, 2002" instead? I know I can 
do it manually with \date{} but how do I change the default so that it 
looks like this when I just say \today for instance..

Thanks,
nirmal




Re: changing the default Date format

2002-04-15 Thread Matej Cepl

On Mon, Apr 15, 2002 at 03:18:02AM -0400, Nirmal Govind wrote:
> How do I  change the default format of the Date? Right now it says "15th 
> April 2002" but say I want it to be "April 15, 2002" instead? I know I can 
> do it manually with \date{} but how do I change the default so that it 
> looks like this when I just say \today for instance..

Find defintion of \today in your particular Babel's language
definition file (I suppose, it is
$TEXMF/tex/generic/babel/english.ldf) and redefine it to your
likes. I guess, that it is sufficiently obvious what to do.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Extremism in the defense of liberty is no vice; moderation in the
pursuit of justice is no virtue.
-- Barry Goldwater (actually written by Karl Hess)




Re: changing the default Date format

2002-04-15 Thread Herbert Voss

Nirmal Govind wrote:

> 
> How do I  change the default format of the Date? Right now it says "15th 
> April 2002" but say I want it to be "April 15, 2002" instead? I know I 
> can do it manually with \date{} but how do I change the default so that 
> it looks like this when I just say \today for instance..


in preamble:
\newcommand\myToday{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}

and in the text in tex(red)

\myToday

Herbert

-- 
http://www.lyx.org/help/