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/526982e5-bc2d-4a3d-8735-ab2e649b441e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to