Re: Continuation of lists across beamer frames

2022-03-16 Thread Dr Eberhard Lisse via lyx-users

enumerate-resume?

el

On 15/03/2022 16:22, markhsalmon via lyx-users wrote:

Hi,
  I have tried everything I know without success and asked tis question on 
other fora without a result- simple question how do I continue an existing say 
numbered list onto a new Beamer frame/slide please? Thanks

Decision making is about predicting counterfactuals





--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Continuation of lists across beamer frames

2022-03-15 Thread Herbert Voss via lyx-users



Am 15.03.22 um 21:48 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 15:29, Herbert Voss via lyx-users wrote:



Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such 
a common issue - at least for me- every lecture pack I produce has 
this problem perhaps every 5 slides so its really driving me round 
the bend. I just leave the environment behind by default and 
manually add the next number  but it looks cheap and nasty. Why 
can’t there be an option to restart previous numbering? I seem to 
remember that option exists in scientific word so it must be 
possible to implement this as a very simple click choice? I have 
been pointed to the ERT route before but this is really a cry to 
the developers of Lyx. Thanks again Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. 
You just have to add the "Beamer Resumable Enumerate" module and 
then choose "Enumerate-Resume" rather than "Enumerate" from the 
environment selection list.


using package enumitem, defining an own list

\newlist{myEnum}{enumerate}{3}
\setlist{myEnum}{resume}

putting it into a LyX layout and you can use the new list myEnum 
which always

has a continuing counter.

Herbert
Is enumitem compatible with Beamer? The Beamer layout forbids the 
enumitem module.


Ah, yes. I forgot ot. But is no problem to define it without enumitem!

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Continuation of lists across beamer frames

2022-03-15 Thread Scott Kostyshak via lyx-users
On Tue, Mar 15, 2022 at 04:48:10PM -0400, Paul A. Rubin via lyx-users wrote:
> On 3/15/22 15:29, Herbert Voss via lyx-users wrote:
> > 
> > 
> > Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:
> > > On 3/15/22 13:07, markhsalmon wrote:
> > > > Thank you Paul, I really appreciate your response but this is
> > > > such a common issue - at least for me- every lecture pack I
> > > > produce has this problem perhaps every 5 slides so its really
> > > > driving me round the bend. I just leave the environment behind
> > > > by default and manually add the next number  but it looks cheap
> > > > and nasty. Why can’t there be an option to restart previous
> > > > numbering? I seem to remember that option exists in scientific
> > > > word so it must be possible to implement this as a very simple
> > > > click choice? I have been pointed to the ERT route before but
> > > > this is really a cry to the developers of Lyx. Thanks again
> > > > Paul.
> > > > Cheers,
> > > > Mark
> > > > 
> > > > Decision making is about predicting counterfactuals
> > > > 
> > > > 
> > > My bad. I forgot that one of the devs (Jürgen?) already created a
> > > workaround in the form of a module. I've attached a different MWE.
> > > You just have to add the "Beamer Resumable Enumerate" module and
> > > then choose "Enumerate-Resume" rather than "Enumerate" from the
> > > environment selection list.
> > 
> > using package enumitem, defining an own list
> > 
> > \newlist{myEnum}{enumerate}{3}
> > \setlist{myEnum}{resume}
> > 
> > putting it into a LyX layout and you can use the new list myEnum which
> > always
> > has a continuing counter.
> > 
> > Herbert
> Is enumitem compatible with Beamer? The Beamer layout forbids the enumitem
> module.

I think you're right that there's conflicts:

  https://github.com/josephwright/beamer/issues/342

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Continuation of lists across beamer frames

2022-03-15 Thread Paul A. Rubin via lyx-users

On 3/15/22 15:29, Herbert Voss via lyx-users wrote:



Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such a 
common issue - at least for me- every lecture pack I produce has 
this problem perhaps every 5 slides so its really driving me round 
the bend. I just leave the environment behind by default and 
manually add the next number  but it looks cheap and nasty. Why 
can’t there be an option to restart previous numbering? I seem to 
remember that option exists in scientific word so it must be 
possible to implement this as a very simple click choice? I have 
been pointed to the ERT route before but this is really a cry to the 
developers of Lyx. Thanks again Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. 
You just have to add the "Beamer Resumable Enumerate" module and then 
choose "Enumerate-Resume" rather than "Enumerate" from the 
environment selection list.


using package enumitem, defining an own list

\newlist{myEnum}{enumerate}{3}
\setlist{myEnum}{resume}

putting it into a LyX layout and you can use the new list myEnum which 
always

has a continuing counter.

Herbert
Is enumitem compatible with Beamer? The Beamer layout forbids the 
enumitem module.


Also, to correct myself, it was Günter Milde that wrote the enumitem module.

Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Continuation of lists across beamer frames

2022-03-15 Thread Herbert Voss via lyx-users



Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such a 
common issue - at least for me- every lecture pack I produce has this 
problem perhaps every 5 slides so its really driving me round the 
bend. I just leave the environment behind by default and manually add 
the next number  but it looks cheap and nasty. Why can’t there be an 
option to restart previous numbering? I seem to remember that option 
exists in scientific word so it must be possible to implement this as 
a very simple click choice? I have been pointed to the ERT route 
before but this is really a cry to the developers of Lyx. Thanks 
again Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. You 
just have to add the "Beamer Resumable Enumerate" module and then 
choose "Enumerate-Resume" rather than "Enumerate" from the environment 
selection list.


using package enumitem, defining an own list

\newlist{myEnum}{enumerate}{3}
\setlist{myEnum}{resume}

putting it into a LyX layout and you can use the new list myEnum which 
always

has a continuing counter.

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Continuation of lists across beamer frames

2022-03-15 Thread Paul A. Rubin via lyx-users

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such a 
common issue - at least for me- every lecture pack I produce has this 
problem perhaps every 5 slides so its really driving me round the 
bend. I just leave the environment behind by default and manually add 
the next number  but it looks cheap and nasty. Why can’t there be an 
option to restart previous numbering? I seem to remember that option 
exists in scientific word so it must be possible to implement this as 
a very simple click choice? I have been pointed to the ERT route 
before but this is really a cry to the developers of Lyx. Thanks again 
Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. You 
just have to add the "Beamer Resumable Enumerate" module and then choose 
"Enumerate-Resume" rather than "Enumerate" from the environment 
selection list.


Paul

PS: Please bottom-post to make threads more readable.

newfile1.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Continuation of lists across beamer frames

2022-03-15 Thread markhsalmon via lyx-users
Thank you Paul, I really appreciate your response but this is such a common issue - at least for me- every lecture pack I produce has this problem perhaps every 5 slides so its really driving me round the bend. I just leave the environment behind by default and manually add the next number  but it looks cheap and nasty. Why can’t there be an option to restart previous numbering? I seem to remember that option exists in scientific word so it must be possible to implement this as a very simple click choice? I have been pointed to the ERT route before but this is really a cry to the developers of Lyx. Thanks again Paul.Cheers,MarkDecision making is about predicting counterfactualsOn 15 Mar 2022, at 16:08, Paul A. Rubin via lyx-users  wrote:
  

  
  
On 3/15/22 10:22, markhsalmon via
  lyx-users wrote:


  
  Hi,
   I have tried everything I know without success and asked tis
question on other fora without a result- simple question how do
I continue an existing say numbered list onto a new Beamer
frame/slide please? Thanks


  Decision making is about predicting
counterfactuals

  
  
  

There may be a more elegant way, but the attached MWE shows a clunky
way to continue a numbered list across a frame boundary. It requires
creating a new counter (in the document preamble) and using ERT to
(a) copy the last item count from the first slide into the new
counter, (b) copy it back into the item counter after the first item
of the second slide and (c) increment it to account for the first
item of the second slide. It also requires that you set the item
number for the first item of the second slide manually. So, as I
said, it is clunky.
  



newfile1.lyx
Description: Binary data
-- lyx-users mailing listlyx-users@lists.lyx.orghttp://lists.lyx.org/mailman/listinfo/lyx-users-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Continuation of lists across beamer frames

2022-03-15 Thread Paul A. Rubin via lyx-users

On 3/15/22 10:22, markhsalmon via lyx-users wrote:

Hi,
 I have tried everything I know without success and asked tis question 
on other fora without a result- simple question how do I continue an 
existing say numbered list onto a new Beamer frame/slide please? Thanks


Decision making is about predicting counterfactuals


There may be a more elegant way, but the attached MWE shows a clunky way 
to continue a numbered list across a frame boundary. It requires 
creating a new counter (in the document preamble) and using ERT to (a) 
copy the last item count from the first slide into the new counter, (b) 
copy it back into the item counter after the first item of the second 
slide and (c) increment it to account for the first item of the second 
slide. It also requires that you set the item number for the first item 
of the second slide manually. So, as I said, it is clunky.

newfile1.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Continuation of lists across beamer frames

2022-03-15 Thread markhsalmon via lyx-users
Hi,
 I have tried everything I know without success and asked tis question on other 
fora without a result- simple question how do I continue an existing say 
numbered list onto a new Beamer frame/slide please? Thanks

Decision making is about predicting counterfactuals-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users