From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Baffled by beamer blocks Date: Wed, 18 Aug 2010 16:04:35 +0100 Message-ID: <877hjonerg.wl%ucecesf@ucl.ac.uk> References: <1282026389.8445.1390273815@webmail.messagingengine.com> <87y6c53rvf.wl%ucecesf@ucl.ac.uk> <1282083070.4606.1390417653@webmail.messagingengine.com> <87mxsk50i5.wl%ucecesf@ucl.ac.uk> <1282087743.17287.1390426691@webmail.messagingengine.com> <87ocd02pvz.wl%ucecesf@ucl.ac.uk> <878w44nfvl.wl%ucecesf@ucl.ac.uk> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=58382 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OlkCy-0001aC-J3 for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 11:05:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OlkCu-0000ST-8j for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 11:05:40 -0400 Received: from vscane-a.ucl.ac.uk ([144.82.108.41]:47319) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlkCu-0000S9-3E for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 11:05:36 -0400 In-Reply-To: <878w44nfvl.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: John Hendy , emacs-orgmode@gnu.org, "Philip J. Hollenback" On Wed, 18 Aug 2010 15:40:30 +0100, Eric S Fraga wrote: > > On Wed, 18 Aug 2010 09:23:26 -0500, John Hendy wrote: > > > > [...] > > > Eric, > > > > I have the title and QED image, but @important@ is rendered literally. See > > the attached .org, .pdf, and .tex files. Where is the markup for > > @word@provided (who translates @ in org to red/emphasized text in the > > output PDF)? > > I can't find it in the orgmode manual: > > http://orgmode.org/manual/Emphasis-and-monospace.html#Emphasis-and-monospace > > > > John > > I thought the processing of @...@ for alerts in beamer was the default > but it turns out I have the following settings which add @ to convert > text to alert in beamer and bold in HTML exports. > > --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--- > > I'm not sure what the default is but you can see what you've got by > looking at these two variables. I should also add that, if you are wanting to use the same org document for both beamer and normal latex export, you should add the following command to the org file setup: #+latex_header: \ifx\alert\undefined\let\alert\textbf\fi this defines \alert for non-beamer use to be equivalent to \textbf.