[tw5] Re: Book references

2020-03-22 Thread Jon
Hi Mohammad, I don't know how to host so I'll stick with your showfnotes macro which does what I need. Thanks again Jon On Sunday, 22 March 2020 12:42:48 UTC, Mohammad wrote: > > For me it shows! > > Actually the output macro grabs "{{Footnotes##myref1}} p.19" and wikify it > and then remove d

[tw5] Re: Book references

2020-03-22 Thread Mohammad
For me it shows! Actually the output macro grabs "{{Footnotes##myref1}} p.19" and wikify it and then remove double quotes! If you can give a link or post a simple wiki somewhere! On Sunday, March 22, 2020 at 4:30:00 PM UTC+4:30, Jon wrote: > > Ah, I see this bit should show the page numbers but

[tw5] Re: Book references

2020-03-22 Thread Jon
Ah, I see this bit should show the page numbers but it doesn't seem to work <$wikify name=p2 text=<<__p__>> > <$text text={{{[split["]join[]]}}}/> I have the page numbers listed in this format: <> Regards Jon On Sunday, 22 March 2020 11:29:55 UTC, Mohammad wrote: > > The showfnotes macro jus

[tw5] Re: Book references

2020-03-22 Thread Mohammad
The showfnotes macro just does not show a link to tiddler where the footnote is used, but it is quite powerful. By the way the code I sent you shows the link! Use which one you like! --Mohammad On Sunday, March 22, 2020 at 3:53:48 PM UTC+4:30, Jon wrote: > > Hi Mohammad, > > Ah, I didn't inves

[tw5] Re: Book references

2020-03-22 Thread Jon
Hi Mohammad, Ah, I didn't investigate the showfnotes <> That gives exactly what I want!! Thanks for your work on the other script but it seems to give the same result as your previous solution which I've adopted: <$list filter="[!is[system]!has[draft.of]search:text[Footnotes##myref1]]-[]"

[tw5] Re: Book references

2020-03-22 Thread Mohammad
If you like to use above code everywhere, then tag the tiddler hosts the code with $:/tags/Macro Good luck. Mohammad -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email

[tw5] Re: Book references

2020-03-22 Thread Mohammad
Jon, Have you used the showfnotes https://kookma.github.io/Refnotes/#help%2Ffootnote%2Fshowfnotes-macro The below code in any tiddler shows all footnotes <> For your special case, please give a try on this script \define customOutput(p) <$wikify name=p2 text=<<__p__>> > <$text text={{{[spli

[tw5] Re: Book references

2020-03-22 Thread Jon
So the list widget gives a list of all the tiddlers which contain myref1. What I'd also like is a list of the page numbers for myref1. So yes, extract p.19 and also p.45, p.78 etc. Does that make sense? Regards Jon On Sunday, 22 March 2020 08:56:54 UTC, Mohammad wrote: > > John, > Do you mea

[tw5] Re: Book references

2020-03-22 Thread Mohammad
John, Do you mean in <> extract p.19? could you give an example in plain text? On Sunday, March 22, 2020 at 1:13:02 PM UTC+4:30, Jon wrote: > > That works, thanks Mohammad. > > Now just need the list of page numbers for myref1 if that was possible. > > Regards > Jon > > > > On Sunday, 22 March

[tw5] Re: Book references

2020-03-22 Thread Jon
That works, thanks Mohammad. Now just need the list of page numbers for myref1 if that was possible. Regards Jon On Sunday, 22 March 2020 08:28:50 UTC, Mohammad wrote: > > Jon, > Give a try for this > > > <$list > filter="[!is[system]!has[draft.of]search:text[Footnotes##myref1]]-[]" > > v

[tw5] Re: Book references

2020-03-22 Thread Mohammad
Jon, Give a try for this <$list filter="[!is[system]!has[draft.of]search:text[Footnotes##myref1]]-[]" variable=lnk> <$link to=<>><$text text=<>/> This should also work in TW 5.1.17 --Mohammad On Saturday, March 21, 2020 at 6:09:50 PM UTC+4:30, Jon wrote: > > Hi, > > In a datatiddler ca

[tw5] Re: Book references

2020-03-22 Thread Jon
So, I need to go with the list widget but there seems to be a missing [ in the example and I've played around with adding one in but can't get it to work. Can't get this bit to work either: <$vars ftrpage="Hi"> <> Thanks for the input. Jon On Sunday, 22 March 2020 04:54:29 UTC, Mohammad w

[tw5] Re: Book references

2020-03-21 Thread Mohammad
Jon, On Saturday, March 21, 2020 at 6:09:50 PM UTC+4:30, Jon wrote: > > Hi, > > In a datatiddler called 'Footnotes', I have a series of book references > e.g. > > myref1: The Greek Myths, Robert Graves > > To make reference to the book in another tiddler I use Mohammed's Refnotes >

[tw5] Re: Book references

2020-03-21 Thread A Gloom
Jon shows the names of those tiddlers, as links, which contain a reference to the book (I don't know if this is the most elegant way of doing this) I was wondering, is it possible to extract the page number as well, to somehow create a list of the page numbers for myref1? The page numbers for