emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7]


From: M. Bauer
Subject: [O] Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7]
Date: Mon, 5 Dec 2011 17:19:29 +0100

Hi,

as in the last paragraph of the Org v7.7 manual section 4.3 about
external links, "Org also finds external links in the normal text
and activates them as links."  While editing, this completely
works as expected.

But when it comes to exporting, Org will *not* recognize the
second, third, etc. external link in normal text if it is *not*
marked by square brackets.  See below for some tests that will
fail in ASCII, UTF8, and HTML export.

Can you please consider this issue for one of the next versions
of Org?

Many thanks in advance,
Mathias

--------------------text to be exported--------------------
* One "pure" external link (i.e. w/o brackets) per line
OK: foo http://ok.com bar
OK: foo file:/bin/true bar

* Two "pure" external links (i.e. w/o brackets) per line
FAIL: foo http://ok.com bar http://fail.com baz
FAIL: foo file:/bin/sh bar http://fail.com baz

* One external link (with brackets) per line
OK: foo [[http://ok.com]] bar
OK: foo [[file:/bin/true]] bar

* Two external links (with brackets) per line
OK: foo [[http://ok.com]] bar [[file:/bin/true]] baz
OK: foo [[file:/bin/true]] bar [[http://ok.com]] baz

* One external link (with description) per line
OK: foo [[http://ok.com][OK]] bar
OK: foo [[file:/bin/true][true]] bar

* Two external links (with description) per line
OK: foo [[http://ok.com][OK]] bar [[file:/bin/true][true]] baz
OK: foo [[file:/bin/true][true]] bar [[http://ok.com][OK]] baz

* Mixing several forms of external links in one line
FAIL: http://ok.com bar http://fail.com baz
OK: foo http://ok.com bar [[http://ok.com]] baz
OK: foo http://ok.com bar [[http://ok.com][OK]] baz

FAIL: foo [[http://ok.com]] bar http://fail.com baz
OK: foo [[http://ok.com]] bar [[http://ok.com][OK]] baz

FAIL: foo [[http://ok.com][OK]] bar http://fail.com baz
OK: foo [[http://ok.com][OK]] bar [[http://ok.com]] baz

FAIL: foo http://ok.com bar [[http://ok.com]] baz http://fail.com foo
FAIL: foo http://ok.com bar [[http://ok.com][OK]] baz http://fail.com foo
FAIL: foo [[http://ok.com][OK]] bar http://fail.com baz [[http://ok.com]] foo
FAIL: foo [[http://ok.com]] bar [[http://ok.com][OK]] baz http://fail.com foo

* Mixing several forms and types of external links in one line
FAIL: foo http://ok.com bar [[http://ok.com]] baz file:/bin/false foo
FAIL: foo http://ok.com bar [[http://ok.com][OK]] baz file:/bin/false foo
FAIL: foo [[http://ok.com][OK]] bar file:/bin/false baz [[http://ok.com]] foo
FAIL: foo [[http://ok.com]] bar [[http://ok.com][OK]] baz file:/bin/false foo
--------------------text to be exported--------------------

Emacs  : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

Package: Org-mode version 7.7

Configuration: defaults from standard distribution



reply via email to

[Prev in Thread] Current Thread [Next in Thread]