Hi all:

I am using two plugins:

  the SlideShowPlugin from http://www.math.ist.utl.pt/~psoares/addons.html

  the StorySaverPlugin from http://www.tiddlytools.com/

The slide show plugin and the story saver plugin both use a (index)
tiddler that has links in it as a list of tidders to open/display. I
am using the same tiddler to provide:

  a standard slide show for presentation

  a follow along version of the slide show where students can record
      notes on the slides

  a printable version of the slides suitable for pdf/handouts

  a printable version of the slideshow with the student's notes.

However I would like to be able to have links in the index tiddler
that are not interpreted as links to display when opened via the
openStory macro.

I tried using transclusion <<tiddler SlideStyleLinks/print>> to hide
the links from the SlideShowPlugin so they didn't show up in the
slideshows, but the StorySaverPlugin's openStory opens the
SlideStyleLinks tiddler as part of the story. Also because I am using
the SlideShowPlugin, I have macros in the index tiddler like:

  <<slideShow  theme:InstructorSlideShowTheme toc:titles
    footer:"copyright&copy; 2009<br />John P. Rouillard" clock:+
    label:Instructor tooltip:"Start slideshow in instructor projection
    mode">>

that start the slideshow. However the presence of
InstructorSlideShowTheme in the macro triggers the openStory macro to
open the InstructorSlideShowTheme tiddler when opening the tiddlers in
the index tiddler.

I can think of two ways to handle this and filter out the unwanted
tiddlers:

  1) if the tiddler occurs as the argument to a macro, don't open
      it. However I am not sure how hard this is to implement as the
      tiddler list seems to be returned by tiddler.links[] and I am
      not sure if that has the filtering capabilities, and I would
      prefer to not have core tweaks to make this work.

  2) check each tiddler in the list (returned by tiddler.links) for
      the tag "NoStoryDisplay", and if present don't open/display the
      tiddler.

I prefer 2 since I think it should be easier to implement (although
beyond my current capabilities I am afraid), and it is a more general
solution as I may have tiddler links outside of macros that I don't
wish to display as part of a story.

Also method 2 provides a mechanism to have displayed and undisplayed
versions of the same content by tagging one tiddler say TiddlerOne
with NoStoryDisplay. Then create TiddlerTwo with the contents
<<tiddler TiddlerOne>> where TiddlerTwo is not tagged with
NoStoryDisplay.

So am I missing an easy way to do what I need that requires no code
changes?

Thanks for any ideas/patches.

-- rouilj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to