Hi Meta I use google's document viewer via an iframe for showing pdfs and powepoint presentations in tiddlers ..
Checkout: http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html You can easily turn it into a transclusion replacing the url with a variable... [[MyPdfViewer]] <html><iframe src="http://docs.google.com/gview?url=$1&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe></html> and use it like this: <<tiddler MyPdfViewer with: [[my pdf's address]]>> Enjoy Måns Mårtensson On 10 Maj, 18:01, Meta <mendels...@gmail.com> wrote: > THanks for your reply mario. Yes, for many purposes the browser plugin > may be better, but I still think there are benefits to rendering > documents with pdf.js (mainly portability). A compromise would be to > load the pdf.js file directly from github. I've tried this and it > works. This way it will stay automatically updated, the only downside > is no pdf viewing without an internet connection. But then, if your > pdf files are also remote this will not be a problem. > > On May 10, 10:28 pm, PMario <pmari...@gmail.com> wrote: > > > > > > > > > Hi, > > This project is quite interesting. But ... > > > I had a look at the github source, 1.3 MByte (uncompressed) is 3 times > > as much as a vanilla TW itself. Just for viewing PDFs, I wouldn't want > > to carry that around within a TW. > > > I personally would use the browser plugin [1], which will be > > automatically updated. There may be plugins for other browsers too. > > > have fun! > > -mario > > [1]https://addons.mozilla.org/en-US/firefox/addon/pdfjs/ -- 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 tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.