emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: John Hendy <jw.hendy@gmail.com>,
	emacs-orgmode@gnu.org, "Philip J. Hollenback" <philiph@pobox.com>
Subject: Re: Baffled by beamer blocks
Date: Wed, 18 Aug 2010 16:04:35 +0100	[thread overview]
Message-ID: <877hjonerg.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <878w44nfvl.wl%ucecesf@ucl.ac.uk>

On Wed, 18 Aug 2010 15:40:30 +0100, Eric S Fraga <ucecesf@ucl.ac.uk> wrote:
> 
> On Wed, 18 Aug 2010 09:23:26 -0500, John Hendy <jw.hendy@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
> > @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 "<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.

  reply	other threads:[~2010-08-18 15:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17  6:26 Baffled by beamer blocks Philip J. Hollenback
2010-08-17 20:29 ` Eric S Fraga
2010-08-17 22:11   ` Philip J. Hollenback
2010-08-17 22:24     ` John Hendy
2010-08-17 22:37     ` Eric S Fraga
2010-08-17 23:11       ` John Hendy
2010-08-18 10:08         ` [beamer] Worg tutorial link broken (was Re: Baffled by beamer blocks) Eric S Fraga
2010-08-17 23:29       ` Baffled by beamer blocks Philip J. Hollenback
2010-08-18 10:09         ` Eric S Fraga
     [not found]           ` <AANLkTikXaTqYPfegtBrZnTRoFrRnwVQxHR=3+5pzBNuO@mail.gmail.com>
2010-08-18 14:32             ` John Hendy
2010-08-18 14:40             ` Eric S Fraga
2010-08-18 15:04               ` Eric S Fraga [this message]
2010-08-18 10:36       ` [BUG] " Bastien
2010-08-18 10:46         ` Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2010-08-17 15:31 Philip J. Hollenback

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hjonerg.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    --cc=philiph@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).