Hi Jeremy, Thank you very much!! This is a great start for what I want to do. I think I will need to change a little bit the source to select somehow the tiddlers I need (filters perhaps) and sort them in the appropriate order, but looking at your code, I think I will manage to do it.
I will report my progress with that. By the way, I have been a fan to tiddlywiki classic for some years, and TW5 is much more powerful! Happy new year!! Octavi On Tuesday, December 31, 2013 12:21:35 PM UTC+1, Jeremy Ruston wrote: > > Hi Octavi > > For TW5, I've just committed an example of generating an all-in-one static > HTML representation of a wiki, with wiki links represented as internal > #anchor links: > > > https://github.com/Jermolene/TiddlyWiki5/commit/b9e80a270b7f67db816e9b06e2f71f9c9dd86c17 > > The change will show up in 5.0.6. Let me know how you get on, > > Best wishes > > Jeremy > > > > > On Mon, Dec 30, 2013 at 7:42 PM, okido <[email protected] <javascript:>>wrote: > >> Hi Octavi, >> >> To give you some ideas I generate documents from TWc in 2 different ways: >> >> 1. Create a HTML file from tiddlers with style sheets, svg graphs >> etc. all included, this requires js coding, although there is a plugin >> for >> html export in TWc. >> I abandoned this path as it becomes more and more complicated to save >> to the local file system. >> Once you have a HTML file on the file system print the whole page >> with cutepdf or easypdf, page numbering is done by FF. >> 2. Create the whole document as one large tiddler by inclusion. >> Occasionally I set the page breaks by hand. >> Printing is done again with cutepdf or easypdf. You might need a >> print stylesheet to hide certain TW5 elements. >> >> I would regard No. 2 as being the best option right now that can be used >> in TW5. >> If you use node.js you can generate static html pages from a TW5, it >> might be possible to selected only these pages that you need and convert >> them with phantomjs to pdf. >> >> Goodluck, Okido >> >> 2013年12月29日日曜日 17時16分41秒 UTC+1 Octavi: >> >>> Hi, >>> >>> I am looking for the best way to export several tiddlers (probably >>> hundreds) into a single document (for example a Word document or a PDF), >>> that can be printed as a book. I am using the new version of tiddlyWiki >>> (5.0) >>> >>> One possibility is creating a big tiddler with all other tiddlers >>> transcluded in it (using the syntax {{TiddlerName}}). Then export it as >>> html, open it in Microsoft Word or OpenOffice, add the table of contents, >>> list of figures, page numbering and so on and print it to PDF. >>> >>> The main problem is that the links between tiddlers don't translate into >>> links between sections of the book. >>> >>> Does anyone has used tiddlywiki to write a big document or a book? >>> >>> Thank you! >>> >>> Octavi >>> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.

