Hi Loris,
I don't know beamer enough to propose an elegant solution. Nonetheless I
have ideas what might go wrong here.
Am 29.11.18 um 08:17 schrieb Loris Bennett:
>> #+latex_header:
>> \makeatletter\let\mytextheight\beamer@frametexheight\makeatother
>> #+attr_latex: :height 0.75\mytextheight
First, \let copies the at-the-moment-of-definition version of
\beamer@frametexheight to \mytextheight. This happens in the preamble.
I expect beamer to set up things like frame height at the begin of the
document (exactly the \begin{document} line), not earlier. Thus at the
point of that \let, that length isn't what you want yet.
Solution to this:
#+begin_export latex
\makeatletter...
#+end_export
Second, \let creates a macro whereas it then is used as a length for the
figure. I doubt that is possible.
If that's the reason, you might try
#+begin_export latex
\newlength\mytextheight
\makeatletter
\setlength\mytextheight{\beamer@frametexheight}
\makeatother
#+end_export
Perhaps this gives you a starting point to further play with it.
HTH,
Julius