I did play around a little over Easter after all, and made first steps
adapting Thomas Elmiger’s TextStretch Footnotes:
https://tid.li/tw5/hacks.html#TextStretch%20Footnotes%20Extracted%20as%20List
This, combined with templates to parse the BibTeX entries and CSS tweaks
could go into the right direction, e.g.
<<strex content:"{{bishop_2010||tLong}}" label:"{{bishop_2010||tShort}} 59"
class:"hint">>
could theoretically be made to display as (Bishop 2010: 59), with a popup
note containing the full reference, in this case Bishop, Kyle William.
*American
Zombie Gothic: The Rise and Fall (and Rise) of the Walking Dead in Popular
Culture*. Jefferson, N.C.: McFarland & Co., 2010. Print.
In practice, this gets too complicated, though, when it comes to parsing
the BibTeX entries in the templates tShort and tLong: I simply don’t know
enough about manipulating field values (string variables) in TW or how to
integrate possibly already existing style parsers. For example, the
bibtex-author field for the above example has the value "Bishop, Kyle
William" -- how do I even extract the last name from this? The bibtex-title
field has the value "American {Zombie} {Gothic}: {The} {Rise} and {Fall}
(and {Rise}) of the {Walking} {Dead} in {Popular} {Culture}" which enables
title case -- but how do I get rid of the curly parentheses?
I don’t seek answers for these questions right now, I just document here
what kinds of problems need to be solved.
I’ll put this on ice for now. If anyone is interested pursuing this, I
promise eternal gratitude ... :)
Best,
Tyll
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/09dda430-0645-41cf-9feb-a3cd837744a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.