On Thu, Feb 01 2024, Ihor Radchenko wrote: > Leo Butler writes: > >> Replying to self: Attached is a patch that adds a property, >> BEAMER_FRAME, that lets the frame environment name be set on a >> frame-by-frame basis. In addition, it typesets any fragile frame in the >> `orgframe' environment. I am not sure if the latter is really needed, >> given the former. > > Thanks! > >> Comments? > > I am not a big fan of introducing a new BEAMER_FRAME option. > We already have BEAMER_ENV. > > However, BEAMER_ENV is somewhat tricky for frame headings - ox-beamer > allows special values of frame and fullframe (the latter is not fully > documented) to allow frames nesting different from > `org-beamer-frame-level'. I experimented with BEAMER_ENV, but my impression is that that the code for extracting a label is quite brittle. I may re-visit this option, but not at this time. > > What about not adding BEAMER_FRAME, but instead adding org-lint checker > that will detect when frame text contains the problematic \end{orgframe}? Ok, thanks for your feedback. I have modified the patch along the lines you suggested. It is attached. Best, Leo