From: Michael Brand <michael.brand@alumni.ethz.ch>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: export of emphasized link
Date: Tue, 01 Jun 2010 19:03:19 +0200 [thread overview]
Message-ID: <4C053D57.2030506@alumni.ethz.ch> (raw)
In-Reply-To: <13B6AC83-0AB4-46D0-AD86-F02210B33F93@gmail.com>
On 10-06-01 09:44 , Carsten Dominik wrote:
>> After removing org-bracket-link-regexp from org-html-expand
>
> What do you mean by this sentence? What exactly did you do?
To understand the implementation I tried the following temporary
change (the line prefix `:' will bypass the nice patch extract
http://patchwork.newartisans.com/project/org-mode/list
for this time I hope):
------------------------------------------------------------
:--- a/lisp/org-html.el
:+++ b/lisp/org-html.el
:@@ -2025,8 +2025,7 @@ that uses these same face definitions."
: (defun org-html-expand (string)
: "Prepare STRING for HTML export. Applies all active conversions.
: If there are links in the string, don't modify these."
:- (let* ((re (concat org-bracket-link-regexp "\\|"
:- (org-re "[ \t]+\\(:[[:alnum:]_@:]+:\\)[ \t]*$")))
:+ (let* ((re (org-re "[ \t]+\\(:[[:alnum:]_@:]+:\\)[ \t]*$"))
: m s l res)
: (if (string-match "^[ \t]*\\+-[-+]*\\+[ \t]*$" string)
: string
------------------------------------------------------------
With this trial the export to HTML of emphasized links is supported.
But this should not happen as I understand the doc string of
org-html-expand and org-docbook-expand:
"If there are links in the string, don't modify these."
Why should emphasized links not be supported for the export to HTML
and DocBook (and maybe more export formats?) while the org-mode
buffer display (and maybe some export formats?) supports them?
prev parent reply other threads:[~2010-06-01 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-30 12:53 export of emphasized link Michael Brand
2010-06-01 7:44 ` Carsten Dominik
2010-06-01 8:53 ` Bastien
2010-06-01 17:03 ` Michael Brand [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=4C053D57.2030506@alumni.ethz.ch \
--to=michael.brand@alumni.ethz.ch \
--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).