emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Steve Hafner <steve.b.hafner@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Hyperlink to a string in an external text file
Date: Mon, 17 Jan 2011 15:12:24 -0700	[thread overview]
Message-ID: <AANLkTik6ecuHY+hm_otLUsR1trB6nL67c5b9Vrs8izxa@mail.gmail.com> (raw)

According to the Org manual a link to an external org file can have
the form "file:projects.org::some words" to allow a hyper jump to the
first occurrence of "some words" within another org file. But why
restrict this to org files? It seems this should work with any text
file; and when I try the same thing with a LaTeX file, for example,
"file:file.tex::\label{theorem-B}" where "file.tex" contains
"\label{theorem-B}", it seems to work in the same way as for an
external org file. Is this a feature I can rely on for any arbitrary
text file?


-steve

             reply	other threads:[~2011-01-17 22:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17 22:12 Steve Hafner [this message]
2011-01-17 22:35 ` Hyperlink to a string in an external text file Steve Hafner
2011-01-17 22:36 ` Samuel Wales
2011-01-17 23:11   ` Steve Hafner

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=AANLkTik6ecuHY+hm_otLUsR1trB6nL67c5b9Vrs8izxa@mail.gmail.com \
    --to=steve.b.hafner@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).