* Looking for extensions of [[file:~/xx.org::My Target]]
@ 2021-12-07 1:43 Eduardo Ochs
2021-12-07 2:45 ` John Kitchin
0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Ochs @ 2021-12-07 1:43 UTC (permalink / raw)
To: Org Mode
Hi people,
this node of the Org manual
(info "(org)Search Options")
http://www.gnu.org/software/emacs/manual/html_node/org/Search-Options.html
explains that we can use links like this one
[[file:~/xx.org::My Target]]
to point to a string like "<<My Target>>" in the file ~/xx.org.
Where can I find extensions of that syntax that allow using several
"projects"? I am thinking of something like this: after telling the
extension that in the local filesystem
the project "dn6" is at ~/LATEX/dednat6/, and
the project "edrxrepl" is at ~/edrxrepl/
then the links
[[file:dn6/stacks.lua:Stack-tests]] and
[[file:edrxrepl/edrxpcall.lua:Class]]
would point to:
the string "<<Stack-tests>>" in ~/LATEX/dednat6/stacks.lua and
the string "<<Class>>" in ~/edrxrepl/edrxpcall.lua,
and I imagine that every such extension would also allow telling the
HTML exporter where these "projects" are in the web...
Thanks in advance!
Eduardo Ochs
http://angg.twu.net/#eev
P.S.: I still know far less Org than I should, but I am trying to
remedy this...
P.P.S.: eev uses this trick to point to anchors in "projects":
http://angg.twu.net/eev-intros/find-eev-quick-intro.html#8.5
http://angg.twu.net/eev-intros/find-eev-quick-intro.html#9.2
I need to add to its docs references to how other packages do
similar things.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Looking for extensions of [[file:~/xx.org::My Target]]
2021-12-07 1:43 Looking for extensions of [[file:~/xx.org::My Target]] Eduardo Ochs
@ 2021-12-07 2:45 ` John Kitchin
2021-12-07 3:06 ` Eduardo Ochs
0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2021-12-07 2:45 UTC (permalink / raw)
To: Eduardo Ochs; +Cc: Org Mode
[-- Attachment #1: Type: text/plain, Size: 2116 bytes --]
You might find the scimax-notebook project (
https://github.com/jkitchin/scimax/blob/master/scimax-notebook.org)
interesting for this. It builds on projectile and defines a link (
https://github.com/jkitchin/scimax/blob/master/scimax-notebook.org#notebookproject-links)
similar to what you describe. You can learn more about it here:
https://www.youtube.com/watch?v=H4sK5ld6Bw0
John
-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Mon, Dec 6, 2021 at 8:44 PM Eduardo Ochs <eduardoochs@gmail.com> wrote:
> Hi people,
>
> this node of the Org manual
>
> (info "(org)Search Options")
>
> http://www.gnu.org/software/emacs/manual/html_node/org/Search-Options.html
>
> explains that we can use links like this one
>
> [[file:~/xx.org::My Target]]
>
> to point to a string like "<<My Target>>" in the file ~/xx.org.
>
> Where can I find extensions of that syntax that allow using several
> "projects"? I am thinking of something like this: after telling the
> extension that in the local filesystem
>
> the project "dn6" is at ~/LATEX/dednat6/, and
> the project "edrxrepl" is at ~/edrxrepl/
>
> then the links
>
> [[file:dn6/stacks.lua:Stack-tests]] and
> [[file:edrxrepl/edrxpcall.lua:Class]]
>
> would point to:
>
> the string "<<Stack-tests>>" in ~/LATEX/dednat6/stacks.lua and
> the string "<<Class>>" in ~/edrxrepl/edrxpcall.lua,
>
> and I imagine that every such extension would also allow telling the
> HTML exporter where these "projects" are in the web...
>
> Thanks in advance!
> Eduardo Ochs
> http://angg.twu.net/#eev
>
>
>
> P.S.: I still know far less Org than I should, but I am trying to
> remedy this...
>
> P.P.S.: eev uses this trick to point to anchors in "projects":
> http://angg.twu.net/eev-intros/find-eev-quick-intro.html#8.5
> http://angg.twu.net/eev-intros/find-eev-quick-intro.html#9.2
> I need to add to its docs references to how other packages do
> similar things.
>
>
[-- Attachment #2: Type: text/html, Size: 3734 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Looking for extensions of [[file:~/xx.org::My Target]]
2021-12-07 2:45 ` John Kitchin
@ 2021-12-07 3:06 ` Eduardo Ochs
0 siblings, 0 replies; 3+ messages in thread
From: Eduardo Ochs @ 2021-12-07 3:06 UTC (permalink / raw)
To: John Kitchin; +Cc: Org Mode
...also here:
https://github.com/jkitchin/scimax/blob/master/scimax-notebook.org#example-links
Very good, thanks! =)
E.
On Mon, 6 Dec 2021 at 23:45, John Kitchin <jkitchin@andrew.cmu.edu> wrote:
>
> You might find the scimax-notebook project (https://github.com/jkitchin/scimax/blob/master/scimax-notebook.org) interesting for this. It builds on projectile and defines a link (https://github.com/jkitchin/scimax/blob/master/scimax-notebook.org#notebookproject-links) similar to what you describe. You can learn more about it here:
>
> https://www.youtube.com/watch?v=H4sK5ld6Bw0
>
>
> John
>
> -----------------------------------
> Professor John Kitchin (he/him/his)
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
>
>
> On Mon, Dec 6, 2021 at 8:44 PM Eduardo Ochs <eduardoochs@gmail.com> wrote:
>>
>> Hi people,
>>
>> this node of the Org manual
>>
>> (info "(org)Search Options")
>> http://www.gnu.org/software/emacs/manual/html_node/org/Search-Options.html
>>
>> explains that we can use links like this one
>>
>> [[file:~/xx.org::My Target]]
>>
>> to point to a string like "<<My Target>>" in the file ~/xx.org.
>>
>> Where can I find extensions of that syntax that allow using several
>> "projects"? I am thinking of something like this: after telling the
>> extension that in the local filesystem
>>
>> the project "dn6" is at ~/LATEX/dednat6/, and
>> the project "edrxrepl" is at ~/edrxrepl/
>>
>> then the links
>>
>> [[file:dn6/stacks.lua:Stack-tests]] and
>> [[file:edrxrepl/edrxpcall.lua:Class]]
>>
>> would point to:
>>
>> the string "<<Stack-tests>>" in ~/LATEX/dednat6/stacks.lua and
>> the string "<<Class>>" in ~/edrxrepl/edrxpcall.lua,
>>
>> and I imagine that every such extension would also allow telling the
>> HTML exporter where these "projects" are in the web...
>>
>> Thanks in advance!
>> Eduardo Ochs
>> http://angg.twu.net/#eev
>>
>>
>>
>> P.S.: I still know far less Org than I should, but I am trying to
>> remedy this...
>>
>> P.P.S.: eev uses this trick to point to anchors in "projects":
>> http://angg.twu.net/eev-intros/find-eev-quick-intro.html#8.5
>> http://angg.twu.net/eev-intros/find-eev-quick-intro.html#9.2
>> I need to add to its docs references to how other packages do
>> similar things.
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-07 3:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-07 1:43 Looking for extensions of [[file:~/xx.org::My Target]] Eduardo Ochs
2021-12-07 2:45 ` John Kitchin
2021-12-07 3:06 ` Eduardo Ochs
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).