Re: [PATCH] Initial support for the memoir class

2003-09-26 Thread Mike Ressler
On Mon, 2003-09-22 at 03:56, Angus Leeming wrote:
 Just a thought, but is there any sense in the commit privileges to lyxdoc 
 vis-à-vis lyx-devel?
 
 avail|larsbj,mressler,lasgouttes,karger,rae,levon|lyxdoc
 avail|larsbj,lasgouttes,jug,rae,jamatos,alstrup,poenitz,dekel,leeming,levon,abra
 unst,vermeer,spitz|lyx-devel
 
 I say this in light of the apparent death of the documentation team.
 

Not dead, just quiet and busy and cursing the day Bill Gates was born. I
still scan the list, but real life has intruded to the point where I
don't even get to use LyX very often. Because I'm now working on an
flight project with international collaboration, Word/Powerpoint has
been mandated, so that is what I use formally.

However, I have installed the MacOSX version of LyX on the same machine
I use for MSOffice, so a few LyX-generated PDFs might start slipping
into our documentation tree ;-)

If people send me doc-related patches, I'd be happy to keep submitting
them to CVS. Also, if there are any glaring deficiencies in the docs,
let me know - I can try to fix them, just not with the speed I used to.
I don't have time to keep up with all the changes on my own, though, so
I need to be pointed to things. Just a fact of life ...

Mike
[EMAIL PROTECTED]



Re: [PATCH] Initial support for the memoir class

2003-09-26 Thread John Levon
On Fri, Sep 26, 2003 at 01:51:07PM -0700, Mike Ressler wrote:

 them to CVS. Also, if there are any glaring deficiencies in the docs,
 let me know - I can try to fix them, just not with the speed I used to.

There are glaring deficiencies,  but they're mostly missing stuff. The
docs should be pretty up to date in terms of what is there.

regards
john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: [PATCH] Initial support for the memoir class

2003-09-26 Thread Mike Ressler
On Mon, 2003-09-22 at 03:56, Angus Leeming wrote:
> Just a thought, but is there any sense in the commit privileges to lyxdoc 
> vis-à-vis lyx-devel?
> 
> avail|larsbj,mressler,lasgouttes,karger,rae,levon|lyxdoc
> avail|larsbj,lasgouttes,jug,rae,jamatos,alstrup,poenitz,dekel,leeming,levon,abra
> unst,vermeer,spitz|lyx-devel
> 
> I say this in light of the apparent death of the documentation team.
> 

Not dead, just quiet and busy and cursing the day Bill Gates was born. I
still scan the list, but real life has intruded to the point where I
don't even get to use LyX very often. Because I'm now working on an
flight project with international collaboration, Word/Powerpoint has
been mandated, so that is what I use formally.

However, I have installed the MacOSX version of LyX on the same machine
I use for MSOffice, so a few LyX-generated PDFs might start slipping
into our documentation tree ;-)

If people send me doc-related patches, I'd be happy to keep submitting
them to CVS. Also, if there are any glaring deficiencies in the docs,
let me know - I can try to fix them, just not with the speed I used to.
I don't have time to keep up with all the changes on my own, though, so
I need to be pointed to things. Just a fact of life ...

Mike
[EMAIL PROTECTED]



Re: [PATCH] Initial support for the memoir class

2003-09-26 Thread John Levon
On Fri, Sep 26, 2003 at 01:51:07PM -0700, Mike Ressler wrote:

> them to CVS. Also, if there are any glaring deficiencies in the docs,
> let me know - I can try to fix them, just not with the speed I used to.

There are glaring deficiencies,  but they're mostly missing stuff. The
docs should be pretty up to date in terms of what is there.

regards
john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
 I have set up a first version of a layout file for Peter Wilson's memoir
 class.

OK, André has commited this to 1.4. Can someone with lyxdoc write access 
please commit the patch to Extended.lyx (memoir-doc.diff)?

Thanks,
Juergen.


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Angus Leeming
Juergen Spitzmueller wrote:

 Juergen Spitzmueller wrote:
 I have set up a first version of a layout file for Peter Wilson's memoir
 class.
 
 OK, André has committed this to 1.4. Can someone with lyxdoc write access
 please commit the patch to Extended.lyx (memoir-doc.diff)?

Just a thought, but is there any sense in the commit privileges to lyxdoc 
vis-à-vis lyx-devel?

avail|larsbj,mressler,lasgouttes,karger,rae,levon|lyxdoc
avail|larsbj,lasgouttes,jug,rae,jamatos,alstrup,poenitz,dekel,leeming,levon,abra
unst,vermeer,spitz|lyx-devel

I say this in light of the apparent death of the documentation team.

-- 
Angus



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes:

| Juergen Spitzmueller wrote:

 Juergen Spitzmueller wrote:
 I have set up a first version of a layout file for Peter Wilson's memoir
 class.
 
 OK, André has committed this to 1.4. Can someone with lyxdoc write access
 please commit the patch to Extended.lyx (memoir-doc.diff)?

| Just a thought, but is there any sense in the commit privileges to lyxdoc 
| vis-à-vis lyx-devel?

| avail|larsbj,mressler,lasgouttes,karger,rae,levon|lyxdoc
| avail|larsbj,lasgouttes,jug,rae,jamatos,alstrup,poenitz,dekel,leeming,levon,abra
| unst,vermeer,spitz|lyx-devel

| I say this in light of the apparent death of the documentation team.

If I see a lot of people wanting to contribute to the docs then I'll
change it.

Or are you feeling left out?

-- 
Lgb


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Angus Leeming
Lars Gullik Bjønnes wrote:
 If I see a lot of people wanting to contribute to the docs then I'll
 change it.
 
 Or are you feeling left out?

Not at all. A bit guilty maybe. Given the number of users asking questions 
about graphics...

I also note that we have three separate documentation efforts.
* lyx-doc; effectively dead, or at least showing no signs of life.
* lyx-wiki
* Herbert's tips 'n' tricks.

It all feels a little ad-hoc to me.

-- 
Angus



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread John Levon
On Mon, Sep 22, 2003 at 12:17:27PM +, Angus Leeming wrote:

 * lyx-doc; effectively dead, or at least showing no signs of life.

This is perhaps a little unfair ... current CVS is now relatively up to
date.

OK, so there's no maintainership as such, but ... little tweaks go a
long way

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
 If I see a lot of people wanting to contribute to the docs then I'll
 change it.
 
 Or are you feeling left out?

| Not at all. A bit guilty maybe. Given the number of users asking questions 
| about graphics...

| I also note that we have three separate documentation efforts.
| * lyx-doc; effectively dead, or at least showing no signs of life.
| * lyx-wiki
| * Herbert's tips 'n' tricks.

| It all feels a little ad-hoc to me.

only because people are not really willing to do a lot of work on
this.

-- 
Lgb


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Angus Leeming
John Levon wrote:

 On Mon, Sep 22, 2003 at 12:17:27PM +, Angus Leeming wrote:
 
 * lyx-doc; effectively dead, or at least showing no signs of life.
 
 This is perhaps a little unfair ... current CVS is now relatively up to
 date.
 
 OK, so there's no maintainership as such, but ... little tweaks go a
 long way

My apologies. Incidentally, I really like my idea of a whats_new_1_4_x.lyx 
that is clickable from splash.lyx which in turn pops up automatically the 
first time the user uses the newly installed version.

How about hyperlinks in lyx? Right-mouse click on InsetInclude and 
execute
buffer-switch my_document.lyx

-- 
Angus



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread John Levon
On Mon, Sep 22, 2003 at 12:50:06PM +, Angus Leeming wrote:

 My apologies. Incidentally, I really like my idea of a whats_new_1_4_x.lyx 
 that is clickable from splash.lyx which in turn pops up automatically the 
 first time the user uses the newly installed version.

So do I.

 How about hyperlinks in lyx? Right-mouse click on InsetInclude and 
 execute
 buffer-switch my_document.lyx

Inconsistent with what RMB usually does. We can reconsider when we have
a context menu (now, if you want a fun project ...)

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Jean-Marc Lasgouttes
 Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:

Juergen Juergen Spitzmueller wrote:
 I have set up a first version of a layout file for Peter Wilson's
 memoir class.

Juergen OK, André has commited this to 1.4. Can someone with lyxdoc
Juergen write access please commit the patch to Extended.lyx
Juergen (memoir-doc.diff)?

I did it. Concerning 1.3.3, if you are confident that you will not to
make incompatible changes as the class matures (the risk seems low and
adding new stuff later is OK), then I would accept a patch for 1.3.3.
We could also decide to wait a bit until 1.3.4.

JMarc


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:
 I did it. 

Merci beaucoup!

 Concerning 1.3.3, if you are confident that you will not to
 make incompatible changes as the class matures (the risk seems low and
 adding new stuff later is OK), then I would accept a patch for 1.3.3.
 We could also decide to wait a bit until 1.3.4.

Such changes are very unlikely. The basic features/environments that are in 
now will stay. Changes that are likely to happen are more environments. I 
guess this will cause no problems.

Anyway, appended is the patch for your graceful decision. The Extended patch 
you have should also apply to the 1.3 branch, I guess.

Regards,
Jürgen. 
Index: lib/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.363.2.40
diff -u -r1.363.2.40 ChangeLog
--- lib/ChangeLog	22 Sep 2003 14:22:58 -	1.363.2.40
+++ lib/ChangeLog	22 Sep 2003 14:38:58 -
@@ -1,3 +1,7 @@
+2003-09-22  Juergen Spitzmueller [EMAIL PROTECTED]
+
+	* layouts/memoir.layout: introducing the Memoir class.
+
 2003-09-22  Jean-Marc Lasgouttes  [EMAIL PROTECTED]
 
 	* ijmpd.lyx: re-add (it was only present on the 1.2.x branch)
Index: lib/doc/LaTeXConfig.lyx.in
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/doc/LaTeXConfig.lyx.in,v
retrieving revision 1.26.2.5
diff -u -r1.26.2.5 LaTeXConfig.lyx.in
--- lib/doc/LaTeXConfig.lyx.in	3 Mar 2003 16:04:15 -	1.26.2.5
+++ lib/doc/LaTeXConfig.lyx.in	22 Sep 2003 14:39:00 -
@@ -1182,6 +1182,23 @@
 \end_deeper 
 \layout Subsection
 
+memoir
+\layout Description
+
+Found: @chk_memoir@
+\layout Description
+
+CTAN: 
+\family typewriter 
+macros/latex/contrib/supported/memoir/
+\layout Description
+
+Notes: Memoir is a flexible class for typesetting general fiction, non-fiction
+ and mathematical works as books, reports, articles or manuscripts.
+ Documents can use 9, 10, 11, 12, 14 or 17pt as the normal font size.
+ Many methods are provided to let you create your own particular design.
+\layout Subsection
+
 mwcls (mwart, mwbk, mwrep)
 \layout Description
 
Index: lib/layouts/memoir.layout
===
RCS file: lib/layouts/memoir.layout
diff -N lib/layouts/memoir.layout
--- /dev/null	1 Jan 1970 00:00:00 -
+++ lib/layouts/memoir.layout	22 Sep 2003 14:39:03 -
@@ -0,0 +1,86 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass{memoir}
+# Memoir textclass definition file (poor man's version).
+# Author: Jrgen Spitzmller [EMAIL PROTECTED]
+# feel free to contribute missing features!
+
+Input stdclass.inc
+
+
+Sides  2
+PageStyle  Headings
+
+
+ClassOptions
+	FontSize 9|10|11|12|14|17
+	PageStyleempty|plain|headings|myheadings|ruled|Ruled|companion
+	Otheroldfontcommands
+End
+
+
+Style Bibliography
+	TopSep   4
+	LabelString  Bibliography
+	LabelFont
+	  Series Bold
+	  Size   Huge
+	EndFont
+End
+
+
+Style Chapterprecis
+	Margin   Static
+	LatexTypeCommand
+	LatexNamechapterprecis
+	NeedProtect  1
+	NextNoIndent 1
+	LeftMargin   MM
+	LabelSep xxx
+	ParSkip  0.4
+	TopSep   0.4
+	BottomSep0
+	ParSep   0.4
+	AlignBlock
+	AlignPossibleBlock
+	Font
+	  Shape  Italic
+	  Size   Normal
+	EndFont
+End
+
+
+Style Epigraph
+	MarginRight_Address_Box
+	LatexType Command
+	LatexName epigraph
+	ParSkip   0.4
+	BottomSep 1.5
+	ParSep1.5
+	Align Left
+	AlignPossible Left
+End
+
+
+Style Poemtitle
+	LatexType Command
+	LatexName poemtitle
+	NeedProtect   1
+	NextNoIndent  1
+	LabelSep  xxx
+	ParSkip   0.4
+	TopSep0.4
+	ParSep0.4
+	Align center
+	AlignPossible center
+	OptionalArgs  1
+	Font
+	   Series Bold
+	EndFont
+End
+
+
+Style Poemtitle*
+	CopyStyle Poemtitle
+	LatexName poemtitle*
+	OptionalArgs  0
+End



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Jean-Marc Lasgouttes
 Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:

Juergen Anyway, appended is the patch for your graceful decision. The
Juergen Extended patch you have should also apply to the 1.3 branch,
Juergen I guess.

Thanks. I applied both.

JMarc


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
> I have set up a first version of a layout file for Peter Wilson's memoir
> class.

OK, André has commited this to 1.4. Can someone with lyxdoc write access 
please commit the patch to Extended.lyx (memoir-doc.diff)?

Thanks,
Juergen.


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Angus Leeming
Juergen Spitzmueller wrote:

> Juergen Spitzmueller wrote:
>> I have set up a first version of a layout file for Peter Wilson's memoir
>> class.
> 
> OK, André has committed this to 1.4. Can someone with lyxdoc write access
> please commit the patch to Extended.lyx (memoir-doc.diff)?

Just a thought, but is there any sense in the commit privileges to lyxdoc 
vis-à-vis lyx-devel?

avail|larsbj,mressler,lasgouttes,karger,rae,levon|lyxdoc
avail|larsbj,lasgouttes,jug,rae,jamatos,alstrup,poenitz,dekel,leeming,levon,abra
unst,vermeer,spitz|lyx-devel

I say this in light of the apparent death of the documentation team.

-- 
Angus



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes:

| Juergen Spitzmueller wrote:
>
>> Juergen Spitzmueller wrote:
>>> I have set up a first version of a layout file for Peter Wilson's memoir
>>> class.
>> 
>> OK, André has committed this to 1.4. Can someone with lyxdoc write access
>> please commit the patch to Extended.lyx (memoir-doc.diff)?
>
| Just a thought, but is there any sense in the commit privileges to lyxdoc 
| vis-à-vis lyx-devel?
>
| avail|larsbj,mressler,lasgouttes,karger,rae,levon|lyxdoc
| avail|larsbj,lasgouttes,jug,rae,jamatos,alstrup,poenitz,dekel,leeming,levon,abra
| unst,vermeer,spitz|lyx-devel
>
| I say this in light of the apparent death of the documentation team.

If I see a lot of people wanting to contribute to the docs then I'll
change it.

Or are you feeling left out?

-- 
Lgb


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Angus Leeming
Lars Gullik Bjønnes wrote:
> If I see a lot of people wanting to contribute to the docs then I'll
> change it.
> 
> Or are you feeling left out?

Not at all. A bit guilty maybe. Given the number of users asking questions 
about graphics...

I also note that we have three separate documentation efforts.
* lyx-doc; effectively dead, or at least showing no signs of life.
* lyx-wiki
* Herbert's tips 'n' tricks.

It all feels a little ad-hoc to me.

-- 
Angus



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread John Levon
On Mon, Sep 22, 2003 at 12:17:27PM +, Angus Leeming wrote:

> * lyx-doc; effectively dead, or at least showing no signs of life.

This is perhaps a little unfair ... current CVS is now relatively up to
date.

OK, so there's no maintainership as such, but ... little tweaks go a
long way

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
>> If I see a lot of people wanting to contribute to the docs then I'll
>> change it.
>> 
>> Or are you feeling left out?
>
| Not at all. A bit guilty maybe. Given the number of users asking questions 
| about graphics...
>
| I also note that we have three separate documentation efforts.
| * lyx-doc; effectively dead, or at least showing no signs of life.
| * lyx-wiki
| * Herbert's tips 'n' tricks.
>
| It all feels a little ad-hoc to me.

only because people are not really willing to do a lot of work on
this.

-- 
Lgb


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Angus Leeming
John Levon wrote:

> On Mon, Sep 22, 2003 at 12:17:27PM +, Angus Leeming wrote:
> 
>> * lyx-doc; effectively dead, or at least showing no signs of life.
> 
> This is perhaps a little unfair ... current CVS is now relatively up to
> date.
> 
> OK, so there's no maintainership as such, but ... little tweaks go a
> long way

My apologies. Incidentally, I really like my idea of a whats_new_1_4_x.lyx 
that is clickable from splash.lyx which in turn pops up automatically the 
first time the user uses the newly installed version.

How about "hyperlinks in lyx"? Right-mouse click on InsetInclude and 
execute
buffer-switch my_document.lyx

-- 
Angus



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread John Levon
On Mon, Sep 22, 2003 at 12:50:06PM +, Angus Leeming wrote:

> My apologies. Incidentally, I really like my idea of a whats_new_1_4_x.lyx 
> that is clickable from splash.lyx which in turn pops up automatically the 
> first time the user uses the newly installed version.

So do I.

> How about "hyperlinks in lyx"? Right-mouse click on InsetInclude and 
> execute
> buffer-switch my_document.lyx

Inconsistent with what RMB usually does. We can reconsider when we have
a context menu (now, if you want a fun project ...)

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Juergen Spitzmueller wrote:
>> I have set up a first version of a layout file for Peter Wilson's
>> memoir class.

Juergen> OK, André has commited this to 1.4. Can someone with lyxdoc
Juergen> write access please commit the patch to Extended.lyx
Juergen> (memoir-doc.diff)?

I did it. Concerning 1.3.3, if you are confident that you will not to
make incompatible changes as the class matures (the risk seems low and
adding new stuff later is OK), then I would accept a patch for 1.3.3.
We could also decide to wait a bit until 1.3.4.

JMarc


Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:
> I did it. 

Merci beaucoup!

> Concerning 1.3.3, if you are confident that you will not to
> make incompatible changes as the class matures (the risk seems low and
> adding new stuff later is OK), then I would accept a patch for 1.3.3.
> We could also decide to wait a bit until 1.3.4.

Such changes are very unlikely. The basic features/environments that are in 
now will stay. Changes that are likely to happen are more environments. I 
guess this will cause no problems.

Anyway, appended is the patch for your graceful decision. The Extended patch 
you have should also apply to the 1.3 branch, I guess.

Regards,
Jürgen. 
Index: lib/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.363.2.40
diff -u -r1.363.2.40 ChangeLog
--- lib/ChangeLog	22 Sep 2003 14:22:58 -	1.363.2.40
+++ lib/ChangeLog	22 Sep 2003 14:38:58 -
@@ -1,3 +1,7 @@
+2003-09-22  Juergen Spitzmueller <[EMAIL PROTECTED]>
+
+	* layouts/memoir.layout: introducing the Memoir class.
+
 2003-09-22  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* ijmpd.lyx: re-add (it was only present on the 1.2.x branch)
Index: lib/doc/LaTeXConfig.lyx.in
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/doc/LaTeXConfig.lyx.in,v
retrieving revision 1.26.2.5
diff -u -r1.26.2.5 LaTeXConfig.lyx.in
--- lib/doc/LaTeXConfig.lyx.in	3 Mar 2003 16:04:15 -	1.26.2.5
+++ lib/doc/LaTeXConfig.lyx.in	22 Sep 2003 14:39:00 -
@@ -1182,6 +1182,23 @@
 \end_deeper 
 \layout Subsection
 
+memoir
+\layout Description
+
+Found: @chk_memoir@
+\layout Description
+
+CTAN: 
+\family typewriter 
+macros/latex/contrib/supported/memoir/
+\layout Description
+
+Notes: Memoir is a flexible class for typesetting general fiction, non-fiction
+ and mathematical works as books, reports, articles or manuscripts.
+ Documents can use 9, 10, 11, 12, 14 or 17pt as the normal font size.
+ Many methods are provided to let you create your own particular design.
+\layout Subsection
+
 mwcls (mwart, mwbk, mwrep)
 \layout Description
 
Index: lib/layouts/memoir.layout
===
RCS file: lib/layouts/memoir.layout
diff -N lib/layouts/memoir.layout
--- /dev/null	1 Jan 1970 00:00:00 -
+++ lib/layouts/memoir.layout	22 Sep 2003 14:39:03 -
@@ -0,0 +1,86 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass{memoir}
+# Memoir textclass definition file (poor man's version).
+# Author: Jürgen Spitzmüller <[EMAIL PROTECTED]>
+# feel free to contribute missing features!
+
+Input stdclass.inc
+
+
+Sides  2
+PageStyle  Headings
+
+
+ClassOptions
+	FontSize 9|10|11|12|14|17
+	PageStyleempty|plain|headings|myheadings|ruled|Ruled|companion
+	Otheroldfontcommands
+End
+
+
+Style Bibliography
+	TopSep   4
+	LabelString  Bibliography
+	LabelFont
+	  Series Bold
+	  Size   Huge
+	EndFont
+End
+
+
+Style Chapterprecis
+	Margin   Static
+	LatexTypeCommand
+	LatexNamechapterprecis
+	NeedProtect  1
+	NextNoIndent 1
+	LeftMargin   MM
+	LabelSep xxx
+	ParSkip  0.4
+	TopSep   0.4
+	BottomSep0
+	ParSep   0.4
+	AlignBlock
+	AlignPossibleBlock
+	Font
+	  Shape  Italic
+	  Size   Normal
+	EndFont
+End
+
+
+Style Epigraph
+	MarginRight_Address_Box
+	LatexType Command
+	LatexName epigraph
+	ParSkip   0.4
+	BottomSep 1.5
+	ParSep1.5
+	Align Left
+	AlignPossible Left
+End
+
+
+Style Poemtitle
+	LatexType Command
+	LatexName poemtitle
+	NeedProtect   1
+	NextNoIndent  1
+	LabelSep  xxx
+	ParSkip   0.4
+	TopSep0.4
+	ParSep0.4
+	Align center
+	AlignPossible center
+	OptionalArgs  1
+	Font
+	   Series Bold
+	EndFont
+End
+
+
+Style Poemtitle*
+	CopyStyle Poemtitle
+	LatexName poemtitle*
+	OptionalArgs  0
+End



Re: [PATCH] Initial support for the memoir class

2003-09-22 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Anyway, appended is the patch for your graceful decision. The
Juergen> Extended patch you have should also apply to the 1.3 branch,
Juergen> I guess.

Thanks. I applied both.

JMarc


[PATCH] Initial support for the memoir class

2003-09-20 Thread Juergen Spitzmueller
I have set up a first version of a layout file for Peter Wilson's memoir 
class. The basic commands are supported. Most of the real sophisticated stuff 
is not natively supportable by LyX due to framework limitations -- this is 
the same as for the KOMA classes. Others might be added later (I think I have 
caught most, though).
Anyway, I think it is in a state where it can be added to /layouts. 

Attached you can find a patch with the template and the entry to 
LaTeXConfig.lyx.in for 1.4 and additions to Extended.lyx.

Enhancements and corrections, especially from people who know memoir better 
than me, are very welcome.

Shall I apply this to 1.4? Jean-Marc, what about 1.3.3?

Regards,
Jürgen.
Index: Extended.lyx
===
RCS file: /usr/local/lyx/cvsroot/lyxdoc/Extended.lyx,v
retrieving revision 1.60
diff -u -r1.60 Extended.lyx
--- Extended.lyx	8 Jul 2003 15:32:20 -	1.60
+++ Extended.lyx	20 Sep 2003 17:50:46 -
@@ -506,6 +506,11 @@
 \layout Section
 
 Inserting LaTeX Code into LyX Documents 
+\begin_inset LatexCommand \label{sec:Inserting-LaTeX-Code}
+
+\end_inset 
+
+
 \layout Standard
 
 
@@ -13090,6 +13095,428 @@
  The rest of the usage for this layout is substantially the same as for
  the normal article class.
  For details of what Elsevier do and don't allow, refer to their documentation.
+\layout Section
+
+Memoir
+\layout Standard
+
+By 
+\noun on 
+Jürgen Spitzmüller
+\layout Subsection
+
+Overview
+\layout Standard
+
+Memoir is a very powerful and constantly evolving class.
+ It has been designed with regard to fictional and non-fictional literature.
+ Its aim is to let the user have maximum control over the typesetting of
+ his document.
+ Memoir is based on the standard book class, but it can also emulate the
+ article class (see below).
+\layout Standard
+
+Peter Wilson, the developer of Memoir, is known as the author of lots of
+ useful packages in the LaTeX world.
+ Most of them have been merged with Memoir.
+ Therefore, it is much easier to layout the table of contents, appendices,
+ chapter designs and such.
+ LyX, though, does not support all of these goodies natively.
+ Some of them might be added to forthcoming releases
+\begin_inset Foot
+collapsed true
+
+\layout Standard
+
+You are invited to send suggestions to 
+\begin_inset LatexCommand [EMAIL PROTECTED]
+
+\end_inset 
+
+.
+\end_inset 
+
+, lots will probably never, due to the limitations of LyX's framework.
+ Of course you can still use all features with the help of some native LaTeX
+ commands (ERT
+\begin_inset Foot
+collapsed true
+
+\layout Standard
+
+Cf.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+ 
+\end_inset 
+
+section\SpecialChar ~
+
+\begin_inset LatexCommand \ref{sec:Inserting-LaTeX-Code}
+
+\end_inset 
+
+ for details.
+\end_inset 
+
+).
+ In this section, we can only list those features which are natively supported
+ by LyX.
+ For detailed descriptions (and for the rest of features) we are recommending
+ to have a look at the detailed manual of the Memoir class
+\begin_inset Foot
+collapsed true
+
+\layout Standard
+
+Cf.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+ 
+\end_inset 
+
+
+\begin_inset LatexCommand \url{CTAN:/macros/latex/memoir/memman.pdf}
+
+\end_inset 
+
+.
+\end_inset 
+
+, which is not only a user guide for the class, but also both a comprehensive
+ description on good typesetting and a superb example for good typesetting
+ itself.
+\layout Subsection
+
+Basic features and restrictions
+\layout Standard
+
+Memoir supports basically all features of the standard book classes.
+ There are, however, some differences, as follows:
+\layout Description
+
+Font\SpecialChar ~
+sizes: Memoir has a broader range of font sizes: 9, 10, 11, 12, 14,
+ 17
+\layout Description
+
+Page\SpecialChar ~
+style: The fancy page style is not supported, due to a command clash
+ between Memoir and the fancyhdr package (they are both defining a command
+ with the same name, which confuses LaTeX).
+ Instead, Memoir comes with a bunch of own page styles (see 
+\family sans 
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Page\SpecialChar ~
+Style
+\family default 
+).
+ If you want to use these for the chapter pages, you have to use the command
+ 
+\family typewriter 
+
+\backslash 
+chapterstyle
+\family default 
+ in the main text or in preamble (e.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+,
+\end_inset 
+
+g.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+ 
+\end_inset 
+
+
+\family typewriter 
+
+\backslash 
+chapterstyle{companion}
+\family default 
+).
+\layout Description
+
+Sectioning: Sectionings (chapter, section, subsection etc.) are coming with
+ an optional argument in the standard classes.
+ With this, you can specify an alternative version of the title for the
+ table of contents and the headers (for instance, 

[PATCH] Initial support for the memoir class

2003-09-20 Thread Juergen Spitzmueller
I have set up a first version of a layout file for Peter Wilson's memoir 
class. The basic commands are supported. Most of the real sophisticated stuff 
is not natively supportable by LyX due to framework limitations -- this is 
the same as for the KOMA classes. Others might be added later (I think I have 
caught most, though).
Anyway, I think it is in a state where it can be added to /layouts. 

Attached you can find a patch with the template and the entry to 
LaTeXConfig.lyx.in for 1.4 and additions to Extended.lyx.

Enhancements and corrections, especially from people who know memoir better 
than me, are very welcome.

Shall I apply this to 1.4? Jean-Marc, what about 1.3.3?

Regards,
Jürgen.
Index: Extended.lyx
===
RCS file: /usr/local/lyx/cvsroot/lyxdoc/Extended.lyx,v
retrieving revision 1.60
diff -u -r1.60 Extended.lyx
--- Extended.lyx	8 Jul 2003 15:32:20 -	1.60
+++ Extended.lyx	20 Sep 2003 17:50:46 -
@@ -506,6 +506,11 @@
 \layout Section
 
 Inserting LaTeX Code into LyX Documents 
+\begin_inset LatexCommand \label{sec:Inserting-LaTeX-Code}
+
+\end_inset 
+
+
 \layout Standard
 
 
@@ -13090,6 +13095,428 @@
  The rest of the usage for this layout is substantially the same as for
  the normal article class.
  For details of what Elsevier do and don't allow, refer to their documentation.
+\layout Section
+
+Memoir
+\layout Standard
+
+By 
+\noun on 
+Jürgen Spitzmüller
+\layout Subsection
+
+Overview
+\layout Standard
+
+Memoir is a very powerful and constantly evolving class.
+ It has been designed with regard to fictional and non-fictional literature.
+ Its aim is to let the user have maximum control over the typesetting of
+ his document.
+ Memoir is based on the standard book class, but it can also emulate the
+ article class (see below).
+\layout Standard
+
+Peter Wilson, the developer of Memoir, is known as the author of lots of
+ useful packages in the LaTeX world.
+ Most of them have been merged with Memoir.
+ Therefore, it is much easier to layout the table of contents, appendices,
+ chapter designs and such.
+ LyX, though, does not support all of these goodies natively.
+ Some of them might be added to forthcoming releases
+\begin_inset Foot
+collapsed true
+
+\layout Standard
+
+You are invited to send suggestions to 
+\begin_inset LatexCommand [EMAIL PROTECTED]
+
+\end_inset 
+
+.
+\end_inset 
+
+, lots will probably never, due to the limitations of LyX's framework.
+ Of course you can still use all features with the help of some native LaTeX
+ commands (ERT
+\begin_inset Foot
+collapsed true
+
+\layout Standard
+
+Cf.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+ 
+\end_inset 
+
+section\SpecialChar ~
+
+\begin_inset LatexCommand \ref{sec:Inserting-LaTeX-Code}
+
+\end_inset 
+
+ for details.
+\end_inset 
+
+).
+ In this section, we can only list those features which are natively supported
+ by LyX.
+ For detailed descriptions (and for the rest of features) we are recommending
+ to have a look at the detailed manual of the Memoir class
+\begin_inset Foot
+collapsed true
+
+\layout Standard
+
+Cf.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+ 
+\end_inset 
+
+
+\begin_inset LatexCommand \url{CTAN:/macros/latex/memoir/memman.pdf}
+
+\end_inset 
+
+.
+\end_inset 
+
+, which is not only a user guide for the class, but also both a comprehensive
+ description on good typesetting and a superb example for good typesetting
+ itself.
+\layout Subsection
+
+Basic features and restrictions
+\layout Standard
+
+Memoir supports basically all features of the standard book classes.
+ There are, however, some differences, as follows:
+\layout Description
+
+Font\SpecialChar ~
+sizes: Memoir has a broader range of font sizes: 9, 10, 11, 12, 14,
+ 17
+\layout Description
+
+Page\SpecialChar ~
+style: The fancy page style is not supported, due to a command clash
+ between Memoir and the fancyhdr package (they are both defining a command
+ with the same name, which confuses LaTeX).
+ Instead, Memoir comes with a bunch of own page styles (see 
+\family sans 
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Page\SpecialChar ~
+Style
+\family default 
+).
+ If you want to use these for the chapter pages, you have to use the command
+ 
+\family typewriter 
+
+\backslash 
+chapterstyle
+\family default 
+ in the main text or in preamble (e.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+,
+\end_inset 
+
+g.
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash 
+ 
+\end_inset 
+
+
+\family typewriter 
+
+\backslash 
+chapterstyle{companion}
+\family default 
+).
+\layout Description
+
+Sectioning: Sectionings (chapter, section, subsection etc.) are coming with
+ an optional argument in the standard classes.
+ With this, you can specify an alternative version of the title for the
+ table of contents and the headers (for instance,