From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: [org-beamer] \alert Date: Tue, 26 Jan 2010 16:22:27 +0000 Message-ID: <87k4v4omyk.wl%ucecesf@ucl.ac.uk> References: <871vhffhf8.fsf@gmx.ch> <87pr4y1me5.wl%ucecesf@ucl.ac.uk> <877hr4zz0s.fsf@mundaneum.com> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZpLB-0008OD-8w for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:36:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZpL6-0008I4-6A for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:36:36 -0500 Received: from [199.232.76.173] (port=35904 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZpL4-0008HW-FP for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:36:30 -0500 Received: from mx20.gnu.org ([199.232.41.8]:5823) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZpL2-0000hU-Jy for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:36:30 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZpKj-0006Kw-Bq for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:36:09 -0500 In-Reply-To: <877hr4zz0s.fsf@mundaneum.com> 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: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban Cc: emacs-orgmode@gnu.org At Tue, 26 Jan 2010 16:06:27 +0100, S=C3=A9bastien Vauban wrote: > Eric S Fraga wrote: > > At 24 Jan 2010 20:10:03 +0100, > > Sven Bretfeld wrote: > >>=20 > >> Is there any Symbol in org-beamer for \alert{Text}? In presentations \= alert [...] > > org-export-latex-emphasis-alist (quote=20 > > (("*" "\\textbf{%s}" nil) > > ("/" "\\emph{%s}" nil)=20 > > ("_" "\\underline{%s}" nil) > > ("+" "\\texttt{%s}" nil) > > ("=3D" "\\verb=3D%s=3D" nil) > > ("~" "\\verb~%s~" t) > > ("@" "\\alert{%s}" nil)))) > > >=20 > That's what I'm using as well, but the problem is that it's not compatible > anymore with non-beamer LaTeX, the alert macro being unknown. Very true. I've never thought about this as my presentations are for presentation only etc. However, it would definitely be nice to have a more general solution. > Would there be a way to conditionally translate @...@ to alert (if beamer= ) or > to emph (if not-beamer), so that we can still easily compile a document t= o one > or the other LaTeX "back-end", without having to customize variables in E= macs, > prior to a compilation to the other "back-end"? The alist structure doesn't allow for embedded lisp code, as far as I can tell. It would obviously be easier if this structure could be evaluated on the fly. > I must admit I do not have clear specifications on how to tell Org about = such > a config... The only suggestion I can come up with would be to modify this variable using, for instance, the org-export-later-after-initial-vars-hook? eric