Re: date format

2014-07-20 Thread stefano franchi
On Sat, Jul 19, 2014 at 7:33 PM, Enrico Forestieri for...@lyx.org wrote:

 Will Parsons writes:
 
  Will Parsons wrote:
   In a document I'm writing, I would like to print the date of the last
   edit in the title page.  I've discovered [Insert = Date], which looks
   like it might be what I want (does it update when I save the document
   again?), but the format is 07/16/14, which is a common format for
   North America (which is where I am), but I would prefer a different
   format, preferably 14 June 2014, or even the ISO standard
   2014-07-14, but I can't figure out how to adjust this.  Is this
   configurable via LyX, or do I have to do some LaTeX magic?
 
  Of course, what I meant was '16 June 2014, or even the ISO standard
  2014-07-16', (which I guess illustrates that even *I* find the
  format 07/16/14 confusing, used to it though I am...

 The format of the date is fully configurable through conversion specifiers
 in
 Tools-Preferences-Output-General-Date format.


LyX: you learn something every day.

Thanks Enrico for the info---I had no clue you could reformat dates from
within Lyx--alwyas used LaTeX packages

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: date format

2014-07-20 Thread stefano franchi
On Sat, Jul 19, 2014 at 7:33 PM, Enrico Forestieri for...@lyx.org wrote:

 Will Parsons writes:
 
  Will Parsons wrote:
   In a document I'm writing, I would like to print the date of the last
   edit in the title page.  I've discovered [Insert = Date], which looks
   like it might be what I want (does it update when I save the document
   again?), but the format is 07/16/14, which is a common format for
   North America (which is where I am), but I would prefer a different
   format, preferably 14 June 2014, or even the ISO standard
   2014-07-14, but I can't figure out how to adjust this.  Is this
   configurable via LyX, or do I have to do some LaTeX magic?
 
  Of course, what I meant was '16 June 2014, or even the ISO standard
  2014-07-16', (which I guess illustrates that even *I* find the
  format 07/16/14 confusing, used to it though I am...

 The format of the date is fully configurable through conversion specifiers
 in
 Tools-Preferences-Output-General-Date format.


LyX: you learn something every day.

Thanks Enrico for the info---I had no clue you could reformat dates from
within Lyx--alwyas used LaTeX packages

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: date format

2014-07-20 Thread stefano franchi
On Sat, Jul 19, 2014 at 7:33 PM, Enrico Forestieri <for...@lyx.org> wrote:

> Will Parsons writes:
> >
> > Will Parsons wrote:
> > > In a document I'm writing, I would like to print the date of the last
> > > edit in the title page.  I've discovered [Insert => Date], which looks
> > > like it might be what I want (does it update when I save the document
> > > again?), but the format is "07/16/14", which is a common format for
> > > North America (which is where I am), but I would prefer a different
> > > format, preferably "14 June 2014", or even the ISO standard
> > > "2014-07-14", but I can't figure out how to adjust this.  Is this
> > > configurable via LyX, or do I have to do some LaTeX magic?
> >
> > Of course, what I meant was '"16 June 2014", or even the ISO standard
> > "2014-07-16"', (which I guess illustrates that even *I* find the
> > format "07/16/14" confusing, used to it though I am...
>
> The format of the date is fully configurable through conversion specifiers
> in
> Tools->Preferences->Output->General->Date format.
>

LyX: you learn something every day.

Thanks Enrico for the info---I had no clue you could reformat dates from
within Lyx--alwyas used LaTeX packages

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: date format

2014-07-19 Thread Enrico Forestieri
Will Parsons writes:
 
 Will Parsons wrote:
  In a document I'm writing, I would like to print the date of the last
  edit in the title page.  I've discovered [Insert = Date], which looks
  like it might be what I want (does it update when I save the document
  again?), but the format is 07/16/14, which is a common format for
  North America (which is where I am), but I would prefer a different
  format, preferably 14 June 2014, or even the ISO standard
  2014-07-14, but I can't figure out how to adjust this.  Is this
  configurable via LyX, or do I have to do some LaTeX magic?
 
 Of course, what I meant was '16 June 2014, or even the ISO standard
 2014-07-16', (which I guess illustrates that even *I* find the
 format 07/16/14 confusing, used to it though I am...

The format of the date is fully configurable through conversion specifiers in
Tools-Preferences-Output-General-Date format.
The default conversion spec is %x, which gives the locale's representation.
If you are on linux, you can access the conversion specifiers through
man strftime, otherwise you can read them online at
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html

In your case, you want either %e %b %Y or %Y-%m-%d.

-- 
Enrico



Re: date format

2014-07-19 Thread Enrico Forestieri
Will Parsons writes:
 
 Will Parsons wrote:
  In a document I'm writing, I would like to print the date of the last
  edit in the title page.  I've discovered [Insert = Date], which looks
  like it might be what I want (does it update when I save the document
  again?), but the format is 07/16/14, which is a common format for
  North America (which is where I am), but I would prefer a different
  format, preferably 14 June 2014, or even the ISO standard
  2014-07-14, but I can't figure out how to adjust this.  Is this
  configurable via LyX, or do I have to do some LaTeX magic?
 
 Of course, what I meant was '16 June 2014, or even the ISO standard
 2014-07-16', (which I guess illustrates that even *I* find the
 format 07/16/14 confusing, used to it though I am...

The format of the date is fully configurable through conversion specifiers in
Tools-Preferences-Output-General-Date format.
The default conversion spec is %x, which gives the locale's representation.
If you are on linux, you can access the conversion specifiers through
man strftime, otherwise you can read them online at
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html

In your case, you want either %e %b %Y or %Y-%m-%d.

-- 
Enrico



Re: date format

2014-07-19 Thread Enrico Forestieri
Will Parsons writes:
> 
> Will Parsons wrote:
> > In a document I'm writing, I would like to print the date of the last
> > edit in the title page.  I've discovered [Insert => Date], which looks
> > like it might be what I want (does it update when I save the document
> > again?), but the format is "07/16/14", which is a common format for
> > North America (which is where I am), but I would prefer a different
> > format, preferably "14 June 2014", or even the ISO standard
> > "2014-07-14", but I can't figure out how to adjust this.  Is this
> > configurable via LyX, or do I have to do some LaTeX magic?
> 
> Of course, what I meant was '"16 June 2014", or even the ISO standard
> "2014-07-16"', (which I guess illustrates that even *I* find the
> format "07/16/14" confusing, used to it though I am...

The format of the date is fully configurable through conversion specifiers in
Tools->Preferences->Output->General->Date format.
The default conversion spec is %x, which gives the locale's representation.
If you are on linux, you can access the conversion specifiers through
"man strftime", otherwise you can read them online at
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html

In your case, you want either "%e %b %Y" or "%Y-%m-%d".

-- 
Enrico



Re: date format

2014-07-18 Thread Dr Eberhard Lisse
I use the Preamble:

\usepackage{scrdate}

which comes from KOMAScript and

in the document as ERT \ISOToday which I select from the top left
pulldown as Date.

el

on 2014-07-17, 02:12 Will Parsons said the following:
 In a document I'm writing, I would like to print the date of the last
 edit in the title page.  I've discovered [Insert = Date], which looks
 like it might be what I want (does it update when I save the document
 again?), but the format is 07/16/14, which is a common format for
 North America (which is where I am), but I would prefer a different
 format, preferably 14 June 2014, or even the ISO standard
 2014-07-14, but I can't figure out how to adjust this.  Is this
 configurable via LyX, or do I have to do some LaTeX magic?
 




Re: date format

2014-07-18 Thread Dr Eberhard Lisse
I use the Preamble:

\usepackage{scrdate}

which comes from KOMAScript and

in the document as ERT \ISOToday which I select from the top left
pulldown as Date.

el

on 2014-07-17, 02:12 Will Parsons said the following:
 In a document I'm writing, I would like to print the date of the last
 edit in the title page.  I've discovered [Insert = Date], which looks
 like it might be what I want (does it update when I save the document
 again?), but the format is 07/16/14, which is a common format for
 North America (which is where I am), but I would prefer a different
 format, preferably 14 June 2014, or even the ISO standard
 2014-07-14, but I can't figure out how to adjust this.  Is this
 configurable via LyX, or do I have to do some LaTeX magic?
 




Re: date format

2014-07-18 Thread Dr Eberhard Lisse
I use the Preamble:

\usepackage{scrdate}

which comes from KOMAScript and

in the document as ERT \ISOToday which I select from the top left
pulldown as Date.

el

on 2014-07-17, 02:12 Will Parsons said the following:
> In a document I'm writing, I would like to print the date of the last
> edit in the title page.  I've discovered [Insert => Date], which looks
> like it might be what I want (does it update when I save the document
> again?), but the format is "07/16/14", which is a common format for
> North America (which is where I am), but I would prefer a different
> format, preferably "14 June 2014", or even the ISO standard
> "2014-07-14", but I can't figure out how to adjust this.  Is this
> configurable via LyX, or do I have to do some LaTeX magic?
> 




date format

2014-07-16 Thread Will Parsons
In a document I'm writing, I would like to print the date of the last
edit in the title page.  I've discovered [Insert = Date], which looks
like it might be what I want (does it update when I save the document
again?), but the format is 07/16/14, which is a common format for
North America (which is where I am), but I would prefer a different
format, preferably 14 June 2014, or even the ISO standard
2014-07-14, but I can't figure out how to adjust this.  Is this
configurable via LyX, or do I have to do some LaTeX magic?

-- 
Will



Re: date format

2014-07-16 Thread Will Parsons
Will Parsons wrote:
 In a document I'm writing, I would like to print the date of the last
 edit in the title page.  I've discovered [Insert = Date], which looks
 like it might be what I want (does it update when I save the document
 again?), but the format is 07/16/14, which is a common format for
 North America (which is where I am), but I would prefer a different
 format, preferably 14 June 2014, or even the ISO standard
 2014-07-14, but I can't figure out how to adjust this.  Is this
 configurable via LyX, or do I have to do some LaTeX magic?

Of course, what I meant was '16 June 2014, or even the ISO standard
2014-07-16', (which I guess illustrates that even *I* find the
format 07/16/14 confusing, used to it though I am...

-- 
Will



Re: date format

2014-07-16 Thread Scott Kostyshak
On Wed, Jul 16, 2014 at 9:27 PM, Will Parsons varro@nodomain.invalid wrote:
 Will Parsons wrote:
 In a document I'm writing, I would like to print the date of the last
 edit in the title page.  I've discovered [Insert = Date], which looks
 like it might be what I want (does it update when I save the document
 again?), but the format is 07/16/14, which is a common format for
 North America (which is where I am), but I would prefer a different
 format, preferably 14 June 2014, or even the ISO standard
 2014-07-14, but I can't figure out how to adjust this.  Is this
 configurable via LyX, or do I have to do some LaTeX magic?

 Of course, what I meant was '16 June 2014, or even the ISO standard
 2014-07-16', (which I guess illustrates that even *I* find the
 format 07/16/14 confusing, used to it though I am...

Hi Will, you can do this with Insert  File  External Material.
It is not intuitive at all (what does a data have to do with inserting
a file?), but it is done that way because it was easy to implement. In
the dialog, you don't have to choose a file. Just change Template to
Date. Note that the implementation of this is just a plain text
file, so if you want to modify it to your preferences, you don't need
to recompile LyX. Take a look at lib/external_templates and the
converter for date. See Help  Customization for more information.

Using LaTeX in ERT is another option and might be more robust in my opinion.

Scott


Re: date format

2014-07-16 Thread aparsloe


On 17/07/2014 2:01 p.m., Scott Kostyshak wrote:

On Wed, Jul 16, 2014 at 9:27 PM, Will Parsons varro@nodomain.invalid wrote:

Will Parsons wrote:

In a document I'm writing, I would like to print the date of the last
edit in the title page.  I've discovered [Insert = Date], which looks
like it might be what I want (does it update when I save the document
again?), but the format is 07/16/14, which is a common format for
North America (which is where I am), but I would prefer a different
format, preferably 14 June 2014, or even the ISO standard
2014-07-14, but I can't figure out how to adjust this.  Is this
configurable via LyX, or do I have to do some LaTeX magic?

Of course, what I meant was '16 June 2014, or even the ISO standard
2014-07-16', (which I guess illustrates that even *I* find the
format 07/16/14 confusing, used to it though I am...

Hi Will, you can do this with Insert  File  External Material.
It is not intuitive at all (what does a data have to do with inserting
a file?), but it is done that way because it was easy to implement. In
the dialog, you don't have to choose a file. Just change Template to
Date. Note that the implementation of this is just a plain text
file, so if you want to modify it to your preferences, you don't need
to recompile LyX. Take a look at lib/external_templates and the
converter for date. See Help  Customization for more information.

Using LaTeX in ERT is another option and might be more robust in my opinion.

Scott

The LaTeX package datetime offers a wide variety of date (and time) formats.

Andrew



date format

2014-07-16 Thread Will Parsons
In a document I'm writing, I would like to print the date of the last
edit in the title page.  I've discovered [Insert = Date], which looks
like it might be what I want (does it update when I save the document
again?), but the format is 07/16/14, which is a common format for
North America (which is where I am), but I would prefer a different
format, preferably 14 June 2014, or even the ISO standard
2014-07-14, but I can't figure out how to adjust this.  Is this
configurable via LyX, or do I have to do some LaTeX magic?

-- 
Will



Re: date format

2014-07-16 Thread Will Parsons
Will Parsons wrote:
 In a document I'm writing, I would like to print the date of the last
 edit in the title page.  I've discovered [Insert = Date], which looks
 like it might be what I want (does it update when I save the document
 again?), but the format is 07/16/14, which is a common format for
 North America (which is where I am), but I would prefer a different
 format, preferably 14 June 2014, or even the ISO standard
 2014-07-14, but I can't figure out how to adjust this.  Is this
 configurable via LyX, or do I have to do some LaTeX magic?

Of course, what I meant was '16 June 2014, or even the ISO standard
2014-07-16', (which I guess illustrates that even *I* find the
format 07/16/14 confusing, used to it though I am...

-- 
Will



Re: date format

2014-07-16 Thread Scott Kostyshak
On Wed, Jul 16, 2014 at 9:27 PM, Will Parsons varro@nodomain.invalid wrote:
 Will Parsons wrote:
 In a document I'm writing, I would like to print the date of the last
 edit in the title page.  I've discovered [Insert = Date], which looks
 like it might be what I want (does it update when I save the document
 again?), but the format is 07/16/14, which is a common format for
 North America (which is where I am), but I would prefer a different
 format, preferably 14 June 2014, or even the ISO standard
 2014-07-14, but I can't figure out how to adjust this.  Is this
 configurable via LyX, or do I have to do some LaTeX magic?

 Of course, what I meant was '16 June 2014, or even the ISO standard
 2014-07-16', (which I guess illustrates that even *I* find the
 format 07/16/14 confusing, used to it though I am...

Hi Will, you can do this with Insert  File  External Material.
It is not intuitive at all (what does a data have to do with inserting
a file?), but it is done that way because it was easy to implement. In
the dialog, you don't have to choose a file. Just change Template to
Date. Note that the implementation of this is just a plain text
file, so if you want to modify it to your preferences, you don't need
to recompile LyX. Take a look at lib/external_templates and the
converter for date. See Help  Customization for more information.

Using LaTeX in ERT is another option and might be more robust in my opinion.

Scott


Re: date format

2014-07-16 Thread aparsloe


On 17/07/2014 2:01 p.m., Scott Kostyshak wrote:

On Wed, Jul 16, 2014 at 9:27 PM, Will Parsons varro@nodomain.invalid wrote:

Will Parsons wrote:

In a document I'm writing, I would like to print the date of the last
edit in the title page.  I've discovered [Insert = Date], which looks
like it might be what I want (does it update when I save the document
again?), but the format is 07/16/14, which is a common format for
North America (which is where I am), but I would prefer a different
format, preferably 14 June 2014, or even the ISO standard
2014-07-14, but I can't figure out how to adjust this.  Is this
configurable via LyX, or do I have to do some LaTeX magic?

Of course, what I meant was '16 June 2014, or even the ISO standard
2014-07-16', (which I guess illustrates that even *I* find the
format 07/16/14 confusing, used to it though I am...

Hi Will, you can do this with Insert  File  External Material.
It is not intuitive at all (what does a data have to do with inserting
a file?), but it is done that way because it was easy to implement. In
the dialog, you don't have to choose a file. Just change Template to
Date. Note that the implementation of this is just a plain text
file, so if you want to modify it to your preferences, you don't need
to recompile LyX. Take a look at lib/external_templates and the
converter for date. See Help  Customization for more information.

Using LaTeX in ERT is another option and might be more robust in my opinion.

Scott

The LaTeX package datetime offers a wide variety of date (and time) formats.

Andrew



date format

2014-07-16 Thread Will Parsons
In a document I'm writing, I would like to print the date of the last
edit in the title page.  I've discovered [Insert => Date], which looks
like it might be what I want (does it update when I save the document
again?), but the format is "07/16/14", which is a common format for
North America (which is where I am), but I would prefer a different
format, preferably "14 June 2014", or even the ISO standard
"2014-07-14", but I can't figure out how to adjust this.  Is this
configurable via LyX, or do I have to do some LaTeX magic?

-- 
Will



Re: date format

2014-07-16 Thread Will Parsons
Will Parsons wrote:
> In a document I'm writing, I would like to print the date of the last
> edit in the title page.  I've discovered [Insert => Date], which looks
> like it might be what I want (does it update when I save the document
> again?), but the format is "07/16/14", which is a common format for
> North America (which is where I am), but I would prefer a different
> format, preferably "14 June 2014", or even the ISO standard
> "2014-07-14", but I can't figure out how to adjust this.  Is this
> configurable via LyX, or do I have to do some LaTeX magic?

Of course, what I meant was '"16 June 2014", or even the ISO standard
"2014-07-16"', (which I guess illustrates that even *I* find the
format "07/16/14" confusing, used to it though I am...

-- 
Will



Re: date format

2014-07-16 Thread Scott Kostyshak
On Wed, Jul 16, 2014 at 9:27 PM, Will Parsons  wrote:
> Will Parsons wrote:
>> In a document I'm writing, I would like to print the date of the last
>> edit in the title page.  I've discovered [Insert => Date], which looks
>> like it might be what I want (does it update when I save the document
>> again?), but the format is "07/16/14", which is a common format for
>> North America (which is where I am), but I would prefer a different
>> format, preferably "14 June 2014", or even the ISO standard
>> "2014-07-14", but I can't figure out how to adjust this.  Is this
>> configurable via LyX, or do I have to do some LaTeX magic?
>
> Of course, what I meant was '"16 June 2014", or even the ISO standard
> "2014-07-16"', (which I guess illustrates that even *I* find the
> format "07/16/14" confusing, used to it though I am...

Hi Will, you can do this with Insert > File > External Material.
It is not intuitive at all (what does a data have to do with inserting
a file?), but it is done that way because it was easy to implement. In
the dialog, you don't have to choose a file. Just change "Template" to
"Date". Note that the implementation of this is just a plain text
file, so if you want to modify it to your preferences, you don't need
to recompile LyX. Take a look at lib/external_templates and the
converter for date. See Help > Customization for more information.

Using LaTeX in ERT is another option and might be more robust in my opinion.

Scott


Re: date format

2014-07-16 Thread aparsloe


On 17/07/2014 2:01 p.m., Scott Kostyshak wrote:

On Wed, Jul 16, 2014 at 9:27 PM, Will Parsons  wrote:

Will Parsons wrote:

In a document I'm writing, I would like to print the date of the last
edit in the title page.  I've discovered [Insert => Date], which looks
like it might be what I want (does it update when I save the document
again?), but the format is "07/16/14", which is a common format for
North America (which is where I am), but I would prefer a different
format, preferably "14 June 2014", or even the ISO standard
"2014-07-14", but I can't figure out how to adjust this.  Is this
configurable via LyX, or do I have to do some LaTeX magic?

Of course, what I meant was '"16 June 2014", or even the ISO standard
"2014-07-16"', (which I guess illustrates that even *I* find the
format "07/16/14" confusing, used to it though I am...

Hi Will, you can do this with Insert > File > External Material.
It is not intuitive at all (what does a data have to do with inserting
a file?), but it is done that way because it was easy to implement. In
the dialog, you don't have to choose a file. Just change "Template" to
"Date". Note that the implementation of this is just a plain text
file, so if you want to modify it to your preferences, you don't need
to recompile LyX. Take a look at lib/external_templates and the
converter for date. See Help > Customization for more information.

Using LaTeX in ERT is another option and might be more robust in my opinion.

Scott

The LaTeX package datetime offers a wide variety of date (and time) formats.

Andrew



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


Date Format

2004-05-23 Thread rwint
How come whenever I something in Lyx (DVI, etc), the date always shows up as Day 
Month Year instead of Monday Day, Year?  I tried changing the date format in the 
preferences to no avail.  How can I fix this?  Thanks.



Date Format

2004-05-23 Thread rwint
How come whenever I something in Lyx (DVI, etc), the date always shows up as Day 
Month Year instead of Monday Day, Year?  I tried changing the date format in the 
preferences to no avail.  How can I fix this?  Thanks.



Date Format

2004-05-23 Thread rwint
How come whenever I something in Lyx (DVI, etc), the date always shows up as "Day 
Month Year" instead of "Monday Day, Year"?  I tried changing the date format in the 
preferences to no avail.  How can I fix this?  Thanks.



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/




Re: Date format location

2001-08-28 Thread Dekel Tsur

On Sun, Aug 26, 2001 at 11:13:33AM -0700, Bruce Wolk wrote:
 How does one change the location and format of the date in the letter 
 document class.  It mysteriously appears as 26th August 2001 two lines  
 below the return address.  I would like to move it and have it read   
 August 26, 2001.  I can find no reference to this in any of the 
 documentation.  I looked in the letter.lyx, letter.layout, and the
 various .inc files and could find no place that references the date.  I   
 assume it somehow arrives via the LaTeX document class, but I have no 
 idea how to modify that.  

Change the language of the document to american.

Another possibility, is to put \Date{the date} in latex mode at the top of
the document (Why isn't there a date layout in the letter class ???)




Re: Date format location

2001-08-28 Thread Dekel Tsur

On Sun, Aug 26, 2001 at 11:13:33AM -0700, Bruce Wolk wrote:
 How does one change the location and format of the date in the letter 
 document class.  It mysteriously appears as 26th August 2001 two lines  
 below the return address.  I would like to move it and have it read   
 August 26, 2001.  I can find no reference to this in any of the 
 documentation.  I looked in the letter.lyx, letter.layout, and the
 various .inc files and could find no place that references the date.  I   
 assume it somehow arrives via the LaTeX document class, but I have no 
 idea how to modify that.  

Change the language of the document to american.

Another possibility, is to put \Date{the date} in latex mode at the top of
the document (Why isn't there a date layout in the letter class ???)




Re: Date format & location

2001-08-28 Thread Dekel Tsur

On Sun, Aug 26, 2001 at 11:13:33AM -0700, Bruce Wolk wrote:
> How does one change the location and format of the date in the letter 
> document class.  It mysteriously appears as "26th August 2001" two lines  
> below the return address.  I would like to move it and have it read   
> "August 26, 2001."  I can find no reference to this in any of the 
> documentation.  I looked in the letter.lyx, letter.layout, and the
> various .inc files and could find no place that references the date.  I   
> assume it somehow arrives via the LaTeX document class, but I have no 
> idea how to modify that.  

Change the language of the document to american.

Another possibility, is to put \Date{} in latex mode at the top of
the document (Why isn't there a date layout in the letter class ???)




Date format location

2001-08-26 Thread Bruce Wolk

How does one change the location and format of the date in the letter
document class.  It mysteriously appears as 26th August 2001 two lines
below the return address.  I would like to move it and have it read
August 26, 2001.  I can find no reference to this in any of the
documentation.  I looked in the letter.lyx, letter.layout, and the
various .inc files and could find no place that references the date.  I
assume it somehow arrives via the LaTeX document class, but I have no
idea how to modify that.

Thanks.

Bruce




Date format location

2001-08-26 Thread Bruce Wolk

How does one change the location and format of the date in the letter
document class.  It mysteriously appears as 26th August 2001 two lines
below the return address.  I would like to move it and have it read
August 26, 2001.  I can find no reference to this in any of the
documentation.  I looked in the letter.lyx, letter.layout, and the
various .inc files and could find no place that references the date.  I
assume it somehow arrives via the LaTeX document class, but I have no
idea how to modify that.

Thanks.

Bruce




Date format & location

2001-08-26 Thread Bruce Wolk

How does one change the location and format of the date in the letter
document class.  It mysteriously appears as "26th August 2001" two lines
below the return address.  I would like to move it and have it read
"August 26, 2001."  I can find no reference to this in any of the
documentation.  I looked in the letter.lyx, letter.layout, and the
various .inc files and could find no place that references the date.  I
assume it somehow arrives via the LaTeX document class, but I have no
idea how to modify that.

Thanks.

Bruce




Date format in letter template

2001-02-15 Thread Todd A. Jacobs

Where is the date format being set in the letter template? I can't seem to
find a way to modify it to look like "February 15, 2001" instead of "15th
February 2001."

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





Re: Date format in letter template

2001-02-15 Thread Herbert Voss

"Todd A. Jacobs" wrote:
 
 Where is the date format being set in the letter template? I can't seem to
 find a way to modify it to look like "February 15, 2001" instead of "15th
 February 2001."

this depends to your chosen language. you can change it with

\date{February 15th, 2001}

in tex(red) anywhere in the text

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/




Re: Date format in letter template

2001-02-15 Thread Keeper of the Key to Time

On Thursday 15 February 2001 16:30, Todd A. Jacobs wrote:
 On Thu, 15 Feb 2001, Herbert Voss wrote:
  \date{February 15th, 2001}
  in tex(red) anywhere in the text

 Doesn't work. It seems to have no effect on the date that appears after
 the return address.

The letter style seems to get its date format from the document language. If 
you go Layout / Document and change Language to American, you will get 
"February 15th, 2001"; English will get you "15th February 2001", etc. 
There's no need to resort to ERT here.  :)

Moo,

-- 
// Carl Hudkins :: ICQ 5723399
//
// "Wake me when it's over, touch my face
//  Tell me every word has been erased..."  --TMBG



Date format in letter template

2001-02-15 Thread Todd A. Jacobs

Where is the date format being set in the letter template? I can't seem to
find a way to modify it to look like "February 15, 2001" instead of "15th
February 2001."

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





Re: Date format in letter template

2001-02-15 Thread Herbert Voss

"Todd A. Jacobs" wrote:
 
 Where is the date format being set in the letter template? I can't seem to
 find a way to modify it to look like "February 15, 2001" instead of "15th
 February 2001."

this depends to your chosen language. you can change it with

\date{February 15th, 2001}

in tex(red) anywhere in the text

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/




Re: Date format in letter template

2001-02-15 Thread Keeper of the Key to Time

On Thursday 15 February 2001 16:30, Todd A. Jacobs wrote:
 On Thu, 15 Feb 2001, Herbert Voss wrote:
  \date{February 15th, 2001}
  in tex(red) anywhere in the text

 Doesn't work. It seems to have no effect on the date that appears after
 the return address.

The letter style seems to get its date format from the document language. If 
you go Layout / Document and change Language to American, you will get 
"February 15th, 2001"; English will get you "15th February 2001", etc. 
There's no need to resort to ERT here.  :)

Moo,

-- 
// Carl Hudkins :: ICQ 5723399
//
// "Wake me when it's over, touch my face
//  Tell me every word has been erased..."  --TMBG



Date format in letter template

2001-02-15 Thread Todd A. Jacobs

Where is the date format being set in the letter template? I can't seem to
find a way to modify it to look like "February 15, 2001" instead of "15th
February 2001."

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





Re: Date format in letter template

2001-02-15 Thread Herbert Voss

"Todd A. Jacobs" wrote:
> 
> Where is the date format being set in the letter template? I can't seem to
> find a way to modify it to look like "February 15, 2001" instead of "15th
> February 2001."

this depends to your chosen language. you can change it with

\date{February 15th, 2001}

in tex(red) anywhere in the text

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/




Re: Date format in letter template

2001-02-15 Thread Keeper of the Key to Time

On Thursday 15 February 2001 16:30, Todd A. Jacobs wrote:
> On Thu, 15 Feb 2001, Herbert Voss wrote:
> > \date{February 15th, 2001}
> > in tex(red) anywhere in the text
>
> Doesn't work. It seems to have no effect on the date that appears after
> the return address.

The letter style seems to get its date format from the document language. If 
you go Layout / Document and change Language to American, you will get 
"February 15th, 2001"; English will get you "15th February 2001", etc. 
There's no need to resort to ERT here.  :)

Moo,

-- 
// Carl Hudkins :: ICQ 5723399
//
// "Wake me when it's over, touch my face
//  Tell me every word has been erased..."  --TMBG