Re: Beamer/Covington conflict

2018-10-09 Thread Jürgen Spitzmüller
Am Mi., 3. Okt. 2018 um 08:42 Uhr schrieb Jürgen Spitzmüller :

> Am Di., 2. Okt. 2018 um 21:01 Uhr schrieb Maria Gouskova <
> gousk...@gmail.com>:
>
>> Thanks, Juergen! I upgraded covington to the newer version, and now
>> Beamer works well, but Beamer-Article still throws an error...
>>
>
> I see. The problem here is that covington is loaded before beamerarticle
> whereas it should be loaded after that. I have to think about a solution
> (it's difficult).
>

I just submitted a fix to master which will hopefully also go to 2.3.2.

For now, you can work around the issue as follows (modifying the
beamer-article document):

1. In Document > Settings > Local Layout, insert this:

Provides covington 1


Style Numbered_Example_(multiline)

Preamble

EndPreamble

End


Style Numbered_Examples_(consecutive)

Preamble

EndPreamble

End



2. In Document > Settings > LaTeX Preamble, insert:


\usepackage{covington}


Note further that your example uses Title layout (rather than Standard) in
the paragraph that has the Include inset. This will not compile unless you
switch back to Standard.

I have attached your example file with the above modifications (I also set
the fonts to "Default" since I don't have the fonts you selected installed).

HTH,
Jürgen


beamer_cov_conflict_article.lyx
Description: application/lyx


Re: Beamer/Covington conflict

2018-10-03 Thread Jürgen Spitzmüller
Am Di., 2. Okt. 2018 um 21:01 Uhr schrieb Maria Gouskova :

> Thanks, Juergen! I upgraded covington to the newer version, and now Beamer
> works well, but Beamer-Article still throws an error...
>

I see. The problem here is that covington is loaded before beamerarticle
whereas it should be loaded after that. I have to think about a solution
(it's difficult).

Jürgen


Re: Beamer/Covington conflict

2018-10-02 Thread Maria Gouskova
On Tue, Oct 2, 2018 at 2:20 AM Jürgen Spitzmüller  wrote:

> Am Montag, den 01.10.2018, 19:41 -0400 schrieb Maria Gouskova:
> > Dear LyX users,
> >
> > I am using Beamer with the Linguistics module loaded, and I'd like to
> > use Covington numbering inside the presentations (as well as the
> > handout, beamer-article style). There appears to be a conflict
> > between the \example and \examples environments in Beamer and the
> > Linguistics module (covington.sty) environments by the same name. Is
> > there an elegant way to resolve this in LyX?
>
> You seem to be using an old version of covington. This issue should be
> fixed as of covington 1.1 (2016-06-06). The linguistics module uses the
> disambiguated environment covexample[s] as of LyX 2.3.
>

Thanks, Juergen! I upgraded covington to the newer version, and now Beamer
works well, but Beamer-Article still throws an error...

Maria


>
> Jürgen
>
> > By the way, this is more of an issue in the beamer file than in the
> > beamer-article file--the presentation doesn't even compile past the
> > title slide, whereas beamer-article displays the numbered example
> > content after throwing a bunch of errors.
> >
> > Minimal example attached.
> >
> > I am using LyX 2.3.0 on Linux Mint/Deb (the most recent version
> > available in that ppa that's being discussed in the other thread).
> >
> >
>


Re: Beamer/Covington conflict

2018-10-02 Thread Jürgen Spitzmüller
Am Montag, den 01.10.2018, 19:41 -0400 schrieb Maria Gouskova:
> Dear LyX users,
> 
> I am using Beamer with the Linguistics module loaded, and I'd like to
> use Covington numbering inside the presentations (as well as the
> handout, beamer-article style). There appears to be a conflict
> between the \example and \examples environments in Beamer and the
> Linguistics module (covington.sty) environments by the same name. Is
> there an elegant way to resolve this in LyX?

You seem to be using an old version of covington. This issue should be
fixed as of covington 1.1 (2016-06-06). The linguistics module uses the
disambiguated environment covexample[s] as of LyX 2.3.

Jürgen

> By the way, this is more of an issue in the beamer file than in the
> beamer-article file--the presentation doesn't even compile past the
> title slide, whereas beamer-article displays the numbered example
> content after throwing a bunch of errors. 
> 
> Minimal example attached. 
> 
> I am using LyX 2.3.0 on Linux Mint/Deb (the most recent version
> available in that ppa that's being discussed in the other thread). 
> 
> 


signature.asc
Description: This is a digitally signed message part


Beamer/Covington conflict

2018-10-01 Thread Maria Gouskova
Dear LyX users,

I am using Beamer with the Linguistics module loaded, and I'd like to use
Covington numbering inside the presentations (as well as the handout,
beamer-article style). There appears to be a conflict between the \example
and \examples environments in Beamer and the Linguistics module
(covington.sty) environments by the same name. Is there an elegant way to
resolve this in LyX?

By the way, this is more of an issue in the beamer file than in the
beamer-article file--the presentation doesn't even compile past the title
slide, whereas beamer-article displays the numbered example content after
throwing a bunch of errors.

Minimal example attached.

I am using LyX 2.3.0 on Linux Mint/Deb (the most recent version available
in that ppa that's being discussed in the other thread).


beamer_cov_conflict_article.lyx
Description: application/lyx


beamer_cov_conflict.lyx
Description: application/lyx