From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gaurav Sharma Subject: Org Mode Latex Export Customization of org-export-latex-emphasis-alist Date: Sun, 27 Jun 2010 20:04:31 -0400 Message-ID: Reply-To: gsharma@ece.rochester.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=41864 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OT1py-00040u-DN for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 20:04:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OT1px-00005r-8k for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 20:04:34 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:59161) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OT1px-00005m-6c for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 20:04:33 -0400 Received: by gwj18 with SMTP id 18so92519gwj.0 for ; Sun, 27 Jun 2010 17:04:32 -0700 (PDT) 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: emacs-orgmode@gnu.org Hello! I am a relative newbie to Org even though Emacs has been my editor of choice for a long time. I'm trying to customize the org-export-latex-emphasis-alist by using the following in my .emacs (setq org-export-latex-emphasis-alist (quote (("*" "\\textbf{%s}" nil) ("/" "\\emph{%s}" nil) ("_" "\\alert{%s}" nil) ("+" "\\st{%s}" nil) ("=" "\\verb" t) ("@" "\\alert{%s}" nil) ("!" "\\note{%s}" nil) ("~" "\\verb" t)))) Several of the above re-definitions seem to take effect. In fact, in the above "_" is redefined to be the same as "@" for testing that the re-definition is indeed effective and I have verified that it is. However, the definitions of "@" and "!" do not seem to take effect at all. I see the same behavior when I customize this variable through the Org->customize interface. I've tried a lot of things and am at my wits end in terms of figuring out this weird behavior. I would very much appreciate if someone could shed more light on this. My initial thought was whether there could be a dependency on latex packages that make alternate use of these special symbols. However, that should come into play only in the latex file and upon seeing the latex file I see that indeed the definitions of "@" and "!" seem ineffective. In case it matters, I am working with a org file intended for use with beamer that is included below. Suggestions for a fix would be very helpful. Thanks much in advance for your help, -- Gaurav ____Test Org File ___ #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 1 #+BEAMER_HEADER_EXTRA: \usetheme{default}\usecolortheme{default} #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_extra(Extra) #+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC * Test :export: ** Test of Underline and Alert functionality *** _test_ ** _Test of Underscore_ ** +Test of Plus+ ** @Alert Test@ ** !Note test!