-----------------------
tiddler01
content:
*Book: Winnetou 1
**Autor: Karl May
.
*Book: Moby Dick
**Autor: Hermann Melville
*Book: Taipi
**Autor: Hermann Melville
-----------------------
tiddler02
content:
*Book: Winnetou 2
**Autor: Karl May
*Book: Silbersee
**Autor: Karl May
*Book: Hithikers Guide to the Galays
**Autor: Douglas Adams
-----------------------All the best for 2018 to you too.
My extract hack (macro) might be able to do the job if used inside a list like shown in the last tiddler here: https://tid.li/tw5/numbers.html
You would have to define something like this (not tested!):
<$list filter="""[FINDyourTIDDLERShere]""">
<ol>
<$list filter="[<currentTiddler>">
<<extract start:"Book: " end:"** Author: Karl May" limit:"no" rmQuotes:"n" prefix:"<li>" suffix:"</li>" mode:"inline">>
</$list>
</ol>
</$list>
The extract macro can be found here: https://tid.li/tw5/hacks.html#%24%3A%2F_telmiger%2Fextract
It might be easier to achieve the same using a regex Tool if you know some regular expressions.
Happy extracting!
Thomas
<ul>
<$list filter="[prefix[tiddler]]" variable="tid">
<$macrocall $name=extract tiddler=<<tid>> start="""Book:""" end="""**Autor: Karl May""" limit="no" prefix="<li>" suffix="</li>" mode="inline">>
</$list>
</ul>
</$list>
would have a tiddler for every author, a tiddler for every book and tag each book with one or more authors.
Replace it e.g. with [!is[system]sort[title]] and let us know if you get results with this.
Also the start and end strings must match your tiddler content exactly. At first I had a space between the ** and the word Autor. That did not match and my results were empty.
Have a nice day,
Thomas
The tagging method I mentioned is actually the superior way to handle many to many relationships. I understand you are where you are and are free to do as you wish, however my advice will serve you well in the future. If I may give you my qualifications on this I have being using twc and tw5 for many years, an IT professional of 30+ years and recently professional information/ knowledge management. I expect most of this community would make similar suggestions.
Welcome to the community.
Mark my words, if you move in my suggested direction the benifits will be substantial.
Best wishes
Tony