patch: adding alertenv (and other friends) for beamer layout

Scott Kostyshak skostysh at lyx.org
Sun Nov 6 16:25:15 UTC 2022


On Sun, Nov 06, 2022 at 03:46:50PM +0000, José Matos wrote:
> On Sun, 2022-11-06 at 10:20 -0500, Scott Kostyshak wrote:
> > And also every time I come across something like this, I wonder if we
> > can generalize the process of converting a new layout to ERT for
> > older formats. i.e., I just want to put a one-liner with "alertenv",
> > and I want lyx2lyx to talk to LyX and say "hey you're good at
> > outputting LaTeX, can you convert this inset to ERT for me please?"
> > That's trickier than it seems though, and I'm not even sure if there
> > would be agreement to have lyx2lyx depend on the LyX binary anyway.
> 
> This is an academic discussion at this time of the development, and I
> still need to complete a work to given to my students tomorrow. :-)

The solution is obvious: assign this problem as homework to your students! :)


\begin_layout Off Topic

Having a small kid in the house who loves animals helped me realize I
need to find an alternative to the expression "to kill 2 birds with 1
stone". However, I don't like any of these:
https://english.stackexchange.com/a/312439
I wonder if other languages have a more friendly (and commonly used)
expression for this.

\end_layout


> I suspect that the issue is to have lyx2lyx to talk with tex2lyx and
> not necessarily to the lyx binary.

I'm intrigued. I definitely did not consider that.

> To complicate matters further, the issue is to determine what is the
> right context to pass, just the ERT or more, and if this should at sup-
> paragraph or at paragraph level.

I see, indeed it's not simple.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221106/c43c7bd6/attachment-0001.asc>


More information about the lyx-devel mailing list