[tw] Re: Add R language to TW5 highlight plugin

2016-02-27 Thread instantkaffee
Thanks Jed, your answer works and helped me a lot.

Am Samstag, 27. Februar 2016 14:18:37 UTC+1 schrieb Jed Carty:
>
> I had to do this for matlab. It isn't difficult but I remember there being 
> some annoying syntax thing that came up somewhere. I didn't run into it 
> while testing so maybe it won't be a problem.
>
> Go to the download page here (https://highlightjs.org/download/) select 
> the languages you want included in the plugin.
> Click the download button.
> In the downloaded zip file open up the file highlight.pack.js
> In the tiddler $:/plugins/tiddlywiki/highlight/highlight.js
> You want to replace everything between the first line 
> var hljs = require("$:/plugins/tiddlywiki/highlight/highlight.js");
> and the last line 
> exports.hljs = hljs;
> with the contents of highlight.pack.js
>
> Then same the tiddler and reload your wiki. I didn't get an error doing it 
> just now but I haven't tested it much.
>
>

-- 
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/ade9afed-e758-46a3-8ff2-66fb8fcbd86d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Button template

2016-02-27 Thread Scott Simmons (Secret-HQ)
Would it work to create a macro that could generate each button based on a 
parameter?

E.g.:

\define format(button)
<$button message="tm-button" tooltip=<> 
aria-label=<> class=<>>
<$action-setfield $tiddler="$:/language/format/notify" $field="text" 
$value=<>/>
<$action-sendmessage $message="tm-notify" 
$param="$:/language/format/notify"/>
<$list filter="[prefix[yes]]">

$button$

<$list filter="[prefix[yes]]">

<>




... so that you could display the button with a macrocall like <>.

>

-- 
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/401a8d57-c4b3-4c2e-bd79-0b09fd092246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Scalable + Robust Storage Options (S3)

2016-02-27 Thread Marica Odagaki
I've put together a docker image for TiddlyWiki with s3fs 
support: https://github.com/ento/tiddlywiki-s3fs

Using s3fs means filesystemadaptor.js just works.

I'm running the image on AWS for my personal use. I haven't put much time 
and effort into writing a great readme file; happy to answer questions 
within my capacity.

-- 
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/7d4fc321-900f-45b6-8f59-dd0543da7cb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Button template

2016-02-27 Thread andrew harrison
Does anyone have any suggestions on how I could write a template for my
format buttons where the highlighted word button would be what would
change?

[[$:/plugin/ajh/format/button]]:

\define lingo-base() $:/language/format/



<$button message="tm-button" tooltip=<>
aria-label=<> class=<>>

<$action-setfield $tiddler="$:/language/format/notify" $field="text"
$value=<>/>

<$action-sendmessage $message="tm-notify"
$param="$:/language/format/notify"/>

<$list filter="[prefix[yes]]">



B



<$list filter="[prefix[yes]]">



<>







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


Re: [tw] Re: Scripture tiddly wiki 5 examples

2016-02-27 Thread Marc Ferguson
Thanks

Sent from my iPhone

> On Feb 27, 2016, at 5:58 AM, Jed Carty  wrote:
> 
> I think I got bored and stopped working on it, and I can't find any of the 
> output, but here is what I still have:
> 
> This perl script:
> 
> open(TEXT, " 
> open (FILE, ">>bible.json") || die "problem opening bible.json\n";
> 
> print FILE "[\n";
> 
> my $book;
> 
> while() {
> if ( $_ =~ /^\D{2,}/ ) {
> $book = $_;
> }
> if ( $_ =~ /^(\d*)[:](\d*) (.*.)$/ ) {
> print FILE "{\n";
> print FILE "\"chapter\" : \"", $1, "\",\n";
> print FILE "\"verse\" : \"", $2, "\",\n";
> print FILE "\"title\" : \"", $book, " Chapter: ", $1, " Verse: ", $2, 
> "\",\n";
> print FILE "\"text\" : \"", $3, "\",\n";
> print FILE "}\n";
> }
> }
> 
> print FILE "]\n";
> 
> close(FILE);
> 
> close(TEXT);
> 
> given the plain text version of the king james bible from project gutenberg 
> here http://www.gutenberg.org/cache/epub/10/pg10.txt should create a json 
> file that has the tiddlers in it. At the moment they have a field that lists 
> the chapter and a field that lists the verse and the tiddler title should be 
> in the form  'bookname chapter: n verse: y'
> 
> I am sure you can find whatever bible version you want as a similar plaintext 
> file online and it shouldn't be too difficult to modify the script to do 
> things like add a field for the version so you can make it all easily 
> searchable.
> 
> -- 
> 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/8bcfe7c6-17ee-4636-86d2-1a5a383e8f86%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/DF86C758-D59D-4FC1-B1B9-F9AE6E0B2117%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] importing/saving emails in TW

2016-02-27 Thread 'Mark S.' via TiddlyWiki
What browser are you using? Apparently not all browsers are configured to 
display internal PDF data. Also, check that you have a PDF viewer plugin 
installed in your browser.

About the mail -- this is one of the problems with TW compared to other 
systems. You can't just copy an email into TW and get anything except text. 
You could copy the source code of the original mail (as HTML) and paste it 
in, and maybe (haven't tried it) images that are on external servers will 
show up. This works with web pages. But if you want to have the tiddler 
self-contained you will have to download images, drag them into the TW, and 
then change the image links in the source code to point to the images you 
dragged in. Alternatively, you can download the images locally, and then 
point the images to the downloaded images. Either way it's a hassle.

Printing the mail to a PDF is a good idea, but the PDF data is not very 
compact, and you're likely to run out of space fairly quickly.

Once you have your browser working correctly with PDFs, you can use frames 
to view local PDFs like :



HTH
Mark




On Friday, February 26, 2016 at 6:04:22 AM UTC-8, HC Haase wrote:
>
> Hello
> The problem is I have a mail (from gmail) with images in it that I need to 
> save in my TW.
>
> To save mails I normally press print > get the source from the print 
> version > paste into TW > save as html.
>
> But this mail have pictures (base64 in the source) that don't get 
> recognised in html tiddlers. 
>
> So the question is: 
> Is there a better way to import/copy mails with pictures to TW?
>
> and
>
> am I maybe doing this in a silly way? is there a better way to save emails?
>
>
>
> EDIT: I also tried to print the email as pdf and import the pdf to TW. 
> However it only gives me binary googly goo in the tiddler
>
>

-- 
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/e1fdacd8-f797-485a-87df-c7ad19b39677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] Tiddlyclip plugin release - create clips of webpages

2016-02-27 Thread Charles Ridout
I recently found TiddlyClip. It is what I have been looking for. My issue 
is using Tiddlyclip
on my Android tablet. I am unable to "dock to my Tiddlywiki" since 
Android/Firefox does not appear
to support Right-Click like on the desktop.

Any thoughts or suggestions will be appreciated.

Great tool!

Charles

On Tuesday, September 9, 2014 at 9:16:24 AM UTC-4, BJ wrote:
>
> I am creating a plugin and browser addon that allows clips of web pages to 
> be collected into a tiddlywiki. It is now functional but still in 
> development. 
> As it is still in development, and it modifies the contents of 
> tiddlywikis, it is possible that the data within a tiddlywiki could be 
> destroyed if there is a bug - it is therefore RECOMMENDED at present that 
> tiddlyclip is only used  for experimentation in a separate tiddlywiki. The 
> plugin along with its documentation can be found here:
>
> Note that I have only used the plugin and firefox addon  on ubuntu 12.04.
> Feedback always welcomed!
> Cheers
>
> BJ
>

-- 
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/32334cb7-d5eb-4cae-aec8-d72354adf90c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to use colours from the palette

2016-02-27 Thread Hegart Dmishiv
Hi Stephen,

How about a *<>* macro, something like this...

\define hilite(text, color)
@@background-color:$color$; $text$ @@
\end

I like to put a space before and after highlighted text, so you can really 
see the background. You could probably fiddle with this, and move $color$ 
into the macro itself, rather than as a parameter.

Hope this helps,

Hegart.


On Sunday, 28 February 2016 11:46:44 UTC+13, Stephen Kimmel wrote:
>
> My goal is to highlight some text with a background colour that changes 
> whenever I select a different palette or change the colours on the palette. 
> In general I've been using the form
>
> @@background-color:yellow; I'm using a yellow background@@ 
>
> which works just fine but doesn't change colors with the palette change. 
> Since I can retrieve a colour from the palette using the form:
>
> {{$:/palettes/Vanilla##alert-background}}
>
> I tried this but alas it didn't work:
>
> @@background-color:{{$:/palettes/Vanilla##alert-background}}; Retrieving 
> from the data tiddler doesn't work@@
>
> I can also retrieve a colour from the palette using the colour macro in 
> the form: <> and that retrieves the actual value 
> but 
>
> @@background-color:<>; And neither does the 
> colour macro@@
>
> doesn't work either.
>
> Am I missing something obvious? Is there a reasonable workaround?
>
>
>

-- 
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/759fadcf-db95-4bff-9132-c85cc5d4eee3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to use colours from the palette

2016-02-27 Thread BJ
Hi Stephen,

you could do it this way

\define hilight2(color text) 
@@background-color:$color$;$text$@@
\end
\define hilight(color text) 
<$macrocall $name="hilight2" color={{$color$}} text="""$text$"""/>
\end

<>

all the best

BJ

On Saturday, February 27, 2016 at 10:46:44 PM UTC, Stephen Kimmel wrote:
>
> My goal is to highlight some text with a background colour that changes 
> whenever I select a different palette or change the colours on the palette. 
> In general I've been using the form
>
> @@background-color:yellow; I'm using a yellow background@@ 
>
> which works just fine but doesn't change colors with the palette change. 
> Since I can retrieve a colour from the palette using the form:
>
> {{$:/palettes/Vanilla##alert-background}}
>
> I tried this but alas it didn't work:
>
> @@background-color:{{$:/palettes/Vanilla##alert-background}}; Retrieving 
> from the data tiddler doesn't work@@
>
> I can also retrieve a colour from the palette using the colour macro in 
> the form: <> and that retrieves the actual value 
> but 
>
> @@background-color:<>; And neither does the 
> colour macro@@
>
> doesn't work either.
>
> Am I missing something obvious? Is there a reasonable workaround?
>
>
>

-- 
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/49ce1cd1-2b72-4d4d-af4e-79b689ff2aae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to use colours from the palette

2016-02-27 Thread 'Stephen Kimmel' via TiddlyWiki
My goal is to highlight some text with a background colour that changes 
whenever I select a different palette or change the colours on the palette. 
In general I've been using the form

@@background-color:yellow; I'm using a yellow background@@ 

which works just fine but doesn't change colors with the palette change. 
Since I can retrieve a colour from the palette using the form:

{{$:/palettes/Vanilla##alert-background}}

I tried this but alas it didn't work:

@@background-color:{{$:/palettes/Vanilla##alert-background}}; Retrieving 
from the data tiddler doesn't work@@

I can also retrieve a colour from the palette using the colour macro in the 
form: <> and that retrieves the actual value but 

@@background-color:<>; And neither does the colour 
macro@@

doesn't work either.

Am I missing something obvious? Is there a reasonable workaround?


-- 
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/52863614-7419-42eb-8246-0a8093419651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: doesn't work, how to ignore syntax?

2016-02-27 Thread Eric Shulman
On Saturday, February 27, 2016 at 10:26:29 AM UTC-8, Shay Shaked wrote:
>
> Eric, still doesn't work: 
>
>
> 
>
> Try adding a newline after the closing .  If that doesn't help, 
try progressively removing bits of your content to see if any of it is 
interferring in some strange way.  I'd try it myself, but you only posted 
snapshots of the content, so I can't copy/paste it into a live TW to 
experiment.

-e

-- 
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/69b0417d-f67e-4439-a87b-831156842b2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: doesn't work, how to ignore syntax?

2016-02-27 Thread Shay Shaked


On Saturday, February 27, 2016 at 9:48:24 AM UTC-5, Shay Shaked wrote:
>
> I don't know what is it in this piece of text I copy-pasted, but I can't 
> close the quote block. I tried to tell TW to ignore any formatting in this 
> text block, but all my attempts failed. Here's an image: 
>
>
> 
> As you can see, the block-quote ignores the closure indicator (or whatever 
> you want to call it) and happily continues on its marry way. How to stop 
> it? Hmm? 
>

-- 
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/6775807e-c64e-4a77-87d0-047ef7372284%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: doesn't work, how to ignore syntax?

2016-02-27 Thread Shay Shaked
Eric, still doesn't work: 




On Saturday, February 27, 2016 at 11:58:04 AM UTC-5, Eric Shulman wrote:
>
>
>
> On Saturday, February 27, 2016 at 6:48:24 AM UTC-8, Shay Shaked wrote:
>>
>> I don't know what is it in this piece of text I copy-pasted, but I can't 
>> close the quote block. I tried to tell TW to ignore any formatting in this 
>> text block, but all my attempts failed. Here's an image: 
>>
>
> Use "<<<" to start *and end* the blockquote (not ">>>")
>
> This is before the blockquote
>
> <<<
> 
> this is blockquote text
> note the SAME sequence is used to start and end the blockquote.
> 
> <<<
> This is after the blockquote 
>
> Note that in TWClassic, the blank line before the <<< is will be displayed 
> as literal text (an actual blank line)... you can safely omit the blank 
> line if you don't want the whitespace; however, in TW5, the blank line 
> preceding the "<<<" is needed so the blockquote syntax won't be treated as 
> "inline mode" content rather than being recognized as the start of "block 
> mode" content.  The blank line is not actually displayed.
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
>

-- 
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/efd542c8-990b-482b-bfcb-88ed476bfa22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: doesn't work, how to ignore syntax?

2016-02-27 Thread Eric Shulman


On Saturday, February 27, 2016 at 6:48:24 AM UTC-8, Shay Shaked wrote:
>
> I don't know what is it in this piece of text I copy-pasted, but I can't 
> close the quote block. I tried to tell TW to ignore any formatting in this 
> text block, but all my attempts failed. Here's an image: 
>

Use "<<<" to start *and end* the blockquote (not ">>>")

This is before the blockquote

<<<

this is blockquote text
note the SAME sequence is used to start and end the blockquote.

<<<
This is after the blockquote 

Note that in TWClassic, the blank line before the <<< is will be displayed 
as literal text (an actual blank line)... you can safely omit the blank 
line if you don't want the whitespace; however, in TW5, the blank line 
preceding the "<<<" is needed so the blockquote syntax won't be treated as 
"inline mode" content rather than being recognized as the start of "block 
mode" content.  The blank line is not actually displayed.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-- 
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/41257c68-cfdb-453f-97d4-120757c8ddc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Scripture tiddly wiki 5 examples

2016-02-27 Thread Marc Ferguson
Thanks

Sent from my iPhone

> On Feb 27, 2016, at 5:58 AM, Jed Carty  wrote:
> 
> I think I got bored and stopped working on it, and I can't find any of the 
> output, but here is what I still have:
> 
> This perl script:
> 
> open(TEXT, " 
> open (FILE, ">>bible.json") || die "problem opening bible.json\n";
> 
> print FILE "[\n";
> 
> my $book;
> 
> while() {
> if ( $_ =~ /^\D{2,}/ ) {
> $book = $_;
> }
> if ( $_ =~ /^(\d*)[:](\d*) (.*.)$/ ) {
> print FILE "{\n";
> print FILE "\"chapter\" : \"", $1, "\",\n";
> print FILE "\"verse\" : \"", $2, "\",\n";
> print FILE "\"title\" : \"", $book, " Chapter: ", $1, " Verse: ", $2, 
> "\",\n";
> print FILE "\"text\" : \"", $3, "\",\n";
> print FILE "}\n";
> }
> }
> 
> print FILE "]\n";
> 
> close(FILE);
> 
> close(TEXT);
> 
> given the plain text version of the king james bible from project gutenberg 
> here http://www.gutenberg.org/cache/epub/10/pg10.txt should create a json 
> file that has the tiddlers in it. At the moment they have a field that lists 
> the chapter and a field that lists the verse and the tiddler title should be 
> in the form  'bookname chapter: n verse: y'
> 
> I am sure you can find whatever bible version you want as a similar plaintext 
> file online and it shouldn't be too difficult to modify the script to do 
> things like add a field for the version so you can make it all easily 
> searchable.
> 
> -- 
> 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/8bcfe7c6-17ee-4636-86d2-1a5a383e8f86%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/A460483C-7161-487A-8A13-757A651F4BA9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] doesn't work, how to ignore syntax?

2016-02-27 Thread Shay Shaked
I don't know what is it in this piece of text I copy-pasted, but I can't 
close the quote block. I tried to tell TW to ignore any formatting in this 
text block, but all my attempts failed. Here's an image: 


As you can see, the block-quote ignores the closure indicator (or whatever 
you want to call it) and happily continues on its marry way. How to stop 
it? Hmm? 

-- 
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/de9db078-ba1f-473a-b3cd-61763248ff50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] importing/saving emails in TW

2016-02-27 Thread Jed Carty
If you don't want to do this manually you will probably have to use some 
non-tiddlywiki things. Perl at a minimum I suspect.

I am moving away from using gmail and I have been working on this a bit. If 
you want to do this on a large scale I could probably help. I am working on 
making a mysql database of my emails and using tiddlywiki as a front-end 
for searching and viewing them. It may take a while for me to get this 
together though.

-- 
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/565559bd-88e8-4778-a441-94442946c337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Encrypting tag-identified tiddlers with the Tools menu

2016-02-27 Thread ParisWiki
Thank you Greg !

And Thank you Danielo ! 

I had seen your plugin some months ago, but I was under the (wrong) 
impression that it was not doing batches.

Nice work !

JCG


Le vendredi 26 février 2016 21:47:46 UTC+1, Greg Davis a écrit :
>
> Hi,
>
> What you want is the Encrypt Tiddler Plugin by Danielo Rodriguez at: 
> http://danielorodriguez.com/TW5-EncryptTiddlerPlugin/
>
> It can add a Tool to each tiddler to to encrypt individually but also has 
> a Batch Mode filtering on a Tag. Batch Mode is in the Control Panel.
>
>
> Good Luck
>
> Greg
>
>
> On Friday, February 26, 2016 at 9:42:09 AM UTC-5, ParisWiki wrote:
>>
>> Hello,
>>
>> Encrypting a large TW results in a larger file, taking too long to 
>> decrypt, while contening important and non important, but verbose, tiddlers.
>>
>> Is there a way to encrypt only the "important" tiddlers earmarked with 
>> some tag by using the encrypt button on the sub-menu Tools on the right 
>> column ?
>>
>> I was thinking of a system along the model of $:/config/SaverFilter to 
>> list such tiddlers or to specifiy the rule for a certain tag, but I have no 
>> idea if this is feasible ...
>>
>> Thank you for your help,
>>
>> JCG
>>
>

-- 
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/a0699c8c-744d-4bf5-bd30-c503b62c6ebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Add R language to TW5 highlight plugin

2016-02-27 Thread Jed Carty
I had to do this for matlab. It isn't difficult but I remember there being 
some annoying syntax thing that came up somewhere. I didn't run into it 
while testing so maybe it won't be a problem.

Go to the download page here (https://highlightjs.org/download/) select the 
languages you want included in the plugin.
Click the download button.
In the downloaded zip file open up the file highlight.pack.js
In the tiddler $:/plugins/tiddlywiki/highlight/highlight.js
You want to replace everything between the first line 
var hljs = require("$:/plugins/tiddlywiki/highlight/highlight.js");
and the last line 
exports.hljs = hljs;
with the contents of highlight.pack.js

Then same the tiddler and reload your wiki. I didn't get an error doing it 
just now but I haven't tested it much.

-- 
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/4b11e240-d605-4ff9-a4a5-b9232a713fca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Scripture tiddly wiki 5 examples

2016-02-27 Thread Jed Carty
I think I got bored and stopped working on it, and I can't find any of the 
output, but here is what I still have:

This perl script:

open(TEXT, ">bible.json") || die "problem opening bible.json\n";

print FILE "[\n";

my $book;

while() {
if ( $_ =~ /^\D{2,}/ ) {
$book = $_;
}
if ( $_ =~ /^(\d*)[:](\d*) (.*.)$/ ) {
print FILE "{\n";
print FILE "\"chapter\" : \"", $1, "\",\n";
print FILE "\"verse\" : \"", $2, "\",\n";
print FILE "\"title\" : \"", $book, " Chapter: ", $1, " Verse: ", $2
, "\",\n";
print FILE "\"text\" : \"", $3, "\",\n";
print FILE "}\n";
}
}

print FILE "]\n";

close(FILE);

close(TEXT);

given the plain text version of the king james bible from project gutenberg 
here http://www.gutenberg.org/cache/epub/10/pg10.txt should create a json 
file that has the tiddlers in it. At the moment they have a field that 
lists the chapter and a field that lists the verse and the tiddler title 
should be in the form  'bookname chapter: n verse: y'

I am sure you can find whatever bible version you want as a similar 
plaintext file online and it shouldn't be too difficult to modify the 
script to do things like add a field for the version so you can make it all 
easily searchable.

-- 
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/8bcfe7c6-17ee-4636-86d2-1a5a383e8f86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Add R language to TW5 highlight plugin

2016-02-27 Thread instantkaffee
The Highlight.js plugin does not come with highlihting for the R language.
The library  itself has support 
for it.

How can I include it into TW5?

-- 
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/f20eedea-6bfa-4683-b40b-ba13a0c99ca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5 copy and paste button

2016-02-27 Thread andrew levy
Is there a way to create a button to copy and paste between tiddlers?

so that if i have selected text within a tiddler clicking the button would 
enter that text into a new tiddler

thanks

andrew

-- 
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/495c48cc-f49d-4dc0-9692-7e5785ed7f74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.