Henri-Paul Indiogine <hindiog...@gmail.com> writes: > Hi Eric! > > Eric S Fraga <e.fr...@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) _______________________________________________ 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