Josiah,

I think the direct answer, in common language,  to "How does "katex" know?" 
is actually the address  eg: http://127.0.0.1:8084/katex actually means go 
to the host http://127.0.0.1:8084 (bob) who then serves /katex So Bob is 
doing the serving of Katex and "is present when viewing katex"

Regards
tony



On Sunday, May 27, 2018 at 1:50:05 AM UTC+10, @TiddlyTweeter wrote:
>
> Ciao Bob & Jed
>
> I find intriguing that the wikis that Bob creates seem to be aware about 
> Bob?
>
> I mean, I can run a script in .\Wikis\katex\ that needs to get that from 
> Bob. How does that work? How does "katex" know?
>
> As I get into the automation I'm looking at ways to minimise the amount of 
> typing (and errors) I make on paths. I started doing stuff like this ... 
> basic boilerplate, wiki-by-wiki ... (just change the value in first line 
> for each Wiki)
>
> \define twName() katex
> \define tidsAt() .\Wikis\$(twName)$\tiddlers\*.tid
> \define sfFrom() .\Wikis\$(twName)$\output\index.html
> \define sfTo() ..\..\pages\tw\tw_$(twName)$\$(twName)$.html
>
> <$button> 
>   Edit ''{{$:/SiteTitle}}'' Tid files
>   <$action-websocketmessage $type=runScript name=editpad #path=<<tidsAt>> 
> #instance='/newinstance'/>
> </$button>
> <br>at: <<tidsAt>>
>
> <$button>
>   Make a ''{{$:/SiteTitle}}'' single file
>   <$action-websocketmessage $type='buildHTMLWiki'/>
> </$button>
> <br>at: <<sfFrom>>
>
> <$button>
>   Copy ''{{$:/SiteTitle}}'' single file to new home
>   <$action-websocketmessage $type=runScript name=copySFwiki 
> #from=<<sfFrom>> #to=<<sfTo>> />
> </$button>
> <br>copy: <<sfFrom>>
> <br>to: <<sfTo>>
>
> <$button> 
>   Start HTTrack
>   <$action-websocketmessage $type='runScript' name='htwhack'/>
> </$button>
>
> The scripts are ...
>
>
> But I'm not so sure its the most efficient way because there is something 
> about shared knowledge between Bob and the plebeian Wiki's I maybe not 
> properly grasping?
>
> Hope this is clear enough?
>
> Best wishes
> Josiah
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/8f26d9a9-b71b-4c14-97c9-165e2ac0a46a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to