From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Markup for export question Date: Thu, 09 Jul 2009 15:19:58 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOtY0-0007lY-16 for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 09:20:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOtXu-0007iI-Hd for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 09:20:22 -0400 Received: from [199.232.76.173] (port=42692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOtXu-0007i1-8K for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 09:20:18 -0400 Received: from main.gmane.org ([80.91.229.2]:35716 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOtXt-0004yk-Sa for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 09:20:18 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MOtXl-0007Eg-9R for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:20:09 +0000 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Jul 2009 13:20:09 +0000 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Jul 2009 13:20:09 +0000 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: emacs-orgmode@gnu.org When writing documentations I often come across expressions like doMagic('myVariable') In an ideal world the HTML code for this after exporting the org file would look like this: doMagic('myVariable') The purpose is of course to indicate that `doMagic' is a literal function/method name while `myVariable' is not meant literal and is to be replaced something more or less sensible. However, I find that rather hard to achieve and was only able to produce this with quoted HTML tags. In order to find a simpler solution I was fiddling with `org-emphasis-alist' and `org-emphasis-regexp-components' but to no avail. Does anybody have an idea how to create that HTML code from a simple markup in an org file? BTW: Same applies probably for LaTeX export but I haven't been playing around with this. Ulf