=\alert{bold text}=. To revert this back to the old behaviour, you
can you a filter like this:
#+begin_src emacs-lisp :eval no
-(defun my-beamer-bold (contents backend info)
- (when (eq backend 'beamer)
- (replace-regexp-in-string "\\`\\\\[A-Za-z0-9]+" "\\\\textbf" contents)))
+ (defun my-beamer-bold (contents backend info)
- (if (not (eq backend 'beamer)) contents
++ (when (eq backend 'beamer)
+ (replace-regexp-in-string "\\`\\\\[A-Za-z0-9]+" "\\\\textbf" contents)))
-(add-to-list 'org-export-filter-bold-functions 'my-beamer-bold)
+ (add-to-list 'org-export-filter-bold-functions 'my-beamer-bold)
#+end_src
Another example would be to translate +strike through text+ to
=\structure{strike through text}= with the following filter.
#+begin_src emacs-lisp :eval no
-(defun my-beamer-structure (contents backend info)
- (when (eq backend 'beamer)
- (replace-regexp-in-string "\\`\\\\[A-Za-z0-9]+" "\\\\structure" contents)))
+ (defun my-beamer-structure (contents backend info)
- (if (not (eq backend 'beamer)) contents
++ (when (eq backend 'beamer)
+ (replace-regexp-in-string "\\`\\\\[A-Za-z0-9]+" "\\\\structure" contents)))
-(add-to-list 'org-export-filter-strike-through-functions 'my-beamer-structure)
+ (add-to-list 'org-export-filter-strike-through-functions 'my-beamer-structure)
#+end_src
* Structure editing, environments and markup