[tw5] Re: Leaflet map plugin - filtering Feature collection geojson

2020-09-22 Thread Sycom
Definitely,

it's a known issue. I will add a setting button to enable / disable this 
(one day), but for now you will have to make it "by hand" :

   1. go to  $:/plugins/sycom/leaflet/templates/geoTiddler  template tiddler
   2. edit it,
   3. remove $:/tags/ViewTemplate tag and save.

Or you may edit this template to fit your taste...

Cheers

Sylvain
@sycom
Le mardi 22 septembre 2020 à 12:09:22 UTC+2, Darek Bobak a écrit :

> Ok, I understand. I'm playing with JSON Mangler now.
>
> And another question: when I create tiddler with geo data (like, field 
> "point" with coordinates), the map is displayed in tiddler by default. Is 
> it possible to turn the map off? I would like rather display it by the 
> $leafmap widget in view template.
>
> cheers,
> Darek
>
> wtorek, 22 września 2020 o 12:03:27 UTC+2 Sycom napisał(a):
>
>> Hi Darek,
>>
>> I can reply very shortly to this I'm afraid : no.
>>
>> The filter parameter in Leaflet map plugin was only designed for 
>> tiddlers. And I guess that filter in TiddlyWiki was not designed for such 
>> complex json neither. May be Joshua's JSON mangler plugin can help? I do 
>> not know them enough to say.
>>
>> As a workaround, you may convert your json data to tiddlers with an 
>> external script, import them and then use filter.
>>
>> Cheers,
>>
>> Sylvain
>> @sycom
>>
>> Le lundi 21 septembre 2020 à 23:28:44 UTC+2, Darek Bobak a écrit :
>>
>>> Is it possible to display on the map only selection of features (by name 
>>> or other property) from geojson containing a multiple locations - 
>>> FeatureCollection.
>>>
>>> Sample geojson:
>>> {
>>>   "type": "FeatureCollection",
>>>   "features": [
>>> {
>>>   "type": "Feature",
>>>   "geometry": {
>>> "type": "Point",
>>> "coordinates": [
>>>   13.190206,
>>>   48.649078
>>> ]
>>>   },
>>>   "properties": {
>>> "name": "Albersdorf",
>>> "type": "Open",
>>> "elevation": ""
>>>   }
>>> },
>>> {
>>>   "type": "Feature",
>>>   "geometry": {
>>> "type": "Point",
>>> "coordinates": [
>>>   12.190206,
>>>   48.649078
>>> ]
>>>   },
>>>   "properties": {
>>> "name": "Pfellnkofen",
>>> "type": "Open",
>>> "elevation": ""
>>>   }
>>> }
>>>   ]
>>> }
>>>
>>> best,
>>> Darek
>>>
>>

-- 
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/7f12ef0d-1bf6-4e3e-957e-fa08bd0172d9n%40googlegroups.com.


[tw5] Re: Leaflet map plugin - filtering Feature collection geojson

2020-09-22 Thread Sycom
Hi Darek,

I can reply very shortly to this I'm afraid : no.

The filter parameter in Leaflet map plugin was only designed for tiddlers. 
And I guess that filter in TiddlyWiki was not designed for such complex 
json neither. May be Joshua's JSON mangler plugin can help? I do not know 
them enough to say.

As a workaround, you may convert your json data to tiddlers with an 
external script, import them and then use filter.

Cheers,

Sylvain
@sycom

Le lundi 21 septembre 2020 à 23:28:44 UTC+2, Darek Bobak a écrit :

> Is it possible to display on the map only selection of features (by name 
> or other property) from geojson containing a multiple locations - 
> FeatureCollection.
>
> Sample geojson:
> {
>   "type": "FeatureCollection",
>   "features": [
> {
>   "type": "Feature",
>   "geometry": {
> "type": "Point",
> "coordinates": [
>   13.190206,
>   48.649078
> ]
>   },
>   "properties": {
> "name": "Albersdorf",
> "type": "Open",
> "elevation": ""
>   }
> },
> {
>   "type": "Feature",
>   "geometry": {
> "type": "Point",
> "coordinates": [
>   12.190206,
>   48.649078
> ]
>   },
>   "properties": {
> "name": "Pfellnkofen",
> "type": "Open",
> "elevation": ""
>   }
> }
>   ]
> }
>
> best,
> Darek
>

-- 
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/82652a89-0e0c-47b6-8ebe-0fce91290324n%40googlegroups.com.


[tw5] Re: How to use a field value in a json string?

2020-03-06 Thread Sycom
Hi Beckstrom,

if your tiddler is actually a geoTiddler (i.e. it has at least one point(s), 
line(s), polygon(s), place or geojson field) it should automatically 
display a map at the bottom of the tiddler.

This behaviour is defined through the 
$:/plugins/sycom/leaflet/templates/geoTiddler tiddler. You may edit this 
one to modify default appearance of the map or disable it.

I'm not sure how your wiki works or what you want to do. If you have 
geoTiddlers you can map them directly :

<$leafmap places='{"tiddler":"Belgium"}' />


or through a filter

<$leafmap places='{"filter":"[tag[country]tag[Europe]]"}' />


Due to leaflet map widget syntax, I'm afraid that "dynamic call" should be 
made through macros you will have to define locally or globally (see 
https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText). Very unsure 
about your success with this strategy since the plugin was not designed for 
this...

If this is not the behaviour you expected, feel free to share (a part of) 
your wiki and describe what you want to achieve. I have not much time now 
since I just started a new job, but I will try to help you asap.

cheers,

Sylvain
@sycom


Le vendredi 6 mars 2020 13:53:41 UTC+1, Beckstrom a écrit :
>
> Hi all, 
>
> First of all this is probably the most awesome and useful piece of 
> software I’ve ever used. I love it! 
>
> I’ve been trying to figure out how to include a map automatically in any 
> tiddler that is a “place,” for instance “starbucks on main” or “Belgium.” 
> I’ve been trying to use the Leaflet Maps plugin from here: 
> http://sycom.github.io/TiddlyWiki-Plugins/ 
>
> According to the docs, if you add a field called “point” or “points” and 
> put a comma separated list of the lat/lon(eg 45.3347,-85.72882) you can 
> access the field and generate the map 
>
> It works if I hardcore latitude and longitude when I call the widget, like 
> this: 
>
> <$leafmap tile='sat' 
> places='{"point":"6.5,19.72" /> 
>
>  but i can’t figure out how to dynamically access the “point” field for 
> tiddlers. I’ve tried all sorts of things, such as 
>
> <$leafmap tile='sat' 
> places='{"point":"{{!!point}}" /> 
>
> It seems like no matter what i do, the variable is not expanded because of 
> the double quotes inside the json. 
>
> Any idea how I could make this work? Please and thanks in advance for your 
> help!! 
>

-- 
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/7302965a-32aa-4709-ab95-2e73424a8f4d%40googlegroups.com.


[tw5] Re: Bold in a li?

2019-11-24 Thread Sycom
Hello,

As I'm working on a static pages variant what I can say about wikitext html 
interpretation is that it is one of the most semantically "right" I've seen. 
It's a pleasure to work with it.

I think this equivalence table would be a good piece for devs doc. It does not 
exist in official docs because modern browsers make it easy and painless to 
have the answer. So none of us had taken time to make it happen... But maybe 
someone has it in a private or not well known wiki...

Cheers

Sylvain
@sycom

-- 
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/ba7d75b1-cd00-45a5-8d81-9610008fd1b4%40googlegroups.com.


[tw5] Setting a field value from within SVG

2019-11-21 Thread Sycom
Hello,

I think you should put your svg image inside a button with an ActionWidget.

See https://tiddlywiki.com/#ActionSetFieldWidget

Cheers

Sylvain
@sycom

-- 
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/ebe33a64-c188-4df3-84f0-c649bc7e7dfb%40googlegroups.com.


[tw5] Mohammad Are you there?

2019-11-20 Thread Sycom
Hello,

Nothing to share for know. Just to say that I'm with you. 

I wish this is only a side effect of a tough internet blackout. It appears that 
last @kookma's activity on GitHub is one week old. Just like here on GG if I'm 
not wrong.

I'm not aware enough to know what type of internet blockage is set in Iran. 
Sometimes not only classic connections but also p2p and other protocols are 
blocked...

Wish the best to all of you. Particularly to you Mohammad. Thank you Tony for 
this gentle reminder.

Cheers

Sylvain
@sycom

-- 
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/c5038933-6c52-4403-ab60-2c2253ea10b4%40googlegroups.com.


Re: [tw5] Re: Export PDF, Doc, Docx Plugin

2019-11-12 Thread Sycom
Hello,

You won't have much success with this request I'm afraid. As far as I know 
there are bounties on xsl converters for docx / HTML / markdown / odt etc. And 
nobody hunting...

So I guess that free (hard) work on a docx to tw converter will not have much 
volunteers. 

Maybe you could look to a routine (or even a macro) inside your word processor 
to make some of the job :

* detect title 2 -> add ##
* detect bold -> add '' ''
* ...

Cheers

Sylvain
@sycom

-- 
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/79b6224a-de34-465e-a993-b2a7394aab7f%40googlegroups.com.


[tw5] Re: feather-icons not visible when export tiddler

2019-11-12 Thread Sycom
Hi Markus,

I have a workaround for you. Not implemented yet, since I have to make some 
test about other solutions (since this one involve a core tiddler which I'm 
not very fond of) but you can do it by yourself if you want to solve your 
problem right now :

* edit tiddler $:/core/templates/exporters/StaticRiver
* just after the  tag insert 
{{$:/plugins/sycom/feather-icons/lib/feather-sprite.svg||$:/core/templates/plain-text-tiddler}}
* save and reload

I'm not sure about the "*i am open the tiddler in new window (to print)*" 
part of your issue. I'm not familiar with the "open the tiddler in a new 
window" process. Can you describe more precisely what you are doing here?

Cheers,

Sylvain
@sycom

Le lundi 11 novembre 2019 20:40:06 UTC+1, Markus Adler a écrit :
>
> Hi Sylvain,
>
> thank you for your reply. Yes, please fill an issue on framagit.
> I hope you can fix this problem as soon as posible. I have time to wait 
> for this feature.
>
> Cheers ;)
>
> Am Montag, 11. November 2019 20:21:29 UTC+1 schrieb Sycom:
>>
>> Hello,
>>
>> I'll fill it as an issue (or you can if you want : 
>> https://framagit.org/sycom/TiddlyWiki-Plugins/issues)
>>
>> I guess it is a problem with the way icons are displayed with > > I'll try a fix as soon as possible but I will not have much time during 
>> upcoming weeks.
>>
>> Cheers
>>
>> Sylvain
>> @sycom
>>
>>

-- 
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/4b0091f9-2721-4cfd-9c9d-63123d6c7705%40googlegroups.com.


[tw5] feather-icons not visible when export tiddler

2019-11-11 Thread Sycom
Hello,

I'll fill it as an issue (or you can if you want : 
https://framagit.org/sycom/TiddlyWiki-Plugins/issues)

I guess it is a problem with the way icons are displayed with https://groups.google.com/d/msgid/tiddlywiki/07fe9af8-84e3-4735-86bf-1e96c7eba7d1%40googlegroups.com.


Re: [tw5] Re: How to accomplish the listed features in Tiddly Wiki

2019-11-07 Thread Sycom
Hello,

> Imported all the text files, tagged and search is working fine...

Glad you did it. I'd be happier to know how and what exactly, since we never 
learn enough. Don't hesitate to share your bash scripts or anything that helped 
you accomplish this...

> However it is possible to highlight the keyword entered instead of manually 
> again click ctr+f and put the same keyword. Is it possible or already 
> available with a setting..

I'm not sure if what you're trying to do. So can't help. I guess you'll have to 
code this one yourself.

> Also, want to add a customized text field with javascript on top of the wiki 
> and wants to get that saved as well on every change...

I've no idea at all of what your needs are with try his one. And I guess that 
others will need more accurate description to help. What means "customized", 
"on top", "saved" and "every change" more precisely?
I wrote more words asking this than you describing what you want. I think it's 
a hint :-)

Cheers

Sylvain
@sycom

-- 
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/0f814eab-db83-40ab-89fc-48c60369d930%40googlegroups.com.


[tw5] Re: How to accomplish the listed features in Tiddly Wiki

2019-11-06 Thread Sycom
Hello,

As a complement to what Tony wrote:

* You may preserve your files using the nodejs version of tiddlywiki, but
   * you may have to create a .txt.meta file for each (with bash I mean, not by 
hand ;-) if you want to make the whole work properly,
   * You may miss some important and cool features of tiddlywiki that a 
conversion to .tid could bring.
* you are writing about title, language etc. Kind of metadatas. Where are they 
stored? In the files? In the directory structure?
* Maybe some .txt samples would help to figure out the big picture
* Please be more precise about your reversibility needs. 

Cheers

Sylvain
@sycom

-- 
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/c94558c2-4947-4764-91fc-207eb0646468%40googlegroups.com.


[tw5] Tiddler Background

2019-11-06 Thread Sycom
Hi,

Habe a look at this thread. I think the issue can be solved by tweaking

* Xlmns declaration
* Tiddler type attribute

Cheers

Sylvain
@sycom

-- 
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/a450bba2-8c0b-45a2-8175-5dcb5ed9f507%40googlegroups.com.


[tw5] How to add group for untagged tiddlers to table of contents?

2019-11-03 Thread Sycom
Hi 

Maybe [... !has[tags]] ?

Cheers

Sylvain
@sycom

-- 
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/5e8f3e79-e6c1-4064-9ca0-3f17a05c3a09%40googlegroups.com.


Re: [tw5] Re: How to include some JavaScript code in a Node.js TiddlyWiki

2019-11-03 Thread Sycom
Hi

> How can I exclude it (same for tw5-keyboard-navigation.html and 
> tw5-keyboard-navigation-plugin.html)?

I think you should put them outside your plugins/MaxGyver83 folder

> Why is does navigation.css include an absolute path? (navigation.js does not!)

tw will import tid files as tiddlers but not others (for which it creates basic 
metadata). Try renaming .css as .tid. You can also put all metadata in a 
separate .css.meta file.

Hope I did not missed the point

Cheers

Sylvain
@sycom

-- 
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/9ca62e43-4e9f-46d8-b6d2-afe16cdd3de3%40googlegroups.com.


[tw5] Re: CSS question regarding the html tag

2019-10-30 Thread Sycom
Hello Hubert,

I think Magnus is using an urlencoded version of the svg. You can have it with 
<$view tiddler="your_tiddler” format="urlencoded" />. See viewWidget 
documentation for a double check.

Cheers

Sylvain
@sycom

-- 
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/7b02052d-4de5-4d49-bd93-8590999f20ff%40googlegroups.com.


[tw5] Re: Philosophy & TW -- Title v. Content

2019-10-30 Thread Sycom
Maybe do not display {{!!title}} but a set of filter on the currentTiddler ?

Sylvain
@sycom

-- 
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/f5b5dd9d-117b-44dd-9303-4c2a9b1b6b57%40googlegroups.com.


[tw5] Question about: Printing in Tiddlywiki

2019-10-28 Thread Sycom
Hello Mohammad,

As far as I know much of the problems with printing are browser's problems, far 
more than tw's. A lot of prints rules are not implemented nor consistent.

I struggled with this for a professional project. It's only a demonstrator and 
will not go further. And maybe it will not help at all. But you may find hints 
(or not ;-) within stylesheet.

* https://know-rmandie.frama.io/TiddlyPAC/tiddlyPAC-Normandie.html for "print" 
testing (in a PDF of course it's about 50 pages long ;-)
* https://framagit.org/know-rmandie/TiddlyPAC for the code

Cheers

Sylvain
@sycom

-- 
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/3b1fa77f-6f05-43e7-b6dc-bb3c6fcf483d%40googlegroups.com.


[tw5] How to include some JavaScript code in a Node.js TiddlyWiki

2019-10-27 Thread Sycom
Hello,

Not sure :
* You may have to declare your script differently: not using a .js.meta file 
but with a tiddlyWiki.files file.
* Also the script may need some special declarations as comments, like

```
/*jslint node: true, browser: true */
/*global $tw: false */
```

Did you look at 
https://github.com/Jermolene/TiddlyWiki5/core/modules/keyboard.js as an 
"inspiration" ?

Hopefully someone who knows what he does will have a better answer...

Cheers

Sylvain
@sycom

-- 
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/f55fd5ce-5208-4a60-a7f6-c6dd0317c380%40googlegroups.com.


[tw5] A little transclude toy "code play"

2019-10-27 Thread Sycom
Hello Tony,

I'm using something similar for my i18n macro.
https://groups.google.com/forum/m/#!topic/tiddlywikidev/a9rq0wsaGvs


* If a translation exists, it is displayed
* Else
* A message with link to the translation to be created is displayed
* If an original exists it is displayed
* else A message with link to the original tiddler to be created is 
displayed

In my case it's not $:/NS/ but $:/a_domain/i18n/lg-LG/ but the mechanism is the 
same.

Cheers

Sylvain
@sycom

-- 
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/004fc010-85e9-48f2-b861-06f4e4a010b8%40googlegroups.com.


[tw5] Re: TW-Scripts Weekly Update

2019-10-25 Thread Sycom
GG is a huge mystery :-D

Like any code that was a work in progress and has been abandonned for along 
time...

Have good time

Sylvain
@sycom

-- 
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/9a47e42d-17e4-4b30-9f1e-9ac6398362cf%40googlegroups.com.


[tw5] CSS question regarding the html tag

2019-10-24 Thread Sycom
I tried this once.

I had to base64 encode my svg. Not nice... Finished up by defining a macro. I 
will try to find it in my messy archives...

But I didn't ask here. So let's wait for a better solution ;-)

Regards

Sylvain
@sycom

-- 
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/9140f0d6-cf1e-4977-99f1-607997121de4%40googlegroups.com.


[tw5] Re: [TW5] Wiki opens to blank screen

2019-10-24 Thread Sycom
Maybe the 7:31 added something that created the bad ones?

-- 
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/02859f55-3c69-4c6e-a4d4-432eb8b55267%40googlegroups.com.


[tw5] [TW5] Tobias's appear vs. Mohammad's Refnotes

2019-10-21 Thread Sycom
Hi,

In my humble opinion they have very different purposes.
* Refnotes is a very nice implementation of footnotes, references and 
abbreviations. Like in classic academics publication. In a very semantic way.
* Appear allows you to enrich a text with optional or additional content. This 
content can also be formatted and will extend reader experience. It is a nice 
usage of onscreen reading capabilities for empowering publications.

So if your purpose is providing robust sources, references, explanations or a 
bibliography, refnotes is the good way to go.
But if you want to make your publication reactive to the reader, with optional 
rich text parts within your publication (sort of book) appear is your tool.

Use both ;-)

Regards

Sylvain
@sycom

-- 
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/216f332a-79d5-43ea-9397-1be37c8e752d%40googlegroups.com.


[tw5] Re: Applying NOT in custom styles by data-tiddler-title

2019-10-21 Thread Sycom
No offense. I'm both (and also many others ;-)

Regards,

Sylvain
@sycom

Le lundi 21 octobre 2019 13:34:21 UTC, Hubert a écrit :
>
> I meant to say, thank you Sylvain.
>
> Regards,
> Hubert
>

-- 
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/93fd11b2-3e0b-4063-9d33-3a3299ca3ae8%40googlegroups.com.


Re: [tw5] Re: How to get stuff into tw

2019-10-21 Thread Sycom
 to have all this in a 
TiddlyWiki using TiddlyDesktop. 
   * If you think that Draft can export your notes in an xls file, you may 
use the xls-utils described above. You will have to learn how to. The 
xsl-utils is powerfull BUT a bit cryptic at first sight.

Hope this helps you to find a path. 

Regards,

Sylvain
@sycom

-- 
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/b602225e-8572-4810-a36b-c84b262364d3%40googlegroups.com.


[tw5] Re: Applying NOT in custom styles by data-tiddler-title

2019-10-21 Thread Sycom
Hello,

Something like this should work

.tc-tiddler-frame:not([data-tiddler-title^="$:/"]) .tc-titlebar h2 {
   background: yellow; 
}


Cheers

Sylvain
@sycom

Le lundi 21 octobre 2019 12:41:10 UTC, Hubert a écrit :
>
> Thanks TiddlyTweeter.
>
> The problem I have is that I want to leave the default browser styling for 
> the system tiddlers and only style whatever is a non-system tiddler. I 
> don't know what the default styling is (it most likely differs from browser 
> to browser) and so naturally I don't want to guess and then do it 
> explicitly. I'd rather just leave it as it is by default and only focus on 
> styling non-system tiddlers.
>
> The example I gave with background was just for ease of illustration. What 
> I'm actually trying to do is remove system tiddlers from my heavy styling 
> affecting checkboxes, these affect many cascading attribute selectors etc.
>
> Many thanks,
> Hubert
>
> On Monday, 21 October 2019 13:20:43 UTC+1, @TiddlyTweeter wrote:
>>
>> I don't think that CSS method supports negative regular expressions.
>>
>> One way to acheive what you want might be to define a global rule and 
>> then override it for System Tiddlers ...
>>
>> .tc-titlebar h2 {
>> background: yellow;
>> }
>> [data-tiddler-title^="$:/"] .tc-titlebar h2 {
>> background: transparent;
>> }
>>
>> This uses the CSS "cascade" to over-write the standard rule for specific 
>> cases.
>>
>> Best wishes
>> TT 
>>
>> On Monday, 21 October 2019 12:14:09 UTC+2, Hubert wrote:
>>>
>>> Hello,
>>>
>>> In reference to custom styles by data-tiddler-title 
>>> <https://tiddlywiki.com/#Custom%20styles%20by%20data-tiddler-title:%5B%5BCustom%20styles%20by%20data-tiddler-title%5D%5D%20HelloThere%20GettingStarted%20Community>,
>>>  
>>> I would like to make some CSS styling that will be applied everywhere 
>>> *except* system tiddlers.
>>>
>>> I have the code below, put I would need to flip it to *NOT* somehow. 
>>> Would anyone have an idea how this could be done?
>>>
>>> [data-tiddler-title^="$:/"] .tc-titlebar h2 {
>>> background: yellow;
>>> }
>>>
>>> Thanks,
>>> Hubert
>>>
>>>

-- 
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/882bbdab-290f-4cef-aa51-83cde65f0bf8%40googlegroups.com.


[tw5] Re: How to get stuff into tw

2019-10-20 Thread Sycom

Hi

The issue with markdown is its not fully compatable with TW's WikiText. 
>
I find the markdown plugin is doing a decent job. Never had problems with 
it though it's pretty old. Also there will be an update using remarkable. 
My only regret is that you have to store metadata in another file when most 
of modern md systems store them in the file, just like .tid does for a long 
time.

It might be useful to provide Online Convertors in TW between formats?
>
Why not? It might. The problem is that such translators will restrain your 
output to "minimal common functionalities" of both language. A bit sad. I 
think plugins are a good way, even for beginners.

I agree with the fact that TW is not so easy for beginners. And it's not so 
easy to convince new people to use it. BUT :
- It is the price of freedom. I've been trying alternatives for years for 
good or bad reasons. I never found any tool that free my mind and work like 
TW.
- The learning curve is adaptative. Soft if you need. Steep if you wish.

One of the main issue is that you have plenty ways of doing the same thing. 
But it's rather a feature, isn't it? :-)

Regards

Sylvain
@sycom

 
Le dimanche 20 octobre 2019 14:48:44 UTC+2, @TiddlyTweeter a écrit :
>
> TonyM wrote:
>>
>> ... I think tiddlywiki has more options than most for capture and 
>> transfer. 
>>
>
> I think you are right AND wrong.
>
> I could NOT say there are that many "easy out of the box" methods.
> I think TW is quite TOUGH on this for beginners.
>
> I could also say that ONCE you understand it anything is possible.
>
> It might be useful to provide Online Convertors in TW between formats?
>



 

>
> TT
>  
>

-- 
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/4c2dbe22-3015-406a-9120-2197af429d28%40googlegroups.com.


[tw5] How to create a tag list tab in the Sidebar ?

2019-10-20 Thread Sycom
Sorry. Wrong link (permalink copy has failed) I will also update the post for 
the record...

https://tobibeer.github.io/tb5/#Tags%20In%20Main%20Sidebar%20Tabs

-- 
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/8ce0ed69-47a4-44a6-9ab2-3b8c93b58d2c%40googlegroups.com.


[tw5] How to create a tag list tab in the Sidebar ?

2019-10-20 Thread Sycom
By the way Tobias described his process pretty well : 
https://tiddlywiki.com/#How%20to%20add%20a%20new%20tab%20to%20the%20sidebar

Cheers

Sylvain
@sycom

-- 
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/2c51c188-4c0e-4d42-8991-4984efa7975c%40googlegroups.com.


[tw5] How to create a tag list tab in the Sidebar ?

2019-10-20 Thread Sycom
Hello

The quick way :
- open and edit $:/core/ui/MoreSideBar/Tags tiddler
- add "$:/tags/SideBar" as a tag
- add a "list-after" or "list-before" field to define tab position relative to 
others.

You can refine this. Create your own "tags list" tiddler and refer to this doc 
to include it in sidebar : 
https://tiddlywiki.com/#How%20to%20add%20a%20new%20tab%20to%20the%20sidebar

If your point is "how to make a tags list", please give more context and goals. 
What tags do you want in the list? How will they be displayed? And so on.

Regards

Sylvain
@sycom

-- 
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/49f009a7-d2c3-4c15-8aa8-54ceaa74c2ed%40googlegroups.com.


[tw5] How to get stuff into tw

2019-10-20 Thread Sycom
Maybe you can export your drafts node as individual markdown files. Inspired 
from this: 
https://forums.getdrafts.com/t/export-multiple-drafts-as-individual-text-files/4536

Then using tiddlydesktop or directly nodejs TiddlyWiki, you'll be able to 
import them.

- You will need the markown plugin
- You may have to create a recipe for your export for creating .md.meta files 
alongside markdown ones.

Know it's not so easy. But possible. Maybe there are other ways also (through 
Evernote?)

Cheers

Sylvain
@sycom

-- 
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/13a71d3b-8fa3-4002-b125-cc021f8e21c3%40googlegroups.com.


[tw5] Just a bit of a test

2019-10-19 Thread Sycom
And now we're very curious of what this test is about...

Please don't let us die wondering ;-)

Sylvain
@sycom

-- 
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/9688207d-71c5-420c-9aca-28e292b26e07%40googlegroups.com.


[tw5] How to write a placeholder for letters in a search, filter or regexp

2019-10-17 Thread Sycom
Hi

What you're talking about could be the prefix (and suffix) operators in filters.
https://tiddlywiki.com/#prefix%20Operator

Best wishes

Sylvain
@sycom

-- 
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/21ec268d-3a90-4730-8511-d894ba191b14%40googlegroups.com.


[tw5] Struggling to nest a macro

2019-10-17 Thread Sycom
1Hello

If I get correctly what you're trying to do I'll recommend using the "variable" 
parameter of $list when you nest them. Maybe you can use else operator in your 
filter but the scope is limited.

Greetings

Sylvain
@sycom

-- 
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/72117f8f-45ef-4c44-82d1-cb42bbf0ff1b%40googlegroups.com.


[tw5] Re: Installing plugins on node.js (Tiddlyshow)

2019-10-05 Thread Sycom
Hello Andrew,

You should download the .tid file on your computer and then put it in your 
"tiddlers" folder (or any subfolder). Then launch.

You may also drag the file to your wiki on 127.0.0.1:8080, but you will have to 
restart the wiki...

This plugin is not designed to be declared from tiddlywiki.info.

Hope this helps

Regards

Sylvain
@sycom

-- 
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/3920bc82-507c-41f6-8454-279e3bdd2d1b%40googlegroups.com.


[tw5] Inconsistent referencing behaviour?

2019-10-05 Thread Sycom
Maybe this

<$set name="controller" value={{{ 
[[$:/state/]addsuffixaddsuffix[/section/]addsuffix] }}}>

Regards

Sylvain
@sycom

-- 
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/cc669ab8-fc12-402a-b4cf-0bb97638e8d7%40googlegroups.com.


[tw5] Re: Lost Tiddly that I need back

2019-09-18 Thread Sycom
Hello,

I have no answer for you, but I'm pretty sure that anyone who may have will 
need more context to help :
* what is your wiki version?
* we guess your wiki is standalone (single file) can you confirm?
* which save method do you use?
And anything else specific to your usage (plugins? OS? ...)

Let us know. I wish you the best.

Cheers,

Sylvain
@sycom

Le mercredi 18 septembre 2019 16:41:10 UTC+2, EParKer 1211 a écrit :
>
> I wrote a very detailed and very important short story and I saved all my 
> work using the red circle icon before closing down my web browser. Before I 
> realised where I could've written something better and went back to change 
> my notes when I couldn't find my work, ANYWHERE. I have looked in history, 
> Tiddly history, my downloads, backups, support groups, etc. But I can't 
> find my missing SAVED work! I spent a lot of time trying to perfect it and 
> I was finally happy enough to take a break and now I can't return to my 
> work at all. PLEASE find SOME WAY to bring back my lost work because all of 
> my files are not up to date enough to register a tiddly since last month.
>

-- 
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/6af85f85-63f7-41ff-b8ee-2f956126ea33%40googlegroups.com.


Re: [tw5] TiddlyWiki .md Files

2019-09-10 Thread Sycom
Hello,

I'm using markor to edit both my .tid, .md and .md.meta files and find it 
pretty good.
* Go to "settings > general > always open with this app"
* Add your extensions : .tid, .meta, .info ...

Not understanding problems described here since I never had problems with .md 
using node version with markdown plugin. May be giving us more context could 
help.

Cheers

Sylvain
@sycom

-- 
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/0b101462-91c2-425e-b5d9-690cd0b95993%40googlegroups.com.


[tw5] Re: How to create an Atom Feed for your TiddlyWiki

2019-09-02 Thread Sycom
Find this pretty interesting. As is your whole *TW5 Tribal Knowledge* wiki 
by the way. Pretty nice ressource!

Side note about my version of atom-feed (
https://sycom.github.io/TiddlyWiki-Plugins/#%24%3A%2Fplugins%2Fsycom%2Fatom-feed)
 
: it's far from finished know, since I'm working on a more automated and 
integrated publishing system via gitlab. Please consider it *pre-alpha*.

This thread reminds me that https://tiddlywiki.com has no more rss/atom 
feed for a long time. Since it is know regularly updated, it would be a 
good idea to re-enable it, wouldn't it?

cheers,

Sylvain
@sycom

Le lundi 2 septembre 2019 10:10:15 UTC+2, @TiddlyTweeter a écrit :
>
> Scott
>
> Really interesting! 
>
> Note sure if you were aware that there are other atom.xml makers, though 
> for node TW, not standalone.That, I guess, is because, on node you can 
> auto-output the xml file. 
>
> On TW stand-alone its a bit more problematic to automate because, even if 
> you made a one-click custom exporter to save it, it would end up in a 
> directory defined by the browser download mechanism, which may not be ideal 
> for uploads--though no way a final problem.
>
> ??But I do think that maintenance of feeds needs to be as automatic as 
> possible??
>
> sycom: 
> https://sycom.github.io/TiddlyWiki-Plugins/#%24%3A%2Fplugins%2Fsycom%2Fatom-feed
>
> dullroar: https://github.com/dullroar/TW5-atomfeed
>
> Thoughts
> TT
>
> On Monday, 2 September 2019 07:37:14 UTC+2, Scott Kingery wrote:
>>
>> I've developed a simple system for creating an atom feed for your 
>> TiddlyWiki. Even single HTML file wikis. It's really just a formatted 
>> filter list but it will enable you to copy and paste the text to an 
>> atom.xml file. So, not completely automated but if you want a feed, it 
>> should work. 
>>
>>
>> https://techlifeweb.com/tiddlywiki/tw5tribalknowledge.html#How%20to%20create%20an%20Atom%20Feed%20for%20your%20TiddlyWiki
>>
>

-- 
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/ba464a5b-61ee-42f3-a2d5-1df6ee998901%40googlegroups.com.


[tw5] Re: Puting spaces in a tag from user input

2019-08-22 Thread Sycom
Hello,

Another, less elegant but more intuitive solution could be

```
\define concat()  <$text text="[["/>request 
{{$:/temp/RequestScannedPart}}<$text text="]]"/>

Scanned part :<$edit-text tiddler="$:/temp/RequestScannedPart" tag="input" 
placeholder="New part" default=""/>

<$button>
<$wikify name="tagToSend" text=<>>
<$action-setfield $tiddler={{$:/temp/RequestName}} $field="tags" 
$value=<>/>


Create

```

There are often (always?) various way to do something in TW... A good way to 
find your path is describing your goals rather than putting your solution for a 
review.

Cheers

Sylvain
@sycom

-- 
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/15ef0e7b-2a8e-48a1-be47-4e6e4311d136%40googlegroups.com.


[tw5] Re: Page media and Tiddlers

2019-08-12 Thread Sycom
Hi Tony,

page media is not so well implemented in browsers i'm affraid.

I have a project with printing capabilities and have struggled with this. 
My workaround is using a footer tiddler
* the footer tiddler has display:none; for @screen view
* i'm using display: table-footer-group; for @print section

Might inspire you : 
https://know-rmandie.frama.io/TiddlyPAC/tiddlyPAC-Normandie.html#%24%3A%2Fpac%2Fstyles.css:%24%3A%2Fpac%2Fstyles.css%20styles_de_tiddlyPAC%20%5B%5BPorter%20%C3%A0%20Connaissance%5D%5D

works better in Firefox than Chrome though...

cheers,

Sylvain
@sycom

Le dimanche 11 août 2019 06:03:21 UTC+2, TonyM a écrit :
>
> In relation to View and Print tiddlers with page handling - help requested 
> <https://groups.google.com/forum/#!topic/tiddlywiki/SthCKBaE0c0>
>
> I am looking at using the @page media in css. However being a css ignorant 
> I am trying to work out how to use it
>
> Specifically I want it to relate to content inside a tiddler. However most 
> of the code out there relates to a whole html page.
>
> Perhaps I need to wrap the text in a tiddler with a div that somehow 
> specifies it is both display and print media, and to use the print css when 
> printing.
>
> I am particularly interested in defining a tiddler that uses the 
> https://www.w3.org/TR/css-page-3/#margin-boxes margin boxes documented 
> here, when printing but it would be nice to see the content on screen as 
> well, a Kind of wisywig. 
>
> I am building a view template that applies a style sheet that defines the 
> @print media statement but I am hoping to transclude fields on the current 
> tidder that contain either the content only or also some css to each 
> "element", so I have a field called element-name and element-name-css in 
> a tiddler.
>
> @top-left-corner 
> @top-left 
> @top-center
> @top-right 
> @top-right-corner 
> @bottom-left-corner 
> @bottom-left 
> @bottom-center 
> @bottom-right 
> @bottom-right-corner
> @left-top
> @left-middle
> @left-bottom
> @right-top
> @right-middle
> @right-bottom
>
> After defining the whole page I want the body of the tiddler transcluded 
> in the body of the page.
>
> I am really at a loss how to do this. Especially when it comes to 
> referring only to the current tiddler and not accidently the whole tiddlet 
> wiki. To print I open the tiddler in new window and print from there.
>
> Once this is working I will also transclude a field defining what html 
> elements to use to throw a page break eg h1
>
> Thanks in Advance
> 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/85197be1-9c05-4982-9469-3c8a18649fc4%40googlegroups.com.


[tw5] Re: Get Tiddlers with Created Date of Current Month and Day

2019-08-12 Thread Sycom
Hi,

If you do not want to upgrade to 5.1.20 yet, you may use those operators I 
made for my own needs (generating year / month grouped lists of tiddlers - 
"Creation date index attachment") : EachYear/Month and SameYear/Month are 
inspired form EachDay and SameDay (see 
https://tiddlywiki.com/#eachday%20Operator and 
https://tiddlywiki.com/#sameday%20Operator)

best regards,

Sylvain
@sycom

Le lundi 12 août 2019 12:35:29 UTC+2, BurningTreeC a écrit :
>
>
>> Hello,
>>>
>>> Basically I am trying to have something I can look at to see tiddlers 
>>> from previous years that have the same month and day as today. For example, 
>>> I could look and see all Tiddlers created on 11 August, from 2018, 2017, 
>>> etc. 
>>>
>>> I've been trying to get it to work, but I'm not having any luck.
>>>
>>> Any suggestions?
>>>
>>
>> Hi Josh, this might work:
>>
>> <$set name="todayMonthDay" value=<>>
>> <$list filter="[all[tiddlers]]" variable="tiddler">
>> <$set name="monthDay" value={{{ 
>> [get[created]split[]last[13]first[4]join[]] 
>> }}}>
>> <$list filter="[match]">
>>
>> <>
>>
>> 
>> 
>> 
>> 
>>
>>
> I need to say that this uses the new "match", "split" and "join" operators 
> from the latest 5.1.20 release
>
> cheers, btc
>  
>
>>
>>> Cheers,
>>> Josh
>>>
>>

-- 
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/55748569-c2b6-4222-93b2-638f88af98a9%40googlegroups.com.


$__ext_modules_macros_sameyear.js.tid
Description: Binary data


$__ext_modules_macros_samemonth.js.tid
Description: Binary data


$__ext_modules_macros_eachyear.js.tid
Description: Binary data


$__ext_modules_macros_eachmonth.js.tid
Description: Binary data


Creation date index.tid
Description: Binary data