Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-18 Thread Jeremy Ruston
Hi Danielo

> Why is $:/core/wiki/rawmarkup old and deprecated?

Because it doesn't match the $:/tags/Xxxx pattern used elsewhere in the core.

> It is encouraged on developer edition of tiddlywiki

Both those examples should be switched; pull requests welcome!

Many thanks,

Jeremy

> 
> http://tiddlywiki.com/dev/#How%20to%20customise%20the%20password%20prompt
> 
> And actively used on it:
> https://github.com/Jermolene/TiddlyWiki5/blob/086506012d98e9db34c7d96dc27aea249a9bdbc8/editions/dev/tiddlers/system/PatchEncryptionPrompt.tid
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywikidev+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywikidev@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/ffea284a-e625-4262-87f7-0efed62aaf05%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/731E86E8-AB6B-4849-A008-C6BFF3FFBC4F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-14 Thread Danielo Rodríguez
Hello Tobias, 

If you read my answer above you can see that is what I said:they are not being 
unpacked, and they are not accessible for the filters. 

I find odd to be forced to distribute parts of a single plugin as separate 
plugins just for this reason. Implementing the solution proposed by BG fixes 
this situation. You should be pretty familiar with his code because there are a 
bunch of comments from you on his commit proposal :D


As I said, this is a real problem. The good part about it is that the solution 
exists already, it's just a matter of making it official 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/ef2a5bc5-d3ce-4e4e-8fcc-1144902583bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-13 Thread Tobias Beer
Hi Danielo / Jeremy,
 

> $./config/Plugins/Disabled/$:/plugins/danielo515/tiddlypouch: yes
>

What exactly does (not) happen to a disabled plugin? If disabling prevents 
unpacking plugin tiddlers, including shadows then there's little wonder why 
your packaged tiddlers tagged $:/core/wiki/rawmarkup would not take any 
effect. You probably have to distribute them separately.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/cd19c658-4dc0-46cf-9906-f8a24f2975dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-13 Thread Danielo Rodríguez


El martes, 13 de septiembre de 2016, 23:20:07 (UTC+2), Jeremy Ruston 
escribió:
>
> Hi Danielo
>
> Are the $:/tags/RawMarkup tiddlers shadow tiddlers within 
> $:/plugins/danielo515/tiddlypouch plugin? 
>

Yes they are
 

> What happens if you move them into the wiki, so that they are no longer 
> shadow tiddlers?
>

I'll have to try, but I think I found the issue, read below
 

>
> At the point that you are running the --build command, is 
> the $:/plugins/danielo515/tiddlypouch plugin properly loaded? Or rather, is 
> the plugin loaded in the usual way via tiddlywiki.info?
>

What do you mean with properly? It is being loaded in the usual way, via 
tiddlywiki.info.

Here is what I think the problem is: In the presentation page I don't want 
the plugin to be active. So, I have a specific config tiddler on the 
presentation page: 
$./config/Plugins/Disabled/$:/plugins/danielo515/tiddlypouch: yes

 that's why I tried excluding -[prefix[$:/config/]] 

So, because the plugin is inactive, the required stuff is not being 
included in the rendered wiki, even if I try to exlcude the config prefix.
Is there any possible solution to this? Maybe I should edit the build 
template? I can see that it already includes shadow tiddlers, so I don't 
know what else I could do.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/74fdfd22-a28a-4894-b866-d26ac7a96635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-13 Thread Jeremy Ruston
Hi Danielo

Are the $:/tags/RawMarkup tiddlers shadow tiddlers within 
$:/plugins/danielo515/tiddlypouch plugin? What happens if you move them into 
the wiki, so that they are no longer shadow tiddlers?

At the point that you are running the --build command, is the 
$:/plugins/danielo515/tiddlypouch plugin properly loaded? Or rather, is the 
plugin loaded in the usual way via tiddlywiki.info?

Best wishes

Jeremy.

> On 13 Sep 2016, at 22:15, Danielo Rodríguez  wrote:
> 
> 
> 
> El martes, 13 de septiembre de 2016, 23:03:59 (UTC+2), Jeremy Ruston escribió:
> Hi Danielo
> 
>> Yes running it via the --server command works flawlessly. 
> 
> Are you using any parameters with the --server command? If not, it will use 
> the default template ($:/core/save/all), and not your custom save template.
> 
> Yes I'm using the core/save/all template for the plugin development:
> 
> "args": [ "--verbose",
> "--server", "8087",
> "$:/core/save/all",
> "text/plain",
> "text/html"]
> 
>  But as I said, changing to the default core/save/all template does not have 
> the desired effect... I tried modifying save all template to the following:
> 
> \define saveTiddlerFilter()
> [is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] 
> -[prefix[$:/config/]] -[[$:/boot/boot.css]] 
> -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] 
> -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$
> \end
> {{$:/core/templates/tiddlywiki5.html}}
> 
> Just to exclude the -[prefix[$:/config/]] and it is not working neither.
> And I can't use such template, because I should be excluding lots of 
> tiddlers
> 
> My folder structure is
> 
> 
> /plugin-folder
>|_demo_wiki
> 
> 
> /Other_wiki
>|_wiki
> 
> 
> As you can see on my build command, I'm uncluding the plugin in the plugin 
> path, so the plugin it's being included. But I can't understand why the stuff 
> on the header section is not being included on the header section With 
> any of the options I tried (including core/save all)
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywikidev+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywikidev@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywikidev 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/494a2a1a-b351-4c52-8040-a619530e98f3%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/466F24B1-4EBC-4B8F-BE2F-8C614473DAE6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-13 Thread Danielo Rodríguez


El martes, 13 de septiembre de 2016, 23:03:59 (UTC+2), Jeremy Ruston 
escribió:
>
> Hi Danielo
>
> Yes running it via the --server command works flawlessly. 
>
>
> Are you using any parameters with the --server command? If not, it will 
> use the default template ($:/core/save/all), and not your custom save 
> template.
>

Yes I'm using the core/save/all template for the plugin development:

"args": [ "--verbose",
"--server", "8087",
"$:/core/save/all",
"text/plain",
"text/html"]

 But as I said, changing to the default core/save/all template does not 
have the desired effect... I tried modifying save all template to the 
following:

\define saveTiddlerFilter()
[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] 
-[prefix[$:/config/]] -[[$:/boot/boot.css]] 
-[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] 
-[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$
\end
{{$:/core/templates/tiddlywiki5.html}}

Just to exclude the -[prefix[$:/config/]] and it is not working neither.
And I can't use such template, because I should be excluding lots of 
tiddlers

My folder structure is


/plugin-folder
   |_demo_wiki


/Other_wiki
   |_wiki


As you can see on my build command, I'm uncluding the plugin in the plugin 
path, so the plugin it's being included. But I can't understand why the 
stuff on the header section is not being included on the header section 
With any of the options I tried (including core/save all)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/494a2a1a-b351-4c52-8040-a619530e98f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-13 Thread Jeremy Ruston
Hi Danielo

> Yes running it via the --server command works flawlessly. 

Are you using any parameters with the --server command? If not, it will use the 
default template ($:/core/save/all), and not your custom save template.

Best wishes

Jeremy

> This is my build section 
> 
> "build": {
>   "index": [
>   
> "--rendertiddler","$:/NoteSelf/save/deploy","index.html","text/plain"],
> "OnlineDemo": [
>   
> "--rendertiddler","$:/NoteSelf/save/download","online.html","text/plain"]
> }
> 
> An my build command is very simple:
> 
> $ TIDDLYWIKI_PLUGIN_PATH="/h/My 
> Dropbox/tiddlywiki/plugins/danielo515/tiddlypouchPlugin/master/src/plugins" 
> tiddlywiki ./wiki --verbose --build
> 
> Which gives the following output:
> 
> Boot log:
>   Startup task: load-modules
>   Startup task: info after: load-modules before: startup
>   Startup task: startup after: load-modules
>   Startup task: story after: startup
>   Startup task: commands platforms: node after: story
> Executing command: build
> Executing command: rendertiddler ReadMe readme.md text/html
> Executing command: rendertiddler License license.md text/html
> Executing command: savetiddler $:/favicon.ico favicon.ico
> Executing command: rendertiddler $:/core/save/all online.html text/plain
> Executing command: rendertiddler $:/NoteSelf/save/deploy index.html text/plain
> 
> 
> 
> I also tried using 
> 
> "OnlineDemo": [
>   
> "--rendertiddler","$:/core/save/all","online.html","text/plain"],
> 
> Same result, no luck.
> 
> What I'm doing wrong? The dev edition has stuff on its head and I suppose the 
> flow is exactly the same
> 
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywikidev+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywikidev@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywikidev 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/312885e1-b60c-4aa2-be18-a04e04639088%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/B9C491FC-DD91-4BD2-9C89-A18D0DC3C10B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-13 Thread Danielo Rodríguez


El martes, 13 de septiembre de 2016, 22:47:24 (UTC+2), Jeremy Ruston 
escribió:
>
> Hi Danielo
>
> > I just added some tiddlers with the tag $:/core/wiki/rawmarkup to one of 
> mu plugins. If I run the wiki from node it works perfectly, no issues, 
> no problems, the tiddlers are being included in the head section.
>
> I guess you mean running the wiki via the --server command? Can you show 
> the complete command line you are using?
>

Yes running it via the --server command works flawlessly. 
 

>
> > But if I built the wiki using the build command, those tiddlers are not 
> being included on the resulting wiki, which produces big errors on my 
> plugin.
>
> Can you show the complete build command that you are using, and the 
> relevant section of your tiddlywiki.info file?
>


This is my build section 

"build": {
"index": [
"--rendertiddler","$:/NoteSelf/save/deploy","index.html","text/plain"],
"OnlineDemo": [
"--rendertiddler","$:/NoteSelf/save/download","online.html","text/plain"]
}

An my build command is very simple:

$ TIDDLYWIKI_PLUGIN_PATH="/h/My 
Dropbox/tiddlywiki/plugins/danielo515/tiddlypouchPlugin/master/src/plugins" 
tiddlywiki ./wiki --verbose --build

Which gives the following output:

Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: build
Executing command: rendertiddler ReadMe readme.md text/html
Executing command: rendertiddler License license.md text/html
Executing command: savetiddler $:/favicon.ico favicon.ico
Executing command: rendertiddler $:/core/save/all online.html text/plain
Executing command: rendertiddler $:/NoteSelf/save/deploy index.html 
text/plain



I also tried using 

"OnlineDemo": [
"--rendertiddler","$:/core/save/all","online.html","text/plain"],

Same result, no luck.

What I'm doing wrong? The dev edition has stuff on its head and I suppose 
the flow is exactly the same

 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/312885e1-b60c-4aa2-be18-a04e04639088%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: Tiddlers tagged $:/core/wiki/rawmarkup are not being included on the header during the build process

2016-09-13 Thread Jeremy Ruston
Hi Danielo

> I just added some tiddlers with the tag $:/core/wiki/rawmarkup to one of mu 
> plugins. If I run the wiki from node it works perfectly, no issues, no 
> problems, the tiddlers are being included in the head section.

I guess you mean running the wiki via the --server command? Can you show the 
complete command line you are using?

> But if I built the wiki using the build command, those tiddlers are not being 
> included on the resulting wiki, which produces big errors on my plugin.

Can you show the complete build command that you are using, and the relevant 
section of your tiddlywiki.info file?

Best wishes

Jeremy

> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywikidev+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywikidev@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywikidev 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/b61342ca-b682-4430-ae80-8c76b18dbe8d%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/923FB1BD-A4DD-4C88-9DA6-B3A5919D9D41%40gmail.com.
For more options, visit https://groups.google.com/d/optout.