emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Links, exporter
Date: Wed, 17 Jun 2015 11:48:06 +0200	[thread overview]
Message-ID: <CAFgFV9O+icy+WnK2ec7+oU=Wtohc0VW3DRv20TRVskB=OFjBPQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1857 bytes --]

Hi,

I have another problem/question with links related to the exporter.

I lost track of what was the behavior months ago.

Assume I have something like this :


* BAR
:PROPERTIES:
:PAGE:     bar.html
:END:

** First link       :first:
:PROPERTIES:
:CUSTOM_ID: First%20link
:END:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit
tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et,
mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis
dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae
dolor. Nullam tristique diam non turpis. Cras placerat accumsan
nulla. Nullam rutrum. Nam vestibulum accumsan nisl.

** Second link

*** Third level

- [[#First%20link][First link]] foo bar
- [[file:sample.org][sample.org]]
- [[http://www.google.com][Google]]


* BLOG

** DONE BLOG Entry   :blog:foo:
   CLOSED: [2015-06-17 mer. 10:15]

 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit
 tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et,
 mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis
 dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae
 dolor. Nullam tristique diam non turpis. Cras placerat accumsan
 nulla. Nullam rutrum. Nam vestibulum accumsan nisl.


** DONE Second Blog entry   :blog:bar:
   CLOSED: [2015-06-17 mer. 11:17]

 [[#First%20link][First link again]]

 See if this will work.

If I try to export the "Second Blog entry" subtree by C-C C-e C-s C-b h H,
I get a user-error because the exporter can't resolve the link which points
outside of the exported subtree.

Is this expected?
Maybe that is a bad idea, but I was thinking that the link could be
resolved "as if" we were exporting the whole file rather than error it.

Thanks for enlighting me.

Fabrice

[-- Attachment #2: Type: text/html, Size: 2935 bytes --]

             reply	other threads:[~2015-06-17  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17  9:48 Fabrice Popineau [this message]
2015-06-17 10:42 ` Links, exporter Nicolas Goaziou
2015-06-17 19:44   ` Fabrice Popineau

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='CAFgFV9O+icy+WnK2ec7+oU=Wtohc0VW3DRv20TRVskB=OFjBPQ@mail.gmail.com' \
    --to=fabrice.popineau@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).