Thanks for the detailed explanation Jurgen, I look forward to using it :-)

This new layout infrastructure actually would justify a new new major
release.

Abdel.



On Tue, Nov 27, 2012 at 1:51 PM, Jürgen Spitzmüller <sp...@lyx.org> wrote:

> Abdelrazak Younes wrote:
> > Hi Jurgen,
> >
> > I am not sure I understand your recent work but can this be used to
> improve
> > the beamer layouts?
>
> Yes, and actually this was one of my main motivations.
>
> I have already a reworked beamer layout with most overlay insets
> implemented
> (as in \section<article>{text} or \only<2->{text}). It's attached for
> information.
>
> However, this requires a file format change, since the inset order changes.
> Richard reported that he intends to make lyx2lyx convert our known layout
> format to the correct argument number instead of delegating the
> calculation to
> the inset. I'll wait for that, since this will make the beamer
> transformation
> much easier.
>
> > Recently I wanted to use program listing and I had to use a module I
> found
> > in the wiki that adds the [fragile] keywords to the bearmer frame. So my
> > question is can we use your work to tag a frame as fragile?
>
> Not yet, but I plan to implement a proper frame environment and get rid of
> the
> lyxframe, lyxframeend (and all other lyx-specific hacks) in the layout.
>
> My rough plan is to implement a new layout style (say Frame_Environment),
> that
> will
>
> * directly use the paragraph content as a mandatory argument (as in
> \begin{frame}{par content} and \begin{block}{par content})
>
> * by default nest consecutive paragraphs (with a nested standard paragraph
> as
> default if you hit Enter in a Frame paragraph; two consecutive Enters get
> you
> out of the frame, same as in list nestings)
>
> * separate consecutive frame paragraphs without the need of a "separator".
>
> Effectively, this should result in a hack-less LaTeX code without any
> limitations wrt beamer use, but also without any drawbacks in LyX usage
> (one
> of the disadvantages of the proposed module).
>
> Jürgen
>
> > Thanks,
> > Abdel.
>

Reply via email to