From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Text attributes, exporting Date: Tue, 6 Nov 2012 17:39:15 +0100 Message-ID: <20121106163915.GB20216@kuru.dyndns-at-home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVmBN-00060B-H8 for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 11:39:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVmBL-00077j-RE for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 11:39:21 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:62478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVmBL-00077F-K7 for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 11:39:19 -0500 Received: by mail-ee0-f41.google.com with SMTP id c4so473124eek.0 for ; Tue, 06 Nov 2012 08:39:18 -0800 (PST) Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello Fabrice, On Tue, Nov 06, 2012 at 04:14:10PM +0100, Fabrice Popineau wrote: > Hi, > > Maybe this is a silly question but who knows. > Htmlize is able to tag elemnts in src blocks and wrap them with classes. > I'd like to be able to do it for normal text too. > > There is // ++ == ** but I would like to define personalized modifiers. > There is also the ability to inline src blocks like : > src_{} > > This is closer to what I would like. Something like > class_{} > that would get exported to \{} > or to
body
(LaTeX or HTML). > Maybe this is what you are looking for? org-emphasis-alist is a variable defined in `org.el'. Its value is (("*" bold "" "") ("/" italic "" "") ("_" underline "" "") ("=" org-code "" "" verbatim) ("~" org-verbatim "" "" verbatim) ("+" (:strike-through t) "" "")) Documentation: Special syntax for emphasized text. Text starting and ending with a special character will be emphasized, for example *bold*, _underlined_ and /italic/. This variable sets the marker characters, the face to be used by font-lock for highlighting in Org-mode Emacs buffers, and the HTML tags to be used for this. For LaTeX export, see the variable `org-export-latex-emphasis-alist'. For DocBook export, see the variable `org-export-docbook-emphasis-alist'. Use customize to modify this, or restart Emacs after changing it. GL -- Suvayu Open source is the future. It sets us free.