On Wed, 18 Aug 2010 15:40:30 +0100, Eric S Fraga <ucec...@ucl.ac.uk> wrote:
> 
> On Wed, 18 Aug 2010 09:23:26 -0500, John Hendy <jw.he...@gmail.com> 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
> > @w...@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 "<b>" "</b>") 
>                                        ("/" italic "<i>" "</i>")
>                                        ("_" underline "<span 
> style=\"text-decoration:underline;\">" "</span>")
>                                        ("=" org-code "<code>" "</code>" 
> verbatim)
>                                        ("~" org-verbatim "<code>" "</code>" 
> verbatim)
>                                        ("+" (:strike-through t) "<del>" 
> "</del>")
>                                        ("@" org-warning "<b>" "</b>")))
>       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.

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to