For what its worth, I've added the ability to specify tags, and a prepend and post-pend string, since I find its often useful to wrap the resulting text in something to force a smaller font.
-- Mark On Jul 16, 11:52 am, Ken Girard <[email protected]> wrote: > Interesting. I can see it also being useful for taking long stories/ > articles and quickly making them screen/page sized. (I find that I get > more out of my reading when I don't have to keep scrolling, plus it > make searchs a lot more exact) > > Ken Girard > > On Jul 16, 12:09 am, "Mark S." <[email protected]> wrote: > > > Now that there's a way to make TiddlyPocketBooks (aka PocketMod) with > > TW, I'm looking for ways to easily create portable documents. My > > current technique is to create one central library with various sets > > of 8 pages that make up the PocketBook. I pull the pages into the > > PocketBook using Eric Shulman's ExternalTiddlerPlugin and a control > > tiddler to specify the base names of the pages I want, where each page > > is numbered like Tiddler1, Tiddler2, etc. > > > One problem is that when sourcing new material, it can be tedious to > > split it into 8 chunks of about the right size. So, here's my first > > stab at it: > > > http://marksbasement.tiddlyspot.com/#SplitTextIntoTiddlers > > > Open it up to read the documentation and view the supporting > > requirements. > > > This script will allow you to split up a large chunk of copied text > > into however many tiddlers you want, using a specified base (stem) > > name for the generated tiddlers. It currently uses a character count > > to to determine the break point, along with word boundaries. A > > character count isn't perfect, but unless someone can point me to a > > technique that can readily calculate the space a given bit of text > > with a given font will take inside a specified box, it will have to > > do. Picking the right character count for your particular project > > should get you pretty close, and make the job mostly one of tweaking > > here or there afterward. > > > Thanks to everyone, especially Eric, for all the help and examples in > > these forums that makes it possible to create these types of scripts. > > > -- Mark > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

