emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Goldman <rpgoldman@sift.info>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Question about org-emph-re
Date: Fri, 21 May 2010 07:58:06 -0500	[thread overview]
Message-ID: <4BF6835E.8000404@sift.info> (raw)
In-Reply-To: <06CB43AB-CF0A-4BA3-BD53-5AA504A37621@gmail.com>

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

      reply	other threads:[~2010-05-21 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  2:46 Question about org-emph-re Robert Goldman
2010-05-21  7:31 ` Carsten Dominik
2010-05-21 12:58   ` Robert Goldman [this message]

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=4BF6835E.8000404@sift.info \
    --to=rpgoldman@sift.info \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).