Hi That would involve string manipulations -- this, I can't see how to do with the tools currently available. Perhaps it would be easier to add another field to the book tiddler with a value containing the string "First, Second & Third" -- this could be done quite easily when entering the book data. The quote button could then use this string with quote1, quote2 ... appended as appropriate.
regards On Saturday, June 21, 2014 5:23:51 PM UTC+2, Alberto Molina wrote: > > Hi, > > I spent many hours, in the last two days, playing with lists and variables > and macros, trying to figure out how to do the following (with 5.0.12). > > - I have a book with *several* authors listed in the "authors" field. > Example: > - Title: My Book > - authors: [[First, Author]] [[Second, Author]] [[Third, Author]] > - Each of these authors have field for their names and surnames. > Example > - Title: First, Author > - name: Author > - surname: First > - I want a button that creates quotes from [[My Book]] using authors' > data. Example: > - Title: First, Second & Third — quote 1 > - authors: [[First, Author]] [[Second, Author]] [[Third, Author]] > > > Until now, I have successfully created that kind of buttons, using > Matabele's plugins, for quotes, notes, comments, etc. BUT only for ONE > author, AND storing its name and surname in the book fields. My problem is > when the publication has several authors and their surnames has to be > retrieved from the authors' tiddlers. > > Playing around, I've also created macros that gives me the title and the > list of authors I want, but I couldn't manage to use them with Matabele's > plugins in order to have working buttons. > > If someone could help me, here is a real example, with the tiddler > "Bréhier, Émile (1997): La théorie…" as a starting point: > https://www.dropbox.com/s/6ypwz055jb44ps2/Apuntes%20diversos%20-%20TW%205.0.12.html > > Thanks in advance! > > Alberto > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

