emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: hindiogine@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Org-beamer problems
Date: Fri, 21 Jan 2011 20:54:37 +0000	[thread overview]
Message-ID: <87aaiu2d0y.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <87lj2ersne.fsf@gmail.com> (Henri-Paul Indiogine's message of "Fri, 21 Jan 2011 10:57:57 -0800")

Henri-Paul Indiogine <hindiogine@gmail.com> writes:

> Hi Eric!
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>> Regarding the @ problem, where and how do you make the settings.  As I
>> have said on this list recently, I find that I have to set the variables
>> concerned *before* I load org (through =(require 'org-install)=) or
>> otherwise the regular expressions that use these variables are
>> initialised incorrectly (I believe this is the root cause of the
>> problem).
>
> I am not getting this.  Sorry for being dense.  Here is the relevant
> code from my .emacs
>
> ;;
> ;; BEGIN org-mode
> ;;
> (setq 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))))

You need to also set =org-emphasis-alist=. I have:

--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---

Try that and let us know how it goes.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.231.ge879)

  reply	other threads:[~2011-01-21 20:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19  7:03 Org-beamer problems Bill Moran
2011-01-19 15:55 ` Jeff Horn
2011-01-19 22:22   ` Henri-Paul Indiogine
2011-01-19 22:33     ` Chris Malone
2011-01-20  8:57     ` Eric S Fraga
     [not found] ` <AANLkTi=7TkcFBVGc90SkTBHFjKx5j7PgHbia=ZkNRxYS@mail.gmail.com>
2011-01-19 15:58   ` John Hendy
2011-01-19 16:36 ` Eric S Fraga
2011-01-19 21:34   ` Bill Moran
2011-01-19 22:02     ` Chris Malone
2011-01-19 22:43       ` Bill Moran
2011-01-19 22:48         ` Chris Malone
2011-01-20  8:54         ` Eric S Fraga
2011-01-20 19:33           ` Henri-Paul Indiogine
2011-01-21  9:05             ` Eric S Fraga
2011-01-20 21:12           ` Bill Moran
2011-01-21 18:57           ` Henri-Paul Indiogine
2011-01-21 20:54             ` Eric S Fraga [this message]
2011-01-21 21:25               ` Henri-Paul Indiogine
2011-01-21 23:39                 ` Eric S Fraga
2011-01-19 22:20     ` Jeff Horn
2011-01-20  8:52     ` Eric S Fraga

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=87aaiu2d0y.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=hindiogine@gmail.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).