The case of \begin{frame} when importing latex beamer class files

Hello,

TeXmacs is really amazing when importing .tex files.
I’ve imported “classic” class files flawlessly.

The Latex beamer class seems a bit more tricky with each \begin{frame} …\end{frame}
Note that TeXmacs is smart enough to do what it is supposed to do: make a frame (i.e a box) but not a slide.


Is there a way to fool the frame macro of TeXmacs ?

Have a nice day.
Thanks.

My impression is that the import filter should be rewritten, because a redefinition of frame is not enough (it seems to me) to get the Beamer LaTeX frame to behave, after the file is imported, like TeXmacs slides: all of the frames needs to become arguments of the slides tag, which you do not achieve by redefining the frame macro.
This is in my opinion worth reporting as a bug.

I have also seen that exporting a simple TeXmacs beamer presentation to LaTeX and then importing it back results in something quite different from the “starting point”, which at first sight depends on how TeXmacs translates the “slide” concept into LaTeX.

Done, thanks for the advice !
https://savannah.gnu.org/bugs/index.php?60366