Re: [tw5] How to prevent TW to strip my onclick

2021-03-23 Thread Florian Cauvin
> ugly workaround ...
Actually, it worked well for "onclick" attributes, and for 

Re: [tw5] How to prevent TW to strip my onclick

2021-03-23 Thread Florian Cauvin
So, I still wanted to have some JS within (some) tiddlers to my. So I just 
went with a "workaround": I added a marker (let's say ) and then in my 
tiddlers I can add   onscript=... and that 
won't be stripped. Then, I just added a simple 'sed' one-liner in my build 
script to remove the  marker from html files in TW's output directory. 
This is an ugly workaround, but it works without trying to go change TW 
rendering process.

On Tuesday, March 23, 2021 at 10:51:07 AM UTC+2 jeremy...@gmail.com wrote:

> Hi Florian
>
> There's no easy way around that limitation of the default static site 
> rendering templates. You may find the easiest approach is to give your 
> buttons CSS classes or IDs for identification, and then use a separate JS 
> file to trap events at the document level, or to set up event handlers 
> after the page has loaded.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.com
>
> On 22 Mar 2021, at 22:04, Florian Cauvin  wrote:
>
> 
>
> I use tiddlywiki to render a set of static html pages!
> In a tiddler, I'm adding some html  tags with some very simple 
> "onclick=..." in order to provide some small basic interactivity to this 
> static site. But TW rendering strips all the onclick stuff from the 
> rendered html. How could I force TW not to remove my "onclick" ?
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/8820f22e-e5c3-4aec-8bbf-0d380e025980n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/8820f22e-e5c3-4aec-8bbf-0d380e025980n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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/65f6f0b7-089d-4b23-8156-763c0ed01893n%40googlegroups.com.


[tw5] How to prevent TW to strip my onclick

2021-03-22 Thread Florian Cauvin
I use tiddlywiki to render a set of static html pages!
In a tiddler, I'm adding some html  tags with some very simple 
"onclick=..." in order to provide some small basic interactivity to this 
static site. But TW rendering strips all the onclick stuff from the 
rendered html. How could I force TW not to remove my "onclick" ?

-- 
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/8820f22e-e5c3-4aec-8bbf-0d380e025980n%40googlegroups.com.


[tw5] Re: Clash between my font and my tiddlywiki

2021-03-15 Thread Florian Cauvin

*@Erich Schulman*, perfect, thank you so much! 
Using your instructions, I prevent the __ parsing in individual tiddlers 
where I use this font, this workaround works well for me!
*You saved my day !!!*

*@Mat*: hi, thanks for showing yours morse thingy!
On Monday, March 15, 2021 at 7:20:28 PM UTC+2 Mat wrote:

> Depending on your exact use, you can use some laternative UTF-8 symbol like
>
> __YODDLEDIHOO__
>
> BTW you may be interested in a Morse alphabet thingy I made: 
> http://morse.tiddlyspot.com/
>
> <:-)
>
> On Monday, March 15, 2021 at 5:31:32 PM UTC+1 florian...@gmail.com wrote:
>
>> I want to write in sitelen pona (hieroglyph system for the Toki Pona 
>> language) in my TiddlyWiki but the font that is needed for that uses __ in 
>> ligatures to produce some hieroglyph compositions. And of course when I 
>> write a __ then TiddlyWiki switches to underscore mode and that messes up 
>> everything. How could I possibly avoid this clash ?
>>
>

-- 
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/b2004442-6508-4c12-8d5a-e67c3005ae5an%40googlegroups.com.


[tw5] Re: Clash between my font and my tiddlywiki

2021-03-15 Thread Florian Cauvin
Perfect solution, Eric Schulman, you saved my day!

On Monday, March 15, 2021 at 7:15:29 PM UTC+2 Eric Shulman wrote:

> On Monday, March 15, 2021 at 9:31:32 AM UTC-7 florian...@gmail.com wrote:
>
>> I want to write in sitelen pona (hieroglyph system for the Toki Pona 
>> language) in my TiddlyWiki but the font that is needed for that uses __ in 
>> ligatures to produce some hieroglyph compositions. And of course when I 
>> write a __ then TiddlyWiki switches to underscore mode and that messes up 
>> everything. How could I possibly avoid this clash ?
>>
>
> Add this to the start of each tiddler in which you want to use the "__" 
> syntax:
>
> \rules except underscore
>
> Alternatively, to prevent the parsing of "__" syntax throughout the 
> document,  you can go to the $:/ControlPanel, Advanced, Parsing tab and 
> clear the checkbox next to "underscore".  Save-and-reload for the setting 
> to take effect.
>
> 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/c3a56165-9cda-46c0-8121-f4added23cdan%40googlegroups.com.


[tw5] Clash between my font and my tiddlywiki

2021-03-15 Thread Florian Cauvin
I want to write in sitelen pona (hieroglyph system for the Toki Pona 
language) in my TiddlyWiki but the font that is needed for that uses __ in 
ligatures to produce some hieroglyph compositions. And of course when I 
write a __ then TiddlyWiki switches to underscore mode and that messes up 
everything. How could I possibly avoid this clash ?

-- 
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/8a1a12ce-38c5-4a4e-8187-67388d3562c8n%40googlegroups.com.


[tw5] Re: Tutorial: How to use TiddlyWiki as a static website generator

2020-05-04 Thread Florian Cauvin
> I guess the tutorial is about generating a website, 
> not customising it, which would be a separate tutorial :)

Fair enough. Although, generating a static site could actually be summarized in 
just three words: 'tiddlywiki --build static'

Customizing that process so that it splits the markup you wish, well, I gonna 
wait for (or I'm gonna write) a tutorial for that. Markup currently being 
generated is full of invisible buttons, etc.

-- 
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/e2b08b67-f853-41f9-91ff-eb9ea0a659d5%40googlegroups.com.


[tw5] Re: Tutorial: How to use TiddlyWiki as a static website generator

2020-05-04 Thread Florian Cauvin
On Wednesday, April 22, 2020 at 5:53:38 AM UTC+3, Anne-Laure Le Cunff wrote:
> Hi everyone — here is a short tutorial to use TiddlyWiki as a static website 
> generator. Would love any feedback or suggestions. Thank you!

Nice to see a very well written article on this 👍. Well done! Now a small 
criticism though 😉... the guide is indeed very detailed... until the critical 
part when it gets hand-wavy telling you'll simply just have to play with 
core/template/static.tiddler.html. But as far as I know, static.tiddler.html is 
calling several macros and transfusions, for example with core/ui/ViewTemplate 
to render the tiddlers, which itself pulls all sort of stuff too contained in 
other shadow tiddlers. And that's really the point where it actually gets hard 
to get the static site you want... or am I missing something?

-- 
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/9d4aed45-39ba-4678-8300-a09a4750f2d1%40googlegroups.com.


[tw5] How to access the original content of a Shadow Tiddler

2020-05-03 Thread Florian Cauvin
How can I get the original value of a shadow tiddler that I override?

As an example, let's say I make some small modifications to how my TW displays 
tags by overriding shadow tiddler $:/core/ui/TagTemplate

I then want to display the difference using the original and my modification 
using the (new) diff text widget. I would want to write something like:

<$diff-text source=??? dest={{$:/core/ui/TagTemplate}}/>

where ??? would be an expression that could retrieve the TW-built-in unaltered 
content of the shadow tiddler

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/50c75536-bdcc-429b-bf55-dc5770b3a94c%40googlegroups.com.


Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-08 Thread Florian Cauvin
Arlen,
Yes, wow, this change made a *dramatic* improvement in TiddlyWiki startup 
time which was reduced from over a minute to about 3 seconds. Fantastic.

So, can I keep TW running his way, is it somehow "less safe" or ...?


On Saturday, December 7, 2019 at 8:31:11 PM UTC+2, Arlen Beiler wrote:
>
> Ok, here's the evalSandboxed code currently. Well, almost, there is one 
> change inside the function, but just ignore that. 
> /*
> Run code in a sandbox with only the specified context variables in scope
> */
> $tw.utils.evalSandboxed = $tw.browser ? $tw.utils.evalGlobal : function(
> code,context,filename) {
> var sandbox = $tw.utils.extend(Object.create(null),context);
> vm.runInNewContext(code,sandbox,$tw.utils.evalFilename(filename));
> return sandbox.exports;
> };
>
> In the first line, change *$tw.browser* to *true*, like this: 
>
> /*
> Run code in a sandbox with only the specified context variables in scope
> */
> $tw.utils.evalSandboxed = true ? $tw.utils.evalGlobal : function(code,
> context,filename) {
> var sandbox = $tw.utils.extend(Object.create(null),context);
> vm.runInNewContext(code,sandbox,$tw.utils.evalFilename(filename));
> return sandbox.exports;
> };
>
> See if that improves anything.
>
> Arlen
>
> On Fri, Dec 6, 2019 at 10:28 AM Florian Cauvin  > wrote:
>
>> Thanks Arlen for the suggestions:
>>
>> The first is that evalSandboxed (in boot.js) runs every module in a new 
>>> context. If you change it to all of them using one separate context which 
>>> you create outside the function, it should speed things up some. This one 
>>> may vary between node versions, but it's worth a shot.
>>>
>>
>> I located the file and function call you're refering to but I'm not 
>> familiar with Javascript, Node, or the internals of TiddlyWiki. Thus I 
>> don't feel confident trying to modify that code. Hopefully, a TiddlyWiki 
>> developer could look into this?
>>  
>>
>>> The second is loading the hundreds of tiddlers that make up the core. 
>>> There is a feature of the boot process that fixes this. Replace the 
>>> contents of the core folder with this file (assuming your using 
>>> Tiddlywiki5.1.21) 
>>> https://github.com/Arlen22/TiddlyWiki5-production/blob/master/5-1-21/core/plugin.info.
>>>  
>>> That way it's just loading one file and doing a simple JSON.parse. 
>>>
>>  
>> Alright, I replaced all content of 
>> /usr/local/lib/node_modules/tiddlywiki/core with that file you linked 
>> to. It seems to have shaved a few seconds off the startup time which 
>> remained over 56 seconds, so while it seems to help a bit, there seems to 
>> be a larger issue.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/b987363a-17f2--8bb9-d6aa43c7b841%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/b987363a-17f2--8bb9-d6aa43c7b841%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/2495b4d0-ff89-474e-8c67-ffae52549c9e%40googlegroups.com.


Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-06 Thread Florian Cauvin
Thanks Arlen for the suggestions:

The first is that evalSandboxed (in boot.js) runs every module in a new 
> context. If you change it to all of them using one separate context which 
> you create outside the function, it should speed things up some. This one 
> may vary between node versions, but it's worth a shot.
>

I located the file and function call you're refering to but I'm not 
familiar with Javascript, Node, or the internals of TiddlyWiki. Thus I 
don't feel confident trying to modify that code. Hopefully, a TiddlyWiki 
developer could look into this?
 

> The second is loading the hundreds of tiddlers that make up the core. 
> There is a feature of the boot process that fixes this. Replace the 
> contents of the core folder with this file (assuming your using 
> Tiddlywiki5.1.21) 
> https://github.com/Arlen22/TiddlyWiki5-production/blob/master/5-1-21/core/plugin.info.
>  
> That way it's just loading one file and doing a simple JSON.parse. 
>
 
Alright, I replaced all content of 
/usr/local/lib/node_modules/tiddlywiki/core with that file you linked to. 
It seems to have shaved a few seconds off the startup time which remained 
over 56 seconds, so while it seems to help a bit, there seems to be a 
larger issue.

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


Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-06 Thread Florian Cauvin
Hi Jeremy,
I have a few hundreds tiddlers, but I don't think that's a huge amount of 
content.

Starting time is not a show stopper (as once it's up and running, 
TiddlyWiki server performs very well), but it is definitely an annoyance 
which introduce friction in my workflow because I maintain many personal 
wikis and serve one wiki at a time (when I want to browse or edit it). Thus 
I often stop and then start Node.js to switch the current wiki I'm working 
with. In this case, it'd be very useful if it would load fast (which I 
guess should be possible as TW shouldn't need to deeply process all 
tiddlers' content just to start up).

Cheers!

On Friday, December 6, 2019 at 1:50:54 PM UTC+2, Jeremy Ruston wrote:
>
> Hi Florian
>
> Do you have a large number of tiddlers in your wiki?
>
> The startup time under Node.js hasn’t had much optimisation attention, and 
> I think there’s quite a lot of scope to improve things.
>
> Best wishes
>
> Jeremy.
>
> On 6 Dec 2019, at 11:33, Florian Cauvin > 
> wrote:
>
> On my RaspberryPi 3 with Raspian and NodeJs:
>
> $ time tiddlywiki --version
> 5.1.21
>
> real 1m2,309s
> user 1m2,727s
> sys 0m0,511s
>
>
> Once TiddlyWiki is "loaded" it works well and is responsive but >1 
> minute to start up? Is that normal???
>
> -- 
> 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 tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/34128edc-f5b0-4154-9077-2d38e79d1eee%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/34128edc-f5b0-4154-9077-2d38e79d1eee%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/6513caf7-b1a4-4290-8abb-4718c3c9e292%40googlegroups.com.


[tw5] TiddlyWiki starting time is sooooo slow

2019-12-06 Thread Florian Cauvin
On my RaspberryPi 3 with Raspian and NodeJs:

$ time tiddlywiki --version
5.1.21

real 1m2,309s
user 1m2,727s
sys 0m0,511s


Once TiddlyWiki is "loaded" it works well and is responsive but >1 
minute to start up? Is that normal???

-- 
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/34128edc-f5b0-4154-9077-2d38e79d1eee%40googlegroups.com.


Re: [tw] .tid.tid.tid....

2017-04-10 Thread Florian Cauvin
Thanks for the pointer to the thread! My nodejs is from package manager in 
Ubuntu 14.04 LTS, so it may be why I have the bug. I'm now downloading a 
new version of Nodejs from the website, so this may fix the problem. Thanks.


On Saturday, April 8, 2017 at 2:24:41 PM UTC+3, Xavier wrote:
>
> Hi Florian,
>
> One way to get rid of this issue whithout updating to a pre-release 
> version of TiddlyWiki is to update the version of your nodejs. See the 
> discussion here: 
> https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/tiddlywiki/LK02DUdI-rQ/JGQUjwmLCQAJ
>
> Best,
> X.
>
> -- Xavier Cazin
>
> On Fri, Apr 7, 2017 at 9:37 PM, Florian Cauvin  > wrote:
>
>> Hi! I'm using TW 5.1.13 running on node.js and struggling very much...
>>
>> When I edit some tiddler, I see TW creates new tiddler files named with 
>> several repeated .tid suffix. I have dozen of those tid.tid. and dozen 
>> 'Draft of' ... which never ever get away. I have several concurrent 
>> revisions and drafts and normal editing content becomes impossible.
>> 1) Is there a way to sort this mess automatically?
>> 2) Is there a bug fix coming to prevent this? This is a very severe issue.
>>
>> I saw one post here on this issue in the forum from last september but no 
>> response and TW still has the same version
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/7b9ee47c-86c2-4822-846d-16eff067846e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/7b9ee47c-86c2-4822-846d-16eff067846e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fe11664a-e958-4955-a778-de96b6d44c54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] .tid.tid.tid....

2017-04-07 Thread Florian Cauvin
Hi! I'm using TW 5.1.13 running on node.js and struggling very much...

When I edit some tiddler, I see TW creates new tiddler files named with 
several repeated .tid suffix. I have dozen of those tid.tid. and dozen 
'Draft of' ... which never ever get away. I have several concurrent 
revisions and drafts and normal editing content becomes impossible.
1) Is there a way to sort this mess automatically?
2) Is there a bug fix coming to prevent this? This is a very severe issue.

I saw one post here on this issue in the forum from last september but no 
response and TW still has the same version

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7b9ee47c-86c2-4822-846d-16eff067846e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Is an inside out TiddlyWiki possible?

2015-05-07 Thread Florian Cauvin
The advantage of TiddlyWiki over those apps is that it's free software and 
my content stays mine, I don't need to "trust" any third-party.
Wiki format is almost like plain text, so even in the unlikely case that 
TiddlyWiki disappears or evolve in a direction I don't like, I can always 
salvage my data.

On Thursday, May 7, 2015 at 9:30:51 PM UTC+3, Danielo Rodríguez wrote:
>
> Hello, 
>
> All the mentioned apps are awesome and very useful. But I always end up 
> using tiddlywiky. That's why is so important for me to provide sync and 
> mobile apps. All of this applications claim their are unique, an probably 
> they are, but tiddlywiky is unique and uniquely customizable. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/217b3193-9709-471a-a5a2-3ed9ba42ce5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Static Website Generation

2015-04-27 Thread Florian Cauvin
Hello,
I'm interested in using TiddlyWiki for creating a small static personal 
website and I'm very impressed by the work that James Anderson is showing 
here.
I will try to also make my site, generating it from TiddlyWiki running on 
Node.js.

Jame has obvisouly done a lot of customization and even coded his own 
plugins.
Personally, I aim for something far simpler.
I will report my progess in this forum (if there's no objection for me 
doing so)

Best Regards,
Florian


On Saturday, April 25, 2015 at 11:12:43 AM UTC+3, Jeremy Ruston wrote:
>
> Hi James
>
> On Sat, Apr 25, 2015 at 9:10 AM, James Anderson  > wrote:
>
>> It looks like dullroar is no longer using TW to generate the site 
>> http://dullroar.com/new-look.html
>>
>
> Yes, I saw that; it's still worth reviewing the work that Jim did, I think.
>
> Best wishes
>
> Jeremy
>
>  
>
>>
>>
>> On Saturday, 25 April 2015 16:54:02 UTC+9, Jeremy Ruston wrote:
>>>
>>> Hi James
>>>
>>> Great to see how far you've got, dullroar.com looks very good to me.
>>>
>>> Your post reminded me that it is perhaps time that we tried to fold 
>>> decent static site generation support into the core. I've created a ticket 
>>> here:
>>>
>>> https://github.com/Jermolene/TiddlyWiki5/issues/1676
>>>
>>> Best wishes
>>>
>>> Jeremy.
>>>
>>>
>>> On Sat, Apr 25, 2015 at 7:45 AM, James Anderson  
>>> wrote:
>>>
 The tags are just buttons wrapped in  elements, which is all handled 
 automatically by the static exporter. 

 There are some programmer hooks in the static exporter which let me 
 change the links at run time. I run over all the links and remove any 
 spaces (and some other characters( when i generate the site.If you are not 
 a programmmer this might not mean much to you, but in 
 https://github.com/welford/twstaticblog/tree/master/export 
 getexportlink,js 
 and getexportpath,js do this work.


 James
  

 On Saturday, 25 April 2015 09:08:48 UTC+9, Suzanne McHale wrote:
>
> Couple of questions (I'm interested in static site generation for my 
> TW too, but am not a programmer!) - how did you make the tag buttons 
> clickable without needing Javascript (that I can see)? Also replace the 
> spaces in TW urls with dashes - can this be done automatically?
>
  -- 
 You received this message because you are subscribed to the Google 
 Groups "TiddlyWiki" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to tiddlywiki+...@googlegroups.com.
 To post to this group, send email to tiddl...@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/a5b20842-2166-4d31-a204-2d5ae2b0bb8b%40googlegroups.com
  
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>> Jeremy Ruston
>>> mailto:jeremy...@gmail.com
>>>  
>>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3edd6e07-19d4-405c-83ae-cabae8a79ad1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] how to make one "invisible" table

2015-04-07 Thread Florian Cauvin
Hi,
I want to create a table where only the elements are visible and with no 
decoration/border.
Anyone can help with this?

I tried something like the following, but it didn't really work out:

@@border:none;
|a|b|
|c|d|
@@

/Florian

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6ff6ef7-b9d3-4146-8b7e-c84de847b242%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Full KaTeX support

2015-04-04 Thread Florian Cauvin

I started the coursera quantum mechanics class (quite a challenge for me) 
and today I decided to use TW to take some notes, but I quickly found 
myself in similar situation desribed by Rafael: quite a few important 
symbols are unrecognized by current katex plugin (for example, I need \hbar 
in formulas but this gives error).

Based on the newer katex plugin in Jeremy's github, I've got things to now 
work by replacing the $:/plugins/tiddlywiki/katex/katex.min.js tiddler with 
https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/ae001a19e5b3e43cf5388fd4e8d99788085649fe/plugins/tiddlywiki/katex/files/katex.min.js
 
and the $:/plugins/tiddlywiki/katex/katex.min.css tiddler with 
https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/ae001a19e5b3e43cf5388fd4e8d99788085649fe/plugins/tiddlywiki/katex/files/katex.min.css

I just ignored the warning about editing shadow tiddlers, did the above 
replacement, saved the tiddlywiki, and the new symbols seems to work after 
reloading the wiki. I though I'd share as this hack manages to get me going 
now while I'll be waiting for the upcoming release.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/708c0c82-49fe-40e5-8d61-bbf3585c3293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.