[tw] Re: Export subset of tiddlers to document for non-tiddly people
What I do is create the print style i want then print to PDF (PDFCreater on windows) then email the thing round. It's easy, works and keep the managers happy and they can still copy and paste stuff out of it. D On Oct 15, 1:13 pm, FND <[EMAIL PROTECTED]> wrote: > > This *should* include the definitions from StyleSheetPrint [...] > > so print-specific CSS should work just fine. > > Yeah, but only when actually printing - i.e. not when viewing and saving > the document as an HTML file. > > Come to think of it, I don't think there's a simple and reliable way to > active print style sheets like this. > Would it be possible to add the class "snapshot" to the generated HTML > page's BODY element? That'd be a better solution anyway, I think. > > -- F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com 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 -~--~~~~--~~--~--~---
[tw] Re: Export subset of tiddlers to document for non-tiddly people
> This *should* include the definitions from StyleSheetPrint [...] > so print-specific CSS should work just fine. Yeah, but only when actually printing - i.e. not when viewing and saving the document as an HTML file. Come to think of it, I don't think there's a simple and reliable way to active print style sheets like this. Would it be possible to add the class "snapshot" to the generated HTML page's BODY element? That'd be a better solution anyway, I think. -- F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com 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 -~--~~~~--~~--~--~---
[tw] Re: Export subset of tiddlers to document for non-tiddly people
> Well, you could do that with a little bit of custom CSS: > [EMAIL PROTECTED] print { > .tiddler .subtitle { > display: none; > } > } > Note that I've wrapped this in "@media print { ... }", which means it > only applies when printing - not sure whether the SnapshotPlugin's print > parameter also invokes the print style sheet though In addition to writing the HTML for the currently displayed content, SnapshotPlugin gathers all currently defined
[tw] Re: Export subset of tiddlers to document for non-tiddly people
> I'm also hoping to remove the 'edited by' meta information Well, you could do that with a little bit of custom CSS: @media print { .tiddler .subtitle { display: none; } } Note that I've wrapped this in "@media print { ... }", which means it only applies when printing - not sure whether the SnapshotPlugin's print parameter also invokes the print style sheet though, so you might have to do some fiddling (i.e. changing the StyleSheet) before creating the snapshot. > Any thoughts on how to get where I'm going with this approach, or > alternatives to solve the main problem, most welcome! Well, you could use a virtual printer* to create a PDF document when printing... -- F. * http://en.wikipedia.org/wiki/Virtual_printer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com 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 -~--~~~~--~~--~--~---