How to turn off babel?

2003-08-23 Thread Diab Jerius
I'm using the SPIE class file (v 2.8) of 16 July 2003.  It's redefining
the reference citation macros in such a way that they collide with
babel, causing failed runs. The error messages vary, depending upon
the age of the TeX distribution. On Debian testing/unstable, I get:

! Missing \endcsname inserted.
to be read again 
   \mathsurround 
l.13 ...s presented in \cite{2000SPIE.4012...17J}.


This is not a LyX bug.  In the short run however, (i.e. paper was due
two months ago, must have it in by next Tuesday) I need to turn babel
off in the LyX output.

Is there any way of doing this?  There's no language=none option that
I could find.

I'm using 1.3.2, xforms.

Thanks!

Diab
-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: How to turn off babel?

2003-08-23 Thread Christian Ridderström
On Sat, 23 Aug 2003, Diab Jerius wrote:

 Is there any way of doing this?  There's no language=none option that
 I could find.

Hopefully there's a way to do this from LyX, but...

if you get desperate, you can try this as a last resort:
* export as LaTeX
* manually remove the babel-code from the .tex-file
* compile manually

/Christian


-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: How to turn off babel?

2003-08-23 Thread Diab Jerius
On 23 Aug, Christian Ridderström wrote:
 On Sat, 23 Aug 2003, Diab Jerius wrote:
 
 Is there any way of doing this?  There's no language=none option that
 I could find.
 
 Hopefully there's a way to do this from LyX, but...
 
 if you get desperate, you can try this as a last resort:
   * export as LaTeX
   * manually remove the babel-code from the .tex-file
   * compile manually

Oh, I am that desperate; that's actually how I tracked this down, as
other LaTeX only papers were working.  The problem is that since LaTeX
dies with an error, I can't preview the paper.

I've just discovered that I can temporarily insert natbib; that seems to
override things enough so it'll work. I don't get the approved look to
the in-text references, but as you point out, manual intevention before
the final output will do the trick.

Thanks,
Diab
-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: How to turn off babel?

2003-08-23 Thread Herbert Voß
Diab Jerius schrieb:

Is there any way of doing this?  There's no language=none option that
I could find.
xforms: edit-preferences-language
qt: tools-preferences-language
clear the entry \usepackage{babel}

Herbert




Re: How to turn off babel?

2003-08-23 Thread Herbert Voss
Diab Jerius schrieb:

xforms: edit-preferences-language
qt: tools-preferences-language
clear the entry \usepackage{babel}



Thanks! that does the trick. I was looking under
Layout-Document-Language.
Philosophically,  I'd prefer this to be a document preference, rather
than a general preference. In particular, the saved document is no longer
self-contained.  In a year when I use it as a template for my next
paper, I'm sure I'll be asking the exact same question!
yes, this is not a good behaviour of LyX ...

Herbert




Re: How to turn off babel?

2003-08-23 Thread Dekel Tsur
On Sat, Aug 23, 2003 at 09:47:47AM -0400, Diab Jerius wrote:
 I'm using the SPIE class file (v 2.8) of 16 July 2003.  It's redefining
 the reference citation macros in such a way that they collide with
 babel, causing failed runs. The error messages vary, depending upon
 the age of the TeX distribution. On Debian testing/unstable, I get:
 
 ! Missing \endcsname inserted.
 to be read again 
\mathsurround 
 l.13 ...s presented in \cite{2000SPIE.4012...17J}.
 
 
 This is not a LyX bug.  In the short run however, (i.e. paper was due
 two months ago, must have it in by next Tuesday) I need to turn babel
 off in the LyX output.
 
 Is there any way of doing this?  There's no language=none option that
 I could find.

Uncheck the Preferences-Language-use babel button, and make sure that
the language of the document is equal to the default language in the
preferences dialog.


How to turn off babel?

2003-08-23 Thread Diab Jerius
I'm using the SPIE class file (v 2.8) of 16 July 2003.  It's redefining
the reference citation macros in such a way that they collide with
babel, causing failed runs. The error messages vary, depending upon
the age of the TeX distribution. On Debian testing/unstable, I get:

! Missing \endcsname inserted.
to be read again 
   \mathsurround 
l.13 ...s presented in \cite{2000SPIE.4012...17J}.


This is not a LyX bug.  In the short run however, (i.e. paper was due
two months ago, must have it in by next Tuesday) I need to turn babel
off in the LyX output.

Is there any way of doing this?  There's no language=none option that
I could find.

I'm using 1.3.2, xforms.

Thanks!

Diab
-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: How to turn off babel?

2003-08-23 Thread Christian Ridderström
On Sat, 23 Aug 2003, Diab Jerius wrote:

 Is there any way of doing this?  There's no language=none option that
 I could find.

Hopefully there's a way to do this from LyX, but...

if you get desperate, you can try this as a last resort:
* export as LaTeX
* manually remove the babel-code from the .tex-file
* compile manually

/Christian


-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: How to turn off babel?

2003-08-23 Thread Diab Jerius
On 23 Aug, Christian Ridderström wrote:
 On Sat, 23 Aug 2003, Diab Jerius wrote:
 
 Is there any way of doing this?  There's no language=none option that
 I could find.
 
 Hopefully there's a way to do this from LyX, but...
 
 if you get desperate, you can try this as a last resort:
   * export as LaTeX
   * manually remove the babel-code from the .tex-file
   * compile manually

Oh, I am that desperate; that's actually how I tracked this down, as
other LaTeX only papers were working.  The problem is that since LaTeX
dies with an error, I can't preview the paper.

I've just discovered that I can temporarily insert natbib; that seems to
override things enough so it'll work. I don't get the approved look to
the in-text references, but as you point out, manual intevention before
the final output will do the trick.

Thanks,
Diab
-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: How to turn off babel?

2003-08-23 Thread Herbert Voß
Diab Jerius schrieb:

Is there any way of doing this?  There's no language=none option that
I could find.
xforms: edit-preferences-language
qt: tools-preferences-language
clear the entry \usepackage{babel}

Herbert




Re: How to turn off babel?

2003-08-23 Thread Herbert Voss
Diab Jerius schrieb:

xforms: edit-preferences-language
qt: tools-preferences-language
clear the entry \usepackage{babel}



Thanks! that does the trick. I was looking under
Layout-Document-Language.
Philosophically,  I'd prefer this to be a document preference, rather
than a general preference. In particular, the saved document is no longer
self-contained.  In a year when I use it as a template for my next
paper, I'm sure I'll be asking the exact same question!
yes, this is not a good behaviour of LyX ...

Herbert




Re: How to turn off babel?

2003-08-23 Thread Dekel Tsur
On Sat, Aug 23, 2003 at 09:47:47AM -0400, Diab Jerius wrote:
 I'm using the SPIE class file (v 2.8) of 16 July 2003.  It's redefining
 the reference citation macros in such a way that they collide with
 babel, causing failed runs. The error messages vary, depending upon
 the age of the TeX distribution. On Debian testing/unstable, I get:
 
 ! Missing \endcsname inserted.
 to be read again 
\mathsurround 
 l.13 ...s presented in \cite{2000SPIE.4012...17J}.
 
 
 This is not a LyX bug.  In the short run however, (i.e. paper was due
 two months ago, must have it in by next Tuesday) I need to turn babel
 off in the LyX output.
 
 Is there any way of doing this?  There's no language=none option that
 I could find.

Uncheck the Preferences-Language-use babel button, and make sure that
the language of the document is equal to the default language in the
preferences dialog.


How to turn off babel?

2003-08-23 Thread Diab Jerius
I'm using the SPIE class file (v 2.8) of 16 July 2003.  It's redefining
the reference citation macros in such a way that they collide with
babel, causing failed runs. The error messages vary, depending upon
the age of the TeX distribution. On Debian testing/unstable, I get:

! Missing \endcsname inserted.
 
   \mathsurround 
l.13 ...s presented in \cite{2000SPIE.4012...17J}.


This is not a LyX bug.  In the short run however, (i.e. paper was due
two months ago, must have it in by next Tuesday) I need to turn babel
off in the LyX output.

Is there any way of doing this?  There's no language=none option that
I could find.

I'm using 1.3.2, xforms.

Thanks!

Diab
-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: How to turn off babel?

2003-08-23 Thread Christian Ridderström
On Sat, 23 Aug 2003, Diab Jerius wrote:

> Is there any way of doing this?  There's no language=none option that
> I could find.

Hopefully there's a way to do this from LyX, but...

if you get desperate, you can try this as a last resort:
* export as LaTeX
* manually remove the babel-code from the .tex-file
* compile manually

/Christian


-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: How to turn off babel?

2003-08-23 Thread Diab Jerius
On 23 Aug, Christian Ridderström wrote:
> On Sat, 23 Aug 2003, Diab Jerius wrote:
> 
>> Is there any way of doing this?  There's no language=none option that
>> I could find.
> 
> Hopefully there's a way to do this from LyX, but...
> 
> if you get desperate, you can try this as a last resort:
>   * export as LaTeX
>   * manually remove the babel-code from the .tex-file
>   * compile manually

Oh, I am that desperate; that's actually how I tracked this down, as
other LaTeX only papers were working.  The problem is that since LaTeX
dies with an error, I can't preview the paper.

I've just discovered that I can temporarily insert natbib; that seems to
override things enough so it'll work. I don't get the approved look to
the in-text references, but as you point out, manual intevention before
the final output will do the trick.

Thanks,
Diab
-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: How to turn off babel?

2003-08-23 Thread Herbert Voß
Diab Jerius schrieb:

Is there any way of doing this?  There's no language=none option that
I could find.
xforms: edit->preferences->language
qt: tools->preferences->language
clear the entry \usepackage{babel}

Herbert




Re: How to turn off babel?

2003-08-23 Thread Herbert Voss
Diab Jerius schrieb:

xforms: edit->preferences->language
qt: tools->preferences->language
clear the entry \usepackage{babel}



Thanks! that does the trick. I was looking under
Layout->Document->Language.
Philosophically,  I'd prefer this to be a document preference, rather
than a general preference. In particular, the saved document is no longer
self-contained.  In a year when I use it as a template for my next
paper, I'm sure I'll be asking the exact same question!
yes, this is not a good behaviour of LyX ...

Herbert




Re: How to turn off babel?

2003-08-23 Thread Dekel Tsur
On Sat, Aug 23, 2003 at 09:47:47AM -0400, Diab Jerius wrote:
> I'm using the SPIE class file (v 2.8) of 16 July 2003.  It's redefining
> the reference citation macros in such a way that they collide with
> babel, causing failed runs. The error messages vary, depending upon
> the age of the TeX distribution. On Debian testing/unstable, I get:
> 
> ! Missing \endcsname inserted.
>  
>\mathsurround 
> l.13 ...s presented in \cite{2000SPIE.4012...17J}.
> 
> 
> This is not a LyX bug.  In the short run however, (i.e. paper was due
> two months ago, must have it in by next Tuesday) I need to turn babel
> off in the LyX output.
> 
> Is there any way of doing this?  There's no language=none option that
> I could find.

Uncheck the "Preferences->Language->use babel" button, and make sure that
the language of the document is equal to the "default language" in the
preferences dialog.