From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Villarroel Subject: Re: Question on org-beamer markup Date: Wed, 12 Jan 2011 23:07:54 -0600 Message-ID: <87vd1tfl1x.fsf@gmail.com> References: <4D2DE792.8070502@ccbr.umn.edu> <807he9hnuj.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=55922 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdFPl-0000FP-Kh for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 00:08:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdFPk-0001yd-40 for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 00:08:01 -0500 Received: from mail-px0-f169.google.com ([209.85.212.169]:44293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdFPj-0001yX-Vc for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 00:08:00 -0500 Received: by pxi12 with SMTP id 12so254035pxi.0 for ; Wed, 12 Jan 2011 21:07:58 -0800 (PST) In-Reply-To: <807he9hnuj.fsf@missioncriticalit.com> (=?iso-8859-1?Q?=22S?= =?iso-8859-1?Q?=E9bastien?= Vauban"'s message of "Wed, 12 Jan 2011 21:24:36 +0100") 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 S=E9bastien Vauban writes: > Erik Iverson wrote: >> According to http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.h= tml >> >> the following markup should work when exporting to PDF from an org-beamer >> document. >> >> - the first, very @important@, point! >> - the previous point shows the use of the special markup which >> translates to the Beamer specific /alert/ command for highlighting >> text. >> >> However, upon export the resulting .tex file does not actually contain t= his >> translation from @important@ to the alert command, but rather sill has >> @important@ in the output. >> >> Am I missing some part of the setup process? > > You must update *manually* the var =3Dorg-export-latex-emphasis-alist=3D: > > #+begin_src emacs-lisp > ;; alist of LaTeX expressions to convert emphasis fontifiers > (setq org-export-latex-emphasis-alist > '(("*" "\\textbf{%s}" nil) > ("/" "\\emph{%s}" nil) > ("_" "\\underline{%s}" nil) > ("+" "\\st{%s}" nil) > ("=3D" "\\url{%s}" nil) > ;; `url' breaks lines in long strings (was `verb') > ("~" "\\verb~%s~" t) > ("@" "\\alert{%s}" nil))) > #+end_src > This should be enough right? (add-to-list 'org-emphasis-alist '("@" org-warning "" "")) (add-to-list 'org-export-latex-emphasis-alist '("@" "\\alert{%s}" nil)) However, it does not work for me with=20 Org-mode version 7.4 (release_7.4.166.gf7a7.dirty) (that is, neither the text between @'s is fontified, nor is exported to an alert, as Erik mentioned. This, however, does work for me: (add-to-list 'org-emphasis-alist '("+" org-warning "" "")) (add-to-list 'org-export-latex-emphasis-alist '("+" "\\alert{%s}" nil)) so I'm thinking, maybe there is something else to be done to declare @ as a valid delimiter? Regards, Rafael