Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: Looks OK to me. JMarc OK. Enrico Committed: http://www.lyx.org/trac/changeset/18767. Enrico JMarc,

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 10:41:05AM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: Looks OK to me. JMarc

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Yes, I know. I've only modified the MarkBoth environment and Enrico removed the white space at the beginning of line in preamble Enrico stuff, which has always bothered me. I liked this white space in front of preamble... It shows the

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 04:26:18PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Yes, I know. I've only modified the MarkBoth environment and Enrico removed the white space at the beginning of line in preamble Enrico stuff, which has always

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: >> On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: > >> Looks OK to me. >> > >> > JMarc >> >> OK. Enrico> Committed:

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 10:41:05AM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: > >> On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: > > >> Looks OK to

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Yes, I know. I've only modified the MarkBoth environment and Enrico> removed the white space at the beginning of line in preamble Enrico> stuff, which has always bothered me. I liked this white space in front of preamble...

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 04:26:18PM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Yes, I know. I've only modified the MarkBoth environment and > Enrico> removed the white space at the beginning of line in preamble > Enrico> stuff,

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Tue, Jun 12, 2007 at 10:55:41PM +0200, Juergen Spitzmueller Enrico wrote: Enrico Forestieri wrote: As regards the OptArgs, do you have something specific in mind? I just noticed an [ERT] OptArg in the template (author or

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 07:41:46AM +0200, Juergen Spitzmueller wrote: Enrico Forestieri wrote: Yes, you're right. All theorem like environments accept an optional argument. Updated patch attached. You should also probably update the Format of the layout (or put in the Format parameter,

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 09:47:44AM +0200, Jean-Marc Lasgouttes wrote: Concerning the \markboth problem, what about the following simpler approach? The only problem I could see is that hyphenation could be incorrect in headings, but this looks like a useless feature to me. Elementary, my dear

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Wed, Jun 13, 2007 at 09:47:44AM +0200, Jean-Marc Lasgouttes Enrico wrote: Concerning the \markboth problem, what about the following simpler approach? The only problem I could see is that hyphenation could be incorrect in

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread José Matos
On Wednesday 13 June 2007 14:29:27 Enrico Forestieri wrote: Is the Format parameter tagging a LyX release or the layout file itself? The layout file format. -- Enrico -- José Abílio

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread José Matos
On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: Looks OK to me. JMarc OK. -- José Abílio

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: Looks OK to me. JMarc OK. Committed: http://www.lyx.org/trac/changeset/18767. JMarc, what about 1.4.x? -- Enrico

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> On Tue, Jun 12, 2007 at 10:55:41PM +0200, Juergen Spitzmueller Enrico> wrote: >> Enrico Forestieri wrote: >> >> > As regards the OptArgs, do you have something specific in mind? >> >> I just noticed an [ERT] OptArg in the

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 07:41:46AM +0200, Juergen Spitzmueller wrote: > Enrico Forestieri wrote: > > > Yes, you're right. All theorem like environments accept an optional > > argument. Updated patch attached. > > You should also probably update the Format of the layout (or put in the > Format

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 09:47:44AM +0200, Jean-Marc Lasgouttes wrote: > Concerning the \markboth problem, what about the following simpler > approach? The only problem I could see is that hyphenation could be > incorrect in headings, but this looks like a useless feature to me. Elementary, my

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> On Wed, Jun 13, 2007 at 09:47:44AM +0200, Jean-Marc Lasgouttes Enrico> wrote: >> Concerning the \markboth problem, what about the following simpler >> approach? The only problem I could see is that hyphenation could be >>

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread José Matos
On Wednesday 13 June 2007 14:29:27 Enrico Forestieri wrote: > Is the Format parameter tagging a LyX release or the layout file itself? The layout file format. > -- > Enrico -- José Abílio

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread José Matos
On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: > Looks OK to me. > > JMarc OK. -- José Abílio

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: > On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: > > Looks OK to me. > > > > JMarc > > OK. Committed: http://www.lyx.org/trac/changeset/18767. JMarc, what about 1.4.x? -- Enrico

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Enrico Forestieri
On Tue, Jun 12, 2007 at 06:29:03AM +0200, Jürgen Spitzmüller wrote: Enrico Forestieri wrote: Well, either we remove the MarkBoth environment or actually add code to the preamble in order to avoid a latex failure when someone uses MarkBoth in the document without disabling babel. Also take

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Juergen Spitzmueller
Enrico Forestieri wrote: Here is what I came up with. Looks good (not tested). As regards the OptArgs, do you have something specific in mind? I just noticed an [ERT] OptArg in the template (author or something). There might be others. Jürgen

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Enrico Forestieri
On Tue, Jun 12, 2007 at 10:55:41PM +0200, Juergen Spitzmueller wrote: Enrico Forestieri wrote: As regards the OptArgs, do you have something specific in mind? I just noticed an [ERT] OptArg in the template (author or something). There might be others. Yes, you're right. All theorem like

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Juergen Spitzmueller
Enrico Forestieri wrote: Yes, you're right. All theorem like environments accept an optional argument. Updated patch attached. You should also probably update the Format of the layout (or put in the Format parameter, if it's not yet there). Apart from this, it looks good. Jürgen

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Enrico Forestieri
On Tue, Jun 12, 2007 at 06:29:03AM +0200, Jürgen Spitzmüller wrote: > Enrico Forestieri wrote: > > Well, either we remove the MarkBoth environment or actually add code > > to the preamble in order to avoid a latex failure when someone uses > > MarkBoth in the document without disabling babel.

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Juergen Spitzmueller
Enrico Forestieri wrote: > Here is what I came up with. Looks good (not tested). > As regards the OptArgs, do you have something specific in mind? I just noticed an [ERT] OptArg in the template (author or something). There might be others. Jürgen

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Enrico Forestieri
On Tue, Jun 12, 2007 at 10:55:41PM +0200, Juergen Spitzmueller wrote: > Enrico Forestieri wrote: > > > As regards the OptArgs, do you have something specific in mind? > > I just noticed an [ERT] OptArg in the template (author or something). There > might be others. Yes, you're right. All

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Juergen Spitzmueller
Enrico Forestieri wrote: > Yes, you're right. All theorem like environments accept an optional > argument. Updated patch attached. You should also probably update the Format of the layout (or put in the Format parameter, if it's not yet there). Apart from this, it looks good. Jürgen

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread José Matos
On Saturday 09 June 2007 07:41:52 Jürgen Spitzmüller wrote: OK to apply? OK. Jürgen -- José Abílio

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Enrico Forestieri
On Sat, Jun 09, 2007 at 08:41:52AM +0200, Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3510 The problem is an interference of newer babel bundles with the way \markboth is defined (if \markboth is defined after babel, babel somehow gets the language in uppercase and

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: Sorry for stepping in so late, but I think that it is useful to directly see on screen the info provided by MarkBoth. I had already solved the bug but forgot to share the solution. Shame on me. No problem. I propose to add the following to the preamble: % Note: the

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Enrico Forestieri
On Mon, Jun 11, 2007 at 06:57:07PM +0200, Jürgen Spitzmüller wrote: A general problem I see is the following: I assume (but I'm not sure) IEEETran.cls is mostly used by people who actually want to submit a LaTeX file to an IEEE journal. In this case it might be relevant that your solution

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Martin Vermeer
On Mon, Jun 11, 2007 at 08:23:57PM +0200, Enrico Forestieri wrote: On Mon, Jun 11, 2007 at 06:57:07PM +0200, Jürgen Spitzmüller wrote: ... Well, either we remove the MarkBoth environment or actually add code to the preamble in order to avoid a latex failure when someone uses MarkBoth in

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: Well, either we remove the MarkBoth environment or actually add code to the preamble in order to avoid a latex failure when someone uses MarkBoth in the document without disabling babel. Also take into account the fact that one may have old files using the IEEEtran

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Martin Vermeer wrote: Actually we should have Provides babel in the layout file, for precisely this kind of situation. If it is there, no babel statement should be added by LyX anymore. But then, multicolumn documents won't work. Are those IEEE guys so strictly monolingual? Not even

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: But then, multicolumn documents won't work. read multilingual, of course Jürgen

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread José Matos
On Saturday 09 June 2007 07:41:52 Jürgen Spitzmüller wrote: > OK to apply? OK. > Jürgen -- José Abílio

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Enrico Forestieri
On Sat, Jun 09, 2007 at 08:41:52AM +0200, Jürgen Spitzmüller wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=3510 > > The problem is an interference of newer babel bundles with the way \markboth > is defined (if \markboth is defined after babel, babel somehow gets the > language in uppercase

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: > Sorry for stepping in so late, but I think that it is useful to directly > see on screen the info provided by MarkBoth. I had already solved the > bug but forgot to share the solution. Shame on me. No problem. > I propose to add the following to the preamble: > > %

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Enrico Forestieri
On Mon, Jun 11, 2007 at 06:57:07PM +0200, Jürgen Spitzmüller wrote: > A general problem I see is the following: I assume (but I'm not sure) > IEEETran.cls is mostly used by people who actually want to submit a LaTeX > file to an IEEE journal. In this case it might be relevant that your solution

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Martin Vermeer
On Mon, Jun 11, 2007 at 08:23:57PM +0200, Enrico Forestieri wrote: > On Mon, Jun 11, 2007 at 06:57:07PM +0200, Jürgen Spitzmüller wrote: ... > Well, either we remove the MarkBoth environment or actually add code > to the preamble in order to avoid a latex failure when someone uses > MarkBoth

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: > Well, either we remove the MarkBoth environment or actually add code > to the preamble in order to avoid a latex failure when someone uses > MarkBoth in the document without disabling babel. Also take into account > the fact that one may have old files using the IEEEtran

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Martin Vermeer wrote: > Actually we should have "Provides babel" in the layout file, for precisely > this kind of situation. If it is there, no babel statement should be added > by LyX anymore. But then, multicolumn documents won't work. Are those IEEE guys so strictly monolingual? Not even

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > But then, multicolumn documents won't work. read "multilingual", of course Jürgen

[patch] bug 3510: make IEEEtran template compilable

2007-06-09 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3510 The problem is an interference of newer babel bundles with the way \markboth is defined (if \markboth is defined after babel, babel somehow gets the language in uppercase and complains about an unknown language ENGLISH). The only solution I know

[patch] bug 3510: make IEEEtran template compilable

2007-06-09 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3510 The problem is an interference of newer babel bundles with the way \markboth is defined (if \markboth is defined after babel, babel somehow gets the language in uppercase and complains about an unknown language ENGLISH). The only solution I know