Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Cesko Voeten
I had tried article already and it didn't have what I needed, but article
(KOMA) does. Thanks, I'm a happy user now! :-)

2012/4/30 Jürgen Spitzmüller 

> 2012/4/29 Cesko Voeten:
> > I really need to use the paper document class (I actually am writing a
> paper
> > and the other classes kind of suck for my purposes), but losing the
> ability
> > to use examples isn't worth it.
>
> Contrary to what the name implies, the paper class is rather exotic. I
> would recommend article or even more article (KOMA) for papers. Is
> there anything specific in the paper class you cannot find in article?
>
> Jürgen
>


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Jürgen Spitzmüller
2012/4/29 Cesko Voeten:
> I really need to use the paper document class (I actually am writing a paper
> and the other classes kind of suck for my purposes), but losing the ability
> to use examples isn't worth it.

Contrary to what the name implies, the paper class is rather exotic. I
would recommend article or even more article (KOMA) for papers. Is
there anything specific in the paper class you cannot find in article?

Jürgen


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-29 Thread Cesko Voeten
2012/4/29 Jürgen Spitzmüller 

> 2012/4/29 Cesko Voeten :
> > ! LaTeX Error: Command \example already defined.
> >Or name \end... illegal, see p.192 of the manual.
> >
> > followed by a bunch more errors.
>
> I suspect the problem here is that the class you are using (paper.cls)
> defines an example environment, and covington.sty tries to define
> another one, which triggers the error.
>
> The easiest solution is to use another class (such as article). Do you
> have to use paper.cls?
>
> Jürgen
>

Ah, thank you! You are right - using a different document class fixes the
problem :-)

I really need to use the paper document class (I actually am writing a
paper and the other classes kind of suck for my purposes), but losing the
ability to use examples isn't worth it.

Thanks for pointing me to the problem.


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-29 Thread Jürgen Spitzmüller
2012/4/29 Cesko Voeten :
> ! LaTeX Error: Command \example already defined.
>                Or name \end... illegal, see p.192 of the manual.
>
> followed by a bunch more errors.

I suspect the problem here is that the class you are using (paper.cls)
defines an example environment, and covington.sty tries to define
another one, which triggers the error.

The easiest solution is to use another class (such as article). Do you
have to use paper.cls?

Jürgen


Newbie needs some help with covington: 'command \example already defined'

2012-04-29 Thread Cesko Voeten
Hello!

I'm very new to LaTeX, but as a linguist I am becoming more dependent on it
every day. However, my only very basic knowledge of LaTeX is preventing me
from solving this simple problem.

As a linguist, I included the Linguistics module in LyX. Now I have these
new 'Example' options in the top-left drop-down box, that I use for
selecting the style of a particular line. However, this 'Example' option
(which I need to use at this moment) isn't working! When I add an example,
LaTeX gives me the following error when I try to preview the file:

! LaTeX Error: Command \example already defined.
   Or name \end... illegal, see p.192 of the manual.

followed by a bunch more errors.

It appears that the problem is inside covington.sty, as that's the last
file mentioned before latex bails out.

I can export the LyX-generated LaTeX into an ordinary .tex file, which
reads:

%% LyX 2.0.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[dutch]{paper}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{covington}
\usepackage{babel}
\begin{document}
\begin{example}
test\end{example}

\end{document}

which is rejected by latex with the same error.

I'm using LyX version 2.0.3 on a Gentoo Linux system.

Can anyone help me with this problem? Searching the mailing list has
pointed to a conflict with the Theorem module, but as I don't use it
anywhere in my document I'm at a loss as to what's going on.

Thanks so much!