From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: exporting typefaces Date: Wed, 7 Jun 2006 12:21:46 +0200 Message-ID: <8520217f0c56f24481f460dcc4b64fd2@science.uva.nl> References: <4485907B.8020507@gmail.com> <71a070a2608a81e06f9021529536ddce@science.uva.nl> <44859756.2040307@gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnvAm-0000fS-Aw for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 06:22:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FnvAj-0000dS-Kk for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 06:21:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnvAj-0000dD-Dn for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 06:21:57 -0400 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FnvII-0003cT-QT for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 06:29:47 -0400 In-Reply-To: <44859756.2040307@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: Austin Frank Cc: emacs-orgmode@gnu.org On Jun 6, 2006, at 16:55, Austin Frank wrote: > > Looking through a few O'Reilly books on my shelf, I see that different > books use constant-width bold (
text
) and > constant-width italics (
text
) to indicate where a > user > should enter input in example code. Yes, that is true, O'Reilly books use some excessive styling - I guess it makes sense in these cases. Generalizing the emphasis stuff is tricky, and I am worried that the regular expressions will match unintentionally. However, I have now made this configurable, a test version is at http://www.astro.uva.nl/~dominik/Tools/org/org-testemphasize.zip In this version you can configure your own text styling through the option `org-emphasis-alist'. Before I release this, some tweaking of the other new option `org-emphasis-regexp-components' might be necessary. In that option you can also define the number of newlines you wish to allow in a single emphasized expression (default is one for now, don't increase this too much because of a potentially significant performance penalty). Also you can ask for stacked styling in that variable. For now, stacked styling is turned off by default. - Carsten