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




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

2017-10-03 Thread rls
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.
--
Ramez Labib Sami
Université Paris-Diderot
Paros, France



Re: Adding new French item in Lyx to the AMS article set

2013-11-06 Thread Laurent Dubief
Thanks Paul for your directions. I'll investigate that and come back then.





Re: Adding new French item in Lyx to the AMS article set

2013-11-06 Thread Laurent Dubief
Thanks Paul for your directions. I'll investigate that and come back then.





Re: Adding new French item in Lyx to the AMS article set

2013-11-06 Thread Laurent Dubief
Thanks Paul for your directions. I'll investigate that and come back then.





Adding new French item in Lyx to the AMS article set

2013-11-01 Thread Laurent Dubief
Hello all !

I wish I could add Application to the available section beside Théorème
(Theorem in English), Preuve(proof), ...

The style, in Lyx and in Latex, should be identical to Note(Fact in 
English).

What should I copy where to have the desired effect in both Lyx and Latex ? (I 
am a little confused by the different types of configuration files .module, 
.inc, .sty, etc. and by the cascade of definitions which must be meaningful 
and useful for some purpose.)

Where should I put it so that the modifications will survive in the case of an 
update ?

Thanks !



Re: Adding new French item in Lyx to the AMS article set

2013-11-01 Thread Paul A . Rubin
Assuming you intend instances of Application to be numbered, you could edit
some or all of the theorem-related modules, adding a new theorem type named
Application (along with a separate counter for it). The various
theorem-related modules differ partly in how large a variety of theorem-like
environments they provide (do they include Remark, Assumption, etc. or not?)
and how numbering is done (globally, within sections, within environment
types, ...). If you sometimes use one numbering system and sometimes
another, and if you want Application defined in all systems you use, you
will need to modify multiple modules.

On the other hand, if you just want a single heading available named
Application (no numbering, no special formatting of what follows, just
something analogous to Proof but without the end-of-proof mark), I would
suggest creating a brand new module for it. That way, you could combine that
module with any of the theorem-related modules.

However you handle it, you will want to put the modified file(s) in the
layouts directory under your personal LyX directory. Look in Help  About
LyX for your User directory (typically ~/.lyx on Linux); there will be a
layouts subdirectory under it. That will allow it to survive uninstall and
reinstall episodes.

For more details, refer to Help  Customization (chapter 5).

Paul






Adding new French item in Lyx to the AMS article set

2013-11-01 Thread Laurent Dubief
Hello all !

I wish I could add Application to the available section beside Théorème
(Theorem in English), Preuve(proof), ...

The style, in Lyx and in Latex, should be identical to Note(Fact in 
English).

What should I copy where to have the desired effect in both Lyx and Latex ? (I 
am a little confused by the different types of configuration files .module, 
.inc, .sty, etc. and by the cascade of definitions which must be meaningful 
and useful for some purpose.)

Where should I put it so that the modifications will survive in the case of an 
update ?

Thanks !



Re: Adding new French item in Lyx to the AMS article set

2013-11-01 Thread Paul A . Rubin
Assuming you intend instances of Application to be numbered, you could edit
some or all of the theorem-related modules, adding a new theorem type named
Application (along with a separate counter for it). The various
theorem-related modules differ partly in how large a variety of theorem-like
environments they provide (do they include Remark, Assumption, etc. or not?)
and how numbering is done (globally, within sections, within environment
types, ...). If you sometimes use one numbering system and sometimes
another, and if you want Application defined in all systems you use, you
will need to modify multiple modules.

On the other hand, if you just want a single heading available named
Application (no numbering, no special formatting of what follows, just
something analogous to Proof but without the end-of-proof mark), I would
suggest creating a brand new module for it. That way, you could combine that
module with any of the theorem-related modules.

However you handle it, you will want to put the modified file(s) in the
layouts directory under your personal LyX directory. Look in Help  About
LyX for your User directory (typically ~/.lyx on Linux); there will be a
layouts subdirectory under it. That will allow it to survive uninstall and
reinstall episodes.

For more details, refer to Help  Customization (chapter 5).

Paul






Adding new French item in Lyx to the AMS article set

2013-11-01 Thread Laurent Dubief
Hello all !

I wish I could add "Application" to the available section beside "Théorème"
(Theorem in English), "Preuve"(proof), ...

The style, in Lyx and in Latex, should be identical to "Note"(Fact in 
English).

What should I copy where to have the desired effect in both Lyx and Latex ? (I 
am a little confused by the different types of configuration files .module, 
.inc, .sty, etc. and by the cascade of definitions which must be meaningful 
and useful for some purpose.)

Where should I put it so that the modifications will survive in the case of an 
update ?

Thanks !



Re: Adding new French item in Lyx to the AMS article set

2013-11-01 Thread Paul A . Rubin
Assuming you intend instances of Application to be numbered, you could edit
some or all of the theorem-related modules, adding a new theorem type named
"Application" (along with a separate counter for it). The various
theorem-related modules differ partly in how large a variety of theorem-like
environments they provide (do they include Remark, Assumption, etc. or not?)
and how numbering is done (globally, within sections, within environment
types, ...). If you sometimes use one numbering system and sometimes
another, and if you want Application defined in all systems you use, you
will need to modify multiple modules.

On the other hand, if you just want a single heading available named
Application (no numbering, no special formatting of what follows, just
something analogous to Proof but without the end-of-proof mark), I would
suggest creating a brand new module for it. That way, you could combine that
module with any of the theorem-related modules.

However you handle it, you will want to put the modified file(s) in the
"layouts" directory under your personal LyX directory. Look in Help > About
LyX for your "User directory" (typically ~/.lyx on Linux); there will be a
"layouts" subdirectory under it. That will allow it to survive uninstall and
reinstall episodes.

For more details, refer to Help > Customization (chapter 5).

Paul






Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

 Neal Becker wrote:
 In ams article, if I don't put a \section, equations are numbered as 0.1,
 0.2, etc.  What can I do about that?
 
 
 The layout file is adding that (as well as the same convention for
 numbering figures) to the preamble.  There's a somewhat unhelpful
 comment in the layout file to comment those lines out if you don't want
 them -- the catch being that you cannot comment them out in the LyX doc;
 you would have to export to LaTeX and comment them out (or delete them)
 there.
 
 For the nonce, about the best suggestion I have is to hack the
 amsart.layout file, remove either or both lines, and save it -- assuming
 you *never* want to number within sections when using AMS article.
 
 Personally, I think the correct approach would be to omit those line
 from the layout file and make an optional module for those who do want
 numbering within sections.  You might want to file a bug report on this.
 
 /Paul
http://www.lyx.org/trac/ticket/6123




Re: Eq numbering in ams article

2009-08-06 Thread Paul A. Rubin

Neal Becker wrote:

Paul A. Rubin wrote:


Neal Becker wrote:

In ams article, if I don't put a \section, equations are numbered as 0.1,
0.2, etc.  What can I do about that?


The layout file is adding that (as well as the same convention for
numbering figures) to the preamble.  There's a somewhat unhelpful
comment in the layout file to comment those lines out if you don't want
them -- the catch being that you cannot comment them out in the LyX doc;
you would have to export to LaTeX and comment them out (or delete them)
there.

For the nonce, about the best suggestion I have is to hack the
amsart.layout file, remove either or both lines, and save it -- assuming
you *never* want to number within sections when using AMS article.

Personally, I think the correct approach would be to omit those line
from the layout file and make an optional module for those who do want
numbering within sections.  You might want to file a bug report on this.

/Paul

http://www.lyx.org/trac/ticket/6123



I've attached a hacked layout file and a couple of modules to the 
ticket.  If you have not already fixed this yourself, you can download 
them to your local layouts directory, then reconfigure/restart LyX.


/Paul



Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

 Neal Becker wrote:
 Paul A. Rubin wrote:
 
 Neal Becker wrote:
 In ams article, if I don't put a \section, equations are numbered as
 0.1,
 0.2, etc.  What can I do about that?

 The layout file is adding that (as well as the same convention for
 numbering figures) to the preamble.  There's a somewhat unhelpful
 comment in the layout file to comment those lines out if you don't want
 them -- the catch being that you cannot comment them out in the LyX doc;
 you would have to export to LaTeX and comment them out (or delete them)
 there.

 For the nonce, about the best suggestion I have is to hack the
 amsart.layout file, remove either or both lines, and save it -- assuming
 you *never* want to number within sections when using AMS article.

 Personally, I think the correct approach would be to omit those line
 from the layout file and make an optional module for those who do want
 numbering within sections.  You might want to file a bug report on this.

 /Paul
 http://www.lyx.org/trac/ticket/6123
 
 
 I've attached a hacked layout file and a couple of modules to the
 ticket.  If you have not already fixed this yourself, you can download
 them to your local layouts directory, then reconfigure/restart LyX.
 
 /Paul

Thanks!




Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

 Neal Becker wrote:
 In ams article, if I don't put a \section, equations are numbered as 0.1,
 0.2, etc.  What can I do about that?
 
 
 The layout file is adding that (as well as the same convention for
 numbering figures) to the preamble.  There's a somewhat unhelpful
 comment in the layout file to comment those lines out if you don't want
 them -- the catch being that you cannot comment them out in the LyX doc;
 you would have to export to LaTeX and comment them out (or delete them)
 there.
 
 For the nonce, about the best suggestion I have is to hack the
 amsart.layout file, remove either or both lines, and save it -- assuming
 you *never* want to number within sections when using AMS article.
 
 Personally, I think the correct approach would be to omit those line
 from the layout file and make an optional module for those who do want
 numbering within sections.  You might want to file a bug report on this.
 
 /Paul
http://www.lyx.org/trac/ticket/6123




Re: Eq numbering in ams article

2009-08-06 Thread Paul A. Rubin

Neal Becker wrote:

Paul A. Rubin wrote:


Neal Becker wrote:

In ams article, if I don't put a \section, equations are numbered as 0.1,
0.2, etc.  What can I do about that?


The layout file is adding that (as well as the same convention for
numbering figures) to the preamble.  There's a somewhat unhelpful
comment in the layout file to comment those lines out if you don't want
them -- the catch being that you cannot comment them out in the LyX doc;
you would have to export to LaTeX and comment them out (or delete them)
there.

For the nonce, about the best suggestion I have is to hack the
amsart.layout file, remove either or both lines, and save it -- assuming
you *never* want to number within sections when using AMS article.

Personally, I think the correct approach would be to omit those line
from the layout file and make an optional module for those who do want
numbering within sections.  You might want to file a bug report on this.

/Paul

http://www.lyx.org/trac/ticket/6123



I've attached a hacked layout file and a couple of modules to the 
ticket.  If you have not already fixed this yourself, you can download 
them to your local layouts directory, then reconfigure/restart LyX.


/Paul



Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

 Neal Becker wrote:
 Paul A. Rubin wrote:
 
 Neal Becker wrote:
 In ams article, if I don't put a \section, equations are numbered as
 0.1,
 0.2, etc.  What can I do about that?

 The layout file is adding that (as well as the same convention for
 numbering figures) to the preamble.  There's a somewhat unhelpful
 comment in the layout file to comment those lines out if you don't want
 them -- the catch being that you cannot comment them out in the LyX doc;
 you would have to export to LaTeX and comment them out (or delete them)
 there.

 For the nonce, about the best suggestion I have is to hack the
 amsart.layout file, remove either or both lines, and save it -- assuming
 you *never* want to number within sections when using AMS article.

 Personally, I think the correct approach would be to omit those line
 from the layout file and make an optional module for those who do want
 numbering within sections.  You might want to file a bug report on this.

 /Paul
 http://www.lyx.org/trac/ticket/6123
 
 
 I've attached a hacked layout file and a couple of modules to the
 ticket.  If you have not already fixed this yourself, you can download
 them to your local layouts directory, then reconfigure/restart LyX.
 
 /Paul

Thanks!




Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

> Neal Becker wrote:
>> In ams article, if I don't put a \section, equations are numbered as 0.1,
>> 0.2, etc.  What can I do about that?
>> 
> 
> The layout file is adding that (as well as the same convention for
> numbering figures) to the preamble.  There's a somewhat unhelpful
> comment in the layout file to comment those lines out if you don't want
> them -- the catch being that you cannot comment them out in the LyX doc;
> you would have to export to LaTeX and comment them out (or delete them)
> there.
> 
> For the nonce, about the best suggestion I have is to hack the
> amsart.layout file, remove either or both lines, and save it -- assuming
> you *never* want to number within sections when using AMS article.
> 
> Personally, I think the correct approach would be to omit those line
> from the layout file and make an optional module for those who do want
> numbering within sections.  You might want to file a bug report on this.
> 
> /Paul
http://www.lyx.org/trac/ticket/6123




Re: Eq numbering in ams article

2009-08-06 Thread Paul A. Rubin

Neal Becker wrote:

Paul A. Rubin wrote:


Neal Becker wrote:

In ams article, if I don't put a \section, equations are numbered as 0.1,
0.2, etc.  What can I do about that?


The layout file is adding that (as well as the same convention for
numbering figures) to the preamble.  There's a somewhat unhelpful
comment in the layout file to comment those lines out if you don't want
them -- the catch being that you cannot comment them out in the LyX doc;
you would have to export to LaTeX and comment them out (or delete them)
there.

For the nonce, about the best suggestion I have is to hack the
amsart.layout file, remove either or both lines, and save it -- assuming
you *never* want to number within sections when using AMS article.

Personally, I think the correct approach would be to omit those line
from the layout file and make an optional module for those who do want
numbering within sections.  You might want to file a bug report on this.

/Paul

http://www.lyx.org/trac/ticket/6123



I've attached a hacked layout file and a couple of modules to the 
ticket.  If you have not already fixed this yourself, you can download 
them to your local layouts directory, then reconfigure/restart LyX.


/Paul



Re: Eq numbering in ams article

2009-08-06 Thread Neal Becker
Paul A. Rubin wrote:

> Neal Becker wrote:
>> Paul A. Rubin wrote:
>> 
>>> Neal Becker wrote:
>>>> In ams article, if I don't put a \section, equations are numbered as
>>>> 0.1,
>>>> 0.2, etc.  What can I do about that?
>>>>
>>> The layout file is adding that (as well as the same convention for
>>> numbering figures) to the preamble.  There's a somewhat unhelpful
>>> comment in the layout file to comment those lines out if you don't want
>>> them -- the catch being that you cannot comment them out in the LyX doc;
>>> you would have to export to LaTeX and comment them out (or delete them)
>>> there.
>>>
>>> For the nonce, about the best suggestion I have is to hack the
>>> amsart.layout file, remove either or both lines, and save it -- assuming
>>> you *never* want to number within sections when using AMS article.
>>>
>>> Personally, I think the correct approach would be to omit those line
>>> from the layout file and make an optional module for those who do want
>>> numbering within sections.  You might want to file a bug report on this.
>>>
>>> /Paul
>> http://www.lyx.org/trac/ticket/6123
>> 
> 
> I've attached a hacked layout file and a couple of modules to the
> ticket.  If you have not already fixed this yourself, you can download
> them to your local layouts directory, then reconfigure/restart LyX.
> 
> /Paul

Thanks!




Eq numbering in ams article

2009-08-05 Thread Neal Becker
In ams article, if I don't put a \section, equations are numbered as 0.1, 
0.2, etc.  What can I do about that?




Re: Eq numbering in ams article

2009-08-05 Thread Paul A. Rubin

Neal Becker wrote:
In ams article, if I don't put a \section, equations are numbered as 0.1, 
0.2, etc.  What can I do about that?




The layout file is adding that (as well as the same convention for 
numbering figures) to the preamble.  There's a somewhat unhelpful 
comment in the layout file to comment those lines out if you don't want 
them -- the catch being that you cannot comment them out in the LyX doc; 
you would have to export to LaTeX and comment them out (or delete them) 
there.


For the nonce, about the best suggestion I have is to hack the 
amsart.layout file, remove either or both lines, and save it -- assuming 
you *never* want to number within sections when using AMS article.


Personally, I think the correct approach would be to omit those line 
from the layout file and make an optional module for those who do want 
numbering within sections.  You might want to file a bug report on this.


/Paul



Eq numbering in ams article

2009-08-05 Thread Neal Becker
In ams article, if I don't put a \section, equations are numbered as 0.1, 
0.2, etc.  What can I do about that?




Re: Eq numbering in ams article

2009-08-05 Thread Paul A. Rubin

Neal Becker wrote:
In ams article, if I don't put a \section, equations are numbered as 0.1, 
0.2, etc.  What can I do about that?




The layout file is adding that (as well as the same convention for 
numbering figures) to the preamble.  There's a somewhat unhelpful 
comment in the layout file to comment those lines out if you don't want 
them -- the catch being that you cannot comment them out in the LyX doc; 
you would have to export to LaTeX and comment them out (or delete them) 
there.


For the nonce, about the best suggestion I have is to hack the 
amsart.layout file, remove either or both lines, and save it -- assuming 
you *never* want to number within sections when using AMS article.


Personally, I think the correct approach would be to omit those line 
from the layout file and make an optional module for those who do want 
numbering within sections.  You might want to file a bug report on this.


/Paul



Eq numbering in ams article

2009-08-05 Thread Neal Becker
In ams article, if I don't put a \section, equations are numbered as 0.1, 
0.2, etc.  What can I do about that?




Re: Eq numbering in ams article

2009-08-05 Thread Paul A. Rubin

Neal Becker wrote:
In ams article, if I don't put a \section, equations are numbered as 0.1, 
0.2, etc.  What can I do about that?




The layout file is adding that (as well as the same convention for 
numbering figures) to the preamble.  There's a somewhat unhelpful 
comment in the layout file to comment those lines out if you don't want 
them -- the catch being that you cannot comment them out in the LyX doc; 
you would have to export to LaTeX and comment them out (or delete them) 
there.


For the nonce, about the best suggestion I have is to hack the 
amsart.layout file, remove either or both lines, and save it -- assuming 
you *never* want to number within sections when using AMS article.


Personally, I think the correct approach would be to omit those line 
from the layout file and make an optional module for those who do want 
numbering within sections.  You might want to file a bug report on this.


/Paul



AMS article and sequential numbering

2009-02-17 Thread A S
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?

Best regards,
Alex


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



AMS article and sequential numbering

2009-02-17 Thread A S
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?

Best regards,
Alex


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



AMS article and sequential numbering

2009-02-17 Thread A S
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?

Best regards,
Alex


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








  




  




AMS article

2008-04-06 Thread Julio Rojas
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?

-- 
-
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]


AMS article

2008-04-06 Thread Julio Rojas
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?

-- 
-
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]


AMS article

2008-04-06 Thread Julio Rojas
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?

-- 
-
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]


what happened to AMS article in 1.5.2?

2007-11-09 Thread Srinivas Nedunuri
I used to have no problem setting my documents to “article (AMS)” but with
1.5.2  I get an error message saying that the AMS article class layout isn’t
usable, probably because a latex class is missing. I would check for the
missing class if I knew where to look. How does Lyx know where to find
Latex? Also, I heard there’s something you have to do to update MikTex or
something.


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.26/1120 - Release Date: 11/9/2007
9:26 AM
 


Re: what happened to AMS article in 1.5.2?

2007-11-09 Thread Paul A. Rubin

Srinivas Nedunuri wrote:

I used to have no problem setting my documents to “article (AMS)” but with
1.5.2  I get an error message saying that the AMS article class layout isn’t
usable, probably because a latex class is missing. I would check for the
missing class if I knew where to look.


At a DOS prompt, run 'kpsewhich amsart.cls'.  It should tell you the 
path to the AMS article class (such as C:/Program Files/MiKTeX 
2.6/tex/latex/amscls/amsart.cls).


How does Lyx know where to find Latex? 


It expects the LaTeX (in this case MikTeX) bin directory to be on either 
you system command path or the the LyX path prefix (Tools - Preferences 
- Paths - PATH prefix).  If it's not, article (AMS) won't be the only 
problem; you won't be able to use any classes, and probably won't be 
able to open the help files.



Also, I heard there’s something you have to do to update MikTex or
something.


I doubt you would need to update MikTeX to use the latest AMS layouts, 
but it's generally a good idea to run MikTeX's update manager periodically.


If kpsewhich finds the AMS article class file, check lyx 
root\Resources\layouts and make sure that amsart.layout is there.  If 
so, maybe try to reconfigure and restart LyX.


/Paul



what happened to AMS article in 1.5.2?

2007-11-09 Thread Srinivas Nedunuri
I used to have no problem setting my documents to “article (AMS)” but with
1.5.2  I get an error message saying that the AMS article class layout isn’t
usable, probably because a latex class is missing. I would check for the
missing class if I knew where to look. How does Lyx know where to find
Latex? Also, I heard there’s something you have to do to update MikTex or
something.


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.26/1120 - Release Date: 11/9/2007
9:26 AM
 


Re: what happened to AMS article in 1.5.2?

2007-11-09 Thread Paul A. Rubin

Srinivas Nedunuri wrote:

I used to have no problem setting my documents to “article (AMS)” but with
1.5.2  I get an error message saying that the AMS article class layout isn’t
usable, probably because a latex class is missing. I would check for the
missing class if I knew where to look.


At a DOS prompt, run 'kpsewhich amsart.cls'.  It should tell you the 
path to the AMS article class (such as C:/Program Files/MiKTeX 
2.6/tex/latex/amscls/amsart.cls).


How does Lyx know where to find Latex? 


It expects the LaTeX (in this case MikTeX) bin directory to be on either 
you system command path or the the LyX path prefix (Tools - Preferences 
- Paths - PATH prefix).  If it's not, article (AMS) won't be the only 
problem; you won't be able to use any classes, and probably won't be 
able to open the help files.



Also, I heard there’s something you have to do to update MikTex or
something.


I doubt you would need to update MikTeX to use the latest AMS layouts, 
but it's generally a good idea to run MikTeX's update manager periodically.


If kpsewhich finds the AMS article class file, check lyx 
root\Resources\layouts and make sure that amsart.layout is there.  If 
so, maybe try to reconfigure and restart LyX.


/Paul



what happened to AMS article in 1.5.2?

2007-11-09 Thread Srinivas Nedunuri
I used to have no problem setting my documents to “article (AMS)” but with
1.5.2  I get an error message saying that the AMS article class layout isn’t
usable, probably because a latex class is missing. I would check for the
missing class if I knew where to look. How does Lyx know where to find
Latex? Also, I heard there’s something you have to do to update MikTex or
something.


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.26/1120 - Release Date: 11/9/2007
9:26 AM
 


Re: what happened to AMS article in 1.5.2?

2007-11-09 Thread Paul A. Rubin

Srinivas Nedunuri wrote:

I used to have no problem setting my documents to “article (AMS)” but with
1.5.2  I get an error message saying that the AMS article class layout isn’t
usable, probably because a latex class is missing. I would check for the
missing class if I knew where to look.


At a DOS prompt, run 'kpsewhich amsart.cls'.  It should tell you the 
path to the AMS article class (such as C:/Program Files/MiKTeX 
2.6/tex/latex/amscls/amsart.cls).


How does Lyx know where to find Latex? 


It expects the LaTeX (in this case MikTeX) bin directory to be on either 
you system command path or the the LyX path prefix (Tools -> Preferences 
-> Paths -> PATH prefix).  If it's not, article (AMS) won't be the only 
problem; you won't be able to use any classes, and probably won't be 
able to open the help files.



Also, I heard there’s something you have to do to update MikTex or
something.


I doubt you would need to update MikTeX to use the latest AMS layouts, 
but it's generally a good idea to run MikTeX's update manager periodically.


If kpsewhich finds the AMS article class file, check root>\Resources\layouts and make sure that amsart.layout is there.  If 
so, maybe try to reconfigure and restart LyX.


/Paul



Only paragraph*, no paragraph in ams article?

2007-09-10 Thread Neal Becker
Is it intentional that there is paragraph*, but not paragraph in ams
article?



Only paragraph*, no paragraph in ams article?

2007-09-10 Thread Neal Becker
Is it intentional that there is paragraph*, but not paragraph in ams
article?



Only paragraph*, no paragraph in ams article?

2007-09-10 Thread Neal Becker
Is it intentional that there is paragraph*, but not paragraph in ams
article?



Re: Contiguous definitions in AMS article

2006-12-08 Thread Paul A. Rubin

David L. Johnson wrote:

On Thu, 7 Dec 2006 14:49:13 -0800
Adrian Robson [EMAIL PROTECTED] wrote:


I want two successive numbered definitions (using the definition environment) 
in an AMS article.  Lyx, however, insists on consolidating them into a single 
definition.  If I force some standard text between the two, then everything 
works fine, but this is an awkward workaround. Does anyone know a btter way to 
do this?


I always put a % in ERT (change to standard mode) between them.  No need to
change what you write to accomodate the software



In fact, the ERT can be left empty.

/Paul




Re: Contiguous definitions in AMS article

2006-12-08 Thread Paul A. Rubin

David L. Johnson wrote:

On Thu, 7 Dec 2006 14:49:13 -0800
Adrian Robson [EMAIL PROTECTED] wrote:


I want two successive numbered definitions (using the definition environment) 
in an AMS article.  Lyx, however, insists on consolidating them into a single 
definition.  If I force some standard text between the two, then everything 
works fine, but this is an awkward workaround. Does anyone know a btter way to 
do this?


I always put a % in ERT (change to standard mode) between them.  No need to
change what you write to accomodate the software



In fact, the ERT can be left empty.

/Paul




Re: Contiguous definitions in AMS article

2006-12-08 Thread Paul A. Rubin

David L. Johnson wrote:

On Thu, 7 Dec 2006 14:49:13 -0800
"Adrian Robson" <[EMAIL PROTECTED]> wrote:


I want two successive numbered definitions (using the definition environment) 
in an AMS article.  Lyx, however, insists on consolidating them into a single 
definition.  If I force some standard text between the two, then everything 
works fine, but this is an awkward workaround. Does anyone know a btter way to 
do this?


I always put a % in ERT (change to standard mode) between them.  No need to
change what you write to accomodate the software



In fact, the ERT can be left empty.

/Paul




Contiguous definitions in AMS article

2006-12-07 Thread Adrian Robson
I want two successive numbered definitions (using the definition environment) 
in an AMS article.  Lyx, however, insists on consolidating them into a single 
definition.  If I force some standard text between the two, then everything 
works fine, but this is an awkward workaround. Does anyone know a btter way to 
do this?

Re: Contiguous definitions in AMS article

2006-12-07 Thread Richard Heck
You can just put some ERT there, too. Even a LaTeX comment: %whatever.

It's true that there should be a better way.

Richard

Adrian Robson wrote:
 I want two successive numbered definitions (using the definition environment) 
 in an AMS article.  Lyx, however, insists on consolidating them into a single 
 definition.  If I force some standard text between the two, then everything 
 works fine, but this is an awkward workaround. Does anyone know a btter way 
 to do this?
   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Contiguous definitions in AMS article

2006-12-07 Thread David L. Johnson
On Thu, 7 Dec 2006 14:49:13 -0800
Adrian Robson [EMAIL PROTECTED] wrote:

 I want two successive numbered definitions (using the definition environment) 
 in an AMS article.  Lyx, however, insists on consolidating them into a single 
 definition.  If I force some standard text between the two, then everything 
 works fine, but this is an awkward workaround. Does anyone know a btter way 
 to do this?

I always put a % in ERT (change to standard mode) between them.  No need to
change what you write to accomodate the software

-- 

David L. Johnson

   __o   | It is a scientifically proven fact that a mid life crisis can
 _`\(,_  | only be cured by something racy and Italian.  Bianchis and
(_)/ (_) | Colnagos are a lot cheaper than Maserattis and Ferraris.  --
   Glenn Davies  


Contiguous definitions in AMS article

2006-12-07 Thread Adrian Robson
I want two successive numbered definitions (using the definition environment) 
in an AMS article.  Lyx, however, insists on consolidating them into a single 
definition.  If I force some standard text between the two, then everything 
works fine, but this is an awkward workaround. Does anyone know a btter way to 
do this?

Re: Contiguous definitions in AMS article

2006-12-07 Thread Richard Heck
You can just put some ERT there, too. Even a LaTeX comment: %whatever.

It's true that there should be a better way.

Richard

Adrian Robson wrote:
 I want two successive numbered definitions (using the definition environment) 
 in an AMS article.  Lyx, however, insists on consolidating them into a single 
 definition.  If I force some standard text between the two, then everything 
 works fine, but this is an awkward workaround. Does anyone know a btter way 
 to do this?
   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Contiguous definitions in AMS article

2006-12-07 Thread David L. Johnson
On Thu, 7 Dec 2006 14:49:13 -0800
Adrian Robson [EMAIL PROTECTED] wrote:

 I want two successive numbered definitions (using the definition environment) 
 in an AMS article.  Lyx, however, insists on consolidating them into a single 
 definition.  If I force some standard text between the two, then everything 
 works fine, but this is an awkward workaround. Does anyone know a btter way 
 to do this?

I always put a % in ERT (change to standard mode) between them.  No need to
change what you write to accomodate the software

-- 

David L. Johnson

   __o   | It is a scientifically proven fact that a mid life crisis can
 _`\(,_  | only be cured by something racy and Italian.  Bianchis and
(_)/ (_) | Colnagos are a lot cheaper than Maserattis and Ferraris.  --
   Glenn Davies  


Contiguous definitions in AMS article

2006-12-07 Thread Adrian Robson
I want two successive numbered definitions (using the definition environment) 
in an AMS article.  Lyx, however, insists on consolidating them into a single 
definition.  If I force some standard text between the two, then everything 
works fine, but this is an awkward workaround. Does anyone know a btter way to 
do this?

Re: Contiguous definitions in AMS article

2006-12-07 Thread Richard Heck
You can just put some ERT there, too. Even a LaTeX comment: %whatever.

It's true that there should be a better way.

Richard

Adrian Robson wrote:
> I want two successive numbered definitions (using the definition environment) 
> in an AMS article.  Lyx, however, insists on consolidating them into a single 
> definition.  If I force some standard text between the two, then everything 
> works fine, but this is an awkward workaround. Does anyone know a btter way 
> to do this?
>   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Contiguous definitions in AMS article

2006-12-07 Thread David L. Johnson
On Thu, 7 Dec 2006 14:49:13 -0800
"Adrian Robson" <[EMAIL PROTECTED]> wrote:

> I want two successive numbered definitions (using the definition environment) 
> in an AMS article.  Lyx, however, insists on consolidating them into a single 
> definition.  If I force some standard text between the two, then everything 
> works fine, but this is an awkward workaround. Does anyone know a btter way 
> to do this?

I always put a % in ERT (change to standard mode) between them.  No need to
change what you write to accomodate the software

-- 

David L. Johnson

   __o   | It is a scientifically proven fact that a mid life crisis can
 _`\(,_  | only be cured by something racy and Italian.  Bianchis and
(_)/ (_) | Colnagos are a lot cheaper than Maserattis and Ferraris.  --
   Glenn Davies  


Re: problems wiht AMS article

2006-12-01 Thread Jean-Marc Lasgouttes
 Marcelo == Marcelo Acuña [EMAIL PROTECTED] writes:

Marcelo Hello, I am writing a work in mathematics with AMS article. I
Marcelo put \usepackage[spanish]{babel} in preamble. In main screen
Marcelo in Lyx all OK. Appears Corolario instead Corollary, Teorema
Marcelo instead Theorem, etc. But in output all titles appears in
Marcelo English. How I can get titles in Spanish?

This is unfortunately something that does not work yet:

* LaTeX/babel itself does not provide such translations. It would be
  reasonable to have a \corollaryname macro that we can use for the
  definition of the environment, but alas it does not exist.

* LyX does not have a mechanism to translate some strings in its macro
  definitions. Note that it would not be very easy to do.

JMarc


Re: problems wiht AMS article

2006-12-01 Thread Jean-Marc Lasgouttes
 Marcelo == Marcelo Acuña [EMAIL PROTECTED] writes:

Marcelo Hello, I am writing a work in mathematics with AMS article. I
Marcelo put \usepackage[spanish]{babel} in preamble. In main screen
Marcelo in Lyx all OK. Appears Corolario instead Corollary, Teorema
Marcelo instead Theorem, etc. But in output all titles appears in
Marcelo English. How I can get titles in Spanish?

This is unfortunately something that does not work yet:

* LaTeX/babel itself does not provide such translations. It would be
  reasonable to have a \corollaryname macro that we can use for the
  definition of the environment, but alas it does not exist.

* LyX does not have a mechanism to translate some strings in its macro
  definitions. Note that it would not be very easy to do.

JMarc


Re: problems wiht AMS article

2006-12-01 Thread Jean-Marc Lasgouttes
>>>>> "Marcelo" == Marcelo Acuña <[EMAIL PROTECTED]> writes:

Marcelo> Hello, I am writing a work in mathematics with AMS article. I
Marcelo> put \usepackage[spanish]{babel} in preamble. In main screen
Marcelo> in Lyx all OK. Appears Corolario instead Corollary, Teorema
Marcelo> instead Theorem, etc. But in output all titles appears in
Marcelo> English. How I can get titles in Spanish?

This is unfortunately something that does not work yet:

* LaTeX/babel itself does not provide such translations. It would be
  reasonable to have a \corollaryname macro that we can use for the
  definition of the environment, but alas it does not exist.

* LyX does not have a mechanism to translate some strings in its macro
  definitions. Note that it would not be very easy to do.

JMarc


problems wiht AMS article

2006-11-30 Thread Marcelo Acuña
Hello,
 I am writing a work in mathematics with AMS article.
 I put \usepackage[spanish]{babel} in preamble.
 In main screen in Lyx all OK.
 Appears Corolario instead Corollary, Teorema instead Theorem, etc.
 But in output all titles appears in English.
 How I can get titles in Spanish?

 Thanks
 Marcelo


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


problems wiht AMS article

2006-11-30 Thread Marcelo Acuña
Hello,
 I am writing a work in mathematics with AMS article.
 I put \usepackage[spanish]{babel} in preamble.
 In main screen in Lyx all OK.
 Appears Corolario instead Corollary, Teorema instead Theorem, etc.
 But in output all titles appears in English.
 How I can get titles in Spanish?

 Thanks
 Marcelo


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


problems wiht AMS article

2006-11-30 Thread Marcelo Acuña
Hello,
 I am writing a work in mathematics with AMS article.
 I put \usepackage[spanish]{babel} in preamble.
 In main screen in Lyx all OK.
 Appears Corolario instead Corollary, Teorema instead Theorem, etc.
 But in output all titles appears in English.
 How I can get titles in Spanish?

 Thanks
 Marcelo


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


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).  


ams article defect

2006-11-15 Thread Neal Becker
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




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.  
(_)/ (_) | 
   


  1   2   >