Re: [patch] new option to suppress the default date

2009-08-15 Thread Uwe Stöhr
Uwe Stöhr schrieb: 1/ some layouts do not have a date, and thus this will create un typesettable document 2/ you cannot assume that all layouts set date with \date (I thought you cared about assumptions :) That can be fixed using \...@ifunefined{date}{}{\date{}} OK, I've implemented this

Re: [patch] new option to suppress the default date

2009-08-15 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > I have problems with this patch, by decreasing order of importance > > 1/ some layouts do not have a date, and thus this will create un > typesettable document on the other hand user which sets 'suppress the date on frontpage' when the frontpage is already without da

Re: [patch] new option to suppress the default date

2009-08-15 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: I have problems with this patch, by decreasing order of importance 1/ some layouts do not have a date, and thus this will create un typesettable document 2/ you cannot assume that all layouts set date with \date (I thought you cared about assumptions :) That

Re: [patch] new option to suppress the default date

2009-08-15 Thread Jean-Marc Lasgouttes
Le 13/08/2009 03:58, Uwe Stöhr a écrit : In the lyx-users list is it often asked how to suppress the default date. The solution is simply to add \date{} to the preamble. The attached patch adds a document option to do this. When the user sets this option, he still can later overwrite this be sp

Re: [patch] new option to suppress the default date

2009-08-13 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > > Personally I think suppression should be the default, since I can think > > of very few instances where a document's date should match its last > > compilation date, and many instances where this could be disasterous. > > The default is that the user specifies a date for the

Re: [patch] new option to suppress the default date

2009-08-13 Thread Uwe Stöhr
> Thank you! The default date has been a thorn in my side since starting LyX in > 2001. I committed it for LyX 2.0. > Personally I think suppression should be the default, since I can think > of very few instances where a document's date should match its last > compilation date, and many instanc

Re: [patch] new option to suppress the default date

2009-08-13 Thread Steve Litt
On Thursday 13 August 2009 08:09:09 Uwe Stöhr wrote: > > it would be better to commit it together with lyx2lyx part > > I will of course commit both the same time, I only wanted to explain why > the lyx2lyx part is not in the patch I sent. > > regards Uwe Thank you! The default date has been a th

Re: [patch] new option to suppress the default date

2009-08-13 Thread Uwe Stöhr
> it would be better to commit it together with lyx2lyx part I will of course commit both the same time, I only wanted to explain why the lyx2lyx part is not in the patch I sent. regards Uwe

Re: [patch] new option to suppress the default date

2009-08-13 Thread Pavel Sanda
Uwe Stöhr wrote: > The attached patch adds a document option to do this. When the user sets > this option, he still can later overwrite this be specifying a date, > because the option is only for the default date. looks good. > This is a fileformat change, the lyx2lyx part follows when this goe

[patch] new option to suppress the default date

2009-08-12 Thread Uwe Stöhr
In the lyx-users list is it often asked how to suppress the default date. The solution is simply to add \date{} to the preamble. The attached patch adds a document option to do this. When the user sets this option, he still can later overwrite this be specifying a date, because the option is onl