From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: latex export and beamer columns Date: Tue, 24 Nov 2009 09:59:20 +0100 Message-ID: <8C1EA010-04C9-49C1-9F7F-5F0AB12EF4D0@gmail.com> References: <876394m49f.wl%ucecesf@ucl.ac.uk> <3CB39269-FB18-4155-AF32-00F6B46F8061@gmail.com> <878wdylpw5.wl%ucecesf@ucl.ac.uk> <876392lhfh.wl%ucecesf@ucl.ac.uk> <87hbsklwfa.wl%ucecesf@ucl.ac.uk> <87iqd09uju.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCrFB-0007Ys-ST for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 03:59:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCrF7-0007RP-9K for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 03:59:29 -0500 Received: from [199.232.76.173] (port=51458 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCrF7-0007RF-2m for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 03:59:25 -0500 Received: from mail-bw0-f223.google.com ([209.85.218.223]:57167) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCrF6-0000vx-MO for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 03:59:24 -0500 Received: by bwz23 with SMTP id 23so5812061bwz.9 for ; Tue, 24 Nov 2009 00:59:23 -0800 (PST) In-Reply-To: <87iqd09uju.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: org-mode mailing list Hi Eric, On Nov 24, 2009, at 9:49 AM, Eric S Fraga wrote: > Carsten, > > I've thought of one more thing that would be useful in an org to > beamer exporter: beamer has the \alert{} command for highlighting text > in a slide. It would be nice to have one or other of the *text* or > /text/ constructs in org translate to \alert{text}. I can, of course, > type \alert{text} directly in the org file but this is less appealing. > > I thought of redefining textbf to be alert but this screws up the rest > of beamer (e.g. it uses \textbf for slide headings depending on the > style used). Hmm, I think one would still like to be able to make text bold and italic as well? So I don't think one should use * or /. How about the exclamation mark? I guess the easiest would be to add to the two variables org-emphasis- alist and org-export-emphasis-alist. To the former your could add (maybe use other HTML tags) ("!" org-warning "" "") and to the latter ("!" "\\alert{%s}" nil) You might have to restart Emacs before these work. HTH - Carsten