From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: Question about org-emph-re Date: Fri, 21 May 2010 07:58:06 -0500 Message-ID: <4BF6835E.8000404@sift.info> References: <4BF5F3F9.8040809@sift.info> <06CB43AB-CF0A-4BA3-BD53-5AA504A37621@gmail.com> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFRnt-0003ak-O4 for emacs-orgmode@gnu.org; Fri, 21 May 2010 08:58:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFRnk-0006JJ-C2 for emacs-orgmode@gnu.org; Fri, 21 May 2010 08:58:10 -0400 Received: from mpls.sift.info ([75.146.46.193]:50537) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFRnk-0006JE-7M for emacs-orgmode@gnu.org; Fri, 21 May 2010 08:58:08 -0400 In-Reply-To: <06CB43AB-CF0A-4BA3-BD53-5AA504A37621@gmail.com> 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: Carsten Dominik Cc: Org Mode On 5/21/10 May 21 -2:31 AM, Carsten Dominik wrote: > > On May 21, 2010, at 4:46 AM, Robert Goldman wrote: > >> I have been trying to make the generic exporter do fontification (bold, >> italic, underline, etc.) and have fairly successfully managed to do this >> by cargo-culting the code in org-latex. >> >> But I've run myself on a rock. I can't figure out what the various >> matches are that you get when you match org-emph-re. There are at least >> 5 matches, and some may be empty, etc. I don't /believe/ these are >> documented anywhere (or I didn't find the docs). >> >> Can anyone tell me what (match-string x) will be after a (string-match >> org-emph-re string) call? Or tell me where to look to figure it out? >> >> If so, I think I can get the fontification to work for >> org-generic-export. > > > The match groups are now documented: > > http://repo.or.cz/w/org-mode.git/commitdiff/67331a2de01cabc8e5bfc0f45d901c10aecf96a2 Thank you very much, Carsten. This is brilliant. With this information I hope to be able to improve the org-export-generic substantially. Best, R