[tw5] Re: [plugin] TOC generic - shows toc,backlinks,list and listed up front

2020-05-11 Thread TonyM
HC,


>
>>- Provide a config tiddler such as $:/config/TOC-Generic-filter with 
>>a default filter than can be modified, for example some may want 
>>"[all[current]!is[system]]" some may not
>>
>> you are right. I will look into that. But are you talking about the 
> filter for toc, backlinks etc. or a filter for witch tiddlers to show it on?
>

First I was thinking just which tiddlers to show it on. In an open wiki I 
may use  "[all[current]!is[system]]" because I only want it on "non-system 
tiddlers", but in other cases I may have such as has[object-type] or 
object-type[notes]
 

>
>
>>- If possible allow the ability to toggle the feature on or off 
>>individual tiddlers
>>
>> If hiding it is the exception not the rule, you could permit any tiddler 
to have a field hide-references = yes in which case you do not display it, 
even if you do not provide a toggle for this it allows manual intervention.
However in the first filter above one could say !hide-references[yes] so 
this can be achived if you provide the first filter.
 

> I thought of this, but that is problematic because you could get false 
> negatives. 
> say you have a tiddler showing no references. you dont know if that is 
> because there are no tag, backlinks, list or listed, OR it is because you 
> at some point in the past excluded it. my workaround is the ability to hide 
> everything behind the "references" button. Though I am all ears for better 
> suggestions.
>

Actually being able to force something can be an intentional negative or 
intentional positive.You may say enable it on Control Panel but not 
advanced search.
 

>
> One finally thing to consider is the space consumed by you solution to 
>> display, you can seperate the toggling of content from the display of the 
>> content so only one line would be used until content is displayed. I can 
>> explain this method if you wish.
>>
>
> you are right. yes please explain. are you thinking of having all the 
> folded lists-buttons on one line beside each other?
>

If you seperate the way you toggle a set of things, from the way you 
display them you can do this;

Eg a section of checkboxes whose default is show as normal. but if checked 
creates say $:/state/hide-references with the value yes, we may call this 
hide references

Below in your tiddler you wrap the display of references as
<$list filter="[{$:/state/display-references}!match[no]]" variable=nul>
display references here


Note how by saying "not match no", both empty and yes will display the 
references.

In this case I am using a global state tiddler, but you can qualify it to 
make it local only
<>
I think you will have to use a set or wikify to capture and reuse this 
value in both the checkbox and the display list.

Others like to use the reveal widget here (not me)

If you are able to write the filters for toc, backlinks etc. you can write 
a filter to find them all, followed by limit[1] then wrap the whole display 
of references etc.. in a list widget with this filter.
Then the references will only appear if there are even just one toc, 
backlinks etc. 

Regards
Tony


Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/be0aa7ca-67dd-4977-aca8-06aba5f7b28a%40googlegroups.com.


[tw5] Re: How to show text conditionally when the field is no empty?

2020-05-11 Thread TonyM
yrosgi

I see Eric got in first, but since I wrote this.

<$list filter="[all[current]has[source]get[source]]">
Source: <>


This should work for you

   - This operates on the current tiddler, and would work well in the view 
   template
   - has[source] with return only non blank content, as opposed to 
   has:field[source] which will return even a blank field if it exists.
   - Since your filter capture field with the source field containing 
   content you may as well use get[source] to retrive the value

Regards
Tony

On Tuesday, May 12, 2020 at 10:51:14 AM UTC+10, yrosgi L wrote:
>
> I have tried to add the source field to the view template with following 
> text:
>
> source: {{!!source}}
>>
>
> when the source field is empty, it just display "source:" at the bottom.
> I hope that the snippet above only display while source field is no empty.
> How can I do that?
>
> Thanks.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91e46a3a-1246-4099-bcfd-42959f920af0%40googlegroups.com.


[tw5] Re: How to show text conditionally when the field is no empty?

2020-05-11 Thread Eric Shulman
On Monday, May 11, 2020 at 5:51:14 PM UTC-7, yrosgi L wrote:
>
> I have tried to add the source field to the view template with following 
> text:
>
>> source: {{!!source}}
>>
> when the source field is empty, it just display "source:" at the bottom.
> I hope that the snippet above only display while source field is no empty.
>

There are several ways to test to see if there is a source field.  Here's 
one:

<$list filter="[has[source]]">
   source: {{!!source}}
 

The has[...] filter checks to see if the specified field is *non-empty*.  
If the field does not exist or is empty, the body of the $list widget is 
completely skipped.  Thus, the "source:" label is only displayed when there 
is an actual value to show.

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki - http://TiddlyTools.com/InsideTW

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/202dfaa5-dcb4-4577-8889-9e3e4fe7dd6e%40googlegroups.com.


[tw5] Re: New to TiddlyWiki - need some advice regarding images

2020-05-11 Thread Joshua Fontany
To manage large collections of images, I recommend having them in a folder 
next to your wiki. Well, the actual setup depends on how you are 
hosting/serving your wiki.

If you open a local `index.html` or equivalent, with one of the browser 
savers, then you can simply have an `./images` directory next to your wiki, 
and then you will need to create a tiddler for each image with the `type` 
field set correctly, and the `_canonical_url` field set to either the local 
path "./images/monaLisa_daVinciLeonardo.png", or the absolute path 
"/c/tiddlywikis/artwiki/images/monaLisa_daVinciLeonardo.png". Then you can 
call it in other places with its title like `[img[Leonardo DaVinci/Mona 
Lisa]]` or `{{Leonardo DaVinci/Mona Lisa}}`.

If you are serving the wiki from Node.js, there is a way to define the 
metadata for all files ina folder, and import them all in one go.

Ref: 
https://tiddlywiki.com/#Using%20the%20integrated%20static%20file%20server:%5B%5BImages%20in%20WikiText%5D%5D%20ExternalImages%20%5B%5BUsing%20the%20integrated%20static%20file%20server%5D%5D

On Monday, May 11, 2020 at 12:05:14 PM UTC-7, Rhod Evans wrote:
>
> Hi - I'm a landscape painter and a long term user of Day One which I use 
> for my daily art journal.  I'm new to Tiddlywiki and wondering if it can 
> replace Day One as my art journal.  Inevitably, as a painter, my journal is 
> very image heavy.  Would it be best to establish a folder for images and 
> reference them from the wiki, or to include the images in the wiki?  Either 
> way, can someone let me know in simple terms (I'm not very techie!) how to 
> go about this?  Many thanks! Rhod
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d32d0be0-4083-49ca-ab09-2e778ac3ac78%40googlegroups.com.


[tw5] Re: [Plugin] TWCrossLinks

2020-05-11 Thread Sullevy Pan

 I like this plugin, show daily notes by card style, it's awesome.

I wish you can add two-pannel feature, this is also much useful.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f3b81f1f-f305-46d2-b05d-5cef6c41a976%40googlegroups.com.


[tw5] How to show text conditionally when the field is no empty?

2020-05-11 Thread yrosgi L
I have tried to add the source field to the view template with following 
text:

source: {{!!source}}
>

when the source field is empty, it just display "source:" at the bottom.
I hope that the snippet above only display while source field is no empty.
How can I do that?

Thanks.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e019d7ed-ee2f-4633-a61d-531e2828b58e%40googlegroups.com.


[tw5] Re: Using kin filter with multiple tags

2020-05-11 Thread Damon Pritchett
Alrighty then. After a bit of trial and error and realizing that there were 
other considerations when a tiddler has a succession of two tags, but then 
those two tags have a common single tag and also having to make sure that I 
didn't break the normal case where only one tag was involved (whew!), I 
came up with the code below. It does work for all cases that I've come 
across so far in my TW. I know that it only handles the case when there is 
a single tag or two tags, but not more than two. It was definitely a 
learning experience. Now the trick will be to remember those lessons 
learned.

I would appreciate any feedback if anyone sees a simpler or more generic 
way of doing it or there is something fundamentally wrong with the way I 
did it.




<$list filter="[title
tags[]tag[Railroads]count[]compare:number:eq[1]then]">
  Successors to ''<>'':
  
<$list filter="[title
kin:tags:from[]!is[system]!title[Railroads]!title]"> ->
  <$link><$view field="title"/>
  

  



<$list filter="[title
tags[]tag[Railroads]count[]compare:number:gt[1]then]">
  Successors to ''<>'':
  <$list filter="[titletags[]tag[Railroads]first[]]" 
variable=firsttag>
  <$list filter="[titletags[]tag[Railroads]last[]]" 
variable=secondtag>

  <$list filter="[title
kin:tags:from[]!is[system]!title[Railroads]!title]"> ->
<$link><$view field="title"/>

  


  <$list filter="[title
kin:tags:from[]!is[system]!title[Railroads]!title]"> ->
<$link><$view field="title"/>

  

  
  



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/be2b8fe7-ad8f-4ff1-88e5-3739faf825af%40googlegroups.com.


[tw5] Re: Using kin filter with multiple tags

2020-05-11 Thread Damon Pritchett
After a bit of trial and error, I was able to modify the code as follows;




Successors to ''<>'':


<$list filter="[titletags[]tag[Railroads]first[]]" 
variable=firsttag>
  
<$list filter="[titlekin:tags:from[]!kin!title
]"> ->
  <$link><$view field="title"/>
  

  



<$list filter="[titletags[]tag[Railroads]last[]]" 
variable=secondtag>
  
<$list filter="[titlekin:tags:from[]!kin
!title]"> ->
  <$link><$view field="title"/>
  

  


The above works just how I wanted. Since my current case never has more 
than two tags, first and last will suffice. If there's ever a case where 
there will be more than two, then I'll have to readdress that.

If anyone sees a simpler way of doing it, I would be more than happy to 
hear what that would be. I'm sure that there is a better way to do it given 
that I'm pretty much a noob at this.

Thanks,

Damon





On Saturday, May 9, 2020 at 11:09:13 AM UTC-7, Damon Pritchett wrote:
>
> Here's an example I created to illustrate.
>
> I have a series of tiddlers named RR#1 through RR#7.  RR#1 will be the 
> base and all others are successive tags from there. I've included some 
> screenshots of the filter at work. If RR#1 is only tagged with RR#2, then I 
> get  what is illustrated in picture1.png. If RR#1 is only tagged with RR#5, 
> then I get what is pictured in picture2.png. If RR#1 is tagged with both 
> RR#2 and RR#5, which is the case I'm trying to fix, I get what's in 
> picture3.png.
>
> I've thought about different ways of breaking the tiddlers up, but I can't 
> get away from one tiddler being tagged with two.
>
> Tony - I'm not sure I followed the hint you were trying to give. Maybe 
> it's because I haven't had enough caffeine this morning.
>
> Thanks,
>
> Damon
>
>
>
>
>
> On Saturday, May 9, 2020 at 1:42:37 AM UTC-7, TonyM wrote:
>>
>> Damon,
>>
>> It is the standard TOC that tends to work the other way, dividing into 
>> branches, leaves etc... Can you ask the Question the other way around?
>>
>> If you can write an independant filter you can actually subtract one from 
>> the other such as a filter than runs out all branches, then remove the 
>> tiddler in the main line (not railways) the original kin filter exposed, 
>> what will be left is the line of tiddlers that were not in the first 
>> filter, or you can add them together.
>>
>> I know this is but a hint, not a solution but the test data is not 
>> available. If you could demonstrate it on say a copy of tiddlywiki.com?
>>
>> Regards
>> Tony
>>
>> On Saturday, May 9, 2020 at 2:27:42 PM UTC+10, Damon Pritchett wrote:
>>>
>>> All,
>>>
>>> I've been using the following code which encompasses the kin filter to 
>>> trace tiddler tags. More specifically, I'm using it trace the line of 
>>> mergers for certain railroads (each railroad is a separate tiddler) such 
>>> that for any given company I can see the line of successive 
>>> railroads traced all the way up to the present.
>>>
>>> 
>>> <$list filter='[all[current]title
>>> kin:tags:from[]!is[system]!title[Railroads]!titlelimit[1]]' 
>>> variable=null>
>>> Successors to ''<>'':
>>> 
>>> 
>>> 
>>>   <$list filter="[title
>>> kin:tags:from[]!is[system]!title[Railroads]!title]"> ->
>>> <$link><$view field="title"/>
>>> 
>>>   
>>> 
>>>
>>>
>>> It generally works quite beautifully, but I have a very small  number of 
>>> cases where I have where the railroad was split and merged into two 
>>> different companies. The above code includes everything, but shows all as a 
>>> single line of succession. I'm pretty sure that the kin filter was only 
>>> meant to trace a succession of single tags so I'm wondering if there is 
>>> something I can do to the code above or I'll have to figure out a way to 
>>> split tiddlers. Any suggestions will be welcomed.
>>>
>>> Thanks,
>>>
>>> Damon
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d028a335-067c-4123-b163-c9bbb9c83240%40googlegroups.com.


[tw5] Re: Generating a stand-alone version from Node

2020-05-11 Thread Scott Sauyet
Yes, that was it.  I misread it as needing to do

tiddlywiki --input path/to/folder

tiddlywiki ./Wiki --rendertiddler $:core/save/all index.html text/plain

   
in two separate commands.

When I tried to combine them, I put the --output command at the end.  
Putting it first fixes it.

Thank you,

  -- Scott

On Monday, May 11, 2020 at 5:04:20 PM UTC-4, Soren Bjornstad wrote:
>
> The output option needs to come before any other commands you use -- 
> TiddlyWiki executes them in the order you list them, so if you put it after 
> the export command, it only resets the output location after the file has 
> already been rendered. Not sure if that's your problem, but that fixed it 
> for me when I ran into the same issue the other day.
>
> On Monday, May 11, 2020 at 9:51:46 AM UTC-5, Scott Sauyet wrote:
>>
>> >> Scott Sauyet wrote:
>> > Mark S. wrote:
>>
>> >>> Is there a straightforward way in Node to generate a stand-alone 
>> version of the all-in-one file?
>>
>> >> This might be something like what you want:
>> >> 
>> https://tiddlywiki.com/#How%20to%20build%20a%20TiddlyWiki5%20from%20individual%20tiddlers
>> >> What isn't mentioned in those docs is that the output goes into the 
>> output directory. 
>>
>> > Thank you.  That look like exactly what I want.  I'll try it out today.
>>
>> It worked.  For some reason it doesn't respect the `output` command 
>> properly, but I can live with that if I can't find a fix.
>>
>> Thanks for the help.
>>
>>   -- Scott
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d2ac1c1d-4d29-4e79-9c3c-d8afa33c3e63%40googlegroups.com.


[tw5] Re: Generating a stand-alone version from Node

2020-05-11 Thread Soren Bjornstad
The output option needs to come before any other commands you use -- 
TiddlyWiki executes them in the order you list them, so if you put it after 
the export command, it only resets the output location after the file has 
already been rendered. Not sure if that's your problem, but that fixed it 
for me when I ran into the same issue the other day.

On Monday, May 11, 2020 at 9:51:46 AM UTC-5, Scott Sauyet wrote:
>
> >> Scott Sauyet wrote:
> > Mark S. wrote:
>
> >>> Is there a straightforward way in Node to generate a stand-alone 
> version of the all-in-one file?
>
> >> This might be something like what you want:
> >> 
> https://tiddlywiki.com/#How%20to%20build%20a%20TiddlyWiki5%20from%20individual%20tiddlers
> >> What isn't mentioned in those docs is that the output goes into the 
> output directory. 
>
> > Thank you.  That look like exactly what I want.  I'll try it out today.
>
> It worked.  For some reason it doesn't respect the `output` command 
> properly, but I can live with that if I can't find a fix.
>
> Thanks for the help.
>
>   -- Scott
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1d1dfb12-aeb1-4293-a704-e53b4c893545%40googlegroups.com.


[tw5] Re: Can I use <$transclude> inside <$codeblock>?

2020-05-11 Thread 'Mark S.' via TiddlyWiki
In this case remember that:

{{mytiddler}}

will transclude the text field of mytiddler

{{mytiddler!!myfield}}

will transclude the contents of the field "myfield" of "mytiddler".

And 

{{!!myfield}} will transclude the contents of the field "myfield" of the 
current tiddler.

Inside of a list widget, unless you specify a variable name, the current 
tiddler is the tiddler the list is currently on.

HTH





On Monday, May 11, 2020 at 1:31:22 PM UTC-7, Scott Sauyet wrote:
>
> Thank you very much.  That worked fine.
>
> I tried all sorts of variants that seemed vaguely likely, but not that 
> one.  Every time I get back into doing something significant with TW, I 
> have to relearn the model.  I know that it's fairly logical and 
> self-consistent, but I can't seem to keep it in my head.
>
>   -- Scott
>
>
>
> On Monday, May 11, 2020 at 2:38:39 PM UTC-4, Scott Sauyet wrote:
>>
>> I would like to grab some code for a codeblock from the text of another 
>> tiddler, all taking place inside a <$list>.  This is what I tried:
>>
>> 
>>   Helpers
>>   <$list filter="[tag[MyTag]sort[title]]">
>> <$link><$transclude field="name" mode="block"/>
>> <$codeblock language="javascript"><$transclude field="text" 
>> mode="block"/>
>>   
>> 
>>
>>
>> But that doesn't properly get the text.  Just plain transcluding the 
>> field works fine:
>>
>> <$transclude field="text" mode="block"/>
>>  
>>
>> And of course a codeblock that gets its data from another tiddler works 
>> fine:
>>
>> 
>> Schema
>> <$codeblock code={{MyTiddler}} language="json"/>
>> 
>>
>>
>> But my attempt to combine them didn't work.  Nor did several other 
>> syntaxes I guessed at.  Is there a good way to do this?
>>
>>   -- Scott
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c94fe296-9c7f-4f2e-8c1c-a775d9eeb31f%40googlegroups.com.


[tw5] Re: [Plugin] TWCrossLinks

2020-05-11 Thread Odin Jorna
Hi Tony.

Thank you for responding. No worries, there is no hurry.

Op maandag 11 mei 2020 19:58:14 UTC+2 schreef Tony K:
>
> Hello Odin
>
> I hear you, I don't know how much I can do this since the context plugin 
> is not mine. 
> This said, I have something in mind let me test it and will update you 
> accordingly 
>
> Can't promise on a time frame 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a336aef8-83ca-4159-8066-3e921b6fe7fe%40googlegroups.com.


[tw5] Re: How can I insert a timestamp as "text" ?

2020-05-11 Thread Anne-Laure Le Cunff
Thank you, Tony!

On Monday, May 11, 2020 at 9:14:41 PM UTC+1, Tony K wrote:
>
> Hi Anne
>
> In case you are still following the thread, this might interest you 
>
> https://groups.google.com/forum/m/#!topic/tiddlywiki/YOawrinusJM
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1246ed96-ba7a-45be-a157-b273af68d76f%40googlegroups.com.


[tw5] Re: Can I use <$transclude> inside <$codeblock>?

2020-05-11 Thread Scott Sauyet
Thank you very much.  That worked find.

I tried all sorts of variants that seemed vaguely likely, but not that 
one.  Every time I get back into doing something significant with TW, I 
have to relearn the model.  I know that it's fairly logical and 
self-consistent, but I can't seem to keep it in my head.

  -- Scott



On Monday, May 11, 2020 at 2:38:39 PM UTC-4, Scott Sauyet wrote:
>
> I would like to grab some code for a codeblock from the text of another 
> tiddler, all taking place inside a <$list>.  This is what I tried:
>
> 
>   Helpers
>   <$list filter="[tag[MyTag]sort[title]]">
> <$link><$transclude field="name" mode="block"/>
> <$codeblock language="javascript"><$transclude field="text" 
> mode="block"/>
>   
> 
>
>
> But that doesn't properly get the text.  Just plain transcluding the field 
> works fine:
>
> <$transclude field="text" mode="block"/>
>  
>
> And of course a codeblock that gets its data from another tiddler works 
> fine:
>
> 
> Schema
> <$codeblock code={{MyTiddler}} language="json"/>
> 
>
>
> But my attempt to combine them didn't work.  Nor did several other 
> syntaxes I guessed at.  Is there a good way to do this?
>
>   -- Scott
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49a3b618-e926-4f71-9d40-d8d154fe45bd%40googlegroups.com.


[tw5] Re: Code highlighting

2020-05-11 Thread Sylvain Naudin


Le lundi 11 mai 2020 14:59:56 UTC+2, Edgaras a écrit :
>
> Hey! I am using Prism.js for code highlighting, but I can't make it work.
>
> The problem is that I use ``` markup around the code, that spits out 
>  around the code. But I also need to include  class="language-html"> (or other languages depending on a situation). 
>
> Is there a way to specify extra attributes like classes to ```?
>
> Thank you in advance!
>


In TW we use highlight.js, and you can specify language by adding after 
```, for example :

```css
 * { margin: 0; padding: 0; } /* micro reset */

html { font-size: 62.5%; }
body { font-size: 14px; font-size: 1.4rem; } /* =14px */
h1   { font-size: 24px; font-size: 2.4rem; } /* =24px */
```


See https://tiddlywiki.com/plugins/tiddlywiki/highlight/

And you can use css stylesheet to colorize the output.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e4f5bbda-22a9-4064-b590-ac399383f189%40googlegroups.com.


[tw5] Re: How can I insert a timestamp as "text" ?

2020-05-11 Thread Tony K
Hi Anne

In case you are still following the thread, this might interest you 

https://groups.google.com/forum/m/#!topic/tiddlywiki/YOawrinusJM

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/28fb1df9-8755-4d74-9cdb-ad413ef27d49%40googlegroups.com.


[tw5] Re: Popup transclusion problem, TiddlyWiki vs static html

2020-05-11 Thread David Gifford
bump. Didn't get an answer. By email Yoni Balkind said it looks like the 
static exporter is closing the  before the . Any ideas?

On Friday, May 8, 2020 at 8:24:02 AM UTC-5, David Gifford wrote:
>
> Hi all
>
> I recently came up with a way to transclude tiddlers within popups in a 
> way that works when exporting tiddlers to static htmls. 
>
> https://giffmex.org/gifts/transclusioninpopups.html
>
> Now I realize there is a problem: I tested the popup on its own line, but 
> not within a paragraph. Within a paragraph, since the solution is a , 
> it breaks the paragraph and the link appears below on a separate line. Here 
> is the original snippet:
>
> https://giffmex.org;>Giffmex class="tooltiptext"><$transclude tiddler="New Tiddler" 
> mode="block"/>
>
> I tried changing the outer  to a  twice, once with the inner 
> div, and once with the inner as a span. But in both cases, the transclusion 
> happens on the page, not as a popup.
>
> I even tried changing the stylesheet $:/.giffmex/.Stylesheet4popups 
> 
>  
> tooltip from display:inline-block to display:inline.
>
> Any ideas? Is the problem found in one of the static shadow tiddlers? Or 
> am I doing something wrong? Or is the very  that makes it work on a 
> separate line in static HTML also the thing that keeps it from working 
> within a paragraph?
>
> I was pleased that I came up with something viable for Anne-Laure and her 
> subscribers, who are using these popups in their "mind gardens", but now am 
> disappointed it is not working as planned. I would appreciate any help you 
> can give me.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df2071db-f1a7-468f-bf27-bf8fdd8e0e5f%40googlegroups.com.


[tw5] Re: [Question] Can the refnotes plugin be used to make A.P.A. style reference?

2020-05-11 Thread Anjar
Hi Odin,

Good question! First I thought this was controlled by the class parameter, 
but I was wrong. I think the easiest would be to add another macro 
in $:/plugins/kookma/refnotes/macro/bibtex/showrefs:

\define showrefsAPA(filter:"[]", title:"Empty", 
class:"ref-list")
<$reveal tag="div" type="nomatch" default="Empty" text=<<__title__>> >
$title$

<$wikify name="mylist" text="""
<$list filter=<<__filter__>> >
<$macrocall $name="find-refs" tid=<> />

""">

<$list filter="[enlistsort[]]" variable="myListItem">

<$macrocall $name=*"custom_output"* p=<> />



\end


and then call <>. Or, if you have already 
used the showrefs macro, you could simply insert the highlighted part into 
the existing showrefs macro and remove "output-journal-article" on that 
line. Or you can simply replace the output-journal-article macro defined 
in $:/plugins/kookma/refnotes/macro/bibtex/showrefs with the custom_putput 
macro and rename it. So many options:) Please let me know if it was hard to 
follow or you have questions!

Best, 
Anders

mandag 11. mai 2020 17.54.28 UTC+2 skrev Odin Jorna følgende:
>
> Thank you so much for helping me out. Would you use instead of < title:"References">>, <> in your example, 
> to make a reference list with the new ordering?
>
> Op maandag 11 mei 2020 14:48:04 UTC+2 schreef Anjar:
>>
>> Hi Odin,
>>
>> Have a look at the tiddler 
>> $:/plugins/kookma/refnotes/macro/bibtex/showrefs. You can make your own 
>> output style there, and fiddle with things as you want; this will move the 
>> year and add DOI and page range.
>>
>> \define custom_output(p)
>> <$wikify name=p2 text=<<__p__>> >
>> <$set name="curtid" tiddler=<> field="title" emptyValue="RefNotFound">
>> <$reveal type="nomatch" default="RefNotFound" text=<> >
>> <$view field="bibtex-author" tiddler=<>/> *(<$view 
>> field="bibtex-year" tiddler=<>/>)*, <$view field="bibtex-title" 
>> tiddler=<>/>,<$view field="bibtex-journal" 
>> tiddler=<>/>, *<$view field="bibtex-pages" 
>> tiddler=<>/>. DOI **<$view field="bibtex-doi" 
>> tiddler=<>/>*. 
>> 
>> <$reveal type="match" default="RefNotFound" text=<> >
>> Reference $p$ NOT FOUND. Check your 
>> input.
>> 
>> 
>> \end
>>
>> The in-text formatting is governed 
>> by $:/plugins/kookma/refnotes/macro/bibtex/ref; this will give you (author, 
>> year)
>>
>> \define ref(tid)
>> <$set name="ref-tid" tiddler=<<__tid__>> field="title" 
>> emptyValue="RefNotFound">
>> 
>> <$reveal type="match" default=<> text="RefNotFound">
>> <$link overrideClass="link-refcls">
>> [<$view tiddler=<<__tid__>> field="title"/>]
>> 
>> Warning: Reference Not 
>> Found.Click to create it:<>
>> 
>> <$reveal type="nomatch" default=<> text="RefNotFound">*(<$view 
>> tiddler=<<__tid__>> field="bibtex-author"/>, <$view tiddler=<<__tid__>> 
>> field="bibtex-year"/>)*
>> 
>> <$macrocall $name="displayref-onhover" refTid=<> />
>> 
>> 
>> 
>> 
>> \end
>>
>>
>>
>>
>>
>> Best,
>> Anders
>> mandag 11. mai 2020 12.32.30 UTC+2 skrev Odin Jorna følgende:
>>>
>>> It seems that the https://kookma.github.io/Refnotes/ refnotes plugin 
>>> uses another type of reference style than the A.P.A. style that I am used 
>>> (or supposed to use) to.
>>> It is possible to use this plugin to create A.P.A. style reference? It 
>>> uses this format: Author, A., & Author, B. (year). *Title of book.* 
>>> Publisher. 
>>> or Author, A., & Author, B. (year). Title of article. *Journal Title*, 
>>> *Volume*(Issue), page range. DOI for scientific articles.
>>>
>>> So the example reference in the plugin: N.E. Amadeo and M.A. Laborde, 
>>> Hydrogen 
>>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>>> Energy*, *1995*.
>>>
>>> would look something like this: N.E. Amadeo and M.A. Laborde. (1995) 
>>> Hydrogen 
>>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>>> Energy*, *Volume*(Issue), page range. DOI
>>>
>>> The in text reference would be: (Amadeo & Laborde, 1995) instead of :  
>>> [Amadoe-1995]
>>> 
>>>  
>>>
>>> Is there a way to change the formatting in the plugin code?
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3ddcbc82-1ad1-45b5-8f07-c7a0284cfac8%40googlegroups.com.


[tw5] Re: Web Clipper equivalent

2020-05-11 Thread Mohammad
Hi BJ,
 Many thanks for your clarification!

In http://tiddlyclip.tiddlyspot.com/ I see the latest TC is 0.07alpha

Would you mind to update the tiddlyspot with latest release of TC-Plugin 
from https://github.com/buggyj/tiddlyclip-plugin/releases

Thank you

 

On Monday, May 11, 2020 at 7:35:31 PM UTC+4:30, BJ wrote:
>
> Hi Petruschka,
>
> I am using ff 76.0 on linux.
>
> The tiddlyclip browser addon is version 0.1.5, the current released 
> version of the tiddlywiki plugin is 1.12.2pre. 
>

In 
 

>
> do you have these version of tiddlyclip?
>
> unforntunately firefox reload a webpage when there is a download (chrome 
> does not) which remove the connection (the bock) from tiddlyclip. I could 
> not think of any solution to this execept using a  saver with tiddlywiki,
>
> cheers
> BJ
>
>
> On Sunday, May 10, 2020 at 11:19:40 AM UTC+2, Petruschka wrote:
>>
>> Hi BJ,
>>
>> even after I get it installed I can't use it. It seems it doesn't work at 
>> all. Docking get lost, can't make Tiddlers from text selections. 
>> Which OS/browser and version do you use? FF76/Windows 10 here. 
>>
>> Best wishes
>>
>>
>> On Saturday, May 9, 2020 at 7:56:26 PM UTC+2, BJ wrote:
>>>
>>> Hi Jared, 
>>> I am the developer of tiddlyclip - if you are still having problems I 
>>> should (hopefully!!) be able to help.
>>>
>>> cheers
>>> BJ
>>>
>>> On Wednesday, May 6, 2020 at 5:36:03 PM UTC+2, Jared Volpe wrote:

 Latest Firefox on the Mac  throws an error when I try to install it. It 
 seems very out of date. Anyone else seeing this issue?
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/61a19c8f-fb68-49aa-b34a-54353a262ded%40googlegroups.com.


[tw5] Re: Can I use <$transclude> inside <$codeblock>?

2020-05-11 Thread 'Mark S.' via TiddlyWiki
This seems to work:

 
  Helpers
  <$list filter="[tag[MyTag]sort[title]]">
<$link><$view field="name" />
<$codeblock language="javascript" code={{!!text}}  field="text" />
  


Note this comment from tiddlywiki.com:

The content of the <$codeblock> widget is ignored.
>

HTH


On Monday, May 11, 2020 at 11:38:39 AM UTC-7, Scott Sauyet wrote:
>
> I would like to grab some code for a codeblock from the text of another 
> tiddler, all taking place inside a <$list>.  This is what I tried:
>
> 
>   Helpers
>   <$list filter="[tag[MyTag]sort[title]]">
> <$link><$transclude field="name" mode="block"/>
> <$codeblock language="javascript"><$transclude field="text" 
> mode="block"/>
>   
> 
>
>
> But that doesn't properly get the text.  Just plain transcluding the field 
> works fine:
>
> <$transclude field="text" mode="block"/>
>  
>
> And of course a codeblock that gets its data from another tiddler works 
> fine:
>
> 
> Schema
> <$codeblock code={{MyTiddler}} language="json"/>
> 
>
>
> But my attempt to combine them didn't work.  Nor did several other 
> syntaxes I guessed at.  Is there a good way to do this?
>
>   -- Scott
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea817b48-f574-4ba4-b121-baa5ff713c6d%40googlegroups.com.


[tw5] New to TiddlyWiki - need some advice regarding images

2020-05-11 Thread Rhod Evans
Hi - I'm a landscape painter and a long term user of Day One which I use 
for my daily art journal.  I'm new to Tiddlywiki and wondering if it can 
replace Day One as my art journal.  Inevitably, as a painter, my journal is 
very image heavy.  Would it be best to establish a folder for images and 
reference them from the wiki, or to include the images in the wiki?  Either 
way, can someone let me know in simple terms (I'm not very techie!) how to 
go about this?  Many thanks! Rhod

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/191b99c7-cdd7-4bca-88f7-ba774ca50f85%40googlegroups.com.


[tw5] Can I use <$transclude> inside <$codeblock>?

2020-05-11 Thread Scott Sauyet
I would like to grab some code for a codeblock from the text of another 
tiddler, all taking place inside a <$list>.  This is what I tried:


  Helpers
  <$list filter="[tag[MyTag]sort[title]]">
<$link><$transclude field="name" mode="block"/>
<$codeblock language="javascript"><$transclude field="text" 
mode="block"/>
  



But that doesn't properly get the text.  Just plain transcluding the field 
works fine:

<$transclude field="text" mode="block"/>
 

And of course a codeblock that gets its data from another tiddler works 
fine:


Schema
<$codeblock code={{MyTiddler}} language="json"/>



But my attempt to combine them didn't work.  Nor did several other syntaxes 
I guessed at.  Is there a good way to do this?

  -- Scott


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c7166840-133e-4a24-bfa1-a49c49c64e6d%40googlegroups.com.


[tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-11 Thread Martin Piron
I agree that Reddit is a really nice alternative to GG for these reasons ! 
Moderators as well as viewers (through votes) have more power to organize 
the discussions. 
There is also the sidebar with global information available.

Le lundi 11 mai 2020 01:20:40 UTC+2, Riz a écrit :
>
> Hmm, there is a reddit forum for tiddlywiki 
> 
>
> It has its advantages and disadvantages
>
> Advantages.
> 1. You can vote on posts, even comments
> 2. You can sort by most voted, recent etc
> 3. You can tag a user in a comment and that user will be notified
> 4. Has an associated Wiki with the forum - of which editing privileges can 
> be distributed.
> 5. Multiple dedicated mobile applications
>
> Disadvantages
> 1. Email based workflow not possible
> 2. Allows only one tag per post. You can always tag it like [post] my 
> post...
>
> Rest is similar to GG. 
>
> Sincerely,
> Riz
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e6c22cfb-c632-41a3-adbd-af5ccc8dd957%40googlegroups.com.


[tw5] Re: [Plugin] TWCrossLinks

2020-05-11 Thread Tony K
Hello Odin

I hear you, I don't know how much I can do this since the context plugin is not 
mine. 
This said, I have something in mind let me test it and will update you 
accordingly 

Can't promise on a time frame 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b3190ff5-a44c-44bd-8b8f-1f96e3fb3a40%40googlegroups.com.


[tw5] Re: [Plugin] Daily Notes - Interstitial Journaling plugin TiddilyWiki

2020-05-11 Thread Tony K
Thread bump. updated to v0.0.15 that brings inline editing :) :) :)

On Sunday, May 10, 2020 at 12:12:29 AM UTC+3, Tony K wrote:
>
> Plug in update to v0.0.15
> This update bring inline editing to the table... you can now edit / delete 
> your entries from one place
>
>
> Test it and download it on Drift  or 
> get it from Github 
> 
> Bringing, yet another, Roam functionality into TW5 I wrote this litter 
> plugin called Daily Notes, it is still in early development but good 
> enough, I think, to be released
>
> You can read more about interstitial journaling at 
> https://nesslabs.com/interstitial-journaling
> Features
>
>- Keyboard shortcut (Alt+Q) by default
>- Can "expand" on an idea (outline style) by clicking on the plus
>- Can easily delete an entry
>
> Test it and download it on Drift  or 
> get it from 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fd1be221-956c-416c-9075-08ac945e591e%40googlegroups.com.


[tw5] Re: Web Clipper equivalent

2020-05-11 Thread BJ
The color buttons in the tiddlyclip drop down add highlighting to a 
selected text - select some text and then press a color button to 
lightlight the text. This can be used before a screenshot (a tiddlyclip 
snap) or can be used when clipping html - via the ((*@web*)) syntax (eg in 
the defaultSnip tiddler the ((*@text*)) could be  replaced with ((*@web*))).

Also in the panel is the 'note' box - this is used to add notes to a clip 
via the addition of ((*@note*)) to a rule (eg the defaultSnip tiddler), and 
putting the word *note *in the modes column of the TiddlyClipConfig tiddler:


cheers

BJ

On Sunday, May 10, 2020 at 5:46:25 PM UTC+2, Birthe C wrote:
>
> Mohammad,
>
> søndag den 10. maj 2020 kl. 16.59.58 UTC+2 skrev Mohammad:
>
>>
>> What those colors mean? If you use text or tool-tip on mouse hover it 
>> will be very informative and never forget functions!
>>
>>
> I still do not understand how and where you make use of the color buttons. 
> Informative where?
>
>
> Birthe
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d464e8d8-b75f-4da9-a579-db4ab5753fa8%40googlegroups.com.


[tw5] Re: Web Clipper equivalent

2020-05-11 Thread BJ
HI Mark,
the only way to undock a tw is to reload the page - so if I modify 
tidddlyclip to automatically redock to a reloaded page then it will be 
impossible to undock a tw from tiddlyclip (without closing the tab). 
Also I thought it unlikely that people would use tiddlyclip without a saver 
- typically I clip lots a things when I am searching for something on the 
internet, which would create many copies of tiddlywiki with the html5 
saving (as happens without a saver addon). I could add the ability to add 
the name of a tiddlywiki to the configuration page of the tiddlyclip addon 
that would alway be docked - but this would take me some hours to do - and 
it is not really something I would use myself... When I am next modifying 
the tiddlyclip addon I will see if I can add this feature.

cheers

BJ




On Monday, May 11, 2020 at 6:21:24 PM UTC+2, Mark S. wrote:
>
> Could there be a way to configure the exension so that it always docks to 
> a specified file whenever it has an open tab? Or adds it to the list of 
> dockable TW files? Or a way to make files auto-dock when they are reloaded?
>
> Thanks!
>
> On Monday, May 11, 2020 at 8:05:31 AM UTC-7, BJ wrote:
>>
>> Hi Petruschka,
>>
>> I am using ff 76.0 on linux.
>>
>> The tiddlyclip browser addon is version 0.1.5, the current released 
>> version of the tiddlywiki plugin is 1.12.2pre. 
>>
>> do you have these version of tiddlyclip?
>>
>> unforntunately firefox reload a webpage when there is a download (chrome 
>> does not) which remove the connection (the bock) from tiddlyclip. I could 
>> not think of any solution to this execept using a  saver with tiddlywiki,
>>
>> cheers
>> BJ
>>
>>
>> On Sunday, May 10, 2020 at 11:19:40 AM UTC+2, Petruschka wrote:
>>>
>>> Hi BJ,
>>>
>>> even after I get it installed I can't use it. It seems it doesn't work 
>>> at all. Docking get lost, can't make Tiddlers from text selections. 
>>> Which OS/browser and version do you use? FF76/Windows 10 here. 
>>>
>>> Best wishes
>>>
>>>
>>> On Saturday, May 9, 2020 at 7:56:26 PM UTC+2, BJ wrote:

 Hi Jared, 
 I am the developer of tiddlyclip - if you are still having problems I 
 should (hopefully!!) be able to help.

 cheers
 BJ

 On Wednesday, May 6, 2020 at 5:36:03 PM UTC+2, Jared Volpe wrote:
>
> Latest Firefox on the Mac  throws an error when I try to install it. 
> It seems very out of date. Anyone else seeing this issue?



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0c9dec0d-77b2-4e38-bd34-67ffd6dcfb80%40googlegroups.com.


[tw5] Re: Web Clipper equivalent

2020-05-11 Thread 'Mark S.' via TiddlyWiki
Could there be a way to configure the exension so that it always docks to a 
specified file whenever it has an open tab? Or adds it to the list of 
dockable TW files? Or a way to make files auto-dock when they are reloaded?

Thanks!

On Monday, May 11, 2020 at 8:05:31 AM UTC-7, BJ wrote:
>
> Hi Petruschka,
>
> I am using ff 76.0 on linux.
>
> The tiddlyclip browser addon is version 0.1.5, the current released 
> version of the tiddlywiki plugin is 1.12.2pre. 
>
> do you have these version of tiddlyclip?
>
> unforntunately firefox reload a webpage when there is a download (chrome 
> does not) which remove the connection (the bock) from tiddlyclip. I could 
> not think of any solution to this execept using a  saver with tiddlywiki,
>
> cheers
> BJ
>
>
> On Sunday, May 10, 2020 at 11:19:40 AM UTC+2, Petruschka wrote:
>>
>> Hi BJ,
>>
>> even after I get it installed I can't use it. It seems it doesn't work at 
>> all. Docking get lost, can't make Tiddlers from text selections. 
>> Which OS/browser and version do you use? FF76/Windows 10 here. 
>>
>> Best wishes
>>
>>
>> On Saturday, May 9, 2020 at 7:56:26 PM UTC+2, BJ wrote:
>>>
>>> Hi Jared, 
>>> I am the developer of tiddlyclip - if you are still having problems I 
>>> should (hopefully!!) be able to help.
>>>
>>> cheers
>>> BJ
>>>
>>> On Wednesday, May 6, 2020 at 5:36:03 PM UTC+2, Jared Volpe wrote:

 Latest Firefox on the Mac  throws an error when I try to install it. It 
 seems very out of date. Anyone else seeing this issue?
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/16d0fe8e-6920-4cd8-955b-65753fc47fc7%40googlegroups.com.


[tw5] Re: [Question] Can the refnotes plugin be used to make A.P.A. style reference?

2020-05-11 Thread Odin Jorna
Thank you so much for helping me out. Would you use instead of <>, <> in your example, 
to make a reference list with the new ordering?

Op maandag 11 mei 2020 14:48:04 UTC+2 schreef Anjar:
>
> Hi Odin,
>
> Have a look at the tiddler 
> $:/plugins/kookma/refnotes/macro/bibtex/showrefs. You can make your own 
> output style there, and fiddle with things as you want; this will move the 
> year and add DOI and page range.
>
> \define custom_output(p)
> <$wikify name=p2 text=<<__p__>> >
> <$set name="curtid" tiddler=<> field="title" emptyValue="RefNotFound">
> <$reveal type="nomatch" default="RefNotFound" text=<> >
> <$view field="bibtex-author" tiddler=<>/> *(<$view 
> field="bibtex-year" tiddler=<>/>)*, <$view field="bibtex-title" 
> tiddler=<>/>,<$view field="bibtex-journal" 
> tiddler=<>/>, *<$view field="bibtex-pages" 
> tiddler=<>/>. DOI **<$view field="bibtex-doi" 
> tiddler=<>/>*. 
> 
> <$reveal type="match" default="RefNotFound" text=<> >
> Reference $p$ NOT FOUND. Check your 
> input.
> 
> 
> \end
>
> The in-text formatting is governed 
> by $:/plugins/kookma/refnotes/macro/bibtex/ref; this will give you (author, 
> year)
>
> \define ref(tid)
> <$set name="ref-tid" tiddler=<<__tid__>> field="title" 
> emptyValue="RefNotFound">
> 
> <$reveal type="match" default=<> text="RefNotFound">
> <$link overrideClass="link-refcls">
> [<$view tiddler=<<__tid__>> field="title"/>]
> 
> Warning: Reference Not 
> Found.Click to create it:<>
> 
> <$reveal type="nomatch" default=<> text="RefNotFound">*(<$view 
> tiddler=<<__tid__>> field="bibtex-author"/>, <$view tiddler=<<__tid__>> 
> field="bibtex-year"/>)*
> 
> <$macrocall $name="displayref-onhover" refTid=<> />
> 
> 
> 
> 
> \end
>
>
>
>
>
> Best,
> Anders
> mandag 11. mai 2020 12.32.30 UTC+2 skrev Odin Jorna følgende:
>>
>> It seems that the https://kookma.github.io/Refnotes/ refnotes plugin 
>> uses another type of reference style than the A.P.A. style that I am used 
>> (or supposed to use) to.
>> It is possible to use this plugin to create A.P.A. style reference? It 
>> uses this format: Author, A., & Author, B. (year). *Title of book.* 
>> Publisher. 
>> or Author, A., & Author, B. (year). Title of article. *Journal Title*, 
>> *Volume*(Issue), page range. DOI for scientific articles.
>>
>> So the example reference in the plugin: N.E. Amadeo and M.A. Laborde, 
>> Hydrogen 
>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>> Energy*, *1995*.
>>
>> would look something like this: N.E. Amadeo and M.A. Laborde. (1995) 
>> Hydrogen 
>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>> Energy*, *Volume*(Issue), page range. DOI
>>
>> The in text reference would be: (Amadeo & Laborde, 1995) instead of :  
>> [Amadoe-1995]
>> 
>>  
>>
>> Is there a way to change the formatting in the plugin code?
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc09a0b6-5920-49dc-8546-57d81cc208f7%40googlegroups.com.


[tw5] Re: Web Clipper equivalent

2020-05-11 Thread BJ
Hi Petruschka,

I am using ff 76.0 on linux.

The tiddlyclip browser addon is version 0.1.5, the current released version 
of the tiddlywiki plugin is 1.12.2pre. 

do you have these version of tiddlyclip?

unforntunately firefox reload a webpage when there is a download (chrome 
does not) which remove the connection (the bock) from tiddlyclip. I could 
not think of any solution to this execept using a  saver with tiddlywiki,

cheers
BJ


On Sunday, May 10, 2020 at 11:19:40 AM UTC+2, Petruschka wrote:
>
> Hi BJ,
>
> even after I get it installed I can't use it. It seems it doesn't work at 
> all. Docking get lost, can't make Tiddlers from text selections. 
> Which OS/browser and version do you use? FF76/Windows 10 here. 
>
> Best wishes
>
>
> On Saturday, May 9, 2020 at 7:56:26 PM UTC+2, BJ wrote:
>>
>> Hi Jared, 
>> I am the developer of tiddlyclip - if you are still having problems I 
>> should (hopefully!!) be able to help.
>>
>> cheers
>> BJ
>>
>> On Wednesday, May 6, 2020 at 5:36:03 PM UTC+2, Jared Volpe wrote:
>>>
>>> Latest Firefox on the Mac  throws an error when I try to install it. It 
>>> seems very out of date. Anyone else seeing this issue?
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e51480b5-dee0-4424-81d0-97db5883669d%40googlegroups.com.


[tw5] Re: [Question] Can the refnotes plugin be used to make A.P.A. style reference?

2020-05-11 Thread Mohammad
Good hack Anders! This is the beauty of Tiddlywiki highly customizable!

--Mohammad


On Monday, May 11, 2020 at 5:18:04 PM UTC+4:30, Anjar wrote:
>
> Hi Odin,
>
> Have a look at the tiddler 
> $:/plugins/kookma/refnotes/macro/bibtex/showrefs. You can make your own 
> output style there, and fiddle with things as you want; this will move the 
> year and add DOI and page range.
>
> \define custom_output(p)
> <$wikify name=p2 text=<<__p__>> >
> <$set name="curtid" tiddler=<> field="title" emptyValue="RefNotFound">
> <$reveal type="nomatch" default="RefNotFound" text=<> >
> <$view field="bibtex-author" tiddler=<>/> *(<$view 
> field="bibtex-year" tiddler=<>/>)*, <$view field="bibtex-title" 
> tiddler=<>/>,<$view field="bibtex-journal" 
> tiddler=<>/>, *<$view field="bibtex-pages" 
> tiddler=<>/>. DOI **<$view field="bibtex-doi" 
> tiddler=<>/>*. 
> 
> <$reveal type="match" default="RefNotFound" text=<> >
> Reference $p$ NOT FOUND. Check your 
> input.
> 
> 
> \end
>
> The in-text formatting is governed 
> by $:/plugins/kookma/refnotes/macro/bibtex/ref; this will give you (author, 
> year)
>
> \define ref(tid)
> <$set name="ref-tid" tiddler=<<__tid__>> field="title" 
> emptyValue="RefNotFound">
> 
> <$reveal type="match" default=<> text="RefNotFound">
> <$link overrideClass="link-refcls">
> [<$view tiddler=<<__tid__>> field="title"/>]
> 
> Warning: Reference Not 
> Found.Click to create it:<>
> 
> <$reveal type="nomatch" default=<> text="RefNotFound">*(<$view 
> tiddler=<<__tid__>> field="bibtex-author"/>, <$view tiddler=<<__tid__>> 
> field="bibtex-year"/>)*
> 
> <$macrocall $name="displayref-onhover" refTid=<> />
> 
> 
> 
> 
> \end
>
>
>
>
>
> Best,
> Anders
> mandag 11. mai 2020 12.32.30 UTC+2 skrev Odin Jorna følgende:
>>
>> It seems that the https://kookma.github.io/Refnotes/ refnotes plugin 
>> uses another type of reference style than the A.P.A. style that I am used 
>> (or supposed to use) to.
>> It is possible to use this plugin to create A.P.A. style reference? It 
>> uses this format: Author, A., & Author, B. (year). *Title of book.* 
>> Publisher. 
>> or Author, A., & Author, B. (year). Title of article. *Journal Title*, 
>> *Volume*(Issue), page range. DOI for scientific articles.
>>
>> So the example reference in the plugin: N.E. Amadeo and M.A. Laborde, 
>> Hydrogen 
>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>> Energy*, *1995*.
>>
>> would look something like this: N.E. Amadeo and M.A. Laborde. (1995) 
>> Hydrogen 
>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>> Energy*, *Volume*(Issue), page range. DOI
>>
>> The in text reference would be: (Amadeo & Laborde, 1995) instead of :  
>> [Amadoe-1995]
>> 
>>  
>>
>> Is there a way to change the formatting in the plugin code?
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/852480e7-a04a-4dbb-a66b-d49f26b09716%40googlegroups.com.


Re: [tw5] Re: [Presenting]: STROLL official rollout!

2020-05-11 Thread Mohammad
WoW! You are a TW celebrity! ;-)



On Monday, May 11, 2020 at 5:03:53 PM UTC+4:30, David Gifford wrote:
>
> Cool! Thanks for letting me know, Dave!
>
> On Mon, May 11, 2020 at 12:19 AM Dave Parker  > wrote:
>
>> Hey Dave, not sure if you know yet (I didn't read this entire thread), 
>> but you got a mention in the YouTube thing on "alternatives to roam"
>>
>> https://youtu.be/KJdnZpUXluQ
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/GqqWdGnFb94/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/169f0c61-5472-47e1-9729-832828ad65e7%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1957bedc-602a-4813-92aa-fbaa98bfeef2%40googlegroups.com.


[tw5] Re: Generating a stand-alone version from Node

2020-05-11 Thread Scott Sauyet
>> Scott Sauyet wrote:
> Mark S. wrote:

>>> Is there a straightforward way in Node to generate a stand-alone 
version of the all-in-one file?

>> This might be something like what you want:
>> 
https://tiddlywiki.com/#How%20to%20build%20a%20TiddlyWiki5%20from%20individual%20tiddlers
>> What isn't mentioned in those docs is that the output goes into the 
output directory. 

> Thank you.  That look like exactly what I want.  I'll try it out today.

It worked.  For some reason it doesn't respect the `output` command 
properly, but I can live with that if I can't find a fix.

Thanks for the help.

  -- Scott

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9089448d-b957-4c44-8332-1676a023970f%40googlegroups.com.


Re: [tw5] Re: [plugin] Project-Manager & Notebook theme updates

2020-05-11 Thread Mohammad
Much appreciated!

On Monday, May 11, 2020 at 6:07:33 PM UTC+4:30, Nicolas Petton wrote:
>
> Mohammad > writes: 
>
> > Hi Nico, 
>
> Hi Mohammad, 
>
> >  I appreciate to have a look at the below issue! 
>
> It looks like the plugin misses a tiddler, I'll update it! 
>
> Cheers, 
> Nico 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2ab9309f-87f2-458a-99a0-518d4f51b223%40googlegroups.com.


Re: [tw5] Re: [plugin] Project-Manager & Notebook theme updates

2020-05-11 Thread Nicolas Petton
Mohammad  writes:

> Hi Nico,

Hi Mohammad,

>  I appreciate to have a look at the below issue!

It looks like the plugin misses a tiddler, I'll update it!

Cheers,
Nico

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/87pnbad241.fsf%40petton.fr.


signature.asc
Description: PGP signature


[tw5] Re: Building static sites in the browser

2020-05-11 Thread C. Wess Daniels
Just to close this loop. I was able to get it to work. I started from 
scratch using the pre-release!

Thank you for all the help. I really appreciate. 

https://nurselog.online/

On Saturday, May 2, 2020 at 4:36:01 PM UTC-4, Jeremy Ruston wrote:
>
> A disadvantage for some users of TiddlyWiki’s static site generation 
> capabilities is the requirement to use Node.js. I’m therefore pleased to 
> announce an update to the JSZip plugin that makes it practical to render 
> medium sized static sites in the browser, without needing to use Node.js.
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/6a0ff7db1807f45b73061ced82f5a85f1a529bbf
>
> The updated plugin adds a handful of messages that can be used in the 
> browser to:
>
> * create a blank ZIP file as a tiddler of type "application/zip”
> * add text files to a ZIP tiddler
> * download a ZIP tiddler as a .zip file
>
> To try it out, visit the prerelease and review the docs:
>
> https://tiddlywiki.com/prerelease/#%24%3A%2Fplugins%2Ftiddlywiki%2Fjszip 
> 
>
> The complete code to save a static site looks like this:
>
> \define actions-render-static-site()
> <$action-sendmessage $message="tm-zip-create" 
> $param="$:/temp/_ZipTiddler"/>
> <$list filter="[all[tiddlers]!is[system]limit[100]]">
> <$action-sendmessage $message="tm-zip-render-file" 
> $param="$:/temp/_ZipTiddler" filename={{{ 
> [encodeuricomponent[]addsuffix[.html]] }}} 
> tiddler=<> 
> template="$:/core/templates/static.tiddler.html"/>
> 
> <$action-sendmessage $message="tm-zip-render-file" 
> $param="$:/temp/_ZipTiddler" filename="static.css" 
> template="$:/core/templates/static.template.css"/>
> <$action-sendmessage $message="tm-zip-download" 
> $param="$:/temp/_ZipTiddler" filename="myzip.zip"/>
> \end
>
> <$button actions=<>>
> Render site
> 
>
>
> Performance is a bit sluggish with large zip files (>2MB on my desktop 
> machine) but otherwise it seems to work well. I’ve got an idea for 
> improving performance that I’ll work on if I have time.
>
> Questions and comments welcome.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1b42c9e5-673f-4242-b752-e33cb86e5433%40googlegroups.com.


Re: [tw5] Building static sites in the browser

2020-05-11 Thread Edgaras
Saq Imtiaz yes, that was the problem, thank you again for the support here!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d5ae4107-45e9-4f91-82ba-7951f962f3d7%40googlegroups.com.


[tw5] Code highlighting

2020-05-11 Thread Edgaras
Hey! I am using Prism.js for code highlighting, but I can't make it work.

The problem is that I use ``` markup around the code, that spits out 
 around the code. But I also need to include  (or other languages depending on a situation). 

Is there a way to specify extra attributes like classes to ```?

Thank you in advance!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/334253d4-1da0-44bf-aa82-7e346d014a9e%40googlegroups.com.


[tw5] Re: [plugin] TOC generic - shows toc,backlinks,list and listed up front

2020-05-11 Thread HC Haase


> I think your functionality is great in this plugin. 
>
> thank you!


>- Provide a config tiddler such as $:/config/TOC-Generic-filter with a 
>default filter than can be modified, for example some may want 
>"[all[current]!is[system]]" some may not
>
> you are right. I will look into that. But are you talking about the filter 
for toc, backlinks etc. or a filter for witch tiddlers to show it on?


>- If possible allow the ability to toggle the feature on or off 
>individual tiddlers
>
> I thought of this, but that is problematic because you could get false 
negatives. 
say you have a tiddler showing no references. you dont know if that is 
because there are no tag, backlinks, list or listed, OR it is because you 
at some point in the past excluded it. my workaround is the ability to hide 
everything behind the "references" button. Though I am all ears for better 
suggestions.

One finally thing to consider is the space consumed by you solution to 
> display, you can seperate the toggling of content from the display of the 
> content so only one line would be used until content is displayed. I can 
> explain this method if you wish.
>

you are right. yes please explain. are you thinking of having all the 
folded lists-buttons on one line beside each other?

>
> Regards
> Tony
>
> On Monday, May 11, 2020 at 6:18:53 PM UTC+10, HC Haase wrote:
>>
>> *Announcement*: TOC Generic - bugfix
>> *Date*: 2020/05/11
>> *Release*: 2.0.1
>>
>> Downlaod/demo: 
>> https://hchaase.github.io/HC-Plugins/#TOC-Generic%20Introduction 
>> 
>>
>> minor bug fix.
>>
>> v. 2.0.1
>>
>>- [Fix] close transclusion button at the bottom right showed for both 
>>links and tags, even if only one of these lists where present
>>
>> v. 2.0.0
>>
>>- [New] added transclusion of tiddlers, to the *toc, backlinks, list* 
>>and *listed* (also recursive through the toc)(from tiddly blink)
>>- [New] added toggle transclusion button at the "references" top and 
>>at the end of transcluded *toc, backlinks, list* and *listed*. Also 
>>available in the readme 
>>- [New] added modified/created date in the bottom right corner of 
>>transcluded tiddlers in the lists (toggle in readme)
>>- [New] made the transclusion background (grey box) and text, follow 
>>the theme (code class). This means you can use dark themes and still read 
>>the text.
>>- [Change] changed settings from radio buttons to checkbox in the 
>>readme 
>>
>>
>> torsdag den 7. maj 2020 kl. 15.04.46 UTC+2 skrev HC Haase:
>>>
>>> *Announcement*: TOC Generic
>>> *Date*: 2020/05/07
>>> *Release*: 2.0.0
>>>
>>> Downlaod/demo: 
>>> https://hchaase.github.io/HC-Plugins/#TOC-Generic%20Introduction 
>>> 
>>>
>>> I am pleased to release version 2 of the TOC generic plugin. In this 
>>> version I have included the tranclusion of tiddler content from Davids 
>>> tiddlyBlink version (thank you David), but also in recursive in the TOC for 
>>> tags. Below you can see some of the new features 
>>>
>>>
>>>
>>>1. button to to toggle transclusion mode. also positioned at the 
>>>bottom right of the lists (handy if you have long lists
>>>2. modified and created date is shown in the bottom right corner of 
>>>transcluded tiddlers (can be turned off in the readme)
>>>3. the background and text of the transclusion follows the theme 
>>>(code background) so you can use dark themes
>>>
>>>
>>>
>>>
>>> What's the difference between TiddlyBlink and TOC generic you might 
>>> think?
>>>
>>> TiddlyBlink a TW version and is more focused on linking and have a 
>>> complete setup for building a link-centred wiki. The TOC generic plugin can 
>>> use tags as well as links, and are more focused on showing information and 
>>> connections, not editing. TOC generic is a plugin and can be used in any 
>>> wiki with a pre-existing organisation.
>>>
>>>
>>> Changelog
>>>
>>> v. 2.0.0
>>>
>>>- [New] added transclusion of tiddlers, to the *toc, backlinks, list* 
>>>and *listed* (also recursive through the toc)(from tiddly blink)
>>>- [New] added toggle transclusion button at the "references" top and 
>>>at the end of transcluded *toc, backlinks, list* and *listed*. Also 
>>>available in the readme 
>>>- [New] added modified/created date in the bottom right corner of 
>>>transcluded tiddlers in the lists (toggle in readme)
>>>- [New] made the transclusion background (grey box) and text, follow 
>>>the theme (code class). This means you can use dark themes and still 
>>> read 
>>>the text.
>>>- [Change] changed settings from radio buttons to checkbox in the 
>>>readme 
>>>
>>>

-- 
You 

[tw5] Re: [Question] Can the refnotes plugin be used to make A.P.A. style reference?

2020-05-11 Thread Anjar
Hi Odin,

Have a look at the tiddler 
$:/plugins/kookma/refnotes/macro/bibtex/showrefs. You can make your own 
output style there, and fiddle with things as you want; this will move the 
year and add DOI and page range.

\define custom_output(p)
<$wikify name=p2 text=<<__p__>> >
<$set name="curtid" tiddler=<> field="title" emptyValue="RefNotFound">
<$reveal type="nomatch" default="RefNotFound" text=<> >
<$view field="bibtex-author" tiddler=<>/> *(<$view 
field="bibtex-year" tiddler=<>/>)*, <$view field="bibtex-title" 
tiddler=<>/>,<$view field="bibtex-journal" 
tiddler=<>/>, <$view field="bibtex-pages" tiddler=<>/>. 
DOI <$view field="bibtex-doi" tiddler=<>/>. 

<$reveal type="match" default="RefNotFound" text=<> >
Reference $p$ NOT FOUND. Check your 
input.


\end

The in-text formatting is governed 
by $:/plugins/kookma/refnotes/macro/bibtex/ref; this will give you (author, 
year)

\define ref(tid)
<$set name="ref-tid" tiddler=<<__tid__>> field="title" emptyValue="RefNotFound">

<$reveal type="match" default=<> text="RefNotFound">
<$link overrideClass="link-refcls">
[<$view tiddler=<<__tid__>> field="title"/>]

Warning: Reference Not 
Found.Click to create it:<>

<$reveal type="nomatch" default=<> text="RefNotFound">*(<$view 
tiddler=<<__tid__>> field="bibtex-author"/>, <$view tiddler=<<__tid__>> 
field="bibtex-year"/>)*

<$macrocall $name="displayref-onhover" refTid=<> />




\end





Best,
Anders
mandag 11. mai 2020 12.32.30 UTC+2 skrev Odin Jorna følgende:
>
> It seems that the https://kookma.github.io/Refnotes/ refnotes plugin uses 
> another type of reference style than the A.P.A. style that I am used (or 
> supposed to use) to.
> It is possible to use this plugin to create A.P.A. style reference? It 
> uses this format: Author, A., & Author, B. (year). *Title of book.* 
> Publisher. 
> or Author, A., & Author, B. (year). Title of article. *Journal Title*, 
> *Volume*(Issue), page range. DOI for scientific articles.
>
> So the example reference in the plugin: N.E. Amadeo and M.A. Laborde, 
> Hydrogen 
> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
> Energy*, *1995*.
>
> would look something like this: N.E. Amadeo and M.A. Laborde. (1995) Hydrogen 
> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
> Energy*, *Volume*(Issue), page range. DOI
>
> The in text reference would be: (Amadeo & Laborde, 1995) instead of :  
> [Amadoe-1995]
> 
>  
>
> Is there a way to change the formatting in the plugin code?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a0f1768-34ba-456d-b3ba-63bf4bf1ce0e%40googlegroups.com.


Re: [tw5] Re: [Presenting]: STROLL official rollout!

2020-05-11 Thread David Gifford
Cool! Thanks for letting me know, Dave!

On Mon, May 11, 2020 at 12:19 AM Dave Parker  wrote:

> Hey Dave, not sure if you know yet (I didn't read this entire thread), but
> you got a mention in the YouTube thing on "alternatives to roam"
>
> https://youtu.be/KJdnZpUXluQ
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/GqqWdGnFb94/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/169f0c61-5472-47e1-9729-832828ad65e7%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFL%2BjQuobZqDUk4EOX%3DXXvvSJ5v%3DxsrWKqmrXcddcLFmHA%40mail.gmail.com.


[tw5] Re: Generating a stand-alone version from Node

2020-05-11 Thread Scott Sauyet
> Scott Sauyet wrote:
Mark S. wrote:

>> Is there a straightforward way in Node to generate a stand-alone version 
of the all-in-one file?

> This might be something like what you want:
> 
https://tiddlywiki.com/#How%20to%20build%20a%20TiddlyWiki5%20from%20individual%20tiddlers
> What isn't mentioned in those docs is that the output goes into the 
output directory. 

Thank you.  That look like exactly what I want.  I'll try it out today.

  -- Scott

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/32c6d105-7191-4089-aee0-2bb13d571796%40googlegroups.com.


Re: [tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-11 Thread PMario
On Sunday, May 10, 2020 at 8:48:59 PM UTC+2, Sarath Addanki wrote:
>
> Ciao TiddlyTweeter,
>
> Github is more than code management. It's used for project management, 
> defects board, discussions, Devops, Wiki.
>

We did use the main github repo for discussions about new TW options and 
ideas, several years ago, and it completely failed. ... In the main repo it 
isn't maintainable for developers. 

In the main repo devs want to have "actionable" issues. .. aka bugs AND 
Pull Requests + Code reviews. ... that's basically it. 

>From my point of view, there are already too many open issues, that go back 
to 2013. ... Many of them are tagged "newfeature", "improvement" and 
"discussion" ... Those issues can't be closed, since most of them are still 
valid. .. 

At github closed issue is a *resolved *or *rejected *issue. .. IMO there is 
no other option atm.

 - None of the open issues are rejected. ... They would have been closed 
with label "wontfix" ... They are valid, so wontfix doesn't really fit.

 - Many of the open issues are resolved but not closed, since only the 
"creator of the issue" and the "repo owner" can close them :/

>From time to time me or someone else "floods" issue-creators and Jeremy 
with "Please close this issue" "bumps", with varying success. Many issue 
creators don't listen anymore and Jeremy has better things to do. 

So for me the best thing we have to discuss new features, and develop new 
ideas is this group. ... It may not be the best solution, but it's "good 
enough" that it works. 

My thoughts!

--

 - We do have a Gitter account: https://gitter.im/TiddlyWiki
 - We do have a Discord channel: https://discord.gg/7jHevu

IMO both channels are good for unrelated chat, but that's it.  
I personally look at them, may be once a week.

So from my point of view, the fastest way to get a response in a "topic 
related thread" is here. 

 - There is Twitter: https://twitter.com/TiddlyWiki
 - There is reddit: https://www.reddit.com/r/TiddlyWiki5/

I personally don't use and reply to them. 

My behaviour!

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/809268b8-4581-4880-821f-68903ffdec76%40googlegroups.com.


Re: [tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-11 Thread Ste Wilson
We have been down and around this topic several times before and the outcome is 
usually that yes Google groups is a bit meh but this is where the community is, 
there have been attempts to get other platforms going we have a Reddit (which I 
think was Riz driving that) .. There may be a yammer.. but the interesting 
stuff seems to stay here. 
Have a search (here we get to the main gg problem) on here for previous 
discussions. 
What is needed for a move is an easy import mechanism for the stuff here, an 
option for posts to be emailerised, threads.. Voting.. Tags... Then we need 
mods.. And finally.. Possibly.. Someone, or a mechanism for the community, to 
stump up some cash if that solution is non free. 

The points raised at the start of the discussion are that as well as the 
threads of discussion we need to be able to, actively as a community, add to a 
curated body of knowledge about tiddlywiki as solutions and code snippets are 
presented because what we lose here is continuity. 

If only we could do it with tiddlywiki *cough cough* :D 
twederation.tiddlyspot.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6fd17929-8b98-4b99-8266-7de715f72b8a%40googlegroups.com.


[tw5] [Question] Can the refnotes plugin be used to make A.P.A. style reference?

2020-05-11 Thread Odin Jorna
It seems that the https://kookma.github.io/Refnotes/ refnotes plugin uses 
another type of reference style than the A.P.A. style that I am used (or 
supposed to use) to.
It is possible to use this plugin to create A.P.A. style reference? It uses 
this format: Author, A., & Author, B. (year). *Title of book.* Publisher. 
or Author, A., & Author, B. (year). Title of article. *Journal Title*, 
*Volume*(Issue), page range. DOI for scientific articles.

So the example reference in the plugin: N.E. Amadeo and M.A. Laborde, Hydrogen 
Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
Energy*, *1995*.

would look something like this: N.E. Amadeo and M.A. Laborde. (1995) Hydrogen 
Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
Energy*, *Volume*(Issue), page range. DOI

The in text reference would be: (Amadeo & Laborde, 1995) instead of :  
[Amadoe-1995]

 

Is there a way to change the formatting in the plugin code?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/35a36e08-97d4-4f2f-b667-1e1059d78e9f%40googlegroups.com.


[tw5] Re: [plugin] TOC generic - shows toc,backlinks,list and listed up front

2020-05-11 Thread TonyM
HC

I think your functionality is great in this plugin. 

I am sorry coming so late to comment but for any solution making use of the 
view template there are two features I think are important,

   - Provide a config tiddler such as $:/config/TOC-Generic-filter with a 
   default filter than can be modified, for example some may want 
   "[all[current]!is[system]]" some may not
   - If possible allow the ability to toggle the feature on or off 
   individual tiddlers

One finally thing to consider is the space consumed by you solution to 
display, you can seperate the toggling of content from the display of the 
content so only one line would be used until content is displayed. I can 
explain this method if you wish.

Regards
Tony

On Monday, May 11, 2020 at 6:18:53 PM UTC+10, HC Haase wrote:
>
> *Announcement*: TOC Generic - bugfix
> *Date*: 2020/05/11
> *Release*: 2.0.1
>
> Downlaod/demo: 
> https://hchaase.github.io/HC-Plugins/#TOC-Generic%20Introduction 
> 
>
> minor bug fix.
>
> v. 2.0.1
>
>- [Fix] close transclusion button at the bottom right showed for both 
>links and tags, even if only one of these lists where present
>
> v. 2.0.0
>
>- [New] added transclusion of tiddlers, to the *toc, backlinks, list* 
>and *listed* (also recursive through the toc)(from tiddly blink)
>- [New] added toggle transclusion button at the "references" top and 
>at the end of transcluded *toc, backlinks, list* and *listed*. Also 
>available in the readme 
>- [New] added modified/created date in the bottom right corner of 
>transcluded tiddlers in the lists (toggle in readme)
>- [New] made the transclusion background (grey box) and text, follow 
>the theme (code class). This means you can use dark themes and still read 
>the text.
>- [Change] changed settings from radio buttons to checkbox in the 
>readme 
>
>
> torsdag den 7. maj 2020 kl. 15.04.46 UTC+2 skrev HC Haase:
>>
>> *Announcement*: TOC Generic
>> *Date*: 2020/05/07
>> *Release*: 2.0.0
>>
>> Downlaod/demo: 
>> https://hchaase.github.io/HC-Plugins/#TOC-Generic%20Introduction 
>> 
>>
>> I am pleased to release version 2 of the TOC generic plugin. In this 
>> version I have included the tranclusion of tiddler content from Davids 
>> tiddlyBlink version (thank you David), but also in recursive in the TOC for 
>> tags. Below you can see some of the new features 
>>
>>
>>
>>1. button to to toggle transclusion mode. also positioned at the 
>>bottom right of the lists (handy if you have long lists
>>2. modified and created date is shown in the bottom right corner of 
>>transcluded tiddlers (can be turned off in the readme)
>>3. the background and text of the transclusion follows the theme 
>>(code background) so you can use dark themes
>>
>>
>>
>>
>> What's the difference between TiddlyBlink and TOC generic you might 
>> think?
>>
>> TiddlyBlink a TW version and is more focused on linking and have a 
>> complete setup for building a link-centred wiki. The TOC generic plugin can 
>> use tags as well as links, and are more focused on showing information and 
>> connections, not editing. TOC generic is a plugin and can be used in any 
>> wiki with a pre-existing organisation.
>>
>>
>> Changelog
>>
>> v. 2.0.0
>>
>>- [New] added transclusion of tiddlers, to the *toc, backlinks, list* 
>>and *listed* (also recursive through the toc)(from tiddly blink)
>>- [New] added toggle transclusion button at the "references" top and 
>>at the end of transcluded *toc, backlinks, list* and *listed*. Also 
>>available in the readme 
>>- [New] added modified/created date in the bottom right corner of 
>>transcluded tiddlers in the lists (toggle in readme)
>>- [New] made the transclusion background (grey box) and text, follow 
>>the theme (code class). This means you can use dark themes and still read 
>>the text.
>>- [Change] changed settings from radio buttons to checkbox in the 
>>readme 
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de0349ef-07db-4275-8ea4-903d5eccacf3%40googlegroups.com.


[tw5] Re: [plugin] TOC generic - shows toc,backlinks,list and listed up front

2020-05-11 Thread HC Haase
*Announcement*: TOC Generic - bugfix
*Date*: 2020/05/11
*Release*: 2.0.1

Downlaod/demo: 
https://hchaase.github.io/HC-Plugins/#TOC-Generic%20Introduction 


minor bug fix.

v. 2.0.1

   - [Fix] close transclusion button at the bottom right showed for both 
   links and tags, even if only one of these lists where present

v. 2.0.0

   - [New] added transclusion of tiddlers, to the *toc, backlinks, list* 
   and *listed* (also recursive through the toc)(from tiddly blink)
   - [New] added toggle transclusion button at the "references" top and at 
   the end of transcluded *toc, backlinks, list* and *listed*. Also 
   available in the readme 
   - [New] added modified/created date in the bottom right corner of 
   transcluded tiddlers in the lists (toggle in readme)
   - [New] made the transclusion background (grey box) and text, follow the 
   theme (code class). This means you can use dark themes and still read the 
   text.
   - [Change] changed settings from radio buttons to checkbox in the readme 


torsdag den 7. maj 2020 kl. 15.04.46 UTC+2 skrev HC Haase:
>
> *Announcement*: TOC Generic
> *Date*: 2020/05/07
> *Release*: 2.0.0
>
> Downlaod/demo: 
> https://hchaase.github.io/HC-Plugins/#TOC-Generic%20Introduction 
> 
>
> I am pleased to release version 2 of the TOC generic plugin. In this 
> version I have included the tranclusion of tiddler content from Davids 
> tiddlyBlink version (thank you David), but also in recursive in the TOC for 
> tags. Below you can see some of the new features 
>
>
>
>1. button to to toggle transclusion mode. also positioned at the 
>bottom right of the lists (handy if you have long lists
>2. modified and created date is shown in the bottom right corner of 
>transcluded tiddlers (can be turned off in the readme)
>3. the background and text of the transclusion follows the theme (code 
>background) so you can use dark themes
>
>
>
>
> What's the difference between TiddlyBlink and TOC generic you might think?
>
> TiddlyBlink a TW version and is more focused on linking and have a 
> complete setup for building a link-centred wiki. The TOC generic plugin can 
> use tags as well as links, and are more focused on showing information and 
> connections, not editing. TOC generic is a plugin and can be used in any 
> wiki with a pre-existing organisation.
>
>
> Changelog
>
> v. 2.0.0
>
>- [New] added transclusion of tiddlers, to the *toc, backlinks, list* 
>and *listed* (also recursive through the toc)(from tiddly blink)
>- [New] added toggle transclusion button at the "references" top and 
>at the end of transcluded *toc, backlinks, list* and *listed*. Also 
>available in the readme 
>- [New] added modified/created date in the bottom right corner of 
>transcluded tiddlers in the lists (toggle in readme)
>- [New] made the transclusion background (grey box) and text, follow 
>the theme (code class). This means you can use dark themes and still read 
>the text.
>- [Change] changed settings from radio buttons to checkbox in the 
>readme 
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cfd16eec-3852-4239-a5d3-6f215337d19a%40googlegroups.com.


[tw5] Re: Plugin design: splitting up vs. duplicating

2020-05-11 Thread PMario
Hi,

I think, it depends on how "connected" your plugins are. If 1 functionality 
is hardly used *without* the other, I would keep it in 1 plugin. 

If it is very likely, that they are useful alone, and do completely 
different things, you should split them. The chance is high, that users 
demand different new "features". So the code base can't be shared after a 
view iterations anyway.

If they share eg: 40% or more code, I'd go with 1 plugin, until it really 
needs to be split into a "main" and "feature" plugins. ... But I think you 
can go a long way here. IMO up to 30k in plugin size, uncompressed, before 
you start splitting. ...

I think at the beginning its relatively hard to know, the structure, that 
will be really needed. So after some time a module like rewrite may be a 
possibility.

Splitting will be made easier, if you keep it in mind early and already 
start with a module like structure. 
You can have a look at the tw core, how "modules" are created. Have a look, 
how the module-type field is handled, if you are interested.

just some thoughts. 

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d8a1d456-e627-45dd-92f6-6053ef925e1a%40googlegroups.com.


Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-11 Thread PMario
Hi,

You already have a <$xpath> widget, imo you can have an <$xselect> too. 

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9005368e-59b5-4e14-8182-45e0e889219a%40googlegroups.com.


Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-11 Thread TonyM
Flibbles,

Once again a fantastic effort on your part to open tiddlywiki to even more 
possibilities. 

I had not even thought of turning such a tool to parsing html, I actually 
this could be very helpful because HTML can be pasted from elsewhere then 
tiddlywiki can interrogate it. It could actually be used to refactor html 
for subsequent export allowing tiddlywiki to refactor content from 
elsewhere, perhaps one day "screen scrape" content.

*You say this tool you are trying to name uses css selectors, but as I read 
it also allows html tags which arguable are part of css selectors. If the 
html was not setting class could you still extract say `` am I 
correct?*

If what I say *is correct* perhaps you could name it after htmltags or 
xhtml for extract html, the fact you can use css selectors to focus the 
xhtml exhtml or what ever you call it is simply more power?

If what I say* is not correct *would it be difficult for you extend this 
tool to parse HTML inside tiddlers,? because this could be a great feature 
eg;

   - Extract content from html tables
   - Generate tiddlers from items listed on a html page
   - Parse then regenerate HTML
   - Capture HTML and extract data where no other export mechanism is 
   available.
   - Perhaps even screen scrape from a url to extract fresh data and 
   process in tiddlywiki.


Impressive work
Regards
Tony


On Monday, May 11, 2020 at 2:41:11 PM UTC+10, Flibbles wrote:
>
>
> Hey everyone!
>
> I'm working hard on the release version of tw5-xml, but I was hoping for 
> some final feedback on one last thing.
>
> On top of an <$xpath> widget, which parses XML with XPAath, I made another 
> widget which parses XML/HTML with css queries, like "div .classname". 
> Currently, it's called <$css>, but I'm not sure that's the right name. 
> (Maybe <$query>, or <$cssquery>, or <$selector>. Not sure yet. Would love 
> your feedback).
>
> Does this widget seem useful? Parsing through HTML is not as needed as 
> parsing XML, but there are some neat uses for it. For one, you can use 
> <$css> on XML, and <$xpath> on html. And you can use them both at one time. 
> i.e.
>
> <$xpath for-each="/document/text">
>
>
> !!Document
>
>
> <$css for=each=".classname > p" variable="paragraph">
>
> <>
>
> 
> 
>
>
> Other than xhtml embedded in XML, or for SVG, there isn't much need to use 
> both at once, but I thought it was nifty.
>
> It was only about 20 lines of extra code once I got everything organized 
> right, but I'm concerned this is outside the scope, or no one would need 
> this. Are there any of you who could use a widget/filter like this?
>
> The demo site is better filled out, and has examples of this new widget. 
> 
>
> -Flibbles
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a2dabcb1-c6b7-444a-86e9-214eb9b31b58%40googlegroups.com.


[tw5] Re: Plugin design: splitting up vs. duplicating

2020-05-11 Thread bimlas
HCHaase,

Tiddly handles plugin dependencies well, so I would vote for separate 
plugins in this regard.

https://tiddlywiki.com/#Plugin%20Dependencies

If we look at how NPM (Node.js Package Manager) works, it is entirely made 
up of package dependencies: each package does one single thing (in 
principle).

On the other hand, if I want to install a plugin for a "ready-made program" 
(Vim, TiddlyWiki, VSCode, etc.), it's a bit daunting if the plugin wants to 
install additional plugins. From a user’s point of view, technically, 
there’s really not much difference between installing a single plugin and 
installing multiple plugins because they take up the same amount of 
space. The real difference is more psychological, so whether the user 
accepts having to install multiple packages at once. If a plugin is used by 
several other plugins, it actually saves space because you only have to 
install that sub-plugin once, but the average user will not see this.

We have to think instead of the user and make the right decision, so I will 
vote for the multiple plugins. Copying is never good, because if you find a 
bug in one place that you fix, you have to keep it in sync to be fixed in 
the other places when you make "monolithic plugins."

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1bd7417c-a06b-44f8-8806-082603068b6d%40googlegroups.com.


[tw5] Re: Plugin design: splitting up vs. duplicating

2020-05-11 Thread HC Haase
Thank you for your thoughts. it is good to get some other persepctives.

as I feard, this is not a clean cut. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fef981f4-3d96-453a-8a99-50127310e8b6%40googlegroups.com.