Managing references

436 views
Skip to first unread message

David Shaw

unread,
Aug 10, 2012, 7:51:14 AM8/10/12
to TiddlyWiki
I'm using a tiddlywiki to manage my research. What I would like to do
is collect all the references together and then be able to link to them
from the appropriate tiddler in a simple manner, without having to embed
loads of pretty links.

What I'm after is something along the lines of being able to enter

'Twenty percent of all microfleems are subradiante {{1}}'

in the tiddler and having it display as

'...subradiante [1]'

with the [1] being a link to the reference tiddler or even to the
appropriate reference within that tiddler. I can also see a use case
where there could be more than one reference tiddler, for instance to
organise references into related groups, or simply to split large
numbers of references into more manageable chunks.

Does that make sense? Is it possible? Has it already been done?

Many thanks,

David Shaw


[1] http://dilbert.com/strips/comic/1993-05-09/


whatever

unread,
Aug 10, 2012, 2:45:35 PM8/10/12
to TiddlyWiki
Hi!

Try Saq's FootnotesPlugin (1). He also has an example (2).

(1) http://tiddlywiki.squize.org/#FootnotesPlugin
(2) http://tiddlywiki.squize.org/#FootnotesDemo

w

David Shaw

unread,
Aug 10, 2012, 3:28:42 PM8/10/12
to tiddl...@googlegroups.com
Thanks for that.  It's certainly close, but not quite what I'm after. 

I want to separate the references/footnotes out into their own tiddler, partly for neatness, partly for ease of copy/paste into the final document but mainly because I'm likely to be referencing the same document in multiple tiddlers and I'll need to keep the numbering consistent - the microfleem reference should be [1] no matter which tiddler I reference it from and no matter what other references are made ahead of it in the tiddler.

Sorry for being so awkward  :-)

David Shaw

Eric Shulman

unread,
Aug 10, 2012, 5:02:23 PM8/10/12
to TiddlyWiki
> What I'm after is something along the lines of being able to enter
> 'Twenty percent of all microfleems are subradiante {{1}}'
> in the tiddler and having it display as
> '...subradiante [1]'
> with the [1] being a link to the reference tiddler or even to the
> appropriate reference within that tiddler.

First, install:
http://www.TiddlyTools.com/#AliasPlugin
and
http://www.TiddlyTools.com/#SectionLinksPlugin
next, add this to your MainMenu (or any other tiddler that is
displayed at startup):
<<alias ref "[[[%0]|References##%0]]">>
then, create a tiddler named [[References]] with content like this:
!1
this is content for reference 1
!2
this is content for reference 2
!3
this is content for reference 3
etc.
finally, embed your references in your content by using:
<<ref 1>>
<<ref 2>>
etc.

Note: for an alternative display format, you could use a slider:
<<alias ref "<<slider chkRef%0 [[References##%0]] %0 %0>\>">>
or, if you install
http://www.TiddlyTools.com/#ShowPopupPlugin
you could use a TW popup to show the reference content:
<<alias ref "<<showPopup tiddler:[[References##%0]] label:'%0'>
\>">>

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact

David Shaw

unread,
Aug 10, 2012, 6:08:07 PM8/10/12
to tiddl...@googlegroups.com
On 10/08/12 22:02, Eric Shulman wrote:
>> What I'm after is something along the lines of being able to enter
>> 'Twenty percent of all microfleems are subradiante {{1}}' in the
>> tiddler and having it display as '...subradiante [1]' with the [1]
>> being a link to the reference tiddler or even to the appropriate
>> reference within that tiddler.
>
> First, install: http://www.TiddlyTools.com/#AliasPlugin...

<snip>

> enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios



Eric, I've said it before and I have no doubt I'll say it again - many
times - you're a star!

Many, many thanks,

David Shaw

wolfgang

unread,
Aug 15, 2012, 5:55:29 AM8/15/12
to tiddl...@googlegroups.com

First, install:
   http://www.TiddlyTools.com/#AliasPlugin
and
   http://www.TiddlyTools.com/#SectionLinksPlugin
next, add this to your MainMenu (or any other tiddler that is
displayed at startup):
   <<alias ref "[[[%0]|References##%0]]">>
then, create a tiddler named [[References]] with content like this:
   !1
   this is content for reference 1
   !2
   this is content for reference 2
   !3
   this is content for reference 3
   etc.
finally, embed your references in your content by using:
   <<ref 1>>
   <<ref 2>>
   etc.


I use slices for references with AliasPlugin in popups:

<<alias rf {{"^^\<\<showPopup tiddler:[[References::%0]] label:%0 buttonClass:tiddlylink above\>\>^^"}}>>

1:    this is content for reference 1
2:    this is content for reference 2
3:    this is content for reference 3
   etc.

However, what would be the regex in search/replace for changing the numbering in the case of adding or deleting a reference?


Reply all
Reply to author
Forward
0 new messages