[tw5] Re: Help Wanted - Filtered transclusion

2020-11-08 Thread Saq Imtiaz
How are you setting 


?

I suspect it never returns an empty list, and therefore the else clause is 
never triggered.

For example, the following will never trigger an else clause when used in a 
filter, as it will never return an empty list:
<$set name=config-tiddler value={{{ [[$config-name$]addprefix[$:/config/]] 
}}}>

Assuming that each filter run returns an empty list when it should not be 
used, you can also use the form:
{{{ [] [] [] +[first[]] 
}}}

-- 
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/f1a3fe0b-6dd8-4305-9b2f-49bfd93a3176o%40googlegroups.com.


[tw5] Re: Changing the background color for tabs?

2020-11-08 Thread TW Tones
Novice,

My code example was An edit of the $:/ControlPanel to show how to wrap the 
whole set of tabs;

However now you illustrated the exact location I will look for an answer, 
and others may know.

Regards
Tones

On Monday, 9 November 2020 12:59:54 UTC+11, Tiddly Novice wrote:
>
> Sorry about not describing things properly, I've been having a lot of 
> trouble thinking clearly lately. Here's a picture that hopefully points out 
> the areas I'm trying to affect. I'm trying to have the tab content area 
> have the same background colors, but there's these areas on the sides that 
> aren't being affected by what the transcluded tiddler has for settings. I 
> guess what might work would be to remove whatever the gap is? Is that what 
> padding and margin is for tabs? I'm also trying to have the tab content 
> area have a border on all sides. How would I define a stylesheet for that? 
> Also, how do I use the code you posted?
>
> On Sunday, November 8, 2020 at 5:00:33 PM UTC-8 TW Tones wrote:
>
>> Novice,
>>
>> One of the first things I want to remind you is the tabs macro is a 
>> provide macro, and it does a lot and suits most people. If you want to do a 
>> lot of customisation you should consider cloning the built in tabs macro 
>> and modify it as you see fit.
>>
>> Perhaps an image to illustrate *"this weird space between the tabs and 
>> the tab area box and that is not the look I'm after"* would help.
>>
>> Remember the tabs macro is in a tiddler, within this tiddler you can 
>> control how things appear. You could wrap the whole tabs macro in a html 
>> div with a style or class applied. Or in some cases a div is allready 
>> present; see How I modified $:/ControlPanel 
>>  below,Then change the 
>> margin and padding values 
>>
>> 
>> <> "$:/core/ui/ControlPanel/Info">>
>> 
>>
>> Tones
>>
>>
>>
>>
>>
>>
>> On Monday, 9 November 2020 11:38:12 UTC+11, Tiddly Novice wrote:
>>>
>>> Actually, I take back my nevermind since I still can't figure out how to 
>>> control the background of the entire tab box area. Merely changinge the 
>>> background of the contents of any transcluded tiddlers seems to leave this 
>>> weird space between the tabs and the tab area box and that is not the look 
>>> I'm after. Also, how do I add a full border surrounding the area of the tab 
>>> box? (Please forgive me if the answer is obvious. The only GUI design class 
>>> I've ever had was "Intro to Visual Basic".)
>>>
>>> On Tuesday, November 3, 2020 at 1:08:24 PM UTC-8 Tiddly Novice wrote:
>>>
 Nevermind, it turns out that the tiddler being transcluded by the tab 
 is what controls the background colors. Which is actually really 
 convenient.

 On Monday, November 2, 2020 at 7:04:07 PM UTC-8 Tiddly Novice wrote:

> Is there a way to change the background color and border color for 
> just the contents area of a tabs widget? And for bonus points: is there a 
> way to change the contents area styles based on what tab is open or what 
> tiddler is being transcluded by the currently open tab?
>


-- 
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/ec727851-0e62-4886-b152-a72ac75d32dco%40googlegroups.com.


[tw5] Re: Help Wanted - Filtered transclusion

2020-11-08 Thread TW Tones
Eric,

Thanks for the suggestion But it has not solved it. It is almost as if when 
used in the filter else goes bad

This proves the values are being populated
:1 {{{ [] }}}
:2 {{{ [] }}}
:3 {{{ [] }}}

But something is still going wrong as all three of these return the value 
in <>
1: {{{ [] }}} returns a value is set
4:{{{ [else[other]]  }}}
5:{{{ [] ~[[other]]  }}}

Weird

Tones

On Monday, 9 November 2020 12:54:10 UTC+11, Eric Shulman wrote:
>
> On Sunday, November 8, 2020 at 4:25:07 PM UTC-8, TW Tones wrote:
>>
>> I have a filtered transclusion as follows
>> {{{ [] ~[] ~[] }}}
>> Each of the variables therein are set using a $set widget (more details 
>> below)
>> Unfortunately the second result global-config-value is never the result 
>> if there is no local-value
>>
>
> You have three runs, using an implied "OR", with the expectation that they 
> are evaluated left-to-right, until a value is found.
> I'm not 100% certain why the above syntax doesn't do that.  But you might 
> try using else<...> instead:
>
> {{{ [elseelse] }}}
>
> -e 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/67312cd5-b5ea-4114-8176-a0cc925c239eo%40googlegroups.com.


[tw5] Re: Use _canonical_uri to embed an external plain text file?

2020-11-08 Thread Joshua Fontany
This is possible if you are running your wiki on Node.js. If it is a 
single-file standalone HTML wiki your best bet is to import the text files 
by drag'n'drop.

If you are running on Node.js, you can use a "tiddlywiki.files" file 
(documentation 
here ), to include a 
whole folder full of files at once into tiddlywiki. The config file defines 
the other "meta-data fields" like "type", etc. The folder in question has 
to be inside said wiki's "tiddlers" folder (where "tiddlers is parallel to 
a "tiddlywiki.info" config file). Your structure would be similar to:

WikiDir
|- "tiddlywiki.info" (json file for wiki config)
|- "tiddlers" dir
|- "text-files" dir
|- "tiddlywiki.files" (json file for text-file import 
config)
|-  all the files to import 
|- "other" dirs (in the "tiddlers" dir)
|- tiddlers.tid(s) (text tiddlers in the "tiddlers" dir)  
|- "files" dir (outside "tidders" to serve images and such)



On Sunday, November 8, 2020 at 5:34:46 PM UTC-8 TW Tones wrote:

> Si,
>
> Understood. I have tried to encourage others with more knowledge on this 
> to help us make such included content interact more within tiddlywiki. I 
> understand the problem may relate to the object being included in the 
> standard DOM, but tiddlywiki manages its own DOM tree to preform all it's 
> magic.
>
> keep in mind I am not expert here.
>
> A higher level of interaction with html and the standard DOM including 
> between the DOM and Tiddlywikis own one would be nice, For example an 
> action that will populate a local tiddler with the content displayed by the 
> object.
>
> I have actually installed full featured html pages within tiddlywiki, and 
> by providing the additional files, css and scripts in the same directory as 
> the single file tiddlywiki, have got them working. So I am confident we can 
> create ways to interact with external resources.
>
> Simply being able to save the output of something like;
>  "file:///C:\Data\batches\networkcheck.txt"> 
> into a tiddler, variable or on wikification would be great.
>
> However you would be applying dynannotate to a copy.
>
> Regards
> Tones
>
>
> On Sunday, 8 November 2020 23:58:58 UTC+11, si wrote:
>>
>> Hi Tones,
>>
>> The HTML object method does display the file, but I can't add annotations 
>> to with dynannotate.I realize I was not clear about what I wanted to use 
>> the file for in my original post.
>>
>> I'm trying to get the text file to display just as though it were a plain 
>> text tiddler stored in the wiki. I know I won't be able to edit it from the 
>> wiki, but I was hoping that I would be able to add annotations with 
>> dynannotate.
>>
>> On Friday, 6 November 2020 22:11:40 UTC, TW Tones wrote:
>>>
>>> Si,
>>>
>>> Have you tried the html object tag?
>>>
>>> I have a newtworkcheck batch that I launch from a TiddlyDesktop wiki, 
>>> that returns the result in a text file.
>>>
>>>
>>> >> "file:///C:\Data\batches\runnetworkcheck.cmd" > Go
>>>
>>> <$button set="Networkcheck!!last-refresh" setTo=<> >
>>> Refresh {{Networkcheck!!last-refresh}}
>>> 
>>>
>>> >> "file:///C:\Data\batches\networkcheck.txt"> 
>>>
>>> It also has a button that sets a field to cause a refresh and time 
>>> stamps it.
>>>
>>> Tones
>>>
>>>
>>> On Saturday, 7 November 2020 05:21:09 UTC+11, si wrote:

 I have some external source-code files that I would like to add to my 
 wiki as plain text so that I can make notes on them.

 Rather than making another copy of the text, I thought I would be able 
 to embed the file as I would a PDF or HTML file.

 I set _canonical_uri to ./folder/code.py and changed the type to 
 text/plain. This didn't work.

 I noticed that if I change the type to text/html, the text does get 
 embedded as though it were an html file.

 Is there any way to embed text and have it appear as regular plain text?

>>>

-- 
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/27a704a1-fa21-46cf-b6b0-5b736bdb891fn%40googlegroups.com.


[tw5] Re: TW 5.1.23 and Tones of New Features

2020-11-08 Thread Joshua Fontany
NEAT stuff guys. Thanks!

Best,
Joshua F

On Saturday, November 7, 2020 at 12:49:08 PM UTC-8 TW Tones wrote:

> Mohammad thanks for sharing your exploration:
>
> <$button class="tc-btn-invisible" > __Toggle__ <$action-listops 
>  $tags="+[toggle[done]]" /><>  
>
> Fun variation that also provides the Tag pill
>
> Tones
>
>
> On Sunday, 8 November 2020 01:20:45 UTC+11, Mohammad wrote:
>>
>> *TW 5.1.23 new feature.  *
>>
>> If you like a *surprise*,  go to https://tiddlywiki.com/prerelease/  
>> create a new tiddler and enter the 
>> below wikitext (script) and save
>>
>> <$button> Click me <$action-listops  $tags="+[toggle[done]]" /> 
>>   
>>
>> Click the and see the result!  Ah this is a killer feature!
>> Thank you Saq!
>>
>> --Mohammad
>>
>> On Thursday, October 29, 2020 at 3:41:51 PM UTC+3:30 Atronoush wrote:
>>
>>> I have noted Jeremy, Saq, BTC, and some other are very busy to fix bugs 
>>> and bring new features to TW 5.1.23 (have a look at 
>>> https://github.com/Jermolene/TiddlyWiki5 to see the number of PR, 
>>> Issues have been resolved!)
>>>
>>> Thank you all!
>>>
>>>
>>>

-- 
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/7835e78f-3c5a-443a-b961-9534ac2d3169n%40googlegroups.com.


[tw5] Re: TW-TOC - how to exclude all tiddlers with certasin tagh from tree

2020-11-08 Thread Eric Shulman
On Sunday, November 8, 2020 at 12:26:30 PM UTC-8, skaczm...@gmail.com wrote:
>
> < exclude:"-[[excluded-tiddler]]" stateTiddler:"tree-test-state">>
>

"multilevel-toc-expandable" is not defined in $:/core/macros/toc, so I 
assume it is a custom macro.
There are several custom versions of TOC macros that have been written by 
others.
Can you post the source code for this macro (or at least a link to where 
you got it)?

Note that the "exclude:" parameter is actually intended for internal use.
The value of exclude is dynamically updated as the TOC recursion occurs,
in order to prevent "loops" caused by revisiting a tiddler that has already
been displayed in a given branch of the tree.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b606b69-fa1d-4476-b328-e09e60f335b4o%40googlegroups.com.


[tw5] Re: Changing the background color for tabs?

2020-11-08 Thread Tiddly Novice
Sorry about not describing things properly, I've been having a lot of 
trouble thinking clearly lately. Here's a picture that hopefully points out 
the areas I'm trying to affect. I'm trying to have the tab content area 
have the same background colors, but there's these areas on the sides that 
aren't being affected by what the transcluded tiddler has for settings. I 
guess what might work would be to remove whatever the gap is? Is that what 
padding and margin is for tabs? I'm also trying to have the tab content 
area have a border on all sides. How would I define a stylesheet for that? 
Also, how do I use the code you posted?

On Sunday, November 8, 2020 at 5:00:33 PM UTC-8 TW Tones wrote:

> Novice,
>
> One of the first things I want to remind you is the tabs macro is a 
> provide macro, and it does a lot and suits most people. If you want to do a 
> lot of customisation you should consider cloning the built in tabs macro 
> and modify it as you see fit.
>
> Perhaps an image to illustrate *"this weird space between the tabs and 
> the tab area box and that is not the look I'm after"* would help.
>
> Remember the tabs macro is in a tiddler, within this tiddler you can 
> control how things appear. You could wrap the whole tabs macro in a html 
> div with a style or class applied. Or in some cases a div is allready 
> present; see How I modified $:/ControlPanel 
>  below,Then change the 
> margin and padding values 
>
> 
> < "$:/core/ui/ControlPanel/Info">>
> 
>
> Tones
>
>
>
>
>
>
> On Monday, 9 November 2020 11:38:12 UTC+11, Tiddly Novice wrote:
>>
>> Actually, I take back my nevermind since I still can't figure out how to 
>> control the background of the entire tab box area. Merely changinge the 
>> background of the contents of any transcluded tiddlers seems to leave this 
>> weird space between the tabs and the tab area box and that is not the look 
>> I'm after. Also, how do I add a full border surrounding the area of the tab 
>> box? (Please forgive me if the answer is obvious. The only GUI design class 
>> I've ever had was "Intro to Visual Basic".)
>>
>> On Tuesday, November 3, 2020 at 1:08:24 PM UTC-8 Tiddly Novice wrote:
>>
>>> Nevermind, it turns out that the tiddler being transcluded by the tab is 
>>> what controls the background colors. Which is actually really convenient.
>>>
>>> On Monday, November 2, 2020 at 7:04:07 PM UTC-8 Tiddly Novice wrote:
>>>
 Is there a way to change the background color and border color for just 
 the contents area of a tabs widget? And for bonus points: is there a way 
 to 
 change the contents area styles based on what tab is open or what tiddler 
 is being transcluded by the currently open tab?

>>>

-- 
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/0182f623-ca53-4134-a807-e2dc7e9213d5n%40googlegroups.com.


[tw5] Re: Help Wanted - Filtered transclusion

2020-11-08 Thread Eric Shulman
On Sunday, November 8, 2020 at 4:25:07 PM UTC-8, TW Tones wrote:
>
> I have a filtered transclusion as follows
> {{{ [] ~[] ~[] }}}
> Each of the variables therein are set using a $set widget (more details 
> below)
> Unfortunately the second result global-config-value is never the result 
> if there is no local-value
>

You have three runs, using an implied "OR", with the expectation that they 
are evaluated left-to-right, until a value is found.
I'm not 100% certain why the above syntax doesn't do that.  But you might 
try using else<...> instead:

{{{ [elseelse] }}}

-e 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8694fc7e-39fb-48e6-8a76-bd78b5ba0c52o%40googlegroups.com.


[tw5] Re: Use _canonical_uri to embed an external plain text file?

2020-11-08 Thread TW Tones
Si,

Understood. I have tried to encourage others with more knowledge on this to 
help us make such included content interact more within tiddlywiki. I 
understand the problem may relate to the object being included in the 
standard DOM, but tiddlywiki manages its own DOM tree to preform all it's 
magic.

keep in mind I am not expert here.

A higher level of interaction with html and the standard DOM including 
between the DOM and Tiddlywikis own one would be nice, For example an 
action that will populate a local tiddler with the content displayed by the 
object.

I have actually installed full featured html pages within tiddlywiki, and 
by providing the additional files, css and scripts in the same directory as 
the single file tiddlywiki, have got them working. So I am confident we can 
create ways to interact with external resources.

Simply being able to save the output of something like;
 
into a tiddler, variable or on wikification would be great.

However you would be applying dynannotate to a copy.

Regards
Tones

On Sunday, 8 November 2020 23:58:58 UTC+11, si wrote:
>
> Hi Tones,
>
> The HTML object method does display the file, but I can't add annotations 
> to with dynannotate.I realize I was not clear about what I wanted to use 
> the file for in my original post.
>
> I'm trying to get the text file to display just as though it were a plain 
> text tiddler stored in the wiki. I know I won't be able to edit it from the 
> wiki, but I was hoping that I would be able to add annotations with 
> dynannotate.
>
> On Friday, 6 November 2020 22:11:40 UTC, TW Tones wrote:
>>
>> Si,
>>
>> Have you tried the html object tag?
>>
>> I have a newtworkcheck batch that I launch from a TiddlyDesktop wiki, 
>> that returns the result in a text file.
>>
>>
>> > > Go
>>
>> <$button set="Networkcheck!!last-refresh" setTo=<> >
>> Refresh {{Networkcheck!!last-refresh}}
>> 
>>
>> > "file:///C:\Data\batches\networkcheck.txt"> 
>>
>> It also has a button that sets a field to cause a refresh and time stamps 
>> it.
>>
>> Tones
>>
>>
>> On Saturday, 7 November 2020 05:21:09 UTC+11, si wrote:
>>>
>>> I have some external source-code files that I would like to add to my 
>>> wiki as plain text so that I can make notes on them.
>>>
>>> Rather than making another copy of the text, I thought I would be able 
>>> to embed the file as I would a PDF or HTML file.
>>>
>>> I set _canonical_uri to ./folder/code.py and changed the type to 
>>> text/plain. This didn't work.
>>>
>>> I noticed that if I change the type to text/html, the text does get 
>>> embedded as though it were an html file.
>>>
>>> Is there any way to embed text and have it appear as regular plain text?
>>>
>>

-- 
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/8408d6dd-cb51-4f3d-bb2b-a0ad41a64b90o%40googlegroups.com.


Re: [tw5] Re: sadly seeking tiddlyspot alternatives

2020-11-08 Thread Alfonso Arciniega
Below is shown an option with Dropbox and DropPages. It could be used as a 
temporary option if we don't want to spend a lot of time setting up a 
repository site until TW Tones creates a permanent site.

It took me just a few minutes to create it. No code is required.

My demo site is at: https://my-tw-notes.droppages.com/

The DropPages site is at: https://droppages.com/

Note I did not use any theme, just edited the base.html to change the 
tittle and the index.txt for content, and add a couple of TW's in the 
Public folder.

This option is free for up to 50 MB size, good enough for five TW's. 
DropPages has been operating since 2011.

-- 
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/d2d08eca-90e6-4323-a092-530550181f3eo%40googlegroups.com.


[tw5] Re: TW-TOC - how to exclude all tiddlers with certasin tagh from tree

2020-11-08 Thread TW Tones
skaczm...@gmail.com

*The * exclude:"-[[excluded-tiddler]]" is a filter that names a single 
tiddler. You can replace this with a filter of anything, noting the "-" 
symbol says to remove these from the list.

However keep in mind in a toc such exclusion will then not have their 
children iterated.

Tones

On Monday, 9 November 2020 07:26:30 UTC+11, skaczm...@gmail.com wrote:
>
>
> Hi, I have a quick question - as tittles says, I need to exclude all 
> tiddlers with certain tag from TW-TOC toc tree. How to do that? Seems like 
> the original tutorial only shows how to exclude tiddler with certain name:
>
> < exclude:"-[[excluded-tiddler]]" stateTiddler:"tree-test-state">>
>

-- 
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/cdbf55fb-de8a-4aa1-ac63-624c2edd79f1o%40googlegroups.com.


[tw5] Re: Changing the background color for tabs?

2020-11-08 Thread TW Tones
Novice,

One of the first things I want to remind you is the tabs macro is a provide 
macro, and it does a lot and suits most people. If you want to do a lot of 
customisation you should consider cloning the built in tabs macro and 
modify it as you see fit.

Perhaps an image to illustrate *"this weird space between the tabs and the 
tab area box and that is not the look I'm after"* would help.

Remember the tabs macro is in a tiddler, within this tiddler you can 
control how things appear. You could wrap the whole tabs macro in a html 
div with a style or class applied. Or in some cases a div is allready 
present; see How I modified $:/ControlPanel 
 below,Then change the 
margin and padding values 


<>


Tones






On Monday, 9 November 2020 11:38:12 UTC+11, Tiddly Novice wrote:
>
> Actually, I take back my nevermind since I still can't figure out how to 
> control the background of the entire tab box area. Merely changinge the 
> background of the contents of any transcluded tiddlers seems to leave this 
> weird space between the tabs and the tab area box and that is not the look 
> I'm after. Also, how do I add a full border surrounding the area of the tab 
> box? (Please forgive me if the answer is obvious. The only GUI design class 
> I've ever had was "Intro to Visual Basic".)
>
> On Tuesday, November 3, 2020 at 1:08:24 PM UTC-8 Tiddly Novice wrote:
>
>> Nevermind, it turns out that the tiddler being transcluded by the tab is 
>> what controls the background colors. Which is actually really convenient.
>>
>> On Monday, November 2, 2020 at 7:04:07 PM UTC-8 Tiddly Novice wrote:
>>
>>> Is there a way to change the background color and border color for just 
>>> the contents area of a tabs widget? And for bonus points: is there a way to 
>>> change the contents area styles based on what tab is open or what tiddler 
>>> is being transcluded by the currently open tab?
>>>
>>

-- 
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/5c20dbf7-9239-49ef-9bfb-ec700024c6e9o%40googlegroups.com.


[tw5] Re: Palette Diagram

2020-11-08 Thread TW Tones
Hi,

Good question, and some of us have tried, but it is a big Job. Then someone 
changes the theme and many things change.

The main method is to learn how to use your browsers developer inspect 
tools to select an element and see the classes in use there.

You can then search for those values/classes in tiddlywiki advanced search, 
many you will find in the vanilla css stylesheet.

To test create you own stylesheet and add color or something to test then 
override the default. 

Regards
Tones


On Monday, 9 November 2020 08:57:16 UTC+11, Tiddly Novice wrote:
>
>
> The palettes for themes has a lot of different items listed, but it's not 
> intuitively obvious what item refers to what part of the gui. I've spent 
> far too long trying to hunt down the item/value pairs I want to change. Can 
> someone (who actually knows TiddlyWiki, thus not me) make a diagram 
> explaining all the items that can be set? 
>

-- 
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/69b6dfe0-3019-40d3-930e-d8965d20f586o%40googlegroups.com.


[tw5] Re: Cross-link multiple wikis

2020-11-08 Thread TW Tones
Victor/skaczm...@gmail.com,

With respect this experience of yours skaczm...@gmail.com is not mine. I 
thus feel I need to present a dissenting view.

Unless very big, or editing the current tiddler incorrectly or with too 
much occurring on the screen at once my single file wikis are almost never 
"laggy", in every case there are options to reduce such lag. This can be 
helped with large wikis on servers if using special features such as 
external media and skinny tiddlers but many of the same techniques used on 
single file wikis, can be needed even on a server wiki, due to the way it 
is loaded into browser memory. Keep in mind skinny tiddlers are like 
searchwikis indexes, you can not necessarily search there content unless 
they are loaded.

Victor specifically,

If you want to search the full tiddlers text and other fields from inside a 
wiki ultimately you actually want these tiddlers inside your wiki. 
Depending on the way you will maintain your data a lot can still be done. 
As I suggested in my previous relies a lot of this is what is you work flow 
and wiki interchange, why are you searching, what kind of thing are you 
looking for and what do you want to do with it when you find it? As I 
suggested if you are looking for details within a bibliography entry go to 
that dedicated wiki. 

Typically Bibliographies and Glossaries and other kinds of cumulative 
reference information shared through out an organisation are independent 
resources and the title is the key to that reference and find for 
integration into other solutions. Thus the search wikis indexing of titles 
is sufficient, if you need deeper research go to the reference wiki, then 
have a method to transfer your results to the current wiki if needed.

Alternatively you could publish your bibliography as a plugin tiddler and 
drop it on your working wiki, or via a library.

Regards
Tones 


On Monday, 9 November 2020 07:01:15 UTC+11, skaczm...@gmail.com wrote:
>
> @Victor Dorneanu, buddy, if I may suggest you something, I think it is 
> way better to go for "server" solution of tiddlty wiki like TW5-Bob 
>  or node js than single file wiki. I 
> used single file approach when I started with Tiddly Wiki and it gets laggy 
> very quick and you are not able to get anything from this wiki if enything 
> breaks. In "server approach" each tiddler is a separate file, each image is 
> kept in its original, file form instead of hard coding it. You have much 
> more possibilities to remediate in case of trouble.
>
> niedziela, 8 listopada 2020 o 20:53:29 UTC+1 skaczm...@gmail.com 
> napisał(a):
>
>> I did tests of TW-Searchwikis  
>> plugin today and it seems to me like it is only looking for text in title 
>> and tags, not in the body of tiddler. Please tell me if it is possible to 
>> make it look for searched text also in the body of tiddler, because without 
>> that it is useless for me, because I decided to use generic and auto 
>> incremented names of tiddlers in order to save time and confusion of coming 
>> up with unique names.
>>
>> piątek, 6 listopada 2020 o 09:16:28 UTC+1 Victor Dorneanu napisał(a):
>>
>>> Yeah, thanks for your clarifications. At least I think I know how this 
>>> *might 
>>> *work. But I guess "Searchwikis" will definitely improve the search 
>>> across multiple wikis. And as you already mentioned: I need to find a 
>>> method how to share indices across multiple wikis in a convenient way. 
>>>
>>> Thanks for your input. 
>>>
>>> Victor 
>>>
>>> On Friday, November 6, 2020 at 1:09:30 AM UTC+1 TW Tones wrote:
>>>
 Victor,

 Since a bibliography is an index, perhaps it (the wiki)  can contain 
 the search part of mohammads "Searchwikis" that make use of an index of 
 each/all wikis making use of bibliographic entries. After a little work on 
 your on your  *zettelkasten* Wiki generate an index and drop it on the 
 bibliograqphic wiki, now a search on the bibliographic wiki will also be a 
 search of the *zettelkasten wiki*
 On the *zettelkasten wiki* create a method to find one or more 
 references to the same bibliographic link.

 We can make this almost seamless with more work, but my point is to 
 develop the appropriate practice.

 Regards
 Tones


 On Friday, 6 November 2020 11:00:33 UTC+11, TW Tones wrote:
>
> Victor,
>
> Sorry for the confusion, replace my use of the word Glossary With 
> Bibliography. 
>
> What is a back link?, it shows you where that entry is in use in other 
> tiddlers.
>
> Having a separate bibliography html, you create and name bibliographic 
> entries. In the First wiki you provide a link to the bibliographic entry 
> using the permalink link / same name. Thus in the first wiki you can link 
> to/reference that bibliographic entry multiple times. The equivalent of a 
> back link is 

Re: [tw5] Re: sadly seeking tiddlyspot alternatives

2020-11-08 Thread Alvin Orzechowski
I would be happy to foot the bill for another hosting site. Smon and Daniel
could then move the files there, and redirect the name server. Should be
simple. But I need to know the storage requirements.

On Sat, Nov 7, 2020 at 2:59 PM TW Tones  wrote:

> Folks,
>
> I was prepared to consider hosting another instance of tiddlyspot, but I
> do need help and first and foremost get an idea of size and traffic, and
> placing a CDN on it.
>
> Regards
> Tony
>
> On Sunday, 8 November 2020 03:28:49 UTC+11, Mark S. wrote:
>>
>> It would be useful, if, as one last favor, Simon and Daniel could share
>> the code they use for their site. I'm sure it's some variation of
>> store.php, but the details are important.
>>
>> On Saturday, November 7, 2020 at 7:54:37 AM UTC-8, springer wrote:
>>>
>>> TiddlyTweeter, and all,
>>>
>>> I have enduring gratitude for what Simon and Daniel put together, and
>>> what Tiddlyspot offered.
>>>
>>> My own question -- and I think the spirit of Alvin's post, as I read it
>>> -- is: Is there not any way for something comparable to be put together and
>>> supported, even if DreamHost is not amenable, and even if Simon and Daniel
>>> have other priorities?
>>>
>>>
>> --
> 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/GDFdlZ9Yd8s/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/16d5f7d0-9571-4def-8040-6b034bc8830fo%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/CA%2BbC0S4jDjcaDPQ02HjGJgE1YvnjSWaTz1uzgvrCyU2NNWZ9wQ%40mail.gmail.com.


[tw5] Re: Changing the background color for tabs?

2020-11-08 Thread Tiddly Novice
Actually, I take back my nevermind since I still can't figure out how to 
control the background of the entire tab box area. Merely changinge the 
background of the contents of any transcluded tiddlers seems to leave this 
weird space between the tabs and the tab area box and that is not the look 
I'm after. Also, how do I add a full border surrounding the area of the tab 
box? (Please forgive me if the answer is obvious. The only GUI design class 
I've ever had was "Intro to Visual Basic".)

On Tuesday, November 3, 2020 at 1:08:24 PM UTC-8 Tiddly Novice wrote:

> Nevermind, it turns out that the tiddler being transcluded by the tab is 
> what controls the background colors. Which is actually really convenient.
>
> On Monday, November 2, 2020 at 7:04:07 PM UTC-8 Tiddly Novice wrote:
>
>> Is there a way to change the background color and border color for just 
>> the contents area of a tabs widget? And for bonus points: is there a way to 
>> change the contents area styles based on what tab is open or what tiddler 
>> is being transcluded by the currently open tab?
>>
>

-- 
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/56a5e84e-3912-4fd0-a107-fbb25847a181n%40googlegroups.com.


[tw5] Help Wanted - Filtered transclusion

2020-11-08 Thread TW Tones
Folks,

I can work out what is happening here, at least a second set of eyes would 
be appreciated

I have a filtered transclusion as follows
{{{ [] ~[] ~[] }}}

Each of the variables therein are set using a $set widget (more details 
below)

Unfortunately the second result global-config-value is never the result if 
there is no local-value

The following is how I get the global-config-value and it works as below
<$set name=config-tiddler value={{{ [[$config-name$]addprefix[$:/config/]] 
}}}>
<$set name=global-config-value value={{{ [get[text]] }}}>



[tw5] Palette Diagram

2020-11-08 Thread Tiddly Novice

The palettes for themes has a lot of different items listed, but it's not 
intuitively obvious what item refers to what part of the gui. I've spent 
far too long trying to hunt down the item/value pairs I want to change. Can 
someone (who actually knows TiddlyWiki, thus not me) make a diagram 
explaining all the items that can be set? 

-- 
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/ff280373-5cbc-43b0-bdae-21623e9e2787n%40googlegroups.com.


[tw5] TW-TOC - how to exclude all tiddlers with certasin tagh from tree

2020-11-08 Thread skaczm...@gmail.com

Hi, I have a quick question - as tittles says, I need to exclude all 
tiddlers with certain tag from TW-TOC toc tree. How to do that? Seems like 
the original tutorial only shows how to exclude tiddler with certain name:

<>

-- 
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/a4a5b494-0273-47a1-9c44-230fc24fb979n%40googlegroups.com.


[tw5] Re: Cross-link multiple wikis

2020-11-08 Thread skaczm...@gmail.com
@Victor Dorneanu, buddy, if I may suggest you something, I think it is way 
better to go for "server" solution of tiddlty wiki like TW5-Bob 
 or node js than single file wiki. I 
used single file approach when I started with Tiddly Wiki and it gets laggy 
very quick and you are not able to get anything from this wiki if enything 
breaks. In "server approach" each tiddler is a separate file, each image is 
kept in its original, file form instead of hard coding it. You have much 
more possibilities to remediate in case of trouble.

niedziela, 8 listopada 2020 o 20:53:29 UTC+1 skaczm...@gmail.com napisał(a):

> I did tests of TW-Searchwikis  
> plugin today and it seems to me like it is only looking for text in title 
> and tags, not in the body of tiddler. Please tell me if it is possible to 
> make it look for searched text also in the body of tiddler, because without 
> that it is useless for me, because I decided to use generic and auto 
> incremented names of tiddlers in order to save time and confusion of coming 
> up with unique names.
>
> piątek, 6 listopada 2020 o 09:16:28 UTC+1 Victor Dorneanu napisał(a):
>
>> Yeah, thanks for your clarifications. At least I think I know how this 
>> *might 
>> *work. But I guess "Searchwikis" will definitely improve the search 
>> across multiple wikis. And as you already mentioned: I need to find a 
>> method how to share indices across multiple wikis in a convenient way. 
>>
>> Thanks for your input. 
>>
>> Victor 
>>
>> On Friday, November 6, 2020 at 1:09:30 AM UTC+1 TW Tones wrote:
>>
>>> Victor,
>>>
>>> Since a bibliography is an index, perhaps it (the wiki)  can contain the 
>>> search part of mohammads "Searchwikis" that make use of an index of 
>>> each/all wikis making use of bibliographic entries. After a little work on 
>>> your on your  *zettelkasten* Wiki generate an index and drop it on the 
>>> bibliograqphic wiki, now a search on the bibliographic wiki will also be a 
>>> search of the *zettelkasten wiki*
>>> On the *zettelkasten wiki* create a method to find one or more 
>>> references to the same bibliographic link.
>>>
>>> We can make this almost seamless with more work, but my point is to 
>>> develop the appropriate practice.
>>>
>>> Regards
>>> Tones
>>>
>>>
>>> On Friday, 6 November 2020 11:00:33 UTC+11, TW Tones wrote:

 Victor,

 Sorry for the confusion, replace my use of the word Glossary With 
 Bibliography. 

 What is a back link?, it shows you where that entry is in use in other 
 tiddlers.

 Having a separate bibliography html, you create and name bibliographic 
 entries. In the First wiki you provide a link to the bibliographic entry 
 using the permalink link / same name. Thus in the first wiki you can link 
 to/reference that bibliographic entry multiple times. The equivalent of a 
 back link is a search that can find all links to the same bibliographic 
 entry (the links to the other wiki) but in searching the first wiki. The 
 backlinking in the Bibliographic wiki only points to tiddlers linking to 
 the entry in the bibliographical wiki and are of little use. 

 A much underutilised part of tiddlywiki seems to be the development of 
 "soft" practices or procedures, perhaps supported by software (ie 
 wikitext, 
 widgets and macros). Commonly called work flow. Remember the most 
 intelligent part of the whole solution is the human. Teach the human - 
 yourself to follow some documented practices and you can solve many 
 problems. I have at least a dozen practices like this, including building 
 tiddlywiki solutions to build tiddlywiki solutions. It is all quite "meta" 
 or self referential.

 I hope this explains what I have said a little better.

 Regards
 Tones

 On Thursday, 5 November 2020 19:35:55 UTC+11, Victor Dorneanu wrote:
>
> I'm not sure if I understand this correctly. 
>
> > as you search for a Glossary item, in your *zettelkasten *tiddlywiki, 
> you can have the search also look for the use of that term in 
> *zettelkasten*
>
> But I want the search to look for the term in *zettelkasten* and 
> *bibliography* as well. And this is what TW-Searchwikis is about, 
> right? 
>
> > If you kept a glossary centrally and its not too big you could 
> package and install it on any wiki.
>
> What do you mean by a glossary? I don't have a central tiddler where I 
> keep track of "terms" that are used in multiple wikis. 
>
> To give you a more precise example: 
>
>- I wrote a short summary about David Allen's GTD book 
>
> 
>   - There I have a link to GTD 
>    which is 

[tw5] Re: Cross-link multiple wikis

2020-11-08 Thread skaczm...@gmail.com
I did tests of TW-Searchwikis  
plugin today and it seems to me like it is only looking for text in title 
and tags, not in the body of tiddler. Please tell me if it is possible to 
make it look for searched text also in the body of tiddler, because without 
that it is useless for me, because I decided to use generic and auto 
incremented names of tiddlers in order to save time and confusion of coming 
up with unique names.

piątek, 6 listopada 2020 o 09:16:28 UTC+1 Victor Dorneanu napisał(a):

> Yeah, thanks for your clarifications. At least I think I know how this *might 
> *work. But I guess "Searchwikis" will definitely improve the search 
> across multiple wikis. And as you already mentioned: I need to find a 
> method how to share indices across multiple wikis in a convenient way. 
>
> Thanks for your input. 
>
> Victor 
>
> On Friday, November 6, 2020 at 1:09:30 AM UTC+1 TW Tones wrote:
>
>> Victor,
>>
>> Since a bibliography is an index, perhaps it (the wiki)  can contain the 
>> search part of mohammads "Searchwikis" that make use of an index of 
>> each/all wikis making use of bibliographic entries. After a little work on 
>> your on your  *zettelkasten* Wiki generate an index and drop it on the 
>> bibliograqphic wiki, now a search on the bibliographic wiki will also be a 
>> search of the *zettelkasten wiki*
>> On the *zettelkasten wiki* create a method to find one or more 
>> references to the same bibliographic link.
>>
>> We can make this almost seamless with more work, but my point is to 
>> develop the appropriate practice.
>>
>> Regards
>> Tones
>>
>>
>> On Friday, 6 November 2020 11:00:33 UTC+11, TW Tones wrote:
>>>
>>> Victor,
>>>
>>> Sorry for the confusion, replace my use of the word Glossary With 
>>> Bibliography. 
>>>
>>> What is a back link?, it shows you where that entry is in use in other 
>>> tiddlers.
>>>
>>> Having a separate bibliography html, you create and name bibliographic 
>>> entries. In the First wiki you provide a link to the bibliographic entry 
>>> using the permalink link / same name. Thus in the first wiki you can link 
>>> to/reference that bibliographic entry multiple times. The equivalent of a 
>>> back link is a search that can find all links to the same bibliographic 
>>> entry (the links to the other wiki) but in searching the first wiki. The 
>>> backlinking in the Bibliographic wiki only points to tiddlers linking to 
>>> the entry in the bibliographical wiki and are of little use. 
>>>
>>> A much underutilised part of tiddlywiki seems to be the development of 
>>> "soft" practices or procedures, perhaps supported by software (ie wikitext, 
>>> widgets and macros). Commonly called work flow. Remember the most 
>>> intelligent part of the whole solution is the human. Teach the human - 
>>> yourself to follow some documented practices and you can solve many 
>>> problems. I have at least a dozen practices like this, including building 
>>> tiddlywiki solutions to build tiddlywiki solutions. It is all quite "meta" 
>>> or self referential.
>>>
>>> I hope this explains what I have said a little better.
>>>
>>> Regards
>>> Tones
>>>
>>> On Thursday, 5 November 2020 19:35:55 UTC+11, Victor Dorneanu wrote:

 I'm not sure if I understand this correctly. 

 > as you search for a Glossary item, in your *zettelkasten *tiddlywiki, 
 you can have the search also look for the use of that term in 
 *zettelkasten*

 But I want the search to look for the term in *zettelkasten* and 
 *bibliography* as well. And this is what TW-Searchwikis is about, 
 right? 

 > If you kept a glossary centrally and its not too big you could 
 package and install it on any wiki.

 What do you mean by a glossary? I don't have a central tiddler where I 
 keep track of "terms" that are used in multiple wikis. 

 To give you a more precise example: 

- I wrote a short summary about David Allen's GTD book 

 
   - There I have a link to GTD 
    which is part of the 
   *zettelkasten*
   - In the GTD tiddler  
   itself I have a *source field* (origin of information, thanks 
   @bimlas for that) which contains a link back to the tiddler in 
   *bibliography*
   - Sometimes I want to link to some quotes (for example Getting 
   Things Done - Note 3 
   
 ) 
   in the *zettelkasten* wiki
  - what I want now to achieve is to show in Getting Things 
  Done - Note 3 
  
  
  which tiddlers in *zettelkasten 

[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Sapphireslinger
Thank you!

On Sunday, November 8, 2020 at 10:35:42 PM UTC+8 Eric Shulman wrote:

>
>
> On Sunday, November 8, 2020 at 6:09:38 AM UTC-8, Sapphireslinger wrote:
>>
>> Wow! And thank you for the explanations on how it works.
>>
>> 1) Your code works even if the first line is <$list 
>> filter="[tag[foo]!sort[title]]">
>>
>
> It should work with *any* filter; e.g.,  <$list 
> filter="[has:field[foo]!sort[title]]">
>
>
>> *2) I ran into a cosmetic snag. Tiddlers with long titles that wrap get 
>> dropped down a line and indented, making the list look messy. Don't know 
>> what's causing that.*
>>
>
> This is because the surrounding <$button> defaults to showing *centered* 
> text.  To fix this, use style="text-align:left;", like this:
> <$button class="tc-btn-invisible" style="text-align:left;">
>  
>
>>
>> *3) Is there a way to make the list of titles look like the output to 
>> <> *
>>
>
> * remove the  and 
> * use this before the $button:
> 
> <$list filter="[tagsort[title]]">
> 
> * use this after the final /$reveal:
> 
> 
> 
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/538bfe7d-59b1-42ad-8ed4-2e61827272d1n%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Eric Shulman


On Sunday, November 8, 2020 at 6:09:38 AM UTC-8, Sapphireslinger wrote:
>
> Wow! And thank you for the explanations on how it works.
>
> 1) Your code works even if the first line is <$list 
> filter="[tag[foo]!sort[title]]">
>

It should work with *any* filter; e.g.,  <$list 
filter="[has:field[foo]!sort[title]]">


> *2) I ran into a cosmetic snag. Tiddlers with long titles that wrap get 
> dropped down a line and indented, making the list look messy. Don't know 
> what's causing that.*
>

This is because the surrounding <$button> defaults to showing *centered* 
text.  To fix this, use style="text-align:left;", like this:
<$button class="tc-btn-invisible" style="text-align:left;">
 

>
> *3) Is there a way to make the list of titles look like the output to 
> <> *
>

* remove the  and 
* use this before the $button:

<$list filter="[tagsort[title]]">

* use this after the final /$reveal:




enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1cab7434-8498-4997-bfcb-486e45c955f6o%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Atronoush
Thank you!

On Sunday, November 8, 2020 at 5:58:31 PM UTC+3:30 Eric Shulman wrote:

> On Sunday, November 8, 2020 at 6:19:21 AM UTC-8, Atronoush wrote:
>>
>> Minor note: in the above solution extra line breaks (perhaps on 
>> copy-paste) broke the code!
>>
>
> This is a long-standing BUG in GoogleGroups.
> The code was actually entered without the extra line breaks, but sometimes 
> stray line breaks are added when code-formatted content is displayed.
>
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7df82bb8-e012-4933-a99b-ccd2eba16caen%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Eric Shulman
On Sunday, November 8, 2020 at 6:19:21 AM UTC-8, Atronoush wrote:
>
> Minor note: in the above solution extra line breaks (perhaps on 
> copy-paste) broke the code!
>

This is a long-standing BUG in GoogleGroups.
The code was actually entered without the extra line breaks, but sometimes 
stray line breaks are added when code-formatted content is displayed.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/09f49f20-8cdf-4712-b3e5-02ecb4011e05o%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Atronoush
Thank you Eric! Works great!

Minor note: in the above solution extra line breaks (perhaps on copy-paste) 
broke the code!

<$action-deletetiddler $tiddler={{{ [[$:/state/slider/]addsuffix
] }}} />

should be

<$action-deletetiddler $tiddler={{{ 
[[$:/state/slider/]addsuffix] }}} />

--Atro
On Sunday, November 8, 2020 at 5:44:39 PM UTC+3:30 Eric Shulman wrote:

> On Sunday, November 8, 2020 at 6:05:52 AM UTC-8, Atronoush wrote:
>>
>> This is a smart solution Eric! Is it possible to have a button to expand 
>> collapse all tiddler?
>
>
> As two separate buttons:
> <$button> expand all
><$list filter="[tag!sort[title]]">
>
>   <$action-setfield $tiddler={{{ [[$:/state/slider/]addsuffix
> ] }}} text="show" />
>
> 
> <$button> collapse all
><$list filter="[tag!sort[title]]">
>
>   <$action-deletetiddler $tiddler={{{ [[$:/state/slider/]addsuffix
> ] }}} />
>
> 
>
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/40261552-b7de-414f-9cc4-b8057a0f79cfn%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Eric Shulman
On Sunday, November 8, 2020 at 6:05:52 AM UTC-8, Atronoush wrote:
>
> This is a smart solution Eric! Is it possible to have a button to expand 
> collapse all tiddler?


As two separate buttons:
<$button> expand all
   <$list filter="[tag!sort[title]]">
  <$action-setfield $tiddler={{{ [[$:/state/slider/]addsuffix
] }}} text="show" />
   

<$button> collapse all
   <$list filter="[tag!sort[title]]">
  <$action-deletetiddler $tiddler={{{ [[$:/state/slider/]addsuffix
] }}} />
   


-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56d190a8-620b-4785-9a70-340fe97f46e2o%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Sapphireslinger
Wow! And thank you for the explanations on how it works.

1) Your code works even if the first line is <$list 
filter="[tag[foo]!sort[title]]">

*2) I ran into a cosmetic snag. Tiddlers with long titles that wrap get 
dropped down a line and indented, making the list look messy. Don't know 
what's causing that.*

*3) Is there a way to make the list of titles look like the output to 
<> *

On Sunday, November 8, 2020 at 8:26:07 PM UTC+8 Eric Shulman wrote:

> On Sunday, November 8, 2020 at 2:08:47 AM UTC-8, Sapphireslinger wrote:
>>
>> Is there a way to do this?
>>
>> <$list filter="[tag!sort[title]]">
>> <$link><$transclude field="title" mode="block"/> *This 
>> line is what I want sliderized.*
>> <$transclude field="text" mode="block"/> *Only want this to show up 
>> (inline) if I click on the above title.*
>> 
>>
>
> Try this:
> <$list filter="[tag!sort[title]]">
> 
> <$button class="tc-btn-invisible" >
><$text text={{!!title}} />
><$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
> type="nomatch" text="show">
>   <$action-setfield $tiddler={{{ 
> [[$:/state/slider/]addsuffix] }}} text="show" />
>
><$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
> type="match" text="show">
>   <$action-deletetiddler $tiddler={{{ 
> [[$:/state/slider/]addsuffix] }}} />
>
> 
> 
> <$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
> type="match" text="show">
><$transclude field="text" mode="block"/>
> 
> 
>
> Notes:
> * $button uses class="tc-btn-invisible" to make it look like regular text
> * $text shows the current title
> * 1st $reveal sets $:/state/slider/NameOfTiddler to "show" when $button is 
> pressed
> * 2nd $reveal deletes $:/state/slider/NameOfTiddler when $button is pressed
> * 3rd $reveal does $transclude when $:/state/slider/NameOfTiddler is set 
> to "show"
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/166f0323-9616-4f3f-b90e-159f845cc420n%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Atronoush
This is a smart solution Eric! Is it possible to have a button to expand 
collapse all tiddler?

--Atro


On Sunday, November 8, 2020 at 3:56:07 PM UTC+3:30 Eric Shulman wrote:

> On Sunday, November 8, 2020 at 2:08:47 AM UTC-8, Sapphireslinger wrote:
>>
>> Is there a way to do this?
>>
>> <$list filter="[tag!sort[title]]">
>> <$link><$transclude field="title" mode="block"/> *This 
>> line is what I want sliderized.*
>> <$transclude field="text" mode="block"/> *Only want this to show up 
>> (inline) if I click on the above title.*
>> 
>>
>
> Try this:
> <$list filter="[tag!sort[title]]">
> 
> <$button class="tc-btn-invisible" >
><$text text={{!!title}} />
><$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
> type="nomatch" text="show">
>   <$action-setfield $tiddler={{{ 
> [[$:/state/slider/]addsuffix] }}} text="show" />
>
><$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
> type="match" text="show">
>   <$action-deletetiddler $tiddler={{{ 
> [[$:/state/slider/]addsuffix] }}} />
>
> 
> 
> <$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
> type="match" text="show">
><$transclude field="text" mode="block"/>
> 
> 
>
> Notes:
> * $button uses class="tc-btn-invisible" to make it look like regular text
> * $text shows the current title
> * 1st $reveal sets $:/state/slider/NameOfTiddler to "show" when $button is 
> pressed
> * 2nd $reveal deletes $:/state/slider/NameOfTiddler when $button is pressed
> * 3rd $reveal does $transclude when $:/state/slider/NameOfTiddler is set 
> to "show"
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea69fe5b-4816-45b0-986a-d52f3d41449dn%40googlegroups.com.


[tw5] Re: Use _canonical_uri to embed an external plain text file?

2020-11-08 Thread si
Hi Tones,

The HTML object method does display the file, but I can't add annotations 
to with dynannotate.I realize I was not clear about what I wanted to use 
the file for in my original post.

I'm trying to get the text file to display just as though it were a plain 
text tiddler stored in the wiki. I know I won't be able to edit it from the 
wiki, but I was hoping that I would be able to add annotations with 
dynannotate.

On Friday, 6 November 2020 22:11:40 UTC, TW Tones wrote:
>
> Si,
>
> Have you tried the html object tag?
>
> I have a newtworkcheck batch that I launch from a TiddlyDesktop wiki, that 
> returns the result in a text file.
>
>
>  > Go
>
> <$button set="Networkcheck!!last-refresh" setTo=<> >
> Refresh {{Networkcheck!!last-refresh}}
> 
>
>  "file:///C:\Data\batches\networkcheck.txt"> 
>
> It also has a button that sets a field to cause a refresh and time stamps 
> it.
>
> Tones
>
>
> On Saturday, 7 November 2020 05:21:09 UTC+11, si wrote:
>>
>> I have some external source-code files that I would like to add to my 
>> wiki as plain text so that I can make notes on them.
>>
>> Rather than making another copy of the text, I thought I would be able to 
>> embed the file as I would a PDF or HTML file.
>>
>> I set _canonical_uri to ./folder/code.py and changed the type to 
>> text/plain. This didn't work.
>>
>> I noticed that if I change the type to text/html, the text does get 
>> embedded as though it were an html file.
>>
>> Is there any way to embed text and have it appear as regular plain text?
>>
>

-- 
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/940a94ba-02bf-45cc-9424-5aba53456ad7o%40googlegroups.com.


[tw5] Re: list-filter-called titles sliderized

2020-11-08 Thread Eric Shulman
On Sunday, November 8, 2020 at 2:08:47 AM UTC-8, Sapphireslinger wrote:
>
> Is there a way to do this?
>
> <$list filter="[tag!sort[title]]">
> <$link><$transclude field="title" mode="block"/> *This 
> line is what I want sliderized.*
> <$transclude field="text" mode="block"/> *Only want this to show up 
> (inline) if I click on the above title.*
> 
>

Try this:
<$list filter="[tag!sort[title]]">

<$button class="tc-btn-invisible" >
   <$text text={{!!title}} />
   <$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
type="nomatch" text="show">
  <$action-setfield $tiddler={{{ 
[[$:/state/slider/]addsuffix] }}} text="show" />
   
   <$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
type="match" text="show">
  <$action-deletetiddler $tiddler={{{ 
[[$:/state/slider/]addsuffix] }}} />
   


<$reveal state={{{ [[$:/state/slider/]addsuffix] }}} 
type="match" text="show">
   <$transclude field="text" mode="block"/>



Notes:
* $button uses class="tc-btn-invisible" to make it look like regular text
* $text shows the current title
* 1st $reveal sets $:/state/slider/NameOfTiddler to "show" when $button is 
pressed
* 2nd $reveal deletes $:/state/slider/NameOfTiddler when $button is pressed
* 3rd $reveal does $transclude when $:/state/slider/NameOfTiddler is set to 
"show"

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/75c15f97-ed3c-454c-9c7a-7449448bfd02o%40googlegroups.com.


[tw5] Re: Tufte-like sidenotes: generate random ids

2020-11-08 Thread Cyrill Andreani
Hey Anjar,

I second your approach and need on visual context with the text content of 
the tiddler. Perhaps you will find some ideas in two (nearly) similar 
projects ?

https://tid.li/tw5/numbers.html
http://cherrypicker.tiddlyspot.com/


Best regards

Ste schrieb am Mittwoch, 4. November 2020 um 13:18:59 UTC+1:

> Tufte looks interesting!
>  
>
> On Tuesday, 3 November 2020 at 23:28:16 UTC Anjar wrote:
>
>> Hi all!
>>
>> Some of you may be familiar with Edward Tufte (
>> https://edwardtufte.github.io/tufte-css/), and I think his sidenote 
>> approach can be useful in TiddlyWiki as well if one wants to add comments 
>> to the contents of a tiddler. I tried to make a simple macro which work 
>> fairly well, but to make a new number for each comment, I need to generate 
>> a unique ID for it. Is this possible or do I need another approach? For 
>> example, I added highlighting on hover which may reduce the need for unique 
>> identifiers., but it would still be nice for say printing. 
>>
>> \define comment(txt)
>> > class="margin-toggle sidenote-number">
>> 
>> > id="sn-demo"
>> class="margin-toggle"/>$txt$
>> \end
>>
>> 
>> .comment:hover .sidenote {
>> background-color: yellow;
>> }
>>
>> input.margin-toggle {
>> display: none;
>> }
>>
>> label.sidenote-number {
>> display: inline;
>> }
>>
>> label.margin-toggle:not(.sidenote-number) {
>> display: none;
>> }
>>
>> .sidenote,
>> .marginnote {
>> float: right;
>> clear: right;
>> margin-right: -60%;
>> width: 50%;
>> margin-top: 0.3rem;
>> margin-bottom: 0;
>> font-size: 1.1rem;
>> line-height: 1.3;
>> vertical-align: baseline;
>> position: relative;
>> }
>>
>> .sidenote-number {
>> counter-increment: sidenote-counter;
>> }
>>
>> .sidenote-number:after,
>> .sidenote:before {
>> font-family: et-book-roman-old-style;
>> position: relative;
>> vertical-align: baseline;
>> }
>>
>> .sidenote-number:after {
>> content: counter(sidenote-counter);
>> font-size: 1rem;
>> top: -0.5rem;
>> left: 0.1rem;
>> }
>>
>> .sidenote:before {
>> content: counter(sidenote-counter) " ";
>> font-size: 1rem;
>> top: -0.5rem;
>> }
>> 
>>
>> This<> is an<> 
>> example<>
>>
>>
>> Best,
>> Anders
>>
>

-- 
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/ea470891-d179-43aa-9639-d9e9ff4af0e7n%40googlegroups.com.


[tw5] list-filter-called titles sliderized

2020-11-08 Thread Sapphireslinger
Is there a way to do this?

<$list filter="[tag!sort[title]]">
<$link><$transclude field="title" mode="block"/> *This 
line is what I want sliderized.*
<$transclude field="text" mode="block"/> *Only want this to show up 
(inline) if I click on the above 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/daac3aef-6c4b-41b7-9899-5ed4494b2c5dn%40googlegroups.com.


[tw5] Re: button to create tiddler tagged with currentTiddler title, author field variable

2020-11-08 Thread Sapphireslinger
Thank you! Works great!
(Sorry didn't thank you sooner. Sometimes I go weeks without logging in.)

On Monday, October 19, 2020 at 11:12:15 PM UTC+8 Eric Shulman wrote:

> On Monday, October 19, 2020 at 7:30:49 AM UTC-7, Sapphireslinger wrote:
>>
>> When I hit the "New Quote" button embedded in all my book tiddlers, I 
>> want to get a new tiddler tagged with (1) the title of the currentTiddler, 
>> (2) the variable contained in the author field and (3) the word "quote". 
>> I searched and tried all kinds of permutations for 2 hours but can't 
>> figure it out. The version below makes a tag for every word of the tiddler 
>> title and the author field, besides creating a weird field. :P 
>>
>
> Give this a try:
> \define newtags() [[$(currentTiddler)$]] [[$(author)$]] [[quote]]
>
>
> <$list filter="[prefix[Book -]]">
>
><$button> New Quote
>   <$vars author={{!!author}}>
>   <$action-sendmessage $message="tm-new-tiddler" title=< ".0MM.0DD.0hh0mm0ss 
> QUOTE - ">> tags=<> />
>   
>
>
><$list filter="[tag!sort[title]]">
><$link><$transclude field="title" mode="block"/>
><$transclude field="text" mode="block"/>
>
> 
>
> Notes:
> 1) The newtags() macro constructs the desired tags field value, using 
> [[...]] around each tag to handle spaces embedded in the current tiddler's 
> title and author fields
> 2)  The $button gets the author field value as a variable, so that the 
> newtags() macro can refer to $(author)$ internally
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/26f134fa-1b5b-48dd-8ea3-da42c4445b91n%40googlegroups.com.


Re: [tw5] Re: Calculating transcluded tiddler and conditionals

2020-11-08 Thread W Yan
Thank you so much for the answers! I've just tried them and they work great. W Yan 08.11.2020, 10:14, "Eric Shulman" :On Saturday, November 7, 2020 at 10:26:52 PM UTC-8, W Yan wrote:1. How could I calculate something based on transcluded tiddler? I have a state tiddler that contains dynamic values and I want to use it with calculated output; Something like {{Tiddler}}/2. I tried <$text text={{{ {{Tiddler}} +[divide[2]] }}}> but it didn't work.* The syntax surrounding a "filtered transclusion" is: {{{ [...filter goes here...] }}}* Within filters, use SINGLE curly braces to fetch the contents of a tiddler.* Since there is no matching , use "/>" to end the $text widget.Thus:<$text text={{{ [{Tiddler}divide[2]] }}} />2. It is more like a mathematic question, but will it be possible to get a decreasing value when state tiddler is increasing? For example, when state tiddler value is ...10, 12, 14... I would like to get calculated output of ...8, 7, 6...The mathematical relationship between these numbers is not clear.  If you can provide an equation that shows how each input value gives the corresponding output value, I can probably show you how to write it as a filter. 3. I'd like to set a text to show when a state tiddler is empty, and when state tiddler contains a value it shows that value instead of default text. So basically {{stateTiddler}}is[empty]then[defaultText]else{{stateTiddler}} something like that.* The keyword for the is[...] filter should be "blank", not "empty".  Thus:<$text text={{{ [{stateTiddler}is[blank]then[defaultText]else{stateTiddler}] }}} />* You can simplify the above as:<$text text={{{ [{stateTiddler}else[defaultText]] }}} />enjoy,-e 



-- 
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8055b51a-7fb0-4e69-b471-966d30891823o%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/164931604827492%40mail.yandex.com.


Re: [tw5] Re: Is there any way to export TiddlyWiki to a list of markdown files?

2020-11-08 Thread Cyneox
Wow, that tool is awesome. Especially when you use jupyter/ipython. Thanks
for sharing.

Victor

On Sun, Nov 8, 2020, 06:17 Altug Ozcelikkale 
wrote:

> If you don't mind using python, there is also PyTiddlyWiki that can export
> a group of tiddlers to .md among other formats.
>
> https://github.com/eniacization/PyTiddlyWiki
>
> Best wishes,
> -Altuğ
>
> On Wednesday, November 4, 2020 at 1:04:12 PM UTC+3, Ilyusha Nicolas wrote:
>>
>> I have a html with many tiddlers, with tags and links. I want to find a
>> way to export this html to a list of markdown files such that each tiddler
>> corresponds to a markdown file, each link to X shows up as "[[X]]" in the
>> output markdown file, similarly with tags?
>>
>> --
> 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/tWCfJxf_X18/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/6d527ede-28b0-4c93-a43b-4af77b132499o%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/CAO%3DLbP6Ec1xjYMD%2Bgij%3DQjquxKD2JS-A%2B84TRQWngzxLF3XVjQ%40mail.gmail.com.