emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: reference a remote named block in #+CALL: line
Date: Tue, 2 Nov 2021 06:19:00 -0400	[thread overview]
Message-ID: <CAN_Dec8Hq1HFuRNFFu5YA=4Vy0CE+aznkAPOcaVdK-umbMWgaw@mail.gmail.com> (raw)

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

I am getting used to calling library-of-babel functions with local data
structures as input variables, e.g. in this line:

#+CALL: list2table(data=common-issues-list, order="rows") :results  table
 raw

where `common-issues-list` is a named org-mode list in the current file,
e.g.

#+NAME: common-issues-list
- some
- things
- here

In this particular case, I'd like to maintain a single data structure and
use it in a bunch of places (it's a document I re-use in several courses,
all of which are published online with different metadata stored in
headings). Is there a syntax for referring to #+NAME'd elements in remote
files?

Sorry if I'm missing something that is explained in the docs -- I am not
finding this in what I think of as the obvious places.

thanks as always,

Mat

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

             reply	other threads:[~2021-11-02 10:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 10:19 Matt Price [this message]
2021-11-02 18:11 ` reference a remote named block in #+CALL: line Berry, Charles
2021-11-02 19:01 ` Michael Welle

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='CAN_Dec8Hq1HFuRNFFu5YA=4Vy0CE+aznkAPOcaVdK-umbMWgaw@mail.gmail.com' \
    --to=moptop99@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).