From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: Reverse lookup from pdf to org?
Date: Fri, 28 Mar 2014 05:49:14 +0100 [thread overview]
Message-ID: <20140328054914.7e82874d@aga-netbook> (raw)
In-Reply-To: <m2eh1nwvku.fsf@krugs.de>
Dnia 2014-03-27, o godz. 15:43:45
Rainer M Krug <Rainer@krugs.de> napisał(a):
> Brett Viren <bv@bnl.gov> writes:
>
> > Rainer M Krug <Rainer@krugs.de> writes:
> >
> >> Brett Viren <bv@bnl.gov> writes:
> >>> file:///path/to/foo.tex.orglink?line=42
> >
> >> But jumping to the .org file would be the aim - right?
> >
> > Yes, right. Maybe a better example is:
> >
> > file://foo.orglink?line=42
>
> calling
>
> ,----
> | emacs +42 foo.org
> `----
>
> should open the file foo.org and put the cursor in line 42.
>
> >
> > which might get interpreted as "go to line 42 in ./foo.org".
> >
> > This example is also a relative link which would be less brittle as
> > long as foo.org and foo.pdf are kept together in the same directory.
>
> Yes - that would be quite useful.
>
> >
> >>> Chance of success: 10%
> >>
> >> I guess higher?
> >
> > I like your optimism!
>
> I am an optimist :-)
You really are.
Inserting stuff like this into the TeX file /may/ very easily break it,
in the sense that it does compile, but /looks/ different (read: has
different line and/or page breaks) than without it. (Though it /might/
be possible, I'm only saying that it would require much TeX expertise
and being very careful. In fact, TeX4ht seems to do something similar
(though I never used it), so maybe I'm too pessimistic;).)
> Cheers,
>
> Rainer
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
prev parent reply other threads:[~2014-03-28 4:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-25 10:07 Reverse lookup from pdf to org? Rainer M Krug
2014-03-25 13:11 ` Suvayu Ali
2014-03-27 8:18 ` Rainer M Krug
2014-03-27 8:59 ` Suvayu Ali
2014-03-27 9:04 ` Rainer M Krug
2014-03-25 17:17 ` Brett Viren
2014-03-25 18:56 ` Nick Dokos
2014-03-25 20:29 ` Brett Viren
2014-03-27 9:12 ` Rainer M Krug
2014-03-27 14:30 ` Brett Viren
2014-03-27 14:43 ` Rainer M Krug
2014-03-27 14:53 ` Nick Dokos
2014-03-27 15:00 ` Rainer M Krug
2014-03-28 4:49 ` Marcin Borkowski [this message]
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=20140328054914.7e82874d@aga-netbook \
--to=mbork@wmi.amu.edu.pl \
--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).