END-OF-FRAME, once again..

Daniel xracoonx at gmx.de
Wed Oct 27 15:02:50 UTC 2021


On 27/10/2021 15:38, Virgil Arrington wrote:
> I just happened to notice with my own MWE that the LyX compiler doesn’t 
> count slides that don’t have Frame environment titles.
> 
> So, even with the End-of-Frame markers, I’ve noticed two things that 
> make a Frame environment necessary. First, without it, I’m unable to 
> nest subsequent paragraphs on the frame and second, without it, the 
> slide doesn’t get numbered in the presentation.
> 
> Virgil

Good idea. I did not consider this before.

However, if you look at the LaTeX source code, you see that the last two 
are not actually frames, i.e. the content is not in a frame environment. 
Separators are general, i.e. they do not say what kind of environment 
they separate. One always needs a frame environment to create a "proper" 
frame.

Actually, in your case, the separator has only the function that they 
begin a new paragraph (rather than a new frame). But this can also be 
achieved by just starting a new line. You can actually remove the last 
two separators and it will look exactly the same. The frames are only 
broken at the paragraph breaks.

Furthermore, even if one needs a separator in certain cases, this 
doesn't mean that the other cases couldn't be better handled without.

Daniel



More information about the lyx-users mailing list