From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: latex export and beamer columns Date: Wed, 25 Nov 2009 07:28:36 +0100 Message-ID: <5900E2ED-795D-4168-9BFA-B1E590106001@gmail.com> References: <876394m49f.wl%ucecesf@ucl.ac.uk> <3CB39269-FB18-4155-AF32-00F6B46F8061@gmail.com> <878wdylpw5.wl%ucecesf@ucl.ac.uk> <876392lhfh.wl%ucecesf@ucl.ac.uk> <87hbsklwfa.wl%ucecesf@ucl.ac.uk> <87iqd09uju.wl%ucecesf@ucl.ac.uk> <8C1EA010-04C9-49C1-9F7F-5F0AB12EF4D0@gmail.com> <87ws1fg5rk.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDBMu-0001EG-6z for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:28:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDBMp-0001CA-6y for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:28:47 -0500 Received: from [199.232.76.173] (port=57059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDBMp-0001C2-18 for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:28:43 -0500 Received: from ey-out-1920.google.com ([74.125.78.144]:7100) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDBMo-0008L8-GM for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 01:28:42 -0500 Received: by ey-out-1920.google.com with SMTP id 3so2217396eyh.34 for ; Tue, 24 Nov 2009 22:28:41 -0800 (PST) In-Reply-To: <87ws1fg5rk.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: e.fraga@ucl.ac.uk Cc: org-mode mailing list Hi Eric, tis works just fine for me. Here are the values of the two variables: org-emphasis-alist is a variable defined in `org.el'. Its value is (("*" bold "" "") ("/" italic "" "") ("_" underline "" "") ("=" org-code "" "" verbatim) ("~" org-verbatim "" "" verbatim) (";" org-verbatim "" "" verbatim) ("@" org-warning "" "")) org-export-latex-emphasis-alist is a variable defined in `org-latex.el'. Its value is (("*" "\\textbf{%s}" nil) ("/" "\\emph{%s}" nil) ("_" "\\underline{%s}" nil) ("+" "\\st{%s}" nil) ("=" "\\verb" t) ("~" "\\verb" t) ("@" "\\alert{%s}" nil)) org-export-latex-emphasise-alist if available for C-h v only after otg- latex.el has been loaded. HTH - Carsten On Nov 24, 2009, at 7:02 PM, Eric S Fraga wrote: > At Tue, 24 Nov 2009 09:59:20 +0100, > Carsten Dominik wrote: > > [...] > >> >> Hmm, I think one would still like to be able to make text >> bold and italic as well? So I don't think one should use * or /. >> How about the exclamation mark? >> >> I guess the easiest would be to add to the two variables org- >> emphasis- >> alist >> and org-export-emphasis-alist. >> >> To the former your could add (maybe use other HTML tags) >> >> ("!" org-warning "" "") >> >> and to the latter >> >> ("!" "\\alert{%s}" nil) >> >> You might have to restart Emacs before these work. > > I've tried this (with org up to date as of an hour or so ago [Org-mode > version 6.33trans (release_6.33f.29.g5064)] and emacs 23.1.1) and it > doesn't work for me, having tried "!", ":" and "@" as possible markers > (and I'm leaning to the latter as the best choice to avoid confusion > with ends of sentences and because I don't have a lot of email > addresses in my slides... ;-). > > The display doesn't reflect the face to be used and the text goes > straight through upon export. I have customised both variables > indicated and have looked at the code in org.el that handles this but > cannot figure out what is wrong. Any suggestions? Attached is my > beamer org test file. > > By the way, the second variable, org-export-latex-emphasis-alist, does > not appear in the possible variables to get help on (with C-h v) > unless I have given it a value. It does, of course, appear in the > org-latex customisation group. However, note the difference in the > output from C-h v for these two variables. Maybe this gives some hint > of what may be wrong? Dunno... > > Thanks, > eric > > - Carsten