Mmmhhh

sorry, I discovered a very annoying typo in previous send. I did edit the 
post, but for those using email here is the good versions for the .tid's 
and .pdf (only140 pages now...)
https://send.firefox.com/download/f2b11c6f0dcc233b/#bL4F1OBL1gib8gYiQnbnaA

cheers

Sylvain
@sycom

Le mardi 28 mai 2019 16:28:25 UTC+2, SylvainComte a écrit :
>
> Hello,
>
> Maybe spliting it in sub-chapters ?
>
> I did hack the toc macro to make a book macro. freezes the browser tab 
> when using the whole wiki (<<book TableOfContents>>)... But not if I uses 
> book macro for each first level chapter (see TiddlyWiki-Book.tid). I don't 
> know why...
>
> It's a bit raw out of the box and needs a lot polishing but works (see 
> example attached - note i'm behind a proxy firewall so a lot of external 
> ressources are blocked) - nearly 900 pages!!! Had to put this on a sharing 
> partner (available only 7 days and 100 downloads. Be fast! ;-) 
> : https://send.firefox.com/download/f2b11c6f0dcc233b/#bL4F1OBL1gib8gYiQnbnaA
>
> You may play with it by yourself : get the "book.tid" macro and the 
> "TiddlyWiki-Book.tid" tiddlers in your own copy.
>
> cheers
>
> Sylvain
> @sycom
>
> Le mardi 28 mai 2019 09:24:11 UTC+2, TonyM a écrit :
>>
>> Folks,
>>
>> I have built a Linear Table Of Contents that appears in a single 
>> tiddlywiki, such as it would create a single tiddler with the content from 
>> the Table Of Contents. Its working well, but It fails due to the size of 
>> tiddlywiki.com (offline copy).
>>
>> I can list all the titles but if I transclude the content for each 
>> tiddler on clicking "done, the result is never displayed. The Wiki seems to 
>> freezes, and closing the browser the only option.
>>
>> I wonder if there are some settings that would allow it to work.
>>
>> Regards
>> Tony
>>
>> On Tuesday, May 28, 2019 at 11:13:24 AM UTC+10, TonyM wrote:
>>>
>>> Hi Tam,
>>>
>>> It is interesting to read your request. Tell us more how/where you will 
>>> use the resulting PDF?
>>>
>>> As Mat points out TiddlyWiki.com is non-linear, it is not a book, it 
>>> makes full use of an interactive table of contents, search and optional 
>>> paths. This is better organised that any PDF can be. I have actually built 
>>> a version of TiddlyWiki.com for the new user but it includes the ability to 
>>> take notes and more.
>>>
>>> Unless you plan to print your PDF can I ask where will you read your PDF 
>>> that you can't instead open the tiddlywiki itself? If you want to read 
>>> everything in a wiki, perhaps a button to tag each read tiddler with a 
>>> "read" tag.
>>>
>>> *Sticking to your original request.*
>>> If we come up with a good solution, perhaps others will also use this, 
>>> not just for tiddlywiki.com.
>>>
>>> Ideally if we could export it to pdf with the chapter headings in the 
>>> contents of the pdf and then use the search within pdf it may be almost as 
>>> easy to read it in pdf. This may actually be possible by generating a HTML 
>>> tiddler/file with the correct use of headings and sections etc... and 
>>> feeding this into a good html to PDF converter.
>>>
>>> But this could need lots of work, but it could be a worthwhile 
>>> investment as it would be a way to publish the content of TiddlyWiki as a 
>>> book, and some authors may want this. With careful design the one wiki 
>>> could contain both the draft and revised versions of a book.
>>>
>>> *Quick and easy*
>>> The quick and easy way is to create a tiddler which transcludes all the 
>>> content you want to package in your PDF, open that tiddler in a new window 
>>> and use the browsers print function to print to PDF (assuming you have 
>>> installed a "print to pdf" printer). Note however to do the whole 
>>> TableOfContents can be a disaster. see *Transcluding the content you 
>>> want to package in your PDF*
>>>
>>> *Transcluding the content you want to package in your PDF*
>>> Mark and Sylvain address this in this thread, but the idea of say using 
>>> the TableOfContents to generate this view may be compromised by some loops, 
>>> ie a lower tiddler referencing a higher tiddler, resulting in a loop.
>>>
>>> I have a design pattern I am keen to explore that iterates the whole 
>>> Table of Contents (TOC) adding a branch field to each tiddler, that 
>>> contains the path from the Top of the TOC to the current tiddler. If you 
>>> come to the same tiddler and it already contains a branch then a reference 
>>> to the tiddler in its branch is given to stop any infinite loops, and 
>>> repeating content. The Branch could be use as bread crumbs as well. We 
>>> could also use the kin operator to list all tiddlers not in the TOC as 
>>> appendices.
>>>
>>> So I am working on this now.
>>>
>>> Regards
>>> Tony
>>>
>>> On Tuesday, May 28, 2019 at 2:52:11 AM UTC+10, tam wrote:
>>>>
>>>> I am planning to spend a bit of time learning how to use TiddlyWiki in 
>>>> more depth and I have tried to get the documentation 
>>>> <https://tiddlywiki.com/>in a PDF format.
>>>>
>>>> At first I thought it would be easy - just "Export all" as static HTML 
>>>> then convert to a PDF. Of course this gives me all the tiddlers in 
>>>> alphabetical order. This is not much good to me, ideally I would need them 
>>>> to be in *roughly* the order they appear in the contents menu of 
>>>> tiddlywiki.com.
>>>>
>>>> Is there anyway to do this? (I'm guessing probably not).
>>>>
>>>> Thanks!
>>>>
>>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b422c0e-0486-48cd-a0ff-3441fe29be8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: bookMacro.tid
Description: Binary data

Attachment: TiddlyWiki-Book.tid
Description: Binary data

Reply via email to