[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [patch, ox] #+INCLUDE resolves links
From: |
Rasmus |
Subject: |
[O] [patch, ox] #+INCLUDE resolves links |
Date: |
Sun, 21 Sep 2014 02:51:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi,
This patch allows INCLUDE to have intuitive links as resolved by
`org-link'-search'. A couple of examples:
#+INCLUDE: file.org::#custom_id :noheadline :lines "3-"
#+INCLUDE: file.org::*headline :lines "-10"
:noheading tries to get rid of the first headline, and immediately
subsequent drawer and property-drawer, if present. :noheading is only
interpret when a headline argument is present. :lines is interpreted
relatively, if coupled with a headline link.
I should work for other types of links as well though it could be
limited to headlines only.
Perhaps it would even make sense to let it take a no-file argument to
locate things within the same buffer. This would be useful for
including, say, tables in babel/code-appendices.
What do you think?
—Rasmus
--
Hooray!
0001-ox-Allow-links-with-INCLUDE-keyword.patch
Description: Text Data
- [O] [patch, ox] #+INCLUDE resolves links,
Rasmus <=
- Re: [O] [patch, ox] #+INCLUDE resolves links, Rasmus, 2014/09/21
- Re: [O] [patch, ox] #+INCLUDE resolves links, Nicolas Goaziou, 2014/09/21
- Re: [O] [patch, ox] #+INCLUDE resolves links, Rasmus, 2014/09/23
- Re: [O] [patch, ox] #+INCLUDE resolves links, Nicolas Goaziou, 2014/09/24
- Re: [O] [patch, ox] #+INCLUDE resolves links, Rasmus, 2014/09/28
- Re: [O] [patch, ox] #+INCLUDE resolves links, Nicolas Goaziou, 2014/09/30
- Re: [O] [patch, ox] #+INCLUDE resolves links, Rasmus, 2014/09/30
- Re: [O] [patch, ox] #+INCLUDE resolves links, Nicolas Goaziou, 2014/09/30