Jon,
 Have you used the showfnotes
https://kookma.github.io/Refnotes/#help%2Ffootnote%2Fshowfnotes-macro

The below code in any tiddler shows all footnotes

<<showfnotes filter:"[!is[system]search:text[myref1]]">>


For your special case, please give a try on this script

\define customOutput(p) 
<ul>
<$wikify name=p2 text=<<__p__>> >
<li><$text text={{{[<p2>split["]join[]]}}}/></li>
</$wikify>
</ul>
\end

\define jon-macro(fntext:"Footnotes##myref1")
<ol>
<$list 
filter="[!is[system]!has[draft.of]search:text[$fntext$]]-[<currentTiddler>]" 
variable=lnk>
<li>
<$link to=<<lnk>>><$text text=<<lnk>>/></$link>
<$macrocall 
 $name="find" text={{Test}}
 begin="""<<fnote""" end=""">>"""
 output="customOutput"
/>
</li>
</$list>
</ol>
\end

<<jon-macro fntext:"Footnotes##myref1">>


This solution uses the internal find macro of Refnotes plugin.
It only works on TW5.1.21+

To use above script create a new tiddler and copy and paste the above code. 
Save and see the results.

--Mohammad




On Sunday, March 22, 2020 at 1:47:57 PM UTC+4:30, Jon wrote:
>
> 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 mean in
>>
>> <<fnote  "{{Footnotes##myref1}} p.19">>
>>
>> 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 2020 08:28:50 UTC, Mohammad wrote:
>>>>
>>>> Jon,
>>>>  Give a try for this
>>>>
>>>> <ol>
>>>> <$list 
>>>> filter="[!is[system]!has[draft.of]search:text[Footnotes##myref1]]-[<currentTiddler>]"
>>>>  
>>>> variable=lnk>
>>>> <li><$link to=<<lnk>>><$text text=<<lnk>>/></$link></li>
>>>> </$list>
>>>> </ol>
>>>>
>>>> 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 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 <https://kookma.github.io/Refnotes/>
>>>>>
>>>>> <<fnote  "{{Footnotes##myref1}} p.19">>
>>>>>
>>>>>
>>>>> Then in a tiddler titled The Greek Myths, Robert Graves
>>>>>
>>>>> {{{[!is[system]regexp:text[{{Footnotes##myref1}}]]}}}
>>>>>
>>>>> 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?
>>>>>
>>>>> Regards
>>>>> Jon
>>>>>
>>>>>

-- 
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 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8b39f30-06a6-46ad-8123-4d8205692817%40googlegroups.com.

Reply via email to