From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Matt Price <moptop99@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: transcluding some org-elements in multiple places
Date: Thu, 5 Jan 2017 21:19:13 -0500 [thread overview]
Message-ID: <CAJ51ETowYSZMwcZEDpmgxO++GdV6zXQSRirCF8S0S8D9vJ1TgQ@mail.gmail.com> (raw)
In-Reply-To: <CAN_Dec-Mexv+BixJ4fa=kvzqrpxfhY22NRkTbfG_N1A=09Sr-g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
It would be easy to have it export the plain text of the transcluded
heading. to export the actual heading, I would setup a preprocessing hook
that replaces the link with the content it points to.
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Thu, Jan 5, 2017 at 9:17 PM, Matt Price <moptop99@gmail.com> wrote:
>
>
> On Thu, Jan 5, 2017 at 7:30 PM, John Kitchin <jkitchin@andrew.cmu.edu>
> wrote:
>
>> I didn't test it with other files, and it does not seem to work with
>> them. For some reason (org-open-link-from-string path) does not seem to
>> actually open the file at path. I am not sure why, since the follow code
>> works just fine.
>>
>> Here is a hackier version that seems to work for me:
>>
>
> Might be hackier but it works for me! Thanks John!
>
> Would be cool to somehow include in export. But that's a little too hard
> for me to think about. This is already pretty good. Thank you!
>
>
[-- Attachment #2: Type: text/html, Size: 2039 bytes --]
next prev parent reply other threads:[~2017-01-06 2:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3d4bfe3d30ae4c5a8be905fa6b15f350@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-09 16:28 ` transcluding some org-elements in multiple places Eric S Fraga
2016-12-14 15:55 ` David Talmage
2016-12-14 16:55 ` John Kitchin
2017-01-05 13:26 ` Matt Price
2017-01-05 16:37 ` John Kitchin
[not found] ` <CAN_Dec8C386-+mNODfrXZkMpoRt30xEUkjSMCZDOhpi-ydRDeg@mail.gmail.com>
[not found] ` <m2zij5qbci.fsf@Johns-MacBook-Air.local>
2017-01-06 2:17 ` Matt Price
2017-01-06 2:19 ` John Kitchin [this message]
2017-01-06 14:30 ` Matt Price
2016-12-09 15:29 John Kitchin
2016-12-16 0:26 ` Matt Price
2016-12-16 16:51 ` Matt Price
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ51ETowYSZMwcZEDpmgxO++GdV6zXQSRirCF8S0S8D9vJ1TgQ@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=moptop99@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.