Re: AMS Article: need Theorems, and SUBSECTIONS to share counter.

2017-10-03 Thread rls

On 04/10/2017 01:22, Richard Heck wrote:

I just got the following question:
Why not reverse the process; Rather than modifying a dozen styles?
What would it take to create something like a "Subsection-v2" which
would just use as counter the "thm" counter?


This can be done, but it would mean creating your own version of
theorems-ams. It's easy to do this by copying the old files to new names
(in $USERDIR/layouts/) and then modifying them. I'll be happy to explain
the process a bit more if you want to do that.


Thank you for your generous offer. After a good night's sleep, I will 
probably do as you suggest and look at theorems-ams.



The reason you have to modify so many styles is that all the
declarations happen in Theorem, and then the other styles copy them. But
the copying happens when the file is originally read: Later
modifications to Theorem do not affect, say, Lemma. And each individual
counter (e.g., "Lemma \thesubsection") has to be declared independently,
anyway. Presumably, there would be a way to fix that, but no one has
ever really needed to do it, so it doesn't get done.


There's nothing like understanding what's really going on!

Regards
Ramez



Re: AMS Article: need Theorems, and SUBSECTIONS to share counter.

2017-10-03 Thread Richard Heck
On 10/03/2017 06:41 PM, rls wrote:
> Thanks once more!
>
> I truly understand the need to RTFM, but sometimes one is tired, just
> looking for a quick fix (having gone through Pascal, 8086 assembly, C,
> LateX Java, ML, and programmed a half dozen editors...)

I understand, of course, and did not mean to tell you to RTFM, as fine
as it is. Just, if you do want to understand the details.

> I just got the following question:
> Why not reverse the process; Rather than modifying a dozen styles?
> What would it take to create something like a "Subsection-v2" which
> would just use as counter the "thm" counter?

This can be done, but it would mean creating your own version of
theorems-ams. It's easy to do this by copying the old files to new names
(in $USERDIR/layouts/) and then modifying them. I'll be happy to explain
the process a bit more if you want to do that.

The reason you have to modify so many styles is that all the
declarations happen in Theorem, and then the other styles copy them. But
the copying happens when the file is originally read: Later
modifications to Theorem do not affect, say, Lemma. And each individual
counter (e.g., "Lemma \thesubsection") has to be declared independently,
anyway. Presumably, there would be a way to fix that, but no one has
ever really needed to do it, so it doesn't get done.

Richard



Re: AMS Article: need Theorems, and SUBSECTIONS to share counter.

2017-10-03 Thread rls

Thanks once more!

I truly understand the need to RTFM, but sometimes one is tired, just 
looking for a quick fix (having gone through Pascal, 8086 assembly, C, 
LateX Java, ML, and programmed a half dozen editors...)


I realize one has to modify every "construct" (Definition, Corollary etc.)

I just got the following question:
Why not reverse the process; Rather than modifying a dozen styles?
What would it take to create something like a "Subsection-v2" which 
would just use as counter the "thm" counter?


Regards,
Ramez
===
On 03/10/2017 23:16, Richard Heck wrote:

On 10/03/2017 03:35 PM, rls wrote:

Thank you for your reply.
I have tried your suggestion verbatim (after correcting a couple of 
misprints): modifying "Local Layout".


I don't really understand the details, 


See Ch 5 of the Customization manual again, and have a look at the file 
theorems-ams.inc, where the original definitions of these styles are. 
What we're adding to Local Layout is just modifying those definitions. 
The syntax takes a bit of getting used to, but it's not too bad, really.



but I noticed one problem:
- Inside a given section (say section 2), the theorem and lemma 
numbers are all displayed as "2.0".

- The subsection numbers are displayed correctley
- Printing gives correct results.


Sorry, I hadn't tested. You need also to add:

LabelString "Theorem \thesubsection."

and similarly for lemmas. Note that, if you want to use things other 
than theorems and lemmas, you'll need to add similar modifications for 
those styles.


You should also put, at the top of the Local Layout, "Format 60", that 
being the 2.2.x format. This will avoid any possible problems from LyX 
thinking you intend some other version.


Richard


Re: AMS Article: need Theorems, and SUBSECTIONS to share counter.

2017-10-03 Thread Richard Heck
On 10/03/2017 03:35 PM, rls wrote:
> Thank you for your reply.
> I have tried your suggestion verbatim (after correcting a couple of
> misprints): modifying "Local Layout".
>
> I don't really understand the details, 

See Ch 5 of the Customization manual again, and have a look at the file
theorems-ams.inc, where the original definitions of these styles are.
What we're adding to Local Layout is just modifying those definitions.
The syntax takes a bit of getting used to, but it's not too bad, really.

> but I noticed one problem:
> - Inside a given section (say section 2), the theorem and lemma
> numbers are all displayed as "2.0".
> - The subsection numbers are displayed correctley
> - Printing gives correct results.

Sorry, I hadn't tested. You need also to add:

LabelString "Theorem \thesubsection."

and similarly for lemmas. Note that, if you want to use things other
than theorems and lemmas, you'll need to add similar modifications for
those styles.

You should also put, at the top of the Local Layout, "Format 60", that
being the 2.2.x format. This will avoid any possible problems from LyX
thinking you intend some other version.

Richard




> =
> On 03/10/2017 17:15, Richard Heck wrote:
>>
>> The LyX display is controlled by 'layout' information, which is defined
>> in a number of places:
>>
>> (i) The layout file for the document class (e.g., amsart.layout)
>> (ii) Modules, which are to LyX as packages are to LaTeX (e.g.,
>> theorems-ams.module)
>> (iii) Document-specific "local" layout, found at Document> Settings>
>> Local Layout
>>
>> It seems to me as if you will probably be best off creating a new module
>> of your own, perhaps starting with and modifying theorems-ams.module.
>> Documentation concerning this is in Ch 5 of the Customization manual. As
>> far as the counters are concerned, you will want to modify the
>> LabelCounter defined for the various styles so that it uses the one for
>> subsections.
>>
>> Note that you can just make modifications in Local Layout, e.g.:
>>
>> Style Theorem
>>  LabelCounter subsection
>>  Preamble
>>      \theoremstyle{plain}
>>  \newtheorem{thm}[subsection]{\protect\theoremname}
>>  EndPreamable
>> End
>> Style Lemma
>>  LabelCounter subsection
>>  Preamble
>>      \theoremstyle{plain}
>>  \newtheorem{lem}[subsection]{\protect\theoremname}
>>  EndPreamable
>> End
>>
>> Then you could just use the usual Theorems (AMS) module, and these
>> modifications might be enough to get you what you want. But if you are
>> going to want to re-use them, then putting them in a module of their own
>> will make that easier.
>>
>> Richard
>


Re: AMS Article: need Theorems, and SUBSECTIONS to share counter.

2017-10-03 Thread rls

Thank you for your reply.
I have tried your suggestion verbatim (after correcting a couple of 
misprints): modifying "Local Layout".


I don't really understand the details, but I noticed one problem:
- Inside a given section (say section 2), the theorem and lemma numbers 
are all displayed as "2.0".

- The subsection numbers are displayed correctley
- Printing gives correct results.

Any ideas? Thanks,
Ramez Labib Sami
=
On 03/10/2017 17:15, Richard Heck wrote:


The LyX display is controlled by 'layout' information, which is defined
in a number of places:

(i) The layout file for the document class (e.g., amsart.layout)
(ii) Modules, which are to LyX as packages are to LaTeX (e.g.,
theorems-ams.module)
(iii) Document-specific "local" layout, found at Document> Settings>
Local Layout

It seems to me as if you will probably be best off creating a new module
of your own, perhaps starting with and modifying theorems-ams.module.
Documentation concerning this is in Ch 5 of the Customization manual. As
far as the counters are concerned, you will want to modify the
LabelCounter defined for the various styles so that it uses the one for
subsections.

Note that you can just make modifications in Local Layout, e.g.:

Style Theorem
     LabelCounter subsection
     Preamble
         \theoremstyle{plain}
     \newtheorem{thm}[subsection]{\protect\theoremname}
     EndPreamable
End
Style Lemma
     LabelCounter subsection
     Preamble
         \theoremstyle{plain}
     \newtheorem{lem}[subsection]{\protect\theoremname}
     EndPreamable
End

Then you could just use the usual Theorems (AMS) module, and these
modifications might be enough to get you what you want. But if you are
going to want to re-use them, then putting them in a module of their own
will make that easier.

Richard




Re: AMS Article: need Theorems, and SUBSECTIONS to share counter.

2017-10-03 Thread Richard Heck
On 10/03/2017 08:56 AM, rls wrote:
> I am Lyx beginner. Sorry if it's in the docs. Thanks in advance for
> your help.
>
> I need to have Theorems (and Lemmas, etc.) to share the same counter
> with subsectons.
>
> I can't find a way to do it with Lyx.
>
> === Example of Section 2, in a document 
>
>    2. Reals simply defined ...[Section 2 title here]
>
> 2.1. Recall ... [1st subsection here]
>
> 2.2. Lemma. Any 
>
> Proof. ...
>
> 2.3. Given f ... [2nd subsection here]
>
> 
> Before using Lyx, I would just use the preamble:
>
> \documentclass[12pt]{amsart}
> \usepackage{amsmath}
>
> \swapnumbers
> \theoremstyle{plain}
> \newtheorem{theorem}[subsection]{Theorem}
> \newtheorem{proposition}[subsection]{Proposition}
> \newtheorem{lemma}[subsection]{Lemma}
> \newtheorem{corollary}[subsection]{Corollary}
> \newtheorem*{theoremNoNum}{Theorem}
> .
> ---
> I could include in the Lyx Document > Settings > LaTex Preamble, some
> hack to identify the two counters, like:
> \makeatletter
> \let\c@subsection\c@thm
> \makeatother
>
> But then, the numbers displayed in the Lyx editor aren't what's printed.

The LyX display is controlled by 'layout' information, which is defined
in a number of places:

(i) The layout file for the document class (e.g., amsart.layout)
(ii) Modules, which are to LyX as packages are to LaTeX (e.g.,
theorems-ams.module)
(iii) Document-specific "local" layout, found at Document> Settings>
Local Layout

It seems to me as if you will probably be best off creating a new module
of your own, perhaps starting with and modifying theorems-ams.module.
Documentation concerning this is in Ch 5 of the Customization manual. As
far as the counters are concerned, you will want to modify the
LabelCounter defined for the various styles so that it uses the one for
subsections.

Note that you can just make modifications in Local Layout, e.g.:

Style Theorem
    LabelCounter subsection
    Preamble
        \theoremstyle{plain}
    \newtheorem{thm}[subsection]{\protect\theoremname}
    EndPreamable
End
Style Lemma
    LabelCounter subsection
    Preamble
        \theoremstyle{plain}
    \newtheorem{lem}[subsection]{\protect\theoremname}
    EndPreamable
End

Then you could just use the usual Theorems (AMS) module, and these
modifications might be enough to get you what you want. But if you are
going to want to re-use them, then putting them in a module of their own
will make that easier.

Richard




Re: AMS article and sequential numbering

2009-02-17 Thread rgheck

A S wrote:

I've recently started using LyX 1.6.1 and discovered that my AMS
article documents now all have sequential numbering of theorems and
lemmas. In previous version one could choose between standard AMS
article, and sequentially numbered, but now there is only one option.
I searched the mail list archive and release notes, but have not found
any discussion about this. Can somebody clarify the situation?

  
If you want to number by Chapter or by Section, load the Theorems (By 
Chapter) or Theorems (By Section) module, accordingly.


rh



Re: AMS article and sequential numbering

2009-02-17 Thread rgheck

A S wrote:

I've recently started using LyX 1.6.1 and discovered that my AMS
article documents now all have sequential numbering of theorems and
lemmas. In previous version one could choose between standard AMS
article, and sequentially numbered, but now there is only one option.
I searched the mail list archive and release notes, but have not found
any discussion about this. Can somebody clarify the situation?

  
If you want to number by Chapter or by Section, load the Theorems (By 
Chapter) or Theorems (By Section) module, accordingly.


rh



Re: AMS article and sequential numbering

2009-02-17 Thread rgheck

A S wrote:

I've recently started using LyX 1.6.1 and discovered that my AMS
article documents now all have sequential numbering of theorems and
lemmas. In previous version one could choose between standard AMS
article, and sequentially numbered, but now there is only one option.
I searched the mail list archive and release notes, but have not found
any discussion about this. Can somebody clarify the situation?

  
If you want to number by Chapter or by Section, load the "Theorems (By 
Chapter)" or "Theorems (By Section)" module, accordingly.


rh



Re: AMS article

2008-04-07 Thread Maksi


Julio Rojas wrote:
 Ouch... Is there any way to change this? I'm tired of working with the
 Koma
 article class.

If it is just you being tired of working with KOMA, why not try other
article classes and see which one fits your needs best? I quite like working
with Memoir because it is very configurable and adaptable; it even has an
article option to be behave like an article class. Its detailed
configurability requires to read the very detailed manual first, though.

Maksi

-- 
View this message in context: 
http://www.nabble.com/AMS-article-tp16530986p16534389.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: AMS article

2008-04-07 Thread Richard Heck

Julio Rojas wrote:

Hostility and cynicism. A very nice way of answering a totally naive
question. Good for you Mr. Heck.

  
Sorry, that wasn't meant to be hostile or cynical. Maybe a smiley would 
have helped


rh


On Sun, Apr 6, 2008 at 9:35 PM, rgheck [EMAIL PROTECTED] wrote:

  

Julio Rojas wrote:



Ouch... Is there any way to change this? I'm tired of working with the
Koma
article class.



  

Yes. You can re-write the class file. That's just how the AMS article is
designed.

There are lots of article classes.

rh


 On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:



  

Julio Rojas wrote:





I'm having problems while working with an AMS article. The address
and
email
are printed after the references section, not in the first page. Why
does
this happen?




  

That's where the class is designed to put them (see page 5, second
full
paragraph, of instr-l.dvi, which comes with the class).

/Paul








  




  




Re: AMS article

2008-04-07 Thread Maksi


Julio Rojas wrote:
 Ouch... Is there any way to change this? I'm tired of working with the
 Koma
 article class.

If it is just you being tired of working with KOMA, why not try other
article classes and see which one fits your needs best? I quite like working
with Memoir because it is very configurable and adaptable; it even has an
article option to be behave like an article class. Its detailed
configurability requires to read the very detailed manual first, though.

Maksi

-- 
View this message in context: 
http://www.nabble.com/AMS-article-tp16530986p16534389.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: AMS article

2008-04-07 Thread Richard Heck

Julio Rojas wrote:

Hostility and cynicism. A very nice way of answering a totally naive
question. Good for you Mr. Heck.

  
Sorry, that wasn't meant to be hostile or cynical. Maybe a smiley would 
have helped


rh


On Sun, Apr 6, 2008 at 9:35 PM, rgheck [EMAIL PROTECTED] wrote:

  

Julio Rojas wrote:



Ouch... Is there any way to change this? I'm tired of working with the
Koma
article class.



  

Yes. You can re-write the class file. That's just how the AMS article is
designed.

There are lots of article classes.

rh


 On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:



  

Julio Rojas wrote:





I'm having problems while working with an AMS article. The address
and
email
are printed after the references section, not in the first page. Why
does
this happen?




  

That's where the class is designed to put them (see page 5, second
full
paragraph, of instr-l.dvi, which comes with the class).

/Paul








  




  




Re: AMS article

2008-04-07 Thread Maksi


Julio Rojas wrote:
> Ouch... Is there any way to change this? I'm tired of working with the
> Koma
> article class.

If it is just you being tired of working with KOMA, why not try other
article classes and see which one fits your needs best? I quite like working
with Memoir because it is very configurable and adaptable; it even has an
article option to be behave like an article class. Its detailed
configurability requires to read the very detailed manual first, though.

Maksi

-- 
View this message in context: 
http://www.nabble.com/AMS-article-tp16530986p16534389.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: AMS article

2008-04-07 Thread Richard Heck

Julio Rojas wrote:

Hostility and cynicism. A very nice way of answering a totally naive
question. Good for you Mr. Heck.

  
Sorry, that wasn't meant to be hostile or cynical. Maybe a smiley would 
have helped


rh


On Sun, Apr 6, 2008 at 9:35 PM, rgheck <[EMAIL PROTECTED]> wrote:

  

Julio Rojas wrote:



Ouch... Is there any way to change this? I'm tired of working with the
Koma
article class.



  

Yes. You can re-write the class file. That's just how the AMS article is
designed.

There are lots of article classes.

rh


 On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:



  

Julio Rojas wrote:





I'm having problems while working with an AMS article. The address
and
email
are printed after the references section, not in the first page. Why
does
this happen?




  

That's where the class is designed to put them (see page 5, second
full
paragraph, of instr-l.dvi, which comes with the class).

/Paul








  




  




Re: AMS article

2008-04-06 Thread Paul A. Rubin

Julio Rojas wrote:

I'm having problems while working with an AMS article. The address and email
are printed after the references section, not in the first page. Why does
this happen?



That's where the class is designed to put them (see page 5, second full 
paragraph, of instr-l.dvi, which comes with the class).


/Paul



Re: AMS article

2008-04-06 Thread Julio Rojas
Ouch... Is there any way to change this? I'm tired of working with the Koma
article class.

On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:

 Julio Rojas wrote:

  I'm having problems while working with an AMS article. The address and
  email
  are printed after the references section, not in the first page. Why
  does
  this happen?
 
 
 That's where the class is designed to put them (see page 5, second full
 paragraph, of instr-l.dvi, which comes with the class).

 /Paul




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: AMS article

2008-04-06 Thread rgheck

Julio Rojas wrote:

Ouch... Is there any way to change this? I'm tired of working with the Koma
article class.

  
Yes. You can re-write the class file. That's just how the AMS article is 
designed.


There are lots of article classes.

rh


On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:

  

Julio Rojas wrote:



I'm having problems while working with an AMS article. The address and
email
are printed after the references section, not in the first page. Why
does
this happen?


  

That's where the class is designed to put them (see page 5, second full
paragraph, of instr-l.dvi, which comes with the class).

/Paul






  




Re: AMS article

2008-04-06 Thread Julio Rojas
Hostility and cynicism. A very nice way of answering a totally naive
question. Good for you Mr. Heck.

On Sun, Apr 6, 2008 at 9:35 PM, rgheck [EMAIL PROTECTED] wrote:

 Julio Rojas wrote:

  Ouch... Is there any way to change this? I'm tired of working with the
  Koma
  article class.
 
 
 
 Yes. You can re-write the class file. That's just how the AMS article is
 designed.

 There are lots of article classes.

 rh


  On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:
 
 
 
   Julio Rojas wrote:
  
  
  
I'm having problems while working with an AMS article. The address
and
email
are printed after the references section, not in the first page. Why
does
this happen?
   
   
   
   
   That's where the class is designed to put them (see page 5, second
   full
   paragraph, of instr-l.dvi, which comes with the class).
  
   /Paul
  
  
  
  
 
 
 
 




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: AMS article

2008-04-06 Thread Paul A. Rubin

Julio Rojas wrote:

I'm having problems while working with an AMS article. The address and email
are printed after the references section, not in the first page. Why does
this happen?



That's where the class is designed to put them (see page 5, second full 
paragraph, of instr-l.dvi, which comes with the class).


/Paul



Re: AMS article

2008-04-06 Thread Julio Rojas
Ouch... Is there any way to change this? I'm tired of working with the Koma
article class.

On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:

 Julio Rojas wrote:

  I'm having problems while working with an AMS article. The address and
  email
  are printed after the references section, not in the first page. Why
  does
  this happen?
 
 
 That's where the class is designed to put them (see page 5, second full
 paragraph, of instr-l.dvi, which comes with the class).

 /Paul




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: AMS article

2008-04-06 Thread rgheck

Julio Rojas wrote:

Ouch... Is there any way to change this? I'm tired of working with the Koma
article class.

  
Yes. You can re-write the class file. That's just how the AMS article is 
designed.


There are lots of article classes.

rh


On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:

  

Julio Rojas wrote:



I'm having problems while working with an AMS article. The address and
email
are printed after the references section, not in the first page. Why
does
this happen?


  

That's where the class is designed to put them (see page 5, second full
paragraph, of instr-l.dvi, which comes with the class).

/Paul






  




Re: AMS article

2008-04-06 Thread Julio Rojas
Hostility and cynicism. A very nice way of answering a totally naive
question. Good for you Mr. Heck.

On Sun, Apr 6, 2008 at 9:35 PM, rgheck [EMAIL PROTECTED] wrote:

 Julio Rojas wrote:

  Ouch... Is there any way to change this? I'm tired of working with the
  Koma
  article class.
 
 
 
 Yes. You can re-write the class file. That's just how the AMS article is
 designed.

 There are lots of article classes.

 rh


  On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:
 
 
 
   Julio Rojas wrote:
  
  
  
I'm having problems while working with an AMS article. The address
and
email
are printed after the references section, not in the first page. Why
does
this happen?
   
   
   
   
   That's where the class is designed to put them (see page 5, second
   full
   paragraph, of instr-l.dvi, which comes with the class).
  
   /Paul
  
  
  
  
 
 
 
 




-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: AMS article

2008-04-06 Thread Paul A. Rubin

Julio Rojas wrote:

I'm having problems while working with an AMS article. The address and email
are printed after the references section, not in the first page. Why does
this happen?



That's where the class is designed to put them (see page 5, second full 
paragraph, of instr-l.dvi, which comes with the class).


/Paul



Re: AMS article

2008-04-06 Thread Julio Rojas
Ouch... Is there any way to change this? I'm tired of working with the Koma
article class.

On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

> Julio Rojas wrote:
>
> > I'm having problems while working with an AMS article. The address and
> > email
> > are printed after the references section, not in the first page. Why
> > does
> > this happen?
> >
> >
> That's where the class is designed to put them (see page 5, second full
> paragraph, of instr-l.dvi, which comes with the class).
>
> /Paul
>
>


-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: AMS article

2008-04-06 Thread rgheck

Julio Rojas wrote:

Ouch... Is there any way to change this? I'm tired of working with the Koma
article class.

  
Yes. You can re-write the class file. That's just how the AMS article is 
designed.


There are lots of article classes.

rh


On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

  

Julio Rojas wrote:



I'm having problems while working with an AMS article. The address and
email
are printed after the references section, not in the first page. Why
does
this happen?


  

That's where the class is designed to put them (see page 5, second full
paragraph, of instr-l.dvi, which comes with the class).

/Paul






  




Re: AMS article

2008-04-06 Thread Julio Rojas
Hostility and cynicism. A very nice way of answering a totally naive
question. Good for you Mr. Heck.

On Sun, Apr 6, 2008 at 9:35 PM, rgheck <[EMAIL PROTECTED]> wrote:

> Julio Rojas wrote:
>
> > Ouch... Is there any way to change this? I'm tired of working with the
> > Koma
> > article class.
> >
> >
> >
> Yes. You can re-write the class file. That's just how the AMS article is
> designed.
>
> There are lots of article classes.
>
> rh
>
>
>  On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Julio Rojas wrote:
> > >
> > >
> > >
> > > > I'm having problems while working with an AMS article. The address
> > > > and
> > > > email
> > > > are printed after the references section, not in the first page. Why
> > > > does
> > > > this happen?
> > > >
> > > >
> > > >
> > > >
> > > That's where the class is designed to put them (see page 5, second
> > > full
> > > paragraph, of instr-l.dvi, which comes with the class).
> > >
> > > /Paul
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>


-- 
-
Julio Rojas
[EMAIL PROTECTED]


Re: ams article defect

2006-11-16 Thread Jean-Marc Lasgouttes
 Neal == Neal Becker [EMAIL PROTECTED] writes:

  What is your babel version?

Neal 2004/11/20 v3.8d

Version 3.8h is from 23/11/2005. Your version would not be a problem
with an older amsart, I guess.

JMarc


Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

 
To: David L. Johnson
[EMAIL PROTECTED] Cc:
lyx-users@lists.lyx.org Subject: Re: ams
article defect From: Jean-Marc Lasgouttes
[EMAIL PROTECTED] Date: Wed, 15 Nov 2006 19:00:46
+0100

 David == David L Johnson
 [EMAIL PROTECTED] writes:
 [...]

David LaTeX2e 2003/12/01 Babel v3.8d

I think you need at least version 3.8g or 3.8h. Or an older amsart :)
The fact is, there are distributions out there that package the two
incompatible packages. This should probably be reported as a teTeX bug
via debian, if this is not done already.
 
 It might come from two tetex subpackages not being in sync.
 Upgrade is advisable before reporting I guess.
 
 You might install texlive if the problem remains. The texlive packaging
 has been reviewed before it entered Debian/etch in june, and texlive|tetex
 have been made equivalent in LyX dependencies.
 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



Re: ams article defect

2006-11-16 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Neal Becker [EMAIL PROTECTED]
Subject: Re: ams article defect
Date: Thu, 16 Nov 2006 08:07:48 -0500

Jean-Pierre Chretien wrote:
[...]

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.


babel.sty is hidden inside files babel.dtx and babel.ins, just download and run 
latex on these.

-- 
Jean-Pierre



Re: ams article defect

2006-11-16 Thread David L. Johnson
On Thu, 16 Nov 2006 08:00:49 +0100 (MET)
Jean-Pierre Chretien [EMAIL PROTECTED] wrote:

 It might come from two tetex subpackages not being in sync.
 Upgrade is advisable before reporting I guess.

Well, debian's package descriptions don't explicitly list which versions of
babel and amsart are used, but as far as I could see the difference between
the testing version which I have been using, and the unstable version,
which is newer, is only a minor-number version change.
 
 You might install texlive if the problem remains. The texlive packaging has
 been reviewed before it entered Debian/etch in june, and texlive|tetex
 have been made equivalent in LyX dependencies.

Just installed it.  This replaces the tetex distribution.  texlive definitely
fixes the problem, and it is also a screamingly fast-compiling tex.  Very
nice.

Thanks for the suggestion.  This beats trying to upgrade just a piece of the
tex distribution by snagging archives from CTAN, which for all I know would
screw something else up.  

-- 

David L. Johnson

   __o   | And what if you track down these men and kill them, what if you 
 _`\(,_  | killed all of us?  From every corner of Europe, hundreds,
(_)/ (_) | thousands would rise up to take our places.  Even Nazis can't
   kill that fast.  -- Paul Henreid (Casablanca).  


Re: ams article defect

2006-11-16 Thread Jean-Marc Lasgouttes
 Neal == Neal Becker [EMAIL PROTECTED] writes:

  What is your babel version?

Neal 2004/11/20 v3.8d

Version 3.8h is from 23/11/2005. Your version would not be a problem
with an older amsart, I guess.

JMarc


Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

 
To: David L. Johnson
[EMAIL PROTECTED] Cc:
lyx-users@lists.lyx.org Subject: Re: ams
article defect From: Jean-Marc Lasgouttes
[EMAIL PROTECTED] Date: Wed, 15 Nov 2006 19:00:46
+0100

 David == David L Johnson
 [EMAIL PROTECTED] writes:
 [...]

David LaTeX2e 2003/12/01 Babel v3.8d

I think you need at least version 3.8g or 3.8h. Or an older amsart :)
The fact is, there are distributions out there that package the two
incompatible packages. This should probably be reported as a teTeX bug
via debian, if this is not done already.
 
 It might come from two tetex subpackages not being in sync.
 Upgrade is advisable before reporting I guess.
 
 You might install texlive if the problem remains. The texlive packaging
 has been reviewed before it entered Debian/etch in june, and texlive|tetex
 have been made equivalent in LyX dependencies.
 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



Re: ams article defect

2006-11-16 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Neal Becker [EMAIL PROTECTED]
Subject: Re: ams article defect
Date: Thu, 16 Nov 2006 08:07:48 -0500

Jean-Pierre Chretien wrote:
[...]

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.


babel.sty is hidden inside files babel.dtx and babel.ins, just download and run 
latex on these.

-- 
Jean-Pierre



Re: ams article defect

2006-11-16 Thread David L. Johnson
On Thu, 16 Nov 2006 08:00:49 +0100 (MET)
Jean-Pierre Chretien [EMAIL PROTECTED] wrote:

 It might come from two tetex subpackages not being in sync.
 Upgrade is advisable before reporting I guess.

Well, debian's package descriptions don't explicitly list which versions of
babel and amsart are used, but as far as I could see the difference between
the testing version which I have been using, and the unstable version,
which is newer, is only a minor-number version change.
 
 You might install texlive if the problem remains. The texlive packaging has
 been reviewed before it entered Debian/etch in june, and texlive|tetex
 have been made equivalent in LyX dependencies.

Just installed it.  This replaces the tetex distribution.  texlive definitely
fixes the problem, and it is also a screamingly fast-compiling tex.  Very
nice.

Thanks for the suggestion.  This beats trying to upgrade just a piece of the
tex distribution by snagging archives from CTAN, which for all I know would
screw something else up.  

-- 

David L. Johnson

   __o   | And what if you track down these men and kill them, what if you 
 _`\(,_  | killed all of us?  From every corner of Europe, hundreds,
(_)/ (_) | thousands would rise up to take our places.  Even Nazis can't
   kill that fast.  -- Paul Henreid (Casablanca).  


Re: ams article defect

2006-11-16 Thread Jean-Marc Lasgouttes
> "Neal" == Neal Becker <[EMAIL PROTECTED]> writes:

>>  What is your babel version?

Neal> 2004/11/20 v3.8d

Version 3.8h is from 23/11/2005. Your version would not be a problem
with an older amsart, I guess.

JMarc


Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

> 
>>>To: "David L. Johnson"
>>><[EMAIL PROTECTED]> Cc:
>>>lyx-users@lists.lyx.org Subject: Re: ams
>>>article defect From: Jean-Marc Lasgouttes
>>><[EMAIL PROTECTED]> Date: Wed, 15 Nov 2006 19:00:46
>>>+0100
>>>
>>>>>>>> "David" == David L Johnson
>>>>>>>> <[EMAIL PROTECTED]> writes:
> [...]
>>>
>>>David> LaTeX2e <2003/12/01> Babel 
>>>
>>>I think you need at least version 3.8g or 3.8h. Or an older amsart :)
>>>The fact is, there are distributions out there that package the two
>>>incompatible packages. This should probably be reported as a teTeX bug
>>>via debian, if this is not done already.
> 
> It might come from two tetex subpackages not being in sync.
> Upgrade is advisable before reporting I guess.
> 
> You might install texlive if the problem remains. The texlive packaging
> has been reviewed before it entered Debian/etch in june, and texlive|tetex
> have been made equivalent in LyX dependencies.
> 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



Re: ams article defect

2006-11-16 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Neal Becker <[EMAIL PROTECTED]>
>>Subject: Re: ams article defect
>>Date: Thu, 16 Nov 2006 08:07:48 -0500
>>
>>Jean-Pierre Chretien wrote:
[...]
>>
>>If anyone knows where to find a new babel.sty let me know.  Search on ctan
>>wasn't very useful.
>>

babel.sty is hidden inside files babel.dtx and babel.ins, just download and run 
latex on these.

-- 
Jean-Pierre



Re: ams article defect

2006-11-16 Thread David L. Johnson
On Thu, 16 Nov 2006 08:00:49 +0100 (MET)
Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:

> It might come from two tetex subpackages not being in sync.
> Upgrade is advisable before reporting I guess.

Well, debian's package descriptions don't explicitly list which versions of
babel and amsart are used, but as far as I could see the difference between
the "testing" version which I have been using, and the "unstable" version,
which is newer, is only a minor-number version change.
> 
> You might install texlive if the problem remains. The texlive packaging has
> been reviewed before it entered Debian/etch in june, and texlive|tetex
> have been made equivalent in LyX dependencies.

Just installed it.  This replaces the tetex distribution.  texlive definitely
fixes the problem, and it is also a screamingly fast-compiling tex.  Very
nice.

Thanks for the suggestion.  This beats trying to upgrade just a piece of the
tex distribution by snagging archives from CTAN, which for all I know would
screw something else up.  

-- 

David L. Johnson

   __o   | And what if you track down these men and kill them, what if you 
 _`\(,_  | killed all of us?  From every corner of Europe, hundreds,
(_)/ (_) | thousands would rise up to take our places.  Even Nazis can't
   kill that fast.  -- Paul Henreid (Casablanca).  


Re: ams article defect

2006-11-15 Thread Jean-Marc Lasgouttes
 Neal == Neal Becker [EMAIL PROTECTED] writes:

Neal I recall hitting this problem once before, but I forgot what the
Neal fix was. I'm using ams article. The output has a header that
Neal says: englishMyTitle instead of MyTitle

You should upgrade your version of babel.sty, or use an older version
of amsart.cls. 

JMarc


Re: ams article defect

2006-11-15 Thread David L. Johnson
On Wed, 15 Nov 2006 09:55:44 -0500
Neal Becker [EMAIL PROTECTED] wrote:

 I recall hitting this problem once before, but I forgot what the fix was. 
 I'm using ams article.  The output has a header that says:
 englishMyTitle
 instead of 
 MyTitle
 
Yeah, I have this problem, too, and have had through several system updates.
It was explained to me on this list that it is a LaTeX issue, not a LyX one.
Specifically, it is a problem with babel.  Supposedly, new versions of babel
(and/or amslatex) fix this, but I am not so sure, since I use debian etch
which has fairly new versions of those packages.

My current workaround is to export the TeX file, then comment out the babel
package.  It then seems to work correctly.  

-- 

David L. Johnson

   __o   | Accept risk.  Accept responsibility.  Put a lawyer out of
 _`\(,_  | business.  
(_)/ (_) | 
   


Re: ams article defect

2006-11-15 Thread Jean-Marc Lasgouttes
 David == David L Johnson [EMAIL PROTECTED] writes:

David On Wed, 15 Nov 2006 09:55:44 -0500
David Neal Becker [EMAIL PROTECTED] wrote:

 I recall hitting this problem once before, but I forgot what the
 fix was. I'm using ams article. The output has a header that says:
 englishMyTitle instead of MyTitle
 
David Yeah, I have this problem, too, and have had through several
David system updates. It was explained to me on this list that it is
David a LaTeX issue, not a LyX one. Specifically, it is a problem
David with babel. Supposedly, new versions of babel (and/or amslatex)
David fix this, but I am not so sure, since I use debian etch which
David has fairly new versions of those packages.

What is your babel version?

JMarc


Re: ams article defect

2006-11-15 Thread David L. Johnson
On Wed, 15 Nov 2006 18:13:18 +0100
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  David == David L Johnson [EMAIL PROTECTED] writes:
 
 David On Wed, 15 Nov 2006 09:55:44 -0500
 David Neal Becker [EMAIL PROTECTED] wrote:
 
  I recall hitting this problem once before, but I forgot what the
  fix was. I'm using ams article. The output has a header that says:
  englishMyTitle instead of MyTitle
  
 David Yeah, I have this problem, too, and have had through several
 David system updates. It was explained to me on this list that it is
 David a LaTeX issue, not a LyX one. Specifically, it is a problem
 David with babel. Supposedly, new versions of babel (and/or amslatex)
 David fix this, but I am not so sure, since I use debian etch which
 David has fairly new versions of those packages.
 
 What is your babel version?

Here's what the log files say:

LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, ngerman
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, po
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, 
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf-tetex/tex/latex/amscls/amsart.cls
Document Class: amsart 2004/08/06 v2.20

-- 

David L. Johnson

   __o   | Let's not escape into mathematics.  Let's stay with reality. -- 
 _`\(,_  | Michael Crichton  
(_)/ (_) | 
   


Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
  David == David L Johnson [EMAIL PROTECTED] writes:

 David On Wed, 15 Nov 2006 09:55:44 -0500

 David Neal Becker [EMAIL PROTECTED] wrote:
  I recall hitting this problem once before, but I forgot what the
  fix was. I'm using ams article. The output has a header that says:
  englishMyTitle instead of MyTitle

 David Yeah, I have this problem, too, and have had through several
 David system updates. It was explained to me on this list that it is
 David a LaTeX issue, not a LyX one. Specifically, it is a problem
 David with babel. Supposedly, new versions of babel (and/or amslatex)
 David fix this, but I am not so sure, since I use debian etch which
 David has fairly new versions of those packages.

 What is your babel version?

 JMarc

2004/11/20 v3.8d


Re: ams article defect

2006-11-15 Thread Jean-Pierre Chretien

To: David L. Johnson [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: ams article defect
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: Wed, 15 Nov 2006 19:00:46 +0100

 David == David L Johnson [EMAIL PROTECTED] writes:
[...]

David LaTeX2e 2003/12/01 Babel v3.8d 

I think you need at least version 3.8g or 3.8h. Or an older amsart :)
The fact is, there are distributions out there that package the two
incompatible packages. This should probably be reported as a teTeX bug
via debian, if this is not done already.

It might come from two tetex subpackages not being in sync.
Upgrade is advisable before reporting I guess.

You might install texlive if the problem remains. The texlive packaging has
been reviewed before it entered Debian/etch in june, and texlive|tetex
have been made equivalent in LyX dependencies.

-- 
Jean-Pierre



Re: ams article defect

2006-11-15 Thread Jean-Marc Lasgouttes
 Neal == Neal Becker [EMAIL PROTECTED] writes:

Neal I recall hitting this problem once before, but I forgot what the
Neal fix was. I'm using ams article. The output has a header that
Neal says: englishMyTitle instead of MyTitle

You should upgrade your version of babel.sty, or use an older version
of amsart.cls. 

JMarc


Re: ams article defect

2006-11-15 Thread David L. Johnson
On Wed, 15 Nov 2006 09:55:44 -0500
Neal Becker [EMAIL PROTECTED] wrote:

 I recall hitting this problem once before, but I forgot what the fix was. 
 I'm using ams article.  The output has a header that says:
 englishMyTitle
 instead of 
 MyTitle
 
Yeah, I have this problem, too, and have had through several system updates.
It was explained to me on this list that it is a LaTeX issue, not a LyX one.
Specifically, it is a problem with babel.  Supposedly, new versions of babel
(and/or amslatex) fix this, but I am not so sure, since I use debian etch
which has fairly new versions of those packages.

My current workaround is to export the TeX file, then comment out the babel
package.  It then seems to work correctly.  

-- 

David L. Johnson

   __o   | Accept risk.  Accept responsibility.  Put a lawyer out of
 _`\(,_  | business.  
(_)/ (_) | 
   


Re: ams article defect

2006-11-15 Thread Jean-Marc Lasgouttes
 David == David L Johnson [EMAIL PROTECTED] writes:

David On Wed, 15 Nov 2006 09:55:44 -0500
David Neal Becker [EMAIL PROTECTED] wrote:

 I recall hitting this problem once before, but I forgot what the
 fix was. I'm using ams article. The output has a header that says:
 englishMyTitle instead of MyTitle
 
David Yeah, I have this problem, too, and have had through several
David system updates. It was explained to me on this list that it is
David a LaTeX issue, not a LyX one. Specifically, it is a problem
David with babel. Supposedly, new versions of babel (and/or amslatex)
David fix this, but I am not so sure, since I use debian etch which
David has fairly new versions of those packages.

What is your babel version?

JMarc


Re: ams article defect

2006-11-15 Thread David L. Johnson
On Wed, 15 Nov 2006 18:13:18 +0100
Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:

  David == David L Johnson [EMAIL PROTECTED] writes:
 
 David On Wed, 15 Nov 2006 09:55:44 -0500
 David Neal Becker [EMAIL PROTECTED] wrote:
 
  I recall hitting this problem once before, but I forgot what the
  fix was. I'm using ams article. The output has a header that says:
  englishMyTitle instead of MyTitle
  
 David Yeah, I have this problem, too, and have had through several
 David system updates. It was explained to me on this list that it is
 David a LaTeX issue, not a LyX one. Specifically, it is a problem
 David with babel. Supposedly, new versions of babel (and/or amslatex)
 David fix this, but I am not so sure, since I use debian etch which
 David has fairly new versions of those packages.
 
 What is your babel version?

Here's what the log files say:

LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, ngerman
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, po
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, 
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf-tetex/tex/latex/amscls/amsart.cls
Document Class: amsart 2004/08/06 v2.20

-- 

David L. Johnson

   __o   | Let's not escape into mathematics.  Let's stay with reality. -- 
 _`\(,_  | Michael Crichton  
(_)/ (_) | 
   


Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
  David == David L Johnson [EMAIL PROTECTED] writes:

 David On Wed, 15 Nov 2006 09:55:44 -0500

 David Neal Becker [EMAIL PROTECTED] wrote:
  I recall hitting this problem once before, but I forgot what the
  fix was. I'm using ams article. The output has a header that says:
  englishMyTitle instead of MyTitle

 David Yeah, I have this problem, too, and have had through several
 David system updates. It was explained to me on this list that it is
 David a LaTeX issue, not a LyX one. Specifically, it is a problem
 David with babel. Supposedly, new versions of babel (and/or amslatex)
 David fix this, but I am not so sure, since I use debian etch which
 David has fairly new versions of those packages.

 What is your babel version?

 JMarc

2004/11/20 v3.8d


Re: ams article defect

2006-11-15 Thread Jean-Pierre Chretien

To: David L. Johnson [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Subject: Re: ams article defect
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: Wed, 15 Nov 2006 19:00:46 +0100

 David == David L Johnson [EMAIL PROTECTED] writes:
[...]

David LaTeX2e 2003/12/01 Babel v3.8d 

I think you need at least version 3.8g or 3.8h. Or an older amsart :)
The fact is, there are distributions out there that package the two
incompatible packages. This should probably be reported as a teTeX bug
via debian, if this is not done already.

It might come from two tetex subpackages not being in sync.
Upgrade is advisable before reporting I guess.

You might install texlive if the problem remains. The texlive packaging has
been reviewed before it entered Debian/etch in june, and texlive|tetex
have been made equivalent in LyX dependencies.

-- 
Jean-Pierre



Re: ams article defect

2006-11-15 Thread Jean-Marc Lasgouttes
> "Neal" == Neal Becker <[EMAIL PROTECTED]> writes:

Neal> I recall hitting this problem once before, but I forgot what the
Neal> fix was. I'm using ams article. The output has a header that
Neal> says: englishMyTitle instead of MyTitle

You should upgrade your version of babel.sty, or use an older version
of amsart.cls. 

JMarc


Re: ams article defect

2006-11-15 Thread David L. Johnson
On Wed, 15 Nov 2006 09:55:44 -0500
Neal Becker <[EMAIL PROTECTED]> wrote:

> I recall hitting this problem once before, but I forgot what the fix was. 
> I'm using ams article.  The output has a header that says:
> englishMyTitle
> instead of 
> MyTitle
> 
Yeah, I have this problem, too, and have had through several system updates.
It was explained to me on this list that it is a LaTeX issue, not a LyX one.
Specifically, it is a problem with babel.  Supposedly, new versions of babel
(and/or amslatex) fix this, but I am not so sure, since I use debian etch
which has fairly new versions of those packages.

My current workaround is to export the TeX file, then comment out the babel
package.  It then seems to work correctly.  

-- 

David L. Johnson

   __o   | Accept risk.  Accept responsibility.  Put a lawyer out of
 _`\(,_  | business.  
(_)/ (_) | 
   


Re: ams article defect

2006-11-15 Thread Jean-Marc Lasgouttes
> "David" == David L Johnson <[EMAIL PROTECTED]> writes:

David> On Wed, 15 Nov 2006 09:55:44 -0500
David> Neal Becker <[EMAIL PROTECTED]> wrote:

>> I recall hitting this problem once before, but I forgot what the
>> fix was. I'm using ams article. The output has a header that says:
>> englishMyTitle instead of MyTitle
>> 
David> Yeah, I have this problem, too, and have had through several
David> system updates. It was explained to me on this list that it is
David> a LaTeX issue, not a LyX one. Specifically, it is a problem
David> with babel. Supposedly, new versions of babel (and/or amslatex)
David> fix this, but I am not so sure, since I use debian etch which
David> has fairly new versions of those packages.

What is your babel version?

JMarc


Re: ams article defect

2006-11-15 Thread David L. Johnson
On Wed, 15 Nov 2006 18:13:18 +0100
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> > "David" == David L Johnson <[EMAIL PROTECTED]> writes:
> 
> David> On Wed, 15 Nov 2006 09:55:44 -0500
> David> Neal Becker <[EMAIL PROTECTED]> wrote:
> 
> >> I recall hitting this problem once before, but I forgot what the
> >> fix was. I'm using ams article. The output has a header that says:
> >> englishMyTitle instead of MyTitle
> >> 
> David> Yeah, I have this problem, too, and have had through several
> David> system updates. It was explained to me on this list that it is
> David> a LaTeX issue, not a LyX one. Specifically, it is a problem
> David> with babel. Supposedly, new versions of babel (and/or amslatex)
> David> fix this, but I am not so sure, since I use debian etch which
> David> has fairly new versions of those packages.
> 
> What is your babel version?

Here's what the log files say:

LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german, ngerman
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, po
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, 
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf-tetex/tex/latex/amscls/amsart.cls
Document Class: amsart 2004/08/06 v2.20

-- 

David L. Johnson

   __o   | Let's not escape into mathematics.  Let's stay with reality. -- 
 _`\(,_  | Michael Crichton  
(_)/ (_) | 
   


Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
> > "David" == David L Johnson <[EMAIL PROTECTED]> writes:
>
> David> On Wed, 15 Nov 2006 09:55:44 -0500
>
> David> Neal Becker <[EMAIL PROTECTED]> wrote:
> >> I recall hitting this problem once before, but I forgot what the
> >> fix was. I'm using ams article. The output has a header that says:
> >> englishMyTitle instead of MyTitle
>
> David> Yeah, I have this problem, too, and have had through several
> David> system updates. It was explained to me on this list that it is
> David> a LaTeX issue, not a LyX one. Specifically, it is a problem
> David> with babel. Supposedly, new versions of babel (and/or amslatex)
> David> fix this, but I am not so sure, since I use debian etch which
> David> has fairly new versions of those packages.
>
> What is your babel version?
>
> JMarc

2004/11/20 v3.8d


Re: ams article defect

2006-11-15 Thread Jean-Pierre Chretien

>>To: "David L. Johnson" <[EMAIL PROTECTED]>
>>Cc: lyx-users@lists.lyx.org
>>Subject: Re: ams article defect
>>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>>Date: Wed, 15 Nov 2006 19:00:46 +0100
>>
>>>>>>> "David" == David L Johnson <[EMAIL PROTECTED]> writes:
[...]
>>
>>David> LaTeX2e <2003/12/01> Babel  
>>
>>I think you need at least version 3.8g or 3.8h. Or an older amsart :)
>>The fact is, there are distributions out there that package the two
>>incompatible packages. This should probably be reported as a teTeX bug
>>via debian, if this is not done already.

It might come from two tetex subpackages not being in sync.
Upgrade is advisable before reporting I guess.

You might install texlive if the problem remains. The texlive packaging has
been reviewed before it entered Debian/etch in june, and texlive|tetex
have been made equivalent in LyX dependencies.

-- 
Jean-Pierre



Re: AMS article show the language in the page titles

2006-08-06 Thread Jean-Marc Lasgouttes
 eris-lyx == eris-lyx  [EMAIL PROTECTED] writes:

eris-lyx Hello, I am brand new to LyX and LaTeX and have a question.
eris-lyx When I load the amsart-test.lyx example file and view it as
eris-lyx PDF, DVI, or Postscript output, the second and subsequent
eris-lyx pages all are titled englishDAVID L. JOHNSON. In my own
eris-lyx test document I created using the article (AMS) class, the
eris-lyx second and subsequent pages are titled englishMY DOCUMENT
eris-lyx TITLE using the title rather than the author.

This is a bug in the ams classes that only shows with some versions of
babel. You you update to latest versions of both programs, everything
should be OK.

JMarc


Re: AMS article show the language in the page titles

2006-08-06 Thread Jean-Marc Lasgouttes
 eris-lyx == eris-lyx  [EMAIL PROTECTED] writes:

eris-lyx Hello, I am brand new to LyX and LaTeX and have a question.
eris-lyx When I load the amsart-test.lyx example file and view it as
eris-lyx PDF, DVI, or Postscript output, the second and subsequent
eris-lyx pages all are titled englishDAVID L. JOHNSON. In my own
eris-lyx test document I created using the article (AMS) class, the
eris-lyx second and subsequent pages are titled englishMY DOCUMENT
eris-lyx TITLE using the title rather than the author.

This is a bug in the ams classes that only shows with some versions of
babel. You you update to latest versions of both programs, everything
should be OK.

JMarc


Re: AMS article show the language in the page titles

2006-08-06 Thread Jean-Marc Lasgouttes
> "eris-lyx" == eris-lyx  <[EMAIL PROTECTED]> writes:

eris-lyx> Hello, I am brand new to LyX and LaTeX and have a question.
eris-lyx> When I load the amsart-test.lyx example file and view it as
eris-lyx> PDF, DVI, or Postscript output, the second and subsequent
eris-lyx> pages all are titled "englishDAVID L. JOHNSON". In my own
eris-lyx> test document I created using the article (AMS) class, the
eris-lyx> second and subsequent pages are titled "englishMY DOCUMENT
eris-lyx> TITLE" using the title rather than the author.

This is a bug in the ams classes that only shows with some versions of
babel. You you update to latest versions of both programs, everything
should be OK.

JMarc


Re: ams article

2006-03-09 Thread Georg Baum
Am Donnerstag, 9. März 2006 14:13 schrieb William O. Bray:
 Using version 1.4 on Ubuntu. Setting up an article with document class 
 article (AMS). In the environment drop down list, we have a choice 
 current address, which in LaTex is typeset at the end of the article. In 
 using this, and running pdflatex, I get an error which says lyxaddress 
 is already defined.
 Similar things for email, URL. In the amsdefs.inc (located in my case in 
 /usr/local/share/lyx-14/layouts), the styles for current address, email, 
 url use the command CopyStyle Address. In Lyx 1.3.7, I did not have this 
 problem. Further, in the 1.3.7 amsdefs.inc, the current address, email, 
 url were all given defined Style without the copystyle command. So I 
 copied the amsdefs.inc from the 1.3.7 setup to the 1.4 directory; 
 problem seems to have solved itself.
 Is this a solution to the problem, or am I missing something?

This is certainly a workaround, but it may have side effects. Please file 
this at http://bugzilla.lyx.org, you have found a bug in 1.4.0. The 
problem is that the Address style in amsdefs.inc does not overwrite the 
one in lyxmacros.inc, but gets merged with it. The other styles with 
copystyle commands then produce the multiple definition of the 
\lyxaddress macro.


Georg



Re: ams article

2006-03-09 Thread Georg Baum
Am Donnerstag, 9. März 2006 14:13 schrieb William O. Bray:
 Using version 1.4 on Ubuntu. Setting up an article with document class 
 article (AMS). In the environment drop down list, we have a choice 
 current address, which in LaTex is typeset at the end of the article. In 
 using this, and running pdflatex, I get an error which says lyxaddress 
 is already defined.
 Similar things for email, URL. In the amsdefs.inc (located in my case in 
 /usr/local/share/lyx-14/layouts), the styles for current address, email, 
 url use the command CopyStyle Address. In Lyx 1.3.7, I did not have this 
 problem. Further, in the 1.3.7 amsdefs.inc, the current address, email, 
 url were all given defined Style without the copystyle command. So I 
 copied the amsdefs.inc from the 1.3.7 setup to the 1.4 directory; 
 problem seems to have solved itself.
 Is this a solution to the problem, or am I missing something?

This is certainly a workaround, but it may have side effects. Please file 
this at http://bugzilla.lyx.org, you have found a bug in 1.4.0. The 
problem is that the Address style in amsdefs.inc does not overwrite the 
one in lyxmacros.inc, but gets merged with it. The other styles with 
copystyle commands then produce the multiple definition of the 
\lyxaddress macro.


Georg



Re: ams article

2006-03-09 Thread Georg Baum
Am Donnerstag, 9. März 2006 14:13 schrieb William O. Bray:
> Using version 1.4 on Ubuntu. Setting up an article with document class 
> article (AMS). In the environment drop down list, we have a choice 
> current address, which in LaTex is typeset at the end of the article. In 
> using this, and running pdflatex, I get an error which says "lyxaddress 
> is already defined".
> Similar things for email, URL. In the amsdefs.inc (located in my case in 
> /usr/local/share/lyx-14/layouts), the styles for current address, email, 
> url use the command CopyStyle Address. In Lyx 1.3.7, I did not have this 
> problem. Further, in the 1.3.7 amsdefs.inc, the current address, email, 
> url were all given defined Style without the copystyle command. So I 
> copied the amsdefs.inc from the 1.3.7 setup to the 1.4 directory; 
> problem seems to have solved itself.
> Is this a solution to the problem, or am I missing something?

This is certainly a workaround, but it may have side effects. Please file 
this at http://bugzilla.lyx.org, you have found a bug in 1.4.0. The 
problem is that the Address style in amsdefs.inc does not overwrite the 
one in lyxmacros.inc, but gets merged with it. The other styles with 
copystyle commands then produce the multiple definition of the 
\lyxaddress macro.


Georg



Re: AMS-article translation

2001-03-15 Thread Emmanuel GUREGHIAN

Dominique Lohez a crit :
 
 
 I am a newcomer to lyx
 I want to write a report
 I choose the docaument class AMS article and the language French
 In the editing window nothing is translated
 In the layout for both Postscrip and dvi  :
 Abstract is is correctly translated to Resume
 while Theorem, Definition, Remark ... are not translated
 
 Is there any mean to get al the headers translated ?
 

See http://www-spi.lip6.fr/~gureghia/LyX/Theoremes/ (it's in french)
Furthemore there is a dedicated french mailing list.

 
  |\  _,,,---,,_  Emmanuel GUREGHIAN 
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: AMS-article translation

2001-03-15 Thread Emmanuel GUREGHIAN

Dominique Lohez a crit :
 
 
 I am a newcomer to lyx
 I want to write a report
 I choose the docaument class AMS article and the language French
 In the editing window nothing is translated
 In the layout for both Postscrip and dvi  :
 Abstract is is correctly translated to Resume
 while Theorem, Definition, Remark ... are not translated
 
 Is there any mean to get al the headers translated ?
 

See http://www-spi.lip6.fr/~gureghia/LyX/Theoremes/ (it's in french)
Furthemore there is a dedicated french mailing list.

 
  |\  _,,,---,,_  Emmanuel GUREGHIAN 
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: AMS-article translation

2001-03-15 Thread Emmanuel GUREGHIAN

Dominique Lohez a écrit :
> 
> 
> I am a newcomer to lyx
> I want to write a report
> I choose the docaument class AMS article and the language French
> In the editing window nothing is translated
> In the layout for both Postscrip and dvi  :
> Abstract is is correctly translated to Resume
> while Theorem, Definition, Remark ... are not translated
> 
> Is there any mean to get al the headers translated ?
> 

See http://www-spi.lip6.fr/~gureghia/LyX/Theoremes/ (it's in french)
Furthemore there is a dedicated french mailing list.

 
  |\  _,,,---,,_  Emmanuel GUREGHIAN 
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: AMS article etc

1999-11-10 Thread Jean-Marc Lasgouttes

 "?" ==   " [EMAIL PROTECTED] writes:

? Speaking of keyboard accelerators for common math symbols: Does
? someone have a file at hand with shortcuts for \alpha, \beta,
? \gamma and so on? That would save me half an hour or so to create
? it myself. 

Did you try "M-m g a" for alpha?

By the way, how do you bind control chars to normal
? chars? E.g. I often type C-"-" instead of "_" (which is S-"-") and
? would like to bind it to the same thing. --

For math mode, you would have
\bind "C-minus" "math-insert -"

JMarc



Re: AMS article etc

1999-11-10 Thread Jean-Marc Lasgouttes

 "?" ==   " [EMAIL PROTECTED] writes:

? Speaking of keyboard accelerators for common math symbols: Does
? someone have a file at hand with shortcuts for \alpha, \beta,
? \gamma and so on? That would save me half an hour or so to create
? it myself. 

Did you try "M-m g a" for alpha?

By the way, how do you bind control chars to normal
? chars? E.g. I often type C-"-" instead of "_" (which is S-"-") and
? would like to bind it to the same thing. --

For math mode, you would have
\bind "C-minus" "math-insert -"

JMarc



Re: AMS article etc

1999-11-10 Thread Jean-Marc Lasgouttes

> "?" ==   <" <[EMAIL PROTECTED]>> writes:

?> Speaking of keyboard accelerators for common math symbols: Does
?> someone have a file at hand with shortcuts for \alpha, \beta,
?> \gamma and so on? That would save me half an hour or so to create
?> it myself. 

Did you try "M-m g a" for alpha?

By the way, how do you bind control chars to normal
?> chars? E.g. I often type C-"-" instead of "_" (which is S-"-") and
?> would like to bind it to the same thing. --

For math mode, you would have
\bind "C-minus" "math-insert -"

JMarc



Re: AMS article etc

1999-11-08 Thread Jean-Marc Lasgouttes

 "Daniel" == Daniel Seifert [EMAIL PROTECTED] writes:

Daniel Hi. I´ve now translated everything so that the PS output is in
Daniel German. I have some questions though.

Daniel First I notice that when a "Standard" text follows a
Daniel subsection/subsubsection, the text is not displayed below, but
Daniel rather next to the subsection title (= the linebreak is
Daniel missing). I find this very annoying, how can I fix that?

This is a design choice, as far as I know. There is therefore no
"fix" (someone who knows the ams classes better than I do might prove
me wrong, though).

Daniel Second, is there a way to bind "layouts" to keys? As I am
Daniel writing a quite long mathematical text with often changing
Daniel parts ("theorem", "proof", "definition") I spend too much time
Daniel grabbing the mouse and looking for the appropriate entry in
Daniel the popup list. I´d much more prefer to rather just press
Daniel F1...F10 or whatever.

Have a look at file lib/bind/menus.bind, around line 238. This will
show you what bindings exist and how they are defined. You can add
such commands to your lyxrc, like

\bind "F1" "layout Theorem"

Daniel And last, how can I enter using just the keyboard these
Daniel parentheses which resize according to their contents? In the
Daniel lyx and latex file they are called \( and \), but when
Daniel entering \( or \) I get parenthesis but only with a fixed
Daniel size?

\( and \) is certinly not what you want in LaTeX (they mean
enter-leave math mode). You probably mix them with \left(...\right).

Anyway, the right math shortcut is 'M-m ('.

Daniel It would also be nice if I could use the math panel just with
Daniel the keyboard. This, together with point 2, would make life
Daniel much easier.

Sure. The math panel needs some work.

JMarc



Re: AMS article etc

1999-11-08 Thread Jean-Marc Lasgouttes

 "Daniel" == Daniel Seifert [EMAIL PROTECTED] writes:

Daniel Hi. I´ve now translated everything so that the PS output is in
Daniel German. I have some questions though.

Daniel First I notice that when a "Standard" text follows a
Daniel subsection/subsubsection, the text is not displayed below, but
Daniel rather next to the subsection title (= the linebreak is
Daniel missing). I find this very annoying, how can I fix that?

This is a design choice, as far as I know. There is therefore no
"fix" (someone who knows the ams classes better than I do might prove
me wrong, though).

Daniel Second, is there a way to bind "layouts" to keys? As I am
Daniel writing a quite long mathematical text with often changing
Daniel parts ("theorem", "proof", "definition") I spend too much time
Daniel grabbing the mouse and looking for the appropriate entry in
Daniel the popup list. I´d much more prefer to rather just press
Daniel F1...F10 or whatever.

Have a look at file lib/bind/menus.bind, around line 238. This will
show you what bindings exist and how they are defined. You can add
such commands to your lyxrc, like

\bind "F1" "layout Theorem"

Daniel And last, how can I enter using just the keyboard these
Daniel parentheses which resize according to their contents? In the
Daniel lyx and latex file they are called \( and \), but when
Daniel entering \( or \) I get parenthesis but only with a fixed
Daniel size?

\( and \) is certinly not what you want in LaTeX (they mean
enter-leave math mode). You probably mix them with \left(...\right).

Anyway, the right math shortcut is 'M-m ('.

Daniel It would also be nice if I could use the math panel just with
Daniel the keyboard. This, together with point 2, would make life
Daniel much easier.

Sure. The math panel needs some work.

JMarc



Re: AMS article etc

1999-11-08 Thread Jean-Marc Lasgouttes

> "Daniel" == Daniel Seifert <[EMAIL PROTECTED]> writes:

Daniel> Hi. I´ve now translated everything so that the PS output is in
Daniel> German. I have some questions though.

Daniel> First I notice that when a "Standard" text follows a
Daniel> subsection/subsubsection, the text is not displayed below, but
Daniel> rather next to the subsection title (= the linebreak is
Daniel> missing). I find this very annoying, how can I fix that?

This is a design choice, as far as I know. There is therefore no
"fix" (someone who knows the ams classes better than I do might prove
me wrong, though).

Daniel> Second, is there a way to bind "layouts" to keys? As I am
Daniel> writing a quite long mathematical text with often changing
Daniel> parts ("theorem", "proof", "definition") I spend too much time
Daniel> grabbing the mouse and looking for the appropriate entry in
Daniel> the popup list. I´d much more prefer to rather just press
Daniel> F1...F10 or whatever.

Have a look at file lib/bind/menus.bind, around line 238. This will
show you what bindings exist and how they are defined. You can add
such commands to your lyxrc, like

\bind "F1" "layout Theorem"

Daniel> And last, how can I enter using just the keyboard these
Daniel> parentheses which resize according to their contents? In the
Daniel> lyx and latex file they are called \( and \), but when
Daniel> entering \( or \) I get parenthesis but only with a fixed
Daniel> size?

\( and \) is certinly not what you want in LaTeX (they mean
enter-leave math mode). You probably mix them with \left(...\right).

Anyway, the right math shortcut is 'M-m ('.

Daniel> It would also be nice if I could use the math panel just with
Daniel> the keyboard. This, together with point 2, would make life
Daniel> much easier.

Sure. The math panel needs some work.

JMarc