From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: export of emphasized link Date: Sun, 30 May 2010 14:53:30 +0200 Message-ID: <4C025FCA.7080503@alumni.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33906 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIi1I-00007s-HU for emacs-orgmode@gnu.org; Sun, 30 May 2010 08:53:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIi1H-0003Du-0W for emacs-orgmode@gnu.org; Sun, 30 May 2010 08:53:36 -0400 Received: from mail05.solnet.ch ([212.101.4.139]:61502) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIi1G-0003D4-Pj for emacs-orgmode@gnu.org; Sun, 30 May 2010 08:53:34 -0400 Received: from mail05.solnet.ch ([127.0.0.1]) by localhost (mail05.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id tw78lmhQFYfk for ; Sun, 30 May 2010 12:53:30 +0000 (UTC) Received: from [192.168.1.203] (212-41-122-188.adsl.solnet.ch [212.41.122.188]) by mail05.solnet.ch (Postfix) with ESMTPA id 6F9D7398B0 for ; Sun, 30 May 2010 12:53:30 +0000 (UTC) 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: Org Mode Hi all, An org-mode line with an emphasized link like that one taken from current Worg: ---------------------------------------------------------------------- *Drop an email to [[mailto:bzg%20AT%20altern%20DOT%20org][Bastien]]* mentioning your username on repo.or.cz ---------------------------------------------------------------------- shows the bold face in the Emacs Org buffer like expected. But it does not convert the emphasis and still shows `*' when exported to some formats: - HTML: not converted - LaTeX: could not check because of a missing setup on my side, from the source code I guess that it converts - DocBook: not converted - ...: don't know about other formats and what they should support After removing org-bracket-link-regexp from org-html-expand and org-docbook-expand the HTML and DocBook exports _are_ converted and look similar to the highlighting in the Emacs Org buffer. But the doc string of both functions tell: "If there are links in the string, don't modify these." Why should links be modified in org-mode but not in HTML or DocBook? If there will be any change I would also like this: ---------------------------------------------------------------------- --- a/lisp/org.el +++ b/lisp/org.el @@ -3285,6 +3285,7 @@ example *bold*, _underlined_ and /italic/. This variable 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." :group 'org-appearance :set 'org-set-emph-re ---------------------------------------------------------------------- And: wouldn't it be nice for maintenance to have only one function for some sets of functions like - org-html-expand, org-docbook-expand and possibly more - org-html-do-expand, org-docbook-do-expand and possibly more - org-export-html-convert-emphasize, org-export-docbook-convert-emphasize and possibly more - org-export-html-convert-sub-super, org-export-docbook-convert-sub-super and possibly more - possibly more because they have almost all code in common. Michael