Getting SnapshotPlugin, StorySaverPlugin and SinglePageModePlugin to play nicely together!

40 views
Skip to first unread message

skye riquelme

unread,
Aug 2, 2011, 1:13:58 PM8/2/11
to TiddlyWiki
Hi All...

Am working on a simple (?) notetaking/journally/writing TW....... all
going great except one little catch.

The TW normally works in SinglePageMode...... so to enable people to
create stories, that can be manually switched off using a single
toggle box (<<option ...>>).... now people can construct a sequence of
tiddlers, collapse/expand (CollapseTiddlersPlugin) them,
rearrange(RearrangeTiddlersPlugin) them and save the
story(SaveStoryPlugin)................great!!!!

Now I want to be able to print out that story. When I use
SnapshotPlugin (<<snapshot print id:story>>)... it opens numerous
windows...one for each tiddler and tries to print each tiddler on
separate page......whereas I want it to print the story as a
whole.....I guess SinglePageMode is creating this behaviour.......
anyway to have snapshot work with the story as a whole????

Thanks in Advance
Skye

Måns

unread,
Aug 2, 2011, 5:19:29 PM8/2/11
to TiddlyWiki
Hi Skye

> Now I want to be able to print out that story. When I use
> SnapshotPlugin (<<snapshot print id:story>>)... it opens numerous
> windows...one for each tiddler and tries to print each tiddler on
> separate page......whereas I want it to print the story as a
> whole.....I guess SinglePageMode is creating this behaviour.......
> anyway to have snapshot work with the story as a whole????

Don't know if this actually works (untested)
<<snapshot print label:"print all open tiddlers… id:storyItem>>
storyItem is what you choose when you use "ask" and choose "story
column (one file)"

Cheers Måns Mårtensson

HansBKK

unread,
Aug 3, 2011, 12:31:56 AM8/3/11
to tiddl...@googlegroups.com
I have accomplished this (getting a nice printout of everything currently displayed in the main content column) by using a @media print-only CSS stylesheet tiddler setting display:none on all the "user chrome" elements (nav menus, borders) I want to hide, changing the fonts (non-serif on headers, serif on body) etc. I highly recommend Firefox+Firebug for getting DOM element details.
 
Unfortunately I've lost my main computer and haven't yet gotten everything restored to the point where I could post specific examples, but hope this helps get you started in the meantime.
Reply all
Reply to author
Forward
0 new messages