[tw] Re: TW5: How to use CreateTiddlersFromCSV

2016-05-08 Thread 'Mark S.' via TiddlyWiki
Here's a brand new, experimental tool to help you import CSV data. BE SURE 
TO BACKUP YOUR TW FILE BEFORE TRYING THIS!!

Unfortunately it is not a 100% automatic. That's why I refer to it as a 
helper. Someone who knows the innards of TW5 could probably fix up the code 
so that it does everything at once.

Drag and drop the attached json file into your TW. Save and reload your TW.

Follow the instructions in "How to use the CSV to TW/JSON helper". 
Basically you create a tiddler with your CSV data. The first row of the CSV 
data must have your field headers, and the field "title" is mandatory. If 
you want "created" or "modified" you will have to add your own date stamps 
at this point. 

If the converter tiddler is successfully, your CSV data will appear below. 
You can copy and paste the converted JSON code into a separate file with a 
JSON extension, and then drag and drop it back into your TW to convert. 
This is the part that could use some more automation. 

Good luck,
Mark


On Saturday, May 7, 2016 at 8:18:23 PM UTC-7, LG wrote:
>
> Hi! I've been desperately googling for half an hour and I *cannot *figure 
> out how to use CreateTiddlersFromCSV. I copy data in and then it tells me I 
> need to save. I cannot find a save button. I've tried dragging the URL into 
> my TiddlyWiki, but the page just reloads and goes to that site. 
>
> How do I do this?
>

-- 
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/503d2e83-8f09-4f90-a240-f4bbddae2118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Project_CSV2JSON_v0.json
Description: application/json


[tw] Re: [tw5] Text-Slicer Plugin

2016-05-08 Thread LG
Great tool! Thank you. 

I copied Word into Mammoth.js (on a WP site) then into a text editor to 
remove all the paragraph tags. When I pasted the newly cleaned text over 
into TW and sliced it, I ran into the million or so new tiddlers at the 
paragraph level. Has there been any progress on keeping the texts at the 
header level chunking? 

I have 13.5 years worth of text I'd like to put into TW. Having every 
single line/paragraph broken into a tiddler would surely break the system 
(I generate about 300 pages of text every 4 months x 13.5 years). 

Thanks, 

LG

On Saturday, August 1, 2015 at 8:31:06 AM UTC-4, Jeremy Ruston wrote:
>
> I've just pushed a new prerelease that includes an early cut of a tool to 
> slice longer texts into individual tiddlers based on headings and lists. 
> It's based on ideas that have come up in previous discussions about dealing 
> with long, structured tiddlers.
>
> You can try it out at:
>
> http://tiddlywiki.com/prerelease/editions/text-slicer/index.html
>
> You'll need to carefully follow the instructions in the "HelloThere" 
> tiddler:
>
> * Scroll down to the "Sample Text" tiddler and click on the "text slicer" 
> icon
> * Click the "import" button in the resulting import listing
> * Open the tiddler "Sliced up Sample Text"
>
> You should see a copy of the original text, but you can explore the table 
> of contents to see how it is composed of individual tiddlers that are 
> threaded together by tags.
>
> I'd welcome any feedback on the tool. I would also love some help in 
> finding a better sample text, something public domain that we can 
> re-distribute.
>
> Best wishes
>
> Jeremy
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
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/9782d283-6f73-45a4-b2e1-53f71e29cb26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5: How to use CreateTiddlersFromCSV

2016-05-08 Thread LG
Mal, 

Thank you for the update. I've been waiting on TW5 to get to where it is 
now for the past few years, so I definitely have snagged the empty.htm from 
the right site!

Best, 

LG 

On Sunday, May 8, 2016 at 1:31:01 AM UTC-4, Mal wrote:
>
> LG,
>
> Someone more knowledgeable than me might chime in here, but I think 
> CreateTiddlersFromCSV was a tool for Tiddlywiki Classic and is not 
> available for TW5.  As far as I am aware, there is no native facility for 
> importing CSV tiddlers into TW5.
>
> Are you sure you are using TW5?
>
> Regards,
>
> Mal
>
>

-- 
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/5991d035-afc8-4976-921c-3409a2e69d8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Conditional content based on filter results

2016-05-08 Thread Tobias Beer
Hi Eric,
 

> To conditionalize output based the empty/non-empty state of the filter 
> results, use the *emptyMessage* param in the $list widget.
>

Thanks for your feedback. There remains an issue though.
The user can input any filter that may or may not yield matches.
If there are any matches, I want to display a single button,
followed by a list of all matches.

I guess I will have to use a variable and a helper macro to append a

+[limit[1]]

to the filter string being tested so as to check (once) if there are any 
results.

Best wishes,

Tobias.

-- 
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/deb341ca-1a05-4d2c-b988-e6206c66b825%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [tw5] Final tests for 5.1.12 before release

2016-05-08 Thread Andrew
I have still been trying to figure out why undo was acting strange and I am 
so close. I think that the functionality was all there. It is just a matter 
of doing something like the following, but I can't quite figure it out how 
to capture the text of the hidden dummy iframe after the undo but nothing 
seems to work:
in undo.js:

document.execCommand("undo", false, null);
operation.replacement = textarea.value;


or 

document.execCommand("undo", false, null);
operation.replacement = 
this.parentDomNode.getElementsByTagName("textarea")[0].value;

-- 
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/18141e07-71d2-4f69-b93b-44b2f7833ac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Cannot save

2016-05-08 Thread Jeremy Ruston
Hi Gijsbertus

It looks as though you may have tried to save changes at some point by using 
the browser's File/Save menu item. Unfortunately, that doesn't work as 
expected; it actually saves a static, dysfunctional snapshot of the wiki 
without any changes applied.

I'd recommend importing your wiki into a new, blank one.

Best wishes

Jeremy.


--
Jeremy Ruston
jer...@jermolene.com
http://jermolene.com

> On 8 May 2016, at 05:02, Gijsbertus  wrote:
> 
> Sir,
> 
> I am using TiddlyWiki5
> 
> Trying to save a new TiddlyWiki I have just set up, I get the following error 
> message: 
> 
> "[Exception... "Component returned failure code: 0x80520015 
> (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]"  nsresult: 
> "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: 
> chrome://tiddlyfox/content/overlay.js :: TiddlyFox.saveFile :: line 98"  
> data: no]
> 
> A bit of searching around the web returned only one thing I could grasp, 
> namely that in my new Wiki there should be a strange character, Greek or so, 
> which could invoke this error. But I do not see how this could have been the 
> cause, as I have not used any odd or special characters, in fact have not 
> written anything apart from the the title of the new Wiki: "EssentialOils" as 
> well as a description "Blending Possibilities".
> 
> I did save the Wiki and also saved the link and when reopening it I get a 
> muddled up page, with most of then information lost. See added screen shot.
> 
> What have I mistakingly done or what should I do to correct the error?
> 
> Some additional information that might be relevant:
> OS: Kuntuntu 16.04
> Browser: Firefox 46.0, Tiddlyfox add on installed
> 
> Thanks!
> 
> Gijsbertus
> 
> 
> 
> -- 
> 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/bb6677d2-a8b8-4670-91f8-3a5e2822b6e1%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/19D62008-0999-4A6B-BCB8-BBDFF781D5A5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: "§" symbol - find some kind of role in WikiText: just an idea

2016-05-08 Thread Jeremy Ruston
I've recently been using that symbol as a temporary marker during development 
to indicate strings that must be translated. It's actually very accessible on 
my Mac keyboard; it has a dedicated key below the escape key. But I can't seem 
to type it here on my iPad.

Classical wiki text has been pretty much restricted to plain ASCII characters, 
I think on the basis that they are easy to type on all keyboards.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
http://jermolene.com

> On 8 May 2016, at 06:01, sini-Kit  wrote:
> 
> There is no symbol "§"  in Russian+ English  variant keyboard  I have 
> `~!@#$%^&*<>|\/ only   
> 
> воскресенье, 8 мая 2016 г., 12:13:46 UTC+3 пользователь AlexHough написал:
>> 
>> Dear TiddlyWikers
>> 
>> I saw this:
>> 
>> This article is about points of interaction of computer systems. For other 
>> uses, see Interface (disambiguation) § Computing. [1]
>> 
>> It gave me an idea
>> 
>> The "§" symbol is easy to find in the keyboard (on mac at least), I thought 
>> that it could be used for something, for navigating to sections of text.
>> 
>> just a thought...
>> 
>> best wishes
>> 
>> Alex
>> 
>> [1] https://en.wikipedia.org/wiki/Interface_(computing)
> 
> -- 
> 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/25f94689-0dac-4ea8-b284-500c378de511%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/26381E0A-7CEB-4348-BF25-D2688BC8334E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [tw5] Final tests for 5.1.12 before release

2016-05-08 Thread Jeremy Ruston
Hi Rustem

The editor should work with custom palettes because that was a bug I fixed a 
few weeks ago. Perhaps there's been a regression; I'll investigate.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
http://jermolene.com

> On 7 May 2016, at 18:04, Rustem <8pa...@gmail.com> wrote:
> 
> I use a theme that is not white (Solar Flare), and a bigger font in the 
> editor. In my opinioin, the new editor needs the following before it’s 
> released: a possibility of styling it, and an opt-out switch that reverts to 
> the old plain textarea editor.
> 
> I looked briefly at the code. Maybe I misundestood, but I thought copyStyles 
> is supposed to copy styles from dummy text area, that has a class 
> .tc-edit-texteditor assigned to it, to the textarea inside the iframe. It 
> does not do so currently, and the only styles the textarea has are display, 
> height, margin, and width - those are assigned explicitly in the code.
> 
> Out of curiosity, I inspected GitHub comments editor - it manages without an 
> iframe, and selection preservation is there.
> 
> —R.
> 
>> On Sunday, April 24, 2016 at 1:22:07 AM UTC-7, Jeremy Ruston wrote:
>> 
>> Hi Stephen
>> 
>>> I use very dark themes and palettes with my Tiddlywikis. In the previous 
>>> pre-release I could style the editor but this one I seem to get glaring 
>>> white with black characters no matter what I do. Perhaps it is something 
>>> very simple but I'm missing it.
>> 
>> I think you’ll find that after changing the palette you need to cancel and 
>> re-edit tiddlers to make the editor update to the new palette. The issue is 
>> that the textarea in the editor is embedded in an iframe in order to allow 
>> us to preserve the selection, but a side effect is that the main page styles 
>> are not visible within the iframe, so have to be manually copied across.
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>>> 
>>> Mark S has pointed out that the Undo/Redo arrows don't work in Firefox or 
>>> Firefox derivatives. Unfortunately, Mark, that is the Firefox design and 
>>> not a mistake in Tiddlywiki.
>>> 
>>> Other than that, everything works as anticipated. 
>>> 
>>> 
>>> -- 
>>> 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/373aa4e8-765a-4091-8e12-6ee3ec3f9f98%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/15291c6a-4497-469f-80c9-45cca375914a%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/8BB557C9-224E-4A27-A75E-3CF5ACDF6D12%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [tw5] Final tests for 5.1.12 before release

2016-05-08 Thread Jeremy Ruston
Hi Tobias

> At first I was a little skeptical reading "editor toolbar", that I would not 
> necessarily want to see such a thing in the core, but now that I'm playing 
> with it, I believe there's some major productivity enhancements in store, if 
> only for the editing shortcuts. I assume it would have been too complicated, 
> perhaps even impossible, to have this be a plugin?

Great, glad you like it, and good to see on the groups again.

It would have been feasible to make the toolbar be a plugin but I was concerned 
that the purpose of the toolbar is ease of use, and if it is a plugin then it 
is a lot less accessible to beginners, the people who might benefit the most 
from it.

But I'm also aware that the editor has expanded the core by 20 or 25% in terms 
of the number of shadow tiddlers. I argue that we've never really tried to 
optimise the size of the core, and so there is plenty of scope to do so without 
having to remove the editor toolbar functionality.

Best wishes

Jeremy

> 
> Best wishes,
> 
> Tobias.
> -- 
> 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/be29ec1f-82fa-43b5-b64d-4de5bda85a79%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/BCCCFB98-F41C-47EA-9D0F-90EC306166EB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [tw5] Final tests for 5.1.12 before release

2016-05-08 Thread Jeremy Ruston
> Hard line breaks in the new wikitext edit tools?

There's no shortcut for entering hard line breaks at the moment.

Best wishes

Jeremy

> 
> Alex
> 
>> On 8 May 2016 at 07:37, Tobias Beer  wrote:
>> Hi Jeremy,
>> 
>> Congratulations, this looks really good. Will do some more testing.
>> 
>> At first I was a little skeptical reading "editor toolbar", that I would not 
>> necessarily want to see such a thing in the core, but now that I'm playing 
>> with it, I believe there's some major productivity enhancements in store, if 
>> only for the editing shortcuts. I assume it would have been too complicated, 
>> perhaps even impossible, to have this be a plugin?
>> 
>> Best wishes,
>> 
>> Tobias.
>> -- 
>> 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/be29ec1f-82fa-43b5-b64d-4de5bda85a79%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/CALc1hYdZzPW1zncU%2BWnJTMZYkiHP6Zj-p4e6UbqF5O3%3DT8LWCg%40mail.gmail.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/BE402CB0-618D-4B5A-8930-438ECFFF1A04%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] What the rationale of putting tiddler controls in $:/core/ui/ViewTemplate/title

2016-05-08 Thread Jeremy Ruston
Hi Alex

The view toolbar is floated to the right of the title to save vertical space. 
The alternative would be to put the toolbar on a line by itself, pushing the 
title down by one line.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
http://jermolene.com

> On 8 May 2016, at 07:39, Alex Hough  wrote:
> 
> TW,
> 
> When I have a long title and by browser is narrow, the controls get in the 
> way of the text. Why is this so?
> 
> It seems more intuitive to have the controls as separate from the title.
> 
> just asking!
> 
> Alex
> -- 
> 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/CALc1hYdkHWEeCFzwFkLtw9KiyECe8zFqMy-dSRD%3Dc5myioHAzg%40mail.gmail.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/22F18305-1BE9-4A64-BBB1-69991651D08B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [tw5] Final tests for 5.1.12 before release

2016-05-08 Thread Alex Hough
Jeremy,

Hard line breaks in the new wikitext edit tools?

Alex

On 8 May 2016 at 07:37, Tobias Beer  wrote:

> Hi Jeremy,
>
> Congratulations, this looks really good. Will do some more testing.
>
> At first I was a little skeptical reading "editor toolbar", that I would
> not necessarily want to see such a thing in the core, but now that I'm
> playing with it, I believe there's some major productivity enhancements in
> store, if only for the editing shortcuts. I assume it would have been
> too complicated, perhaps even impossible, to have this be a plugin?
>
> Best wishes,
>
> Tobias.
>
> --
> 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/be29ec1f-82fa-43b5-b64d-4de5bda85a79%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/CALc1hYdZzPW1zncU%2BWnJTMZYkiHP6Zj-p4e6UbqF5O3%3DT8LWCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] What the rationale of putting tiddler controls in $:/core/ui/ViewTemplate/title

2016-05-08 Thread Alex Hough
TW,

When I have a long title and by browser is narrow, the controls get in the
way of the text. Why is this so?

It seems more intuitive to have the controls as separate from the title.

just asking!

Alex

-- 
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/CALc1hYdkHWEeCFzwFkLtw9KiyECe8zFqMy-dSRD%3Dc5myioHAzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] highlight.js

2016-05-08 Thread 'Brian Moran' via TiddlyWiki
Hi - I've had a further play and got something working that is good enough 
for my needs.  Here is what I did in case it helps anyone else trying to do 
something similar:

I edited $:/plugins/tiddlywiki/highlight/highlight.js instead of 
$:/plugins/tiddlywiki/highlight/highlightblock.js

In highlight.js the languages are defined in blocks of code starting with 
hljs.registerLanguage.  I just copied and pasted one of these blocks, 
named the language "r" and edited the words that I wanted to be 
highlighted, which are easy to spot within highlight.js.

This seems to be stable and is working ok.

So I have a workaround but it isn't using the official highlight.js R brush 
and I would love this to be included in a future version of TiddlyWiki .

All the best, and thank you once again for TiddlyWiki.

Brian



On Saturday, May 7, 2016 at 5:08:21 PM UTC+1, Brian Moran wrote:

> Hi Jeremy
>
> First - many thanks for TiddlyWiki, it truly is wonderful.
>
> I have followed your instructions posted here to try to add the language 
> 'R' into the highlight.js plugin in my copy of 5.1.11.  Unfortunately this 
> results in the red Internal JavaScript Error message.
>
> I am pretty sure I followed your instructions to the letter but I assume 
> that I must have made a mistake.  I can post the code I inserted (or an 
> extract - maybe just the start and end) if you or another member of the 
> TiddlyWiki group might be interested in looking at it...?
>
> It would be great to have R syntax highlighting in TiddlyWiki.
>
> All the best
>
> Brian
>
>
>
> On Sunday, September 13, 2015 at 9:44:26 AM UTC+1, Jeremy Ruston wrote:
>
>> 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 described below.
>>
>> 1. Find the brush you want within the highlight.js GitHub repo in the 
>> "src/languages" folder: 
>> https://github.com/isagalaev/highlight.js/archive/8.8.0.zip
>> 2. Copy the text of the language you want
>> 3. Open the tiddler "$:/plugins/tiddlywiki/highlight/highlightblock.js"
>> 4. Paste the following after the line "hljs.configure(...)":
>>
>> hljs.registerLanguage("",);
>>
>> Save the tiddler and restart.
>>
>> Let me know how you get on,
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>>
>>
>> On Sat, Sep 12, 2015 at 6:59 PM, Bob Flandard  wrote:
>>
>>> Hello Danielo,
>>>
>>> I had a look at the plugin code and got about as far as realizing that 
>>> "hljs.registerLanguage" was the start of each new language. I thought about 
>>> hijacking one of the existing languages that I'm unlikely to need for its 
>>> intended purpose, but the minified code looked too impenetrable 
>>> (combination of stripped down JavaScript and beastly regular expressions).
>>>
>>> Did you have any joy with your attempts? and if so do you have any 
>>> pointers or time savers.
>>>
>>> The language I'm interested in is APDL from Ansys. Mainly the keywords 
>>> for many hundreds of commands; some start with "/" e.g /view, some with "*" 
>>> e.g *vget and others just normal "words" e.g save etc.
>>>
>>> Thanks, Bob
>>>
>>
>>
>>
>> -- 
>> Jeremy Ruston
>> mailto:jeremy...@gmail.com
>>
>

-- 
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/00498f1b-2795-4fab-b250-1b5ada04e33e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: "§" symbol - find some kind of role in WikiText: just an idea

2016-05-08 Thread sini-Kit
There is no symbol "§"  in Russian+ English  variant keyboard  I have 
`~!@#$%^&*<>|\/ only   

воскресенье, 8 мая 2016 г., 12:13:46 UTC+3 пользователь AlexHough написал:
>
> Dear TiddlyWikers
>
> I saw this:
>
> This article is about points of interaction of computer systems. For other 
> uses, see Interface (disambiguation) § Computing 
> . [1]
>
>
> It gave me an idea
>
> The "§" symbol is easy to find in the keyboard (on mac at least), I 
> thought that it could be used for something, for navigating to sections of 
> text.
>
> just a thought...
>
> best wishes
>
> Alex
>
> [1] https://en.wikipedia.org/wiki/Interface_(computing)
>

-- 
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/25f94689-0dac-4ea8-b284-500c378de511%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: "§" symbol - find some kind of role in WikiText: just an idea

2016-05-08 Thread progetti
A note on the orthography of "§" ... I agree that "§" is a GOOD "section 
marker". It was, and probably still is, extensively used in legal documents 
to mark sections. In the past it was also used quite a lot in books with 
lots of sections.

HOWEVER, the layout of a standard PC "US Keyboard" lacks it. The standard 
PC "US International Keyboard" also lacks it. 
https://en.wikipedia.org/wiki/British_and_American_keyboards.

Its likely to be on some PC keyboards in some countries. It IS on my 
Italian keyboard where its used to represent "double s", though actual use 
of it for that is rare now.

As far as I can see it is NOT on all Mac keyboards either: 
https://support.apple.com/en-us/HT201794.

Best wishes
Josiah

On Sunday, 8 May 2016 11:13:46 UTC+2, AlexHough wrote:
>
> Dear TiddlyWikers
>
> I saw this:
>
> This article is about points of interaction of computer systems. For other 
> uses, see Interface (disambiguation) § Computing 
> . [1]
>
>
> It gave me an idea
>
> The "§" symbol is easy to find in the keyboard (on mac at least), I 
> thought that it could be used for something, for navigating to sections of 
> text.
>
> just a thought...
>
> best wishes
>
> Alex
>
> [1] https://en.wikipedia.org/wiki/Interface_(computing)
>

-- 
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/fdcf3b1c-bedd-4bf9-b83e-0e486b4cd236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Conditional content based on filter results

2016-05-08 Thread Mat
Reminds of #2202 Add preMessage parameter to ListWidget 


<:-)

-- 
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/c1620829-888f-4b59-9611-b78df018e026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] off and back

2016-05-08 Thread Alex Hough
Tobias

Welcome back!

Enjoy Manchester's finest muse on the bittersweet world of employment

https://www.youtube.com/watch?v=cUjZjyIyNoE



best

Alex

On 8 May 2016 at 08:22, Mat  wrote:

> 
>
> <:-)
>
> --
> 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/27aba18c-1ecb-43ae-af06-43a739080248%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/CALc1hYdOSS79oZH7_AkQ2K5MNrRdtcc6f8f%2B8b8RtLuGVUzFBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Conditional content based on filter results

2016-05-08 Thread Eric Shulman
On Sunday, May 8, 2016 at 2:01:07 AM UTC-7, Tobias Beer wrote:
>
> Hope I didn't get too rusty since March.
>
> I am struggling to formulate a filter logic for batch operations 
> 
> that allows to specify a filter whereas when the filter yields...
>
>- results => shows a button to delete all those tiddlers
>- no results => does not show a button since there are not tiddlers to 
>be deleted
>
> The filter is specified by the user in an input field.
> Feels like a filter to model this conditional logic isn't quite there yet, 
> is it?
>  
> <$list filter="[foo[bar]is[emptyList]]">
> <$button>foo
> 
>
> What I am *not* looking for is to just
> see if some value in a tiddler field is empty or not 
> ,
> although I am not sure that that would exist either (in a simple solution).
>

To conditionalize output based the empty/non-empty state of the filter 
results, use the *emptyMessage* param in the $list widget.

To make things more readable, I tend to put the output rendering code into 
separate macros, thus:

\define showitem() <$button>{{!!title}}
\define showempty() no items
\define filter() [foo[bar]]
<$list filter=<> emptyMessage=<>> <> 

enjoy,
-e

P.S. welcome back

-- 
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/9ac6a08d-9bb0-4571-885c-caf43dc17bc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] "§" symbol - find some kind of role in WikiText: just an idea

2016-05-08 Thread Alex Hough
Dear TiddlyWikers

I saw this:

This article is about points of interaction of computer systems. For other
uses, see Interface (disambiguation) § Computing
. [1]


It gave me an idea

The "§" symbol is easy to find in the keyboard (on mac at least), I thought
that it could be used for something, for navigating to sections of text.

just a thought...

best wishes

Alex

[1] https://en.wikipedia.org/wiki/Interface_(computing)

-- 
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/CALc1hYdAywqxF%3D9BR4noLPmY%3DmB1cBqxA5%2BapUrGRRvdmRqx9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Conditional content based on filter results

2016-05-08 Thread Tobias Beer
Hi everyone,

Hope I didn't get too rusty since March.

I am struggling to formulate a filter logic for batch operations 

that allows to specify a filter whereas when the filter yields...

   - results => shows a button to delete all those tiddlers
   - no results => does not show a button since there are not tiddlers to 
   be deleted
   
The filter is specified by the user in an input field.

Feels like a filter to model this conditional logic isn't quite there yet, 
is it?
 
<$list filter="[foo[bar]is[emptyList]]">
<$button>foo


What I am *not* looking for is to just
see if some value in a tiddler field is empty or not 
,
although I am not sure that that would exist either (in a simple solution).

Best wishes,

Tobias.

-- 
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/c0dc858c-1f9f-4725-9e78-a6493bf2e367%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tobias Beer: Deleting Tiddlers Via Lists: Comments & a request.

2016-05-08 Thread progetti
Tobias

Thank you very much!

J.

On Sunday, 8 May 2016 09:11:36 UTC+2, Tobias Beer wrote:
>
> Hi Josiah,
>
> I'll update the little snippet with ActionDeleteTiddlerWidget as kindly 
> pointed out by BJ to provide a bulk-delete option.
>
> Best wishes,
>
> Tobias. 
>

-- 
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/f0cbcd2e-bbdb-42c5-9909-cee000d1cad4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] off and back

2016-05-08 Thread Mat




<:-) 

-- 
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/27aba18c-1ecb-43ae-af06-43a739080248%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tobias Beer: Deleting Tiddlers Via Lists: Comments & a request.

2016-05-08 Thread Tobias Beer
Hi Josiah,

I'll update the little snippet with ActionDeleteTiddlerWidget as kindly 
pointed out by BJ to provide a bulk-delete option.

Best wishes,

Tobias. 

-- 
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/ad456e9a-3c3f-445d-a2ee-589430fa4d86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.