Re: [tw] Re: (tw5) howto display c source code syntax highlighted in a scroll box with line numbers

2015-09-13 Thread ch
hi jeremy, sadly, the highlight plugin doesn't support line numbers: http://highlightjs.readthedocs.org/en/latest/line-numbers.html codemirror seems to support all features i want: 1. syntax highlight 2. line numbers 3. display the c source code in a scroll box 4. mark/unmark a line by a

Re: [tw] [TW5] highlight.js

2015-09-13 Thread Bob Flandard
Hello Jeremy Thanks for working that out. It may take a while because I need to write the brush myself (It's only me and Motovun Jack that use APDL these days). I did previously have a go at following the build instructions on the GitHub link you gave above. It output some code but I haven't

[tw] Re: [TW5] looping through an array in a macro

2015-09-13 Thread Mat
@evolena > <$list filter="""$filter$"""> > I don't think the triple quotes are necessary, i.e enough with single quotes, or? <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from

[tw] Re: [TW5] looping through an array in a macro

2015-09-13 Thread Bob Flandard
Hello Evolena, Thank you for your code suggestion but it's a bit too abstract for my tiny brain. I was thinking of something of the form: \define myMacro(arg1 arg2) for i in arg1: make a string that does something useful and insert $arg1[i]$ and $arg2[i]$ values \end myArray1=[string1,

Re: [tw] DefaulTiddler only displays first tiddler

2015-09-13 Thread Ray Vermey
Hi Danielo, i found out what it was: It was the zoom option i used. 2015-09-13 2:11 GMT+02:00 Danielo Rodríguez : > Have you tried adding line breaks? I think it should look like a list > > -- > You received this message because you are subscribed to a topic in the > Google

Re: [tw] DefaulTiddler only displays first tiddler

2015-09-13 Thread Ray Vermey
Yes that was the solution Jeremy, thanks! Ray 2015-09-13 9:30 GMT+02:00 Jeremy Ruston : > Have you got the storyview set to 'zoomin' perhaps? > > Best wishes > > Jeremy > > > — > jeremy.rus...@gmail.com > > > On Sat, Sep 12, 2015 at 12:56 PM, Ray Vermey

[tw] Re: [TW5] External Link with embedded macro call

2015-09-13 Thread Bob Flandard
Thanks Eric, I guess I should have tried that, but it was past my bedtime and half of my brain cells were asleep and the other one was sipping a soothing malt based drink. All the best, Bob -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw] Re: Version confusion for new users

2015-09-13 Thread Mat
On Sunday, September 13, 2015 at 9:29:15 AM UTC+2, Leopold Bloom wrote: > > WHY not just run another wiki where collaboration is permitted live? > DokuWiki is perfectly capable to do this. Can't we use a DokuWIki instance > till TiddlyWiki 5 is ready for collaboration? > First of all, anyone

Re: [tw] Re: [TW5] Get list of descendants by recursively assembling filter?

2015-09-13 Thread Linus Johnsson
Through your suggestions I have made at least some progress. Given the code \define listDescendants(tag) $tag$ <$list filter="[tag[$tag$]tag[concepts]]"> <$view field="title" /> <$macrocall $name="listDescendants" tag=<> /> \end \define myMacro() <$set name="myList"

[tw] [TW5] looping through an array in a macro

2015-09-13 Thread Bob Flandard
Hello, Is it possible to define an array and pass it as an argument to a user defined macro and then loop through each element of the array within the macro? Thanks, Bob -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

Re: [tw] [TW5] highlight.js

2015-09-13 Thread Jeremy Ruston
Here's an approach that should let you hack additional language brushes into the preview of 5.1.10. It modifies one of the shadow tiddlers within the highlight plugin, which can cause problems with future upgrades; if that happens, remove the shadow tiddler override and then re-apply the technique

Re: [tw] Re: (tw5) howto display c source code syntax highlighted in a scroll box with line numbers

2015-09-13 Thread Jeremy Ruston
Hi ch Have you tried the highlight plugin? It provides syntax highlighting for code blocks: http://tiddlywiki.com/plugins/tiddlywiki/highlight/ Best wishes Jeremy. On Sat, Sep 12, 2015 at 2:06 PM, ch wrote: > no > > > On Saturday, September 12, 2015 at 3:02:15

[tw] Re: Version confusion for new users

2015-09-13 Thread Leopold Bloom
WHY not just run another wiki where collaboration is permitted live? DokuWiki is perfectly capable to do this. Can't we use a DokuWIki instance till TiddlyWiki 5 is ready for collaboration? Or is there a NIH (not invented here) problem with using a 'competing' software? On Saturday, 12

Re: [tw] DefaulTiddler only displays first tiddler

2015-09-13 Thread Jeremy Ruston
Have you got the storyview set to 'zoomin' perhaps? Best wishes Jeremy — jeremy.rus...@gmail.com On Sat, Sep 12, 2015 at 12:56 PM, Ray Vermey wrote: > Hi all > i edited DefaultTiddler as folows: > [[TagCloud]] [[ToDo]] > Now only the TagCloud tiddler is

Re: [tw] Re: TW Hosting

2015-09-13 Thread Jeremy Ruston
I'm afraid that Google have announced that they plan to withdraw the ability to host web content on Google Drive: http://googleappsdeveloper.blogspot.co.uk/2015/08/deprecating-web-hosting-support-in.html "Beginning August 31st, 2015, web hosting in Google Drive for users and developers will be

[tw] Re: [TW5] looping through an array in a macro

2015-09-13 Thread Evolena
Le dimanche 13 septembre 2015 10:48:18 UTC+2, Bob Flandard a écrit : > > Hello, > > Is it possible to define an array and pass it as an argument to a user > defined macro and then loop through each element of the array within the > macro? > > Thanks, Bob > Of course, something lke that:

Re: [tw] Re: TW Hosting

2015-09-13 Thread Hegart Dmishiv
Thanks Jeremy, good to know that in advance. I guess pretty much any free hosting site (such as BitBalloon as mentioned by the OP) will do for hosting TW files, as long as they are named index.html, and as long as the host doesn't add their own advertising that somehow breaks the javascript of

[tw] Re: Version confusion for new users

2015-09-13 Thread Mat
On Sunday, September 13, 2015 at 3:46:58 AM UTC+2, Hegart Dmishiv wrote: > > I appreciate the efforts of volunteers working on making TiddlyWiki as > great as it is, and particularly the work of Jeremy. I plan to watch the > hangout > videos >

[tw] Re: Version confusion for new users

2015-09-13 Thread Hegart Dmishiv
Hi Mat, On Sunday, September 13, 2015 at 9:25:01 PM UTC+12, Mat wrote: > > On Sunday, September 13, 2015 at 3:46:58 AM UTC+2, Hegart Dmishiv wrote: >> >> I plan to watch the hangout videos >> >> at some time soon and

[tw] Re: TW5 -- Excluding a tiddler from timeline?

2015-09-13 Thread PMario
With TW5 you can create system tiddlers. They are not shown by default. All system tiddlers start with $: To get them listed at the "More: System" tab, at the very beginning of the list you can start your "user" system tiddlers with an underline, like so: $:_mySystemTiddler. This (the

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread Hegart Dmishiv
On Monday, September 14, 2015 at 3:09:47 AM UTC+12, PMario wrote: > > TW5 is not 100% compatible with TWc. It is a rewrite from scratch. > see: http://tiddlywiki.com/#Macros:Macros%20Transclusion > -m > Thanks for the reply, but, um, does that mean I'll have to learn how to write JavaScript in

[tw] TW5 -- Excluding a tiddler from timeline?

2015-09-13 Thread williamburkha...@gmail.com
Hi there! In previous versions, I could simply tag excludeLists and that would ensure a tiddler did not appear in the timline? How does one accomplish this in the newer version? Slow to upgrade, Will -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw] (tw5.1.9) on node.js ver 0.10.29~dfsg-2 (debian) - unable to display external files on local host

2015-09-13 Thread ch
hi, i've tried to display external files on local host using this tip: http://tobibeer.github.io/tb5/#Embedding%20A%20Text%20File i.e. replacing "http://; with "./", or "file://", etc. but it doesn't work! using a file with "http://; works fine! any ideas? kindly, christian -- You received

[tw] [TW5] How to use parametric transclusion?

2015-09-13 Thread Hegart Dmishiv
I see that it is possible in TW Classic to pass parameters when calling a template . From my MediaWiki experience, this is what I understand to be a fairly standard templating technique. From what I've seen so far of TW, "template" seems to have a whole

Re: [tw] Re: Looking for a nice compact newbie tutorial on Youtube

2015-09-13 Thread Hegart Dmishiv
On Saturday, September 12, 2015 at 6:58:55 AM UTC+12, Francis Meetze wrote: > > I put up a temporary video of what I was shooting for. It's pretty rough > and unscripted, but it covers all the basic items I thought I'd like to > know myself before starting with TiddlyWiki. > > Link:

[tw] Re: Version confusion for new users

2015-09-13 Thread Hegart Dmishiv
On Monday, September 14, 2015 at 12:02:39 AM UTC+12, Mat wrote: > > But as you note, we're again limited in that it is tricky to > collaboratively refine the material, and expecting individuals to make such > efforts so that the result is good enough to be generally useful... well, > that is

[tw] Re: Version confusion for new users

2015-09-13 Thread Mat
Come on. Surely you should watch at least the first 10 hangouts from 2013. Just drink lots of coffee. Seriusly... don't. If anything, you should watch them in reversed order and, well, "just a few". It is even tough to watch the new ones unless there's some specific issue you care about. But

[tw] CommunitySearch new address and new features

2015-09-13 Thread Erwan
Hi everyone, The TW CommunitySearch wiki (a.k.a the aggregator) is back, with a new address and several significant improvements: check it out at http://erwanm.github.io/tw-community-search/ For tiddlywikians who don't know it yet, the CommunitySearch wiki is an index of many public wikis

[tw] (tw5) on node.js : inconsistent behaviour when importing image files using drag'n'drop

2015-09-13 Thread ch
hi, i noticed that when you drag'n'drop a jpeg image (for example image.jpg), that file is copied to the tiddlers folder and a new file is created using the same file name as the file imported with ".meta" as postfix, i.e. image.jpg.meta - this file contains something like: created:

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread PMario
TW5 is not 100% compatible with TWc. It is a rewrite from scratch. see: http://tiddlywiki.com/#Macros:Macros%20Transclusion -m -- 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

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread PMario
On Sunday, September 13, 2015 at 5:24:08 PM UTC+2, Hegart Dmishiv wrote: > > Thanks for the reply, but, um, does that mean I'll have to learn how to > write JavaScript in order to do simple transclusion with parameters in > TW5.x? > You don't need JavaScript. What makes you think so? Just

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread PMario
On Sunday, September 13, 2015 at 7:21:45 PM UTC+2, Mark S. wrote: > > Inside a list, you might frequently transclude the contents of tiddlers > that have been selected by the "filter" parameter of the <$list> widget. > The output fields from those tiddlers might be modified by a template >

[tw] Re: (tw5.1.9) on node.js ver 0.10.29~dfsg-2 (debian) - unable to display external files on local host

2015-09-13 Thread PMario
Is there a file server running on localhost? The TW server function is not intended to be an nginx or apache server. IMO it's for local debugging and develompment. -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw] Re: [TWc] Forked version of Firefox to use as local application?

2015-09-13 Thread roger
A Acorn, Thanks for the info. Not sure I'll go that route but appreciate knowing about it none the less. ~ Roger -- 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

Re: [tw] Re: [TW5] Get list of descendants by recursively assembling filter?

2015-09-13 Thread Evan Balster
Here's an approach which doesn't require assembling an intermediate list. Like my last example, this is most easily demonstrated by creating a new tiddler on TiddlyWiki.com and previewing it. \define heirarchy_sub() <$list filter="[tag{!!title}]"> <$link>{{!!title}} <$macrocall

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread Eric Shulman
On Sunday, September 13, 2015 at 8:24:08 AM UTC-7, Hegart Dmishiv wrote: > > On Monday, September 14, 2015 at 3:09:47 AM UTC+12, PMario wrote: >> >> TW5 is not 100% compatible with TWc. It is a rewrite from scratch. >> see: http://tiddlywiki.com/#Macros:Macros%20Transclusion >> -m >> > > Thanks

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread 'Mark S.' via TiddlyWiki
If anything, TW5, IMHO, seems to have been written to *discourage* you from writing Javascript. It's a matter of adapting to a new paradigm. It probably isn't anything like the main-line Wikis, for better or worse. In TWC, what everyone was always trying to do was to find some way to iterate

[tw] Re: (tw5.1.9) on node.js ver 0.10.29~dfsg-2 (debian) - unable to display external files on local host

2015-09-13 Thread ch
> Is there a file server running on localhost? i'm pretty sure that this has nothing to do with this problem... well, i got a samba file server running... but, what i have found out (reading previous e-mails in this group) - especially this post: "[TW5]How to use canonical uri field to point

[tw] Re: CommunitySearch new address and new features

2015-09-13 Thread Mat
This is absolutely fantastic and, if I may pontificate for a sec, one of the best examples of Infrastructure projects I think we have in the TW project. I'm guessing this will become super valuable. I'm not sure people get the implications for

[tw] Re: [TW5] looping through an array in a macro

2015-09-13 Thread 'Mark S.' via TiddlyWiki
The built-in tools don't work that way. You would probably need to write a widget or a javascript macro if you really want to do something step-wise. But it if you explain what exactly it is you want to accomplish, there are a lot of clever people in this forum who have thought up all sorts of

Re: [tw] CommunitySearch new address and new features

2015-09-13 Thread Felix Küppers
Nice! Erwan, you implemented the "latest news" section!! Sorry, just saw your post today. I'll try it out tomorrow! Can't wait to do a first "news" post on your aggregator site. That's truly revolutionary and I am very sure it will be a big success. -Felix On 09/13/2015 03:34 PM, Erwan

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread Hegart Dmishiv
Thanks everyone for the replies. My apologies for my petulance last night, I just couldn't see any way that I'd be able to continue using TW if I had to learn JavaScript first, which I'm glad to see isn't going to be the case. On Monday, September 14, 2015 at 7:26:24 AM UTC+12, Eric Shulman

[tw] Re: TW5 - Suggestions for truly long term use?

2015-09-13 Thread RickL
In the past few weeks, my TW5 file has grown from 2.4MB to just over 3MB. This has resulted in a noticeable slow down of the file. Making changes to any tiddler now takes between 3 and 4 seconds - every time! Also, saving the file a full 7 seconds. That seems like an eternity in computer

[tw] Re: TW5 - Suggestions for truly long term use?

2015-09-13 Thread RickL
Thanks I tried that and it does help a little. Still much slower than I prefer. On Sunday, September 13, 2015 at 5:52:07 PM UTC-4, Evolena wrote: > > See Performance > > If your current sidebar tab contains a long list (e.g. the Recent tab), it >

[tw] Re: TW5 - Suggestions for truly long term use?

2015-09-13 Thread Evolena
See Performance If your current sidebar tab contains a long list (e.g. the Recent tab), it slows down TW. As if you've opened tiddlers with a lot of lists. As an example, my 4,5 Mb TW saves in ~4s if I'm on the Recent tab, and less than 2s if I'm on "Open"

[tw] (tw5) tiddlywiki on node.js - howto control where tiddlers (and plugins) are stored, i.e. folder and file

2015-09-13 Thread Ben H.
There is currently no way to specify where new tiddler files are saved, regardless of type. If you manually move a tiddler, TW *should* remember where it was loaded from, and save changes to that file. You will need to organize them manually. If you are doing everything through TW itself,

[tw] [TW5] TiddlersBarPlugin replacement for TW5?

2015-09-13 Thread Bob Flandard
Hello, I'm trying to migrate from TW2 to TW5. Is there a plugin or way of using the tabs macro to get the effect of the TiddlersBarPlugin? (all open tiddlers are navigable and closeable through tabs at the top of the page, like in most text editors) I really don't like the default extended

[tw] [How to] [TW5] Multiple tag fields

2015-09-13 Thread Duarte Farrajota Ramos
Hello, everyone I've been using TiddlyWiki 5 happily for a few months now, for all my personal note taking and offline local knowledgebase, but one thing was keeping me from doing a full transition of all my data, and that was being able to have multiple tag fields per tiddler. I figured out a

[tw] Re: TW5 - Suggestions for truly long term use?

2015-09-13 Thread Mat
RickL wrote: > > from 2.4MB to just over 3MB. > > This has resulted in a noticeable slow down > The relatively small size change here can hardly be the reason for this slow down. Could it be that you've added tiddlers containing code that are permanently taking system power? For instance

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread Hegart Dmishiv
Sorry, that link to my online (dev) wiki isn't working. I tried enabling the TW feature to add the tiddler and the story flow to the URL, but Google doesn't seem to like it when the wiki is hosted on Google Drive. Let's try this one instead...

[tw] Re: Version confusion for new users

2015-09-13 Thread Handoko Suwono
wow, a great revise to TW versions. Not much to add, the classic TW has reached the version 2.78 and jump directly into TW5. A quite change of TW core and the way it behaves. > MediaWiki? Sorry, I'll probably be referring to and comparing TW to MW > quite a lot as I learn to use TW. Please

[tw] Re: favicon in tiddlywiki5.x

2015-09-13 Thread Hegart Dmishiv
Thanks, this was really helpful, as the official documentation didn't mention this at all. I was trying to use a standard text/vnd.tiddlywiki tiddler with the contents *[img[./images/favicon.ico]]* to display the favicon, and couldn't work out why it wasn't working properly even when I changed

[tw] Re: [TW5] How to use parametric transclusion?

2015-09-13 Thread Hegart Dmishiv
On Monday, September 14, 2015 at 7:26:24 AM UTC+12, Eric Shulman wrote: > > Thus, in TWC you write: >> ><> >> while in modern TW you write: >><$vars var1="arg1" var2="arg2" var3="arg3" ...> >>{{NameOfTiddler}} >> >> > I've just tried doing this, and it doesn't seem to work for me

[tw] Re: TW5 - Suggestions for truly long term use?

2015-09-13 Thread 'Mark S.' via TiddlyWiki
TW5 doesn't use any special indexing like real databases. So the performance is going to be tied to your hardware. You don't mention how many Ghz your ultrabook runs at. My desktop I3 3.6Ghz desktop machine can save a tiddler and then save a 3.5mb TW in under one second. I guess the main