From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Org-beamer problems Date: Fri, 21 Jan 2011 20:54:37 +0000 Message-ID: <87aaiu2d0y.fsf@pinto.chemeng.ucl.ac.uk> References: <87wrm06ebv.fsf@ucl.ac.uk> <87d3ns6jlv.fsf@ucl.ac.uk> <87lj2ersne.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=53224 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgO0J-0000KE-7q for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 15:54:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgO0H-000534-OV for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 15:54:43 -0500 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:42990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgO0H-00052s-Iy for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 15:54:41 -0500 In-Reply-To: <87lj2ersne.fsf@gmail.com> (Henri-Paul Indiogine's message of "Fri, 21 Jan 2011 10:57:57 -0800") 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: hindiogine@gmail.com Cc: emacs-orgmode@gnu.org Henri-Paul Indiogine writes: > Hi Eric! > > Eric S Fraga writes: >> Regarding the @ problem, where and how do you make the settings. As I >> have said on this list recently, I find that I have to set the variables >> concerned *before* I load org (through =(require 'org-install)=) or >> otherwise the regular expressions that use these variables are >> initialised incorrectly (I believe this is the root cause of the >> problem). > > I am not getting this. Sorry for being dense. Here is the relevant > code from my .emacs > > ;; > ;; BEGIN org-mode > ;; > (setq org-export-latex-emphasis-alist (quote > (("*" "\\textbf{%s}" nil) > ("/" "\\emph{%s}" nil) > ("_" "\\underline{%s}" nil) > ("+" "\\texttt{%s}" nil) > ("=" "\\verb=%s=" nil) > ("~" "\\verb~%s~" t) > ("@" "\\alert{%s}" nil)))) You need to also set =org-emphasis-alist=. I have: --8<---------------cut here---------------start------------->8--- (setq org-emphasis-alist (quote (("*" bold "" "") ("/" italic "" "") ("_" underline "" "") ("=" org-code "" "" verbatim) ("~" org-verbatim "" "" verbatim) ("+" (:strike-through t) "" "") ("@" org-warning "" ""))) org-export-latex-emphasis-alist (quote (("*" "\\textbf{%s}" nil) ("/" "\\emph{%s}" nil) ("_" "\\underline{%s}" nil) ("+" "\\texttt{%s}" nil) ("=" "\\verb=%s=" nil) ("~" "\\verb~%s~" t) ("@" "\\alert{%s}" nil))) ) --8<---------------cut here---------------end--------------->8--- Try that and let us know how it goes. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879)