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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2be3e48e-d999-4bbf-bea3-71d6c8bc5cab%40googlegroups.com.

Reply via email to