emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] manual: How to refer to tables in other files
Date: Wed, 14 Jul 2021 22:33:46 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2107142228100.66522@shell3.miskatonic.org> (raw)

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

Attached is a very small update to the docs about how to refer to tables in 
other files.  Probably there's something wrong with the formatting, but git 
send-email didn't work, and I hope the Changelog entry gets through.

Why the Nu HTML Checker line got included I don't know ... some whitespace 
thing, I guess.

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-diff; name=0001-manual-How-to-refer-to-tables-in-other-files.patch, Size: 1438 bytes --]

From fcbebdc9d88c0016d9789b141300209eeca40ef4 Mon Sep 17 00:00:00 2001
From: William Denton <wtd@pobox.com>
Date: Wed, 14 Jul 2021 22:23:00 -0400
Subject: [PATCH] manual: How to refer to tables in other files

* doc/org-manual.org (Passing arguments): Note
other-file.org:example-table syntax
---
 doc/org-manual.org | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 977ef80b9..0fa0a9d06 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -3563,7 +3563,7 @@ replacement text.  Here is an example:
 #+begin_src emacs-lisp
 (setq org-link-abbrev-alist
       '(("bugzilla"        . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
-        ("Nu Html Checker" . "https://validator.w3.org/nu/?doc=%h") 
+        ("Nu Html Checker" . "https://validator.w3.org/nu/?doc=%h")
 	("duckduckgo"      . "https://duckduckgo.com/?q=%s")
         ("omap"            . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1")
         ("ads"             . "https://ui.adsabs.harvard.edu/search/q=%20author%3A\"%s\"")))
@@ -16980,6 +16980,9 @@ Here are examples of passing values by reference:
   | two | 16 | 17 | 18 | 19 | 20 |
   #+end_example
 
+To refer to a table in another file, join the filename and table name with
+a colon, for example: =:var table=other-file.org:example-table=.
+
 - list ::
 
   A simple named list.
-- 
2.17.1


             reply	other threads:[~2021-07-15  2:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-15  2:33 William Denton [this message]
2021-09-19 13:36 ` Timothy

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=alpine.DEB.2.22.394.2107142228100.66522@shell3.miskatonic.org \
    --to=wtd@pobox.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).