[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Question about org-emph-re
From: |
Robert Goldman |
Subject: |
Re: [Orgmode] Question about org-emph-re |
Date: |
Fri, 21 May 2010 07:58:06 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
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