[tw5] Re: [tw] Re: Navigating and transcluding Slices...Missing Features for the atomic concept:

2018-11-26 Thread Roger Ferrari
Using Thomas solution together with the Smart TOC extension for chrome 
works just fine for me.

this is the 
extension: 
https://chrome.google.com/webstore/detail/smart-toc/lifgeihcfpkmmlfjbailfpfhbahhibba/related

it has a github page, unfortunately I am no coder/programmer I was trying 
to understand a way to get the piece of code to reproduce what the 
extension does but I just can't.

On Monday, March 27, 2017 at 9:04:36 PM UTC-3, Jan wrote:
>
> Hi Thomas, thanks a lot for this.
> I would prefer an Infobox in the Edit-Mode right below the TiddlerTitle.
> It would be best to include a warning wether the Tiddler is transcluded 
> from somewhere in order to avoid accidental confusions.
>
> ...but I also have thought of using your Plugin the other way round to 
> produce a slice-replacement. 
> A function extracting some marked piece of a specific Tiddler. Something 
> like Text to extract.
> This would also have the advantage that it would be immediately visible 
> that the slice is used elsewhere.
>
> Yours Jan
>
> Am 08.01.2017 um 01:07 schrieb Thomas Elmiger:
>
> Hi Jan
>
> The extract macro  offers a 
> new solution to this: 
>
>> -When you discover that the content you wish to change was transcluded, 
>> it takes some time to get to the real tiddler; in most cases I have to find 
>> and open with the searchbar.
>> It would be practical if transclusions were clickable Links in the 
>> edit-Mode. Could this be done with a template or plugin? 
>>
>  
> As you would expect, it can find all {{transclusions}} in curly style – 
> and with the new version (0.9.2) you can output them as a list of links. I 
> made a demo here: http://tid.li/tw5/hacks.html#Icon%20Test where it lists 
> all the images used. 
>
> I think such a list could be appended as a tab to the tiddler info panel … 
> or maybe you could make a conditional view template and append it to the 
> edit view. Of course you miss .
>
> Good luck and good night!
> Thomas
> -- 
> 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 tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> 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/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/e7fb2b70-77b1-4e60-b291-6a36f910bb04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to create Table of Contents inside a tiddler?

2018-11-26 Thread Roger Ferrari
TonyM, Hi there!

I was looking for a way to replicate wikipedias TOC and I think actually 
the way you showed with tabs (<]" "!Heading 1" 
"$:/state/tab1" class:"tc-vertical">>) is much better.
Though I would like to know if I could change the label it shows in the 
tabs, instead of the tiddler name, a short alias.

I will try to explain why. I am using tidllywiki to put info about a RPG 
world for my players, and I am writing about each city.
Each city will have History, Geography, Politics and so on. I can name the 
tiddlers with `city-name-history`for instance, but it is a very large name 
to show in the tab, whereas I would like to show just History.

Sorry my terrible english, if I wasn't clear enough let me know and I will 
try again. Anyway thanks for your time.

On Thursday, July 5, 2018 at 9:38:39 AM UTC-3, TonyM wrote:
>
> Talha,
>
> To support what Mohammad said 
>
> *The philosophy of tiddler is the smallest meaningful chunk of contents. 
> They are not for lengthy and huge amount of content.*
> *If you get this philosophy you wont need to have table of contents from 
> headings instead you will need table of content from tiddlers*
> *and it was explained by Jed.*
>
> I made a gift for you, download and drag and drop the attached file onto 
> TiddlyWiki
> I have also dumped a PDF (incorrect pagination)  to illustrate what they 
> will look like.
>
> Start with the Tiddler 
> Tiddler pre-transclude
> (edit them to see how they look inside, then see
> Tiddler post-transclude
> I used the Editor ToolBar Excise tool with the tagging checked, to divide 
> the first into the second by heading, but since they are now separate 
> tiddlers the other examples show other formats, that are possible once they 
> are individually tagged tiddlers including drag and drop re-ordering.
>
> Then work though the remaining ones to see how even a few minutes work can 
> make very good use of individual tiddlers.
>
> Regards
> Tony
>
> On Thursday, July 5, 2018 at 12:05:16 AM UTC+10, talha131 wrote:
>>
>> How do I create table of contents from headings inside a Tiddler written 
>> in TiddlyWiki markup?
>>
>> For example, markdown has couple of plugins that create TOC from 
>> headings, like [Visual Studio code Plugin](
>> https://marketplace.visualstudio.com/items?itemName=joffreykern.markdown-toc
>> ).
>>
>> Is there a macro or plugin available for TiddlyWiki?
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/3c9ba6fc-e2c4-4d9c-88db-d2b041f5398e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Table of Contents inside a tiddler

2018-11-26 Thread Roger Ferrari
Hello Milind, sorry to bring it up, just curious if you got that?

I am trying to have this small table of contents linking to the sections 
inside the tiddler.

BR,
Roger

On Friday, December 1, 2017 at 6:36:08 PM UTC-2, Milind wrote:
>
> Hi,
>I am also looking for such a plugin to port my Tiddlywiki Classic 
> to the new Tiddlywiki. The tidtoc mentioned here 
> http://tidtoc.tiddlyspot.com/#GettingStarted looks very good. Is there a 
> version where the headings grouped in the TOC can act as links to the 
> headings in the tiddler? That was how the Tiddlywiki Classic TOC used to 
> work. 
>
> Thanks,
> Milind
>
>
> On Thursday, 20 November 2014 05:55:05 UTC-8, Stephen Kimmel wrote:
>>
>> I use Tiddlywiki at work. I work with a lot of documents of different 
>> types. Some are legal documents and affidavits. Others are contracts and 
>> specifications. Some are well structured while others seem to ramble 
>> pointlessly. Some are lengthy while others are very short. I need to be 
>> able to figure out quickly which document contains a particular 
>> requirement. I've found that Tiddlywiki with its search function, and 
>> especially with Danielo's context search plugin, is almost perfect for my 
>> task.Everyone I've shown my wikis to has been envious.
>>
>> One key criteria in my line of work: for existing documents, I must have 
>> every word and character correct and in the right order. Most of these 
>> documents must not be edited. For example, I can't change any part of an 
>> existing contract. I can highlight portions of it but I must not change any 
>> word or word order or punctuation mark. Using a clause from one document in 
>> another is rare enough that simply copying is the obvious answer. 
>>
>> Consider the two alternate ways of doing things; the preferred Tiddlywiki 
>> method of breaking my documents into small pieces and my current method, 
>> the document dump.
>>
>> I don't so much create tiddlers as dump documents into them. Dumping a 
>> document into a single tiddler is fast and easy. Open the word document. 
>> Copy the entire thing. Open the wiki. Create a new Tiddler. Paste the 
>> document into the tiddler. Name the tiddler to match the source document 
>> name. And I'm done. If I care to preserve the formatting, I add three quote 
>> marks at the beginning. Total time expended, perhaps a minute. If I really 
>> want to make it pretty, I can spend 10-15 minutes adding exclamation marks 
>> to mark headers or use Danielo's Keysnippet routine to convert some jumbles 
>> into neat tables.
>>
>> This creates what can be a very large tiddler. The search function works 
>> as expected and rapidly identifies which document contains which phrase. It 
>> has every character and every word in exactly the right order. It 
>> accomplishes what I need to accomplish with a minimal amount of effort.
>>
>> And the disadvantage? So far I haven't found one. If Tiddlywiki processes 
>> the tiddler more slowly, I haven't noticed.
>>
>> By comparison, the Tiddlywiki preferred choice, lots of little tiddlers, 
>> is a good deal of work. 
>>
>> I've tried copying and pasting individual segments from the word document 
>> into individual tiddlers. Each smaller tiddler takes about the same amount 
>> of time to set up as my much larger single tiddler but after that I'm still 
>> not done. I still have to rebuild the original document from those 
>> individual tiddlers and I have to verify that I got all the material 
>> correctly. When that is done, I have to create a field and tagging system 
>> so that each smaller tiddler will reflect its source document and sort 
>> correctly so the table of contents will be right. 
>>
>> If I saw any real advantage to using a lot of little tiddlers to 
>> accomplish the same thing that can be done with one large tiddler, I might 
>> go ahead and spend the extra time. The last couple times I went through 
>> this exercise, it took me hours rather than minutes. And what did I get for 
>> my effort? As close as I can tell, nothing but older.
>>
>> One thing that would make my life easier would be a table of contents 
>> that worked inside a single tiddler that was based on headers or some 
>> invisible marker. I know this has been requested more than once and now, 
>> perhaps, you can understand why I want one. A simple list of headers would 
>> be helpful. I could then use the browser's Find command to jump to the 
>> appropriate section.
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/adc445cd-3fd4-4f01-9772-45fda2ab916a%40googlegroups.com.
For more options, visit 

Re: [tw5] Re: tw5 question about thumbnails and links to external image files

2018-11-26 Thread Roger Ferrari
Good morning!

This is the code I am using:

\define imageit(image:"image.jpg")
>  />
> \end

https://i.imgur.com/ouGocUq.jpg (Macro screenshot)

And in another tiddler I am using this code:

<>


And this is what happens:

well, I was about to take the screenshot as I recreated the steps and it
worked as intended lol. Thanks!
I might have missed something, it was pretty late at night yesterday. Thank
you so much.


*Roger Ferrari*



On Mon, Nov 26, 2018 at 1:18 AM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> One of the great things about macros written with TiddlyWiki is that, if
> you used all core components, they will continue to be backward compatible
> no matter how much time has passed.
>
> I just ran a test, and the 4 year old code still works.
>
> With this particular macro, what is going to matter most is the directory
> structure of your images. It's expecting that you will put a directory
> below your TW directory, and then a subdirectory "thumbs" below that. The
> default image directory was TW-Images, but you can supply a different image
> path.
>
> So you might explain a bit about your set-up, and the image names you're
> using.
>
> Good luck
> -- Mark
>
>
>
>
> On Sunday, November 25, 2018 at 6:04:25 PM UTC-8, Roger Ferrari wrote:
>>
>> Hi, sorry to bring such old discussion, but I am trying to reproduce this
>> macro and it doesn't work for me.
>>
>> I created it with the tiddlywiki technique to implement global macros
>> (macros defined in tiddlers with the $:/tags/Macro tag)
>>
>> and the syntax is exactly the same as you show above, do you have any
>> idea what could I possibly be doing wrong? Thank you so much for any help
>> and your time.
>>
>>
>> On Monday, November 10, 2014 at 7:22:20 PM UTC-2, Mark S. wrote:
>>>
>>> You could roll your own macro that would do some of that:
>>>
>>> \define imageit(image:"image.jpg")
>>> >> />
>>> \end
>>>
>>> e.g.
>>>
>>> <>
>>>
>>> This produces a 1/4 size clickable "thumb" (no actual thumb is
>>> generated).
>>>
>>> To actually generate a thumb would probably take a FF plugin.
>>>
>>> The tiddlyclip plugin (http://tiddlyclip.tiddlyspot.com/) can capture
>>> screenshots of  web pages, BTW.
>>>
>>>
>>> On Monday, November 10, 2014 10:57:50 AM UTC-8, steve wrote:
>>>>
>>>> Hi
>>>>
>>>> I am using TW5 to write documentation for a application and I would
>>>> like to embed screenshots in the text
>>>> So far I am able to have a clickable link to the image (see below)
>>>>
>>>> [ext[App Screenshot|./externalFiles/image.tiff]]
>>>>
>>>> What I would really like to do is:
>>>> * have the image displayed in the tiddler without having to click on a
>>>> link (good);
>>>> * have a thumbnail of the image displayed; click on thumbnail to see
>>>> the full resolution image (better)
>>>> * generate the thumbnail "on the fly" without having to a separate
>>>> thumbnail image; click on the thumbnail to see the full resolution image
>>>> (best)
>>>>
>>>> Steve Wharton
>>>>
>>> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> 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/54340cfb-75db-454d-8e22-b67989cfc397%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/54340cfb-75db-454d-8e22-b67989cfc397%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/CAGJic6AUTUgcAj6i3xgqFkKqre7vEJboQO4simbasKhAPPS64g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: tw5 question about thumbnails and links to external image files

2018-11-25 Thread Roger Ferrari
Hi, sorry to bring such old discussion, but I am trying to reproduce this 
macro and it doesn't work for me.

I created it with the tiddlywiki technique to implement global macros 
(macros defined in tiddlers with the $:/tags/Macro tag)

and the syntax is exactly the same as you show above, do you have any idea 
what could I possibly be doing wrong? Thank you so much for any help and 
your time.


On Monday, November 10, 2014 at 7:22:20 PM UTC-2, Mark S. wrote:
>
> You could roll your own macro that would do some of that:
>
> \define imageit(image:"image.jpg")
>  />
> \end
>
> e.g. 
>
> <>
>
> This produces a 1/4 size clickable "thumb" (no actual thumb is generated).
>
> To actually generate a thumb would probably take a FF plugin.
>
> The tiddlyclip plugin (http://tiddlyclip.tiddlyspot.com/) can capture 
> screenshots of  web pages, BTW.
>
>
> On Monday, November 10, 2014 10:57:50 AM UTC-8, steve wrote:
>>
>> Hi
>>
>> I am using TW5 to write documentation for a application and I would like 
>> to embed screenshots in the text
>> So far I am able to have a clickable link to the image (see below)
>>
>> [ext[App Screenshot|./externalFiles/image.tiff]]
>>
>> What I would really like to do is:
>> * have the image displayed in the tiddler without having to click on a 
>> link (good);
>> * have a thumbnail of the image displayed; click on thumbnail to see the 
>> full resolution image (better)
>> * generate the thumbnail "on the fly" without having to a separate 
>> thumbnail image; click on the thumbnail to see the full resolution image 
>> (best)
>>
>> Steve Wharton
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/92786e1b-18e6-4e02-8631-bcd526f2acc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.