[tw] Re: [TW5] Prerelease of v5.1.14

2016-10-18 Thread Greg Davis
Hi Jeremy,

Quick look, loading some of my favorite plugins and didn't notice any 
problems. Neat that QR codes work offline. Here is a quick example of a QR 
Bookmark TW: http://qrbookmark.tiddlyspot.com

More exploring to do.

Best,
Greg


-- 
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/214bc0a1-5197-4cc3-8da2-ff92b083e9f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Impressions thus far (and TW on node.js on Android)

2016-10-18 Thread Timothy Sanders
This is fantastic, thank you for posting it.

I'm eager to set up a similar workflow for myself with tw5 and my mobile device 
and desktop computer.

My needs are that I need to be able to access my wiki without the guarantee of 
an Internet connection on my mobile device, and also, I would really need to be 
able to use git to track changes between multiple instances of my wiki.
I was thinking of using this:
https://github.com/simonthum/git-sync

And having a bare repo that my devices sync to, where each device has a unique 
git username. Since I'm the only one using it, it's unlikely to be out of sync, 
but if it does have a conflict, the daemon stops, and can signal me that I need 
to merge changes. I could even do it completely within tw5. The git-sync daemon 
could add its sync logs to the wiki, and add tiddler if it exits on failure. It 
could even be possible to merge within tw5. And I could have the most recent 
sync log in a .tid that is ignored, until after the sync succeeds or fails.

-- 
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/b735129d-5996-43c4-9d66-27d9310e9be3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Prerelease of v5.1.14

2016-10-18 Thread Thomas Elmiger
Hi Jeremy

I played a bit with MECARD and the QR plugin. It seems to generate about 
the same codes as the Google API (I did not compare pixels), great stuff! 

Most of the scanners on my iPhone (Scan, NeoReader, i-nigma, RedLaser) lose 
some content of my test card (either the birthday, the second email address 
the second phone number or the postal address), *NeoReader* is the only one 
that gets it all right. So the MECARD reception/transfer is much worse than 
vcard. But the most important information from my point of view is the URL 
– and this goes through in every app I have. Would you consider to add the 
URL to your example, please?

Here’s an anonymized version of my test content: 

MECARD:N:Tester,Thomas;TEL:+99443099090;TEL:+99795678906;EMAIL:thomas.tes...@example.com;EMAIL:tho...@example.com;NOTE:Test
 
Content;BDAY:19160812;ADR:Husacherstrasse 
303,Wallisellen-Zürich,,8910;Schweiz;URL:http://thomas-elmiger.ch;

Advantages of MECARD in my eyes: it has a nice compact format, not far away 
from dictionary tiddlers … and there were no problems with German umlauts.

Thanks again and good luck!
Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+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/eb96bd8d-4c8a-4f94-875e-794ac175a844%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Interactive fiction with tw5?

2016-10-18 Thread Timothy Sanders
Wow, thanks so much! I certainly will update this thread with my progress.

What I'm working on right now, is keeping a tree of opened tiddlers, so that 
when the user hits a back button, the displayed tiddlers will be unloaded, up 
until the last choice that they made.

Also, if there was a way I could make tiddlers appear horizontally, instead of 
vertically, that would be very helpful.

One of the people in my department actually worked on Twine, so I'm going to be 
consulting with him, and sharing what I make on github.

-- 
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/cee826d6-4473-4731-9808-3eaf2cac6b0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Prerelease of v5.1.14

2016-10-18 Thread Sylvain Naudin
Hi Jeremy,

It's a good idea for QrCode, thanks for this improvement.

I've see the new print icon, how use it ? I've see WidgetMessage: tm-print, 
but don't help me ;)


Regards,
Sylvain

-- 
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/be58a35a-f208-4720-ba70-7e49100c71ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Parsing a tiddler containing structured data

2016-10-18 Thread Steven Schneider
Ask and you shall receive! The TiddlyWiki gods have been kind to me this 
week! Based on Jeremy's BibTex importer plugin (available in pre-release 
), I'm now able to do, well, almost 
everything I imagined with respect to bibliography management using bibtex 
and importing into tiddlywiki.

Have a look:  https://stevesunypoly.updog.co/bibtex/bibliography3.html

More work to be done, but this is huge . 

(duplicate of biblio thread).

On Tuesday, October 18, 2016 at 2:11:22 PM UTC-4, Jeremy Ruston wrote:
>
> Hi Steve
>
> Thanks, Jeremy. Yes, works perfectly! You've made my day!! I'll get to 
> work on macros, that I can handle. A deserializer is way beyond my skills 
> (and only vaguely within my comprehension.
>
>
> Great, I hope it does the trick.
>
> A deserialiser, by the way, is a JS module that extracts tiddlers from a 
> block of text. The same deserialisers are used in the browser during the 
> import process, and under Node.js by the --load command.
>
> This will help me and others who need bibliographic management within 
> TiddlyWiki, and allow us to move TW forward as a serious academic tool, 
> including being able to write (and publish) journal articles, books, etc. 
>
> 40 minutes! It took me 3 days to figure out that I should import a .bib 
> file directly :). Again, thanks, and I'll get on with testing the 
> pre-release version ...
>
>
> I think there's a bit more work needed. The field conversion done at the 
> moment doesn't make any attempt to extract tags, for instance.
>
> When you've had a chance to play around it would be helpful if you could 
> map out a more useful mapping, and we'll figure out a way to configure the 
> conversion process.
>
> Best wishes
>
> Jeremy
>
>
> //steve.
>
> On Tuesday, October 18, 2016 at 1:09:51 PM UTC-4, Jeremy Ruston wrote:
>>
>> Hi Steve
>>
>> > Ideally, TW should read the .bib file directly, of course. But, one 
>> step at a time...
>>
>> OK, I’ve bowed to the inevitable and spent 40 minutes whipping up a basic 
>> BibTeX importer plugin, based on a JavaScript BibTeX parser that I found.
>>
>> You can try it out at:
>>
>> http://tiddlywiki.com/prerelease#%24%3A%2Fplugins%2Ftiddlywiki%2Fbibtex 
>> 
>>
>> I found that your .bib file at 
>> https://stevesunypoly.updog.co/bibtex/first-jabref-bibtex-db.bib gives 
>> an error unless I remove the final line:
>>
>> @Comment{jabref-meta: databaseType:bibtex;}
>>
>> I’ve only done the most basic field conversion:
>>
>> * title comes from citationKey
>> * bibtex-entry-type comes from entryType
>> * all entryTags are assigned to fields with the prefix “bibtex-“
>>
>> Let me know how you get on,
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> On 18 Oct 2016, at 17:13, Steven Schneider  wrote:
>>
>> As part of my bibliography project (see previous thread, 
>> https://groups.google.com/forum/#!topic/tiddlywiki/ZKiviPin72c) it 
>> occurs to me that I could import a structured file (a bib file) as a 
>> tiddler, and write macros that search for / extract records from that 
>> tiddler. Is something like that even possible?
>>
>> Here, for example, is what a bib file with two entries might look like
>> @InProceedings{Dalgaard2001,
>>   author = {Dalgaard, Rune},
>>   title  = {Hypertext and the Scholarly Archive: Intertexts, 
>> Paratexts and Metatexts at Work},
>>   url= {http://doi.acm.org/10.1145/504216.504262},
>>   urldate= {2016-10-17},
>> }
>>
>> @Article{Rowan2016,
>>   author = {Rowan, Kyle Edward},
>>   title  = {Not Quite a Sunset: a hypertext opera},
>>   date   = {2016},
>>   shorttitle = {Not Quite a Sunset},
>>   url= {http://escholarship.org/uc/item/9830g5pn.pdf},
>>   urldate= {2016-10-17},
>> }
>>
>>
>> How could I write macros that would allow me to transclude fields/values 
>> from this tiddler, for example:
>>
>> {{Rowan2016!!url}} to return http://escholarship.org/uc/item/9830g5pn.pdf
>>
>> {{Rowan2016!!type}} to return @Article (this would be necessary to 
>> generate custom templates based on type)
>>
>> etc.
>>
>>
>> I am still interested in parsing this file into separate tiddlers (one 
>> for each @), but the approach outlined above might be easier for me to 
>> handle.
>>
>> Thanks,
>>
>> //steve.
>>
>> -- 
>> 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/830c0d47-36df-4535-b137-54e93a845c5a%40googlegroups.com
>>  
>> 

[tw] Re: Bibliography in TW using JabRef & Bibtex

2016-10-18 Thread Steven Schneider
Ask and you shall receive! The TiddlyWiki gods have been kind to me this 
week! Based on Jeremy's BibTex importer plugin (available in pre-release 
), I'm now able to do, well, almost 
everything I imagined with respect to bibliography management using bibtex 
and importing into tiddlywiki.

Have a look:  https://stevesunypoly.updog.co/bibtex/bibliography3.html

More work to be done, but this is huge . 
If folks want to add some thoughts / desires here, I'll tally and add to 
wiki.

//steve.


On Monday, October 17, 2016 at 4:24:43 PM UTC-4, Steven Schneider wrote:
>
> I've long been searching for some bibliographic solutions within 
> TiddlyWiki (search this group for bibtex and bibliography, and you'll see 
> some threads I've started / contributed to over the years). 
>
> I actually made some progress today and would welcome thoughts / 
> suggestions / etc. to move this effort forward.
>
> I am now able to import a bunch-o-references from Google Scholar into a 
> JabRef dbase, export my dbase into a spreadsheet, make some modest edits, 
> convert to JSON, and import into TW. 
>
> At https://stevesunypoly.updog.co/bibtex/index.html is:
>
>- bibliography.html 
> - a TW with 
>100+ references directly imported from Google Scholar plus some 
>documentation about steps taken
>- first-jabref-bibtex-db.bib 
> - 
>my jabref dbase
>- bib3.ods  - export 
>from jabref to ods (spreadsheet) format
>- bib3.csv  - csv
>- bib3.json  - json
>
> Ideally, TW should read the .bib file directly, of course. But, one step 
> at a time...
>
> (FWIW: note use of updog.co to serve TW via Dropbox - easy, free, 
> reliable!)
>
> //steve.
>
>

-- 
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/d57c3ed1-38da-41c5-92e5-b645b25b6007%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to make on Mac Os X something like .bat file on windows?

2016-10-18 Thread Riz
Hey Siniy-Kit

*Damn th*at was awesome.  Much appreciate the share.

-- 
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/1f49ce29-03f1-46af-97fe-242f4104c421%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Parsing a tiddler containing structured data

2016-10-18 Thread Jeremy Ruston
Hi Steve

> Thanks, Jeremy. Yes, works perfectly! You've made my day!! I'll get to work 
> on macros, that I can handle. A deserializer is way beyond my skills (and 
> only vaguely within my comprehension.

Great, I hope it does the trick.

A deserialiser, by the way, is a JS module that extracts tiddlers from a block 
of text. The same deserialisers are used in the browser during the import 
process, and under Node.js by the --load command.

> This will help me and others who need bibliographic management within 
> TiddlyWiki, and allow us to move TW forward as a serious academic tool, 
> including being able to write (and publish) journal articles, books, etc. 
> 
> 40 minutes! It took me 3 days to figure out that I should import a .bib file 
> directly :). Again, thanks, and I'll get on with testing the pre-release 
> version ...

I think there's a bit more work needed. The field conversion done at the moment 
doesn't make any attempt to extract tags, for instance.

When you've had a chance to play around it would be helpful if you could map 
out a more useful mapping, and we'll figure out a way to configure the 
conversion process.

Best wishes

Jeremy

> 
> //steve.
> 
>> On Tuesday, October 18, 2016 at 1:09:51 PM UTC-4, Jeremy Ruston wrote:
>> Hi Steve
>> 
>> > Ideally, TW should read the .bib file directly, of course. But, one step 
>> > at a time...
>> 
>> OK, I’ve bowed to the inevitable and spent 40 minutes whipping up a basic 
>> BibTeX importer plugin, based on a JavaScript BibTeX parser that I found.
>> 
>> You can try it out at:
>> 
>> http://tiddlywiki.com/prerelease#%24%3A%2Fplugins%2Ftiddlywiki%2Fbibtex
>> 
>> I found that your .bib file at 
>> https://stevesunypoly.updog.co/bibtex/first-jabref-bibtex-db.bib gives an 
>> error unless I remove the final line:
>> 
>> @Comment{jabref-meta: databaseType:bibtex;}
>> 
>> I’ve only done the most basic field conversion:
>> 
>> * title comes from citationKey
>> * bibtex-entry-type comes from entryType
>> * all entryTags are assigned to fields with the prefix “bibtex-“
>> 
>> Let me know how you get on,
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>> 
>>> On 18 Oct 2016, at 17:13, Steven Schneider  wrote:
>>> 
>>> As part of my bibliography project (see previous thread, 
>>> https://groups.google.com/forum/#!topic/tiddlywiki/ZKiviPin72c) it occurs 
>>> to me that I could import a structured file (a bib file) as a tiddler, and 
>>> write macros that search for / extract records from that tiddler. Is 
>>> something like that even possible?
>>> 
>>> Here, for example, is what a bib file with two entries might look like
>>> @InProceedings{Dalgaard2001,
>>>   author = {Dalgaard, Rune},
>>>   title  = {Hypertext and the Scholarly Archive: Intertexts, Paratexts 
>>> and Metatexts at Work},
>>>   url= {http://doi.acm.org/10.1145/504216.504262},
>>>   urldate= {2016-10-17},
>>> }
>>> 
>>> @Article{Rowan2016,
>>>   author = {Rowan, Kyle Edward},
>>>   title  = {Not Quite a Sunset: a hypertext opera},
>>>   date   = {2016},
>>>   shorttitle = {Not Quite a Sunset},
>>>   url= {http://escholarship.org/uc/item/9830g5pn.pdf},
>>>   urldate= {2016-10-17},
>>> }
>>> 
>>> 
>>> How could I write macros that would allow me to transclude fields/values 
>>> from this tiddler, for example:
>>> 
>>> {{Rowan2016!!url}} to return http://escholarship.org/uc/item/9830g5pn.pdf
>>> 
>>> {{Rowan2016!!type}} to return @Article (this would be necessary to generate 
>>> custom templates based on type)
>>> 
>>> etc.
>>> 
>>> 
>>> I am still interested in parsing this file into separate tiddlers (one for 
>>> each @), but the approach outlined above might be easier for me to handle.
>>> 
>>> Thanks,
>>> 
>>> //steve.
>>> 
>>> -- 
>>> 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/830c0d47-36df-4535-b137-54e93a845c5a%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/2c3ee137-6b37-4e5d-80e4-1932002ef942%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups

Re: [tw] Parsing a tiddler containing structured data

2016-10-18 Thread Steven Schneider
Thanks, Jeremy. Yes, works perfectly! You've made my day!! I'll get to work 
on macros, that I can handle. A deserializer is way beyond my skills (and 
only vaguely within my comprehension.

This will help me and others who need bibliographic management within 
TiddlyWiki, and allow us to move TW forward as a serious academic tool, 
including being able to write (and publish) journal articles, books, etc. 

40 minutes! It took me 3 days to figure out that I should import a .bib 
file directly :). Again, thanks, and I'll get on with testing the 
pre-release version ...

//steve.

On Tuesday, October 18, 2016 at 1:09:51 PM UTC-4, Jeremy Ruston wrote:
>
> Hi Steve
>
> > Ideally, TW should read the .bib file directly, of course. But, one step 
> at a time...
>
> OK, I’ve bowed to the inevitable and spent 40 minutes whipping up a basic 
> BibTeX importer plugin, based on a JavaScript BibTeX parser that I found.
>
> You can try it out at:
>
> http://tiddlywiki.com/prerelease#%24%3A%2Fplugins%2Ftiddlywiki%2Fbibtex 
> 
>
> I found that your .bib file at 
> https://stevesunypoly.updog.co/bibtex/first-jabref-bibtex-db.bib gives an 
> error unless I remove the final line:
>
> @Comment{jabref-meta: databaseType:bibtex;}
>
> I’ve only done the most basic field conversion:
>
> * title comes from citationKey
> * bibtex-entry-type comes from entryType
> * all entryTags are assigned to fields with the prefix “bibtex-“
>
> Let me know how you get on,
>
> Best wishes
>
> Jeremy
>
>
> On 18 Oct 2016, at 17:13, Steven Schneider > 
> wrote:
>
> As part of my bibliography project (see previous thread, 
> https://groups.google.com/forum/#!topic/tiddlywiki/ZKiviPin72c) it occurs 
> to me that I could import a structured file (a bib file) as a tiddler, and 
> write macros that search for / extract records from that tiddler. Is 
> something like that even possible?
>
> Here, for example, is what a bib file with two entries might look like
> @InProceedings{Dalgaard2001,
>   author = {Dalgaard, Rune},
>   title  = {Hypertext and the Scholarly Archive: Intertexts, Paratexts 
> and Metatexts at Work},
>   url= {http://doi.acm.org/10.1145/504216.504262},
>   urldate= {2016-10-17},
> }
>
> @Article{Rowan2016,
>   author = {Rowan, Kyle Edward},
>   title  = {Not Quite a Sunset: a hypertext opera},
>   date   = {2016},
>   shorttitle = {Not Quite a Sunset},
>   url= {http://escholarship.org/uc/item/9830g5pn.pdf},
>   urldate= {2016-10-17},
> }
>
>
> How could I write macros that would allow me to transclude fields/values 
> from this tiddler, for example:
>
> {{Rowan2016!!url}} to return http://escholarship.org/uc/item/9830g5pn.pdf
>
> {{Rowan2016!!type}} to return @Article (this would be necessary to 
> generate custom templates based on type)
>
> etc.
>
>
> I am still interested in parsing this file into separate tiddlers (one for 
> each @), but the approach outlined above might be easier for me to handle.
>
> Thanks,
>
> //steve.
>
> -- 
> 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/830c0d47-36df-4535-b137-54e93a845c5a%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/2c3ee137-6b37-4e5d-80e4-1932002ef942%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Parsing a tiddler containing structured data

2016-10-18 Thread Jeremy Ruston
Hi Steve

> Ideally, TW should read the .bib file directly, of course. But, one step at a 
> time...

OK, I’ve bowed to the inevitable and spent 40 minutes whipping up a basic 
BibTeX importer plugin, based on a JavaScript BibTeX parser that I found.

You can try it out at:

http://tiddlywiki.com/prerelease#%24%3A%2Fplugins%2Ftiddlywiki%2Fbibtex 


I found that your .bib file at 
https://stevesunypoly.updog.co/bibtex/first-jabref-bibtex-db.bib 
 gives an 
error unless I remove the final line:

@Comment{jabref-meta: databaseType:bibtex;}

I’ve only done the most basic field conversion:

* title comes from citationKey
* bibtex-entry-type comes from entryType
* all entryTags are assigned to fields with the prefix “bibtex-“

Let me know how you get on,

Best wishes

Jeremy


> On 18 Oct 2016, at 17:13, Steven Schneider  wrote:
> 
> As part of my bibliography project (see previous thread, 
> https://groups.google.com/forum/#!topic/tiddlywiki/ZKiviPin72c 
> ) it occurs 
> to me that I could import a structured file (a bib file) as a tiddler, and 
> write macros that search for / extract records from that tiddler. Is 
> something like that even possible?
> 
> Here, for example, is what a bib file with two entries might look like
> @InProceedings{Dalgaard2001,
>   author = {Dalgaard, Rune},
>   title  = {Hypertext and the Scholarly Archive: Intertexts, Paratexts 
> and Metatexts at Work},
>   url= {http://doi.acm.org/10.1145/504216.504262},
>   urldate= {2016-10-17},
> }
> 
> @Article{Rowan2016,
>   author = {Rowan, Kyle Edward},
>   title  = {Not Quite a Sunset: a hypertext opera},
>   date   = {2016},
>   shorttitle = {Not Quite a Sunset},
>   url= {http://escholarship.org/uc/item/9830g5pn.pdf},
>   urldate= {2016-10-17},
> }
> 
> 
> How could I write macros that would allow me to transclude fields/values from 
> this tiddler, for example:
> 
> {{Rowan2016!!url}} to return http://escholarship.org/uc/item/9830g5pn.pdf
> 
> {{Rowan2016!!type}} to return @Article (this would be necessary to generate 
> custom templates based on type)
> 
> etc.
> 
> 
> I am still interested in parsing this file into separate tiddlers (one for 
> each @), but the approach outlined above might be easier for me to handle.
> 
> Thanks,
> 
> //steve.
> 
> -- 
> 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/830c0d47-36df-4535-b137-54e93a845c5a%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/0E661637-FA22-488C-908A-A71FF47EF503%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Solution for Importing Entries (csv/json) from the Zotero Bibliography Tool.

2016-10-18 Thread Steven Schneider
Hello, sorry to be late to the party. 

For high-quaity csv-to-json conversion see 
http://www.convertcsv.com/csv-to-json.htm

I to am very interested in this, for the same reason -- bibliographic 
entries -- and am trying to get JabRef to generate a JSON file for 
importing (ideally, without an intermediate csv step. If you are willing to 
take that step, see my workflow:

https://stevesunypoly.updog.co/bibtex/bibliography.html#Steps%20to%20create%20tiddlers%20for%20each%20entry%20in%20bib%20file

or more generally, 

https://stevesunypoly.updog.co/bibtex/bibliography.html

Let me know if you are still working on this; perhaps we can put our minds 
together...:)

//steve.

On Tuesday, May 17, 2016 at 6:30:22 PM UTC-4, Mark S. wrote:
>
> Congratulations Jan. The good thing about the name Zotero, is that anyone 
> looking for your solution will have an excellent chance of finding it. 
>
> On Tuesday, May 17, 2016 at 1:56:18 PM UTC-7, Jan wrote:
>>
>> Hi Mark, dear scientific users of TW.
>> In the search of a way to create Tiddlers from a 
>> Zotero/Mendeley/...-Bibliography I found a solution.
>> In the attachment you find a csl-template, wich supports the export into 
>> something, that can manually be transformed into a Json-file which will 
>> create Tiddlers for each chosen Film or Videostream.
>> That's my UseCase for now. I will do other formats later or quicker on 
>> demand If someone asks.
>> The description is in the Readme.
>>
>> Cheers Jan
>>
>> PS: 
>> Dear Mark
>> your were right in your analysis. Your Plugin now works fine. Despite I 
>> decided that CSVs as export format are to vulnerable for my usecase.
>> J
>>
>> Am 16.05.2016 um 01:33 schrieb 'Mark S.' via TiddlyWiki:
>>
>> The entry with "Monty Pythons Flying Circus" is missing a title (or a 
>> director, depending on if you meant for MPFC to be director or title).
>>
>> All fields need to be present, though they can be empty. An empty field 
>> would represented by empty double quotes. So that particular entry might be 
>> represented as:
>>
>> "motion_picture","Monty Pythons Flying Circus","","30 
>> min","05.10.1969","Neuro,Gestalttheorie,Movie"
>>
>> (Assuming MPFC was the 'directory').
>>
>> HTH
>> Mark
>>
>> On Sunday, May 15, 2016 at 4:11:46 PM UTC-7, Jan wrote: 
>>>
>>> Hallo Mark,
>>> Your Example works fine now, the code does not cause crashes anymore, 
>>> but it gives me your error-message for this:
>>>
>>> type,director,title,length,launch,tags
>>> "motion_picture","Hans Richter","Ghosts Before Breakfast","6 
>>> min","14.07.1928","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","Monty Pythons Flying Circus","30 
>>> min","05.10.1969","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","John Mc Tiernan","Predator","107 
>>> min","12.06.1987","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","Paul Verhoeven","Robo Cop","102 
>>> min","17.07.1987","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","Peter Greenaway","The Draughtsmans Contract","108 
>>> min","30.06.1983","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","James Cameron","The Terminator","107 
>>> min","26.10.1984","Neuro,Gestalttheorie,Movie"
>>>
>>> I have no clue why...
>>>
>>> Thanks for your endurance, 
>>> Jan
>>>
>>>
>>>
>>>
>>> Am 15.05.2016 um 03:38 schrieb 'Mark S.' via TiddlyWiki:
>>>
>>> Although you copied it from the list, when you pasted it in you already 
>>> had a line in place. Or you selected an extra line feed. So if you check, 
>>> you'll see that there is one "invisible" line at the bottom of your input 
>>> tiddler that is choking the program. When/If I do an update, I'll have to 
>>> add checking code to toss out bad lines.
>>>
>>> HTH
>>> Mark
>>>
>>> On Saturday, May 14, 2016 at 6:32:22 PM UTC-7, Jan wrote: 

 Hi Mark,
 the last string I tested was:

 title,tags,text,birth,death
 "John Smith","English male,Therapist","Explorer, Artist","1900","1981"

 because I wanted to see it work...
 This means I copypasted it right from the mail to the field...

 Yours Jan

 Am 15.05.2016 um 01:22 schrieb 'Mark S.' via TiddlyWiki:

 Can you share the lines that crashed it?  I would guess that you either 
 have an empty field or a blank line somewhere.

 Mark

 On Saturday, May 14, 2016 at 3:26:07 PM UTC-7, Jan wrote: 
>
> Dear Mark,
> It crashed when I used 6 arrays with 5 entries...and it still crashed 
> when I pasted a single line. 
> The errorcode is: TypeError: araLine[j] is undefined
>
> -- 
 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/

[tw] Re: Interactive fiction with tw5?

2016-10-18 Thread Thomas Elmiger
Hi Jed – thank you! This time I won. There was an additional challenge as I did 
it on the small screen of my Phone. 
Kind regards 
Thomas 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+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/38ba05c7-31ba-42b9-8323-4516e0ee6089%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Parsing a tiddler containing structured data

2016-10-18 Thread Steven Schneider
As part of my bibliography project (see previous thread, 
https://groups.google.com/forum/#!topic/tiddlywiki/ZKiviPin72c) it occurs 
to me that I could import a structured file (a bib file) as a tiddler, and 
write macros that search for / extract records from that tiddler. Is 
something like that even possible?

Here, for example, is what a bib file with two entries might look like
@InProceedings{Dalgaard2001,
  author = {Dalgaard, Rune},
  title  = {Hypertext and the Scholarly Archive: Intertexts, Paratexts 
and Metatexts at Work},
  url= {http://doi.acm.org/10.1145/504216.504262},
  urldate= {2016-10-17},
}

@Article{Rowan2016,
  author = {Rowan, Kyle Edward},
  title  = {Not Quite a Sunset: a hypertext opera},
  date   = {2016},
  shorttitle = {Not Quite a Sunset},
  url= {http://escholarship.org/uc/item/9830g5pn.pdf},
  urldate= {2016-10-17},
}


How could I write macros that would allow me to transclude fields/values 
from this tiddler, for example:

{{Rowan2016!!url}} to return http://escholarship.org/uc/item/9830g5pn.pdf

{{Rowan2016!!type}} to return @Article (this would be necessary to generate 
custom templates based on type)

etc.


I am still interested in parsing this file into separate tiddlers (one for 
each @), but the approach outlined above might be easier for me to handle.

Thanks,

//steve.

-- 
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/830c0d47-36df-4535-b137-54e93a845c5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] How to make on Mac Os X something like .bat file on windows?

2016-10-18 Thread Siniy-Kit
Hi! I have a little project on TW5. People can download my free tiddlywiki 
template http://heeg.ru/download.html and make static site with small 
on-line store.

For windows I make bat file to generate folder with static html pages and 
copy external images and other files to static folder


tiddlywiki --verbose  --load heeg.html --rendertiddlers 
[!is[system]![index]] $:/core/templates/static.tiddler.html ./static 
text/plain  --rendertiddler $:/_sitemap static/sitemap.xml 
text/vnd.tiddlywiki  --rendertiddler $:/theeg.template.css 
 static/static.css text/vnd.tiddlywiki --rendertiddler 
$:/_aa.giff/StyleSheetAnimate  static/animate.css text/vnd.tiddlywiki 
--rendertiddler $:/boot/Yandex_Metrika_Counter.js   
 static/Yandex_Metrika_Counter.js text/plain --rendertiddler 
$:/boot/bootprefix1.js   static/heeg.js text/plain  --setfield 
[[$:/HistoryList]] current-tiddler $:/_index text/vnd.tiddlywiki --output 
./temp --rendertiddlers [[index]] $:/core/templates/static.tiddler.html 
./static text/plain .html "noclean"  && ^
xcopy images output\static\images /s /e /C /Y /d /i && ^
xcopy fonts output\static\fonts /s /e /C /Y /d /i && ^
copy heeg.html output\static\ && ^
copy .\temp\static\index.html output\static\ && ^
copy .htaccess output\static\ && ^
copy favicon.ico output\static\ 


But people who have Mac Os X cant use my bat file to generate site.  may be 
somebody know how to create somethink like bat file but for Mac?

-- 
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/ef7b39c8-7250-4ce6-a4cb-a0582903d44e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using currentTiddler name in a filter

2016-10-18 Thread stevesuny
Thanks, Mario! These are the kinds of tutorials / explanations I'm trying 
to build for {{DesignWrite}}. So, at the risk of belaboring the point -- 
and with apologies to those for whom this it too fine-grained. I've 
numbered your three code snippets below (1) (2) (3),  added (4). and 

 I see that in edit mode, (1) and (2) and (4) produce no output, given 
that  {{!!title}} and <> have both taken the value of *Draft 
of 'test'*, while in view mode (1) (2)  (3) and (4) produce identical 
output.

This yields three questions for me:

 What are the differences between  using a specified transcluded field 
in a filter, as in (1), and using a macro <> in a filter as 
in (2)? In what circumstances is (1) preferred over (2) and vice-versa?

 What is the value of using <$set> as in(4)?

 What is the use case for hard-coding rather than transcluding a filter 
list, as in (3)?

Thanks!

//steve.


On Tuesday, October 18, 2016 at 4:29:14 AM UTC-4, PMario wrote:
>
> Hi Steve,
>
> The point here is, that the following code produces different output, 
> depending on edit or view mode. eg: 
>
>  - create 2 tiddlers named "a" and "b" 
>  - tag them "test"
>  - create a tiddler named: test
>  - save it
>  - open it and copy the following code into it
>  - open Preview Mode
>  - save the tiddler again
>
> you should see a difference. Code for tiddler "test":
>
>
> ```
> (1) <$list filter="[tag{!!title}]"><>,  
> ```
> <$list filter="[tag{!!title}]"><>,  
>
> ```
> (2) <$list filter="[tag]"><>, 
> ```
> <$list filter="[tag]"><>, 
>
> ```
> (3) <$list filter="[tag[test]]"><>, 
> ```
>  <$list filter="[tag[test]]"><>, 
>

```
(4) 
<$list filter="[tag{!!title}]">
<$set name="testVar" value=<>>
<>,

```
<$list filter="[tag{!!title}]">
<$set name="testVar" value=<>>
<>,



have fun!
mario

>

-- 
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/f53ec777-c4e6-4726-963d-05a358e4d302%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Prerelease of v5.1.14

2016-10-18 Thread Jeremy Ruston
There’s been a rash of updates to v5.1.14 in the last 10 days, making it a good 
time to have a look at the prerelease at http://tiddlywiki.com/prerelease 


I’d like to highlight the new QR code generator plugin (installed in the 
prerelease so that you can try it out easily). I had little idea about QR codes 
before the recent correspondence here on the mailing list, but am now a 
convert. If you don’t have a QR code reader on your smartphone I’d highly 
recommend installing one to play with the prerelease.

Basically, QR codes can be used to transfer any block of text that isn’t too 
long/complicated to fit. There are conventions for passing URLs, contact 
information, wifi details etc., but there is complete freedom; one can make a 
QR code of JSON if you want (actually a bad idea as the special characters 
appear to compress badly).

The QR code plugin adds a generic macro for generating a QR code from a string, 
and also adds a couple of pre-built ways to use it:

* A new view toolbar button that displays the current tiddler as a QR code. You 
can choose from the URL of the tiddler, the raw text, or the rendered text
* Example forms for generating QR codes for contacts, wifi and generic codes

Once I’d found the library, getting the plugin up and running was surprisingly 
easy — I had the first operational version within 30 minutes of starting work. 
A good illustration of the excellent returns on the effort involved in 
integrating existing JavaScript components.

There’s a full list of changes in the release note, but I’d highlight the 
following bigger changes:

* Extended search mechanism to require the search string to be a minimum length
* New Hebrew translation, and preliminary support for RTL languages
* Improved access to plugin information:
** New “Plugins” tab in the “More” sidebar tab, listing all installed plugins
** Better display of plugin tiddlers themselves, duplicating the gadget used in 
control panel
* Fixed height of preview pane to use a scrollbar when fixed height layout is 
selected
* Improved modals and notifications so that global macros are available
* Extended the SetWidget to allow a single result to be selected from a 
filtered result list
* Added new $:/info/url/* information tiddlers providing document location 
information
* Added several new filter operators for string encoding/decoding strings 
according to HTML encoding, URI encoding, regexp escaping and JavaScript string 
encoding
* Improved support for bulk loading tiddler files via tiddlywiki.files Files 
within TiddlyWikiFolders

I’d like to get v5.1.14 released in the next couple of weeks, so any 
feedback/thoughts/questions are much appreciated at this point.

As ever, thanks to everyone listed in the release note for their contributions 
to this release.

Best wishes

Jeremy.


-- 
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/AF2B9AB9-0E8A-4A96-9FF5-981A3B78B239%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using currentTiddler name in a filter

2016-10-18 Thread PMario
tiddlers.json for drag and drop import :)
-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 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/97dc6437-c44d-48d1-84b7-af571b827cb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


tiddlers(8).json
Description: application/json


[tw] Re: Using currentTiddler name in a filter

2016-10-18 Thread PMario
Hi Steve,

The point here is, that the following code produces different output, 
depending on edit or view mode. eg: 

 - create 2 tiddlers named "a" and "b" 
 - tag them "test"
 - create a tiddler named: test
 - save it
 - open it and copy the following code into it
 - open Preview Mode
 - save the tiddler again

you should see a difference. Code for tiddler "test":


```
<$list filter="[tag{!!title}]"><>,  
```
<$list filter="[tag{!!title}]"><>,  

```
<$list filter="[tag]"><>, 
```
<$list filter="[tag]"><>, 

```
<$list filter="[tag[test]]"><>, 
```
 <$list filter="[tag[test]]"><>, 



have fun!
mario

-- 
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/225a2517-9194-498e-a5e0-2c29a732e6f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.