[tw] Re: How to edit body of New Journal Tiddler template

2017-04-04 Thread Roving Richard
Thanks Mark. PR submitted 
<https://github.com/Jermolene/TiddlyWiki5/pull/2821>.

On Tuesday, April 4, 2017 at 10:54:02 AM UTC-4, Mark S. wrote:
>
> If you replaced the contents of $:/core/ui/Buttons/new-journal
>
> with
>
> \define journalButton()
> <$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:
> /language/Buttons/NewJournal/Caption}} class=<>>
> <$action-sendmessage $message="tm-new-tiddler" title=< "$(journalTitleTemplate)$">> tags="$(journalTags)$" text="$(journalText)$"
> />
> <$list filter="[prefix[yes]]">
> {{$:/core/images/new-journal-button}}
> 
> <$list filter="[prefix[yes]]">
> <$text text={{$:/language/Buttons/NewJournal/
> Caption}}/>
> 
> 
> \end
> <$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
> <$set name="journalTags" value={{$:/config/NewJournal/Tags}}>
> <$set name="journalText" value={{$:/config/NewJournal/Text}}>
> <>
> 
>
> then you could put your default text in  
> $:/config/NewJournal/Text
> and have it available as you needed it. Of course, you might miss any 
> upgrades to New Journal and you'll need to remember the name of the tiddler 
> where you stowed the default text. I guess the next step would be to add a 
> box to the configuration screen. I'm kind of surprised that that isn't 
> already available.
>
> Oh yeah - be sure to make a backup before trying this!
>
> HTH
> Mark
>
> On Monday, April 3, 2017 at 10:49:27 PM UTC-7, Roving Richard wrote:
>>
>> Currently, all new journal entries are empty. I'd like to make it so that 
>> it comes preloaded with some text. Should I do it through $:/core/ui/
>> Buttons/new-journal?
>>
>> I want something like this:
>> ! Dream journal
>>
>> ! I'm grateful for
>> # 
>> # 
>> # 
>> # 
>> # 
>>
>> ! I'm excited for
>> # 
>> # 
>> # 
>> # 
>> # 
>>
>>
>> ! Today's wins
>> # 
>> # 
>> # 
>> # 
>> # 
>>
>> ! How I'll improve
>> # 
>> # 
>> # 
>> # 
>> # 
>>
>> I've tried to do this by manually transcluding a {{journal template}} 
>> tiddler, but then I can't actually fill the lists
>>
>

-- 
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/b161c3fa-8611-4c86-ba95-32e13dfda4c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to edit body of New Journal Tiddler template

2017-04-03 Thread Roving Richard
Currently, all new journal entries are empty. I'd like to make it so that 
it comes preloaded with some text. Should I do it through $:/core/ui/Buttons
/new-journal?

I want something like this:
! Dream journal

! I'm grateful for
# 
# 
# 
# 
# 

! I'm excited for
# 
# 
# 
# 
# 


! Today's wins
# 
# 
# 
# 
# 

! How I'll improve
# 
# 
# 
# 
# 

I've tried to do this by manually transcluding a {{journal template}} 
tiddler, but then I can't actually fill the lists

-- 
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/320b9be4-b553-49fa-84ea-fc942b33f1af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - An environment with LaTeX and Markdown?

2017-03-27 Thread Roving Richard
Sorry for the necrobump, but does anyone know if anyone figured out a way 
to parse LaTeX in markdown?

On Monday, April 6, 2015 at 8:57:57 AM UTC-4, radu@gmail.com wrote:
>
> I started using tiddlywiki about one week ago, on the third attempt. The 
> thing that made it viable for me was the TexZilla 
>  plugin. It works great, 
> providing most notably the "aligned" environment which is missing in KaTeX.
>
> This makes TW5 almost perfect as a math notebook. What is missing is 
> Markdown. Besides making the notes look much better, having them written in 
> markdown syntax would make sharing one's work on (virtually all) online 
> forums seamless.
> Unfortunately, the Markdown plugin 
> doesn't work together 
> with the LaTeX plugin (one has to designate the content type as 
> text/x-markdown and as a consequence the LaTeX rendering is inactivated).
>
> Are there any solutions of having markdown and LaTeX rendering functional 
> at the same time?
>
> Thank you
>

-- 
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/f63ae84c-d1c3-45bc-a374-9c8c1ed86195%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Converting Tiddlywiki Wikitext to Markdown

2017-03-27 Thread Roving Richard
Please document how you do the conversion :)

On Monday, March 6, 2017 at 9:16:20 PM UTC-5, Leopold Bloom wrote:
>
> Markdown doesn't have easy way to represent wikilinks, true, but I'll be 
> okay with either Dokuwiki  or 
> Mediawiki  wikitext 
> formats. I use the following formatting devices mostly: links, code blocks, 
> in-line code, headings, bullets, and numbered lists. I know Emacs and Vim 
> at a basic level, I will try to create some macro to process the files one 
> by oneā€”first the links, in the second go bullets and so on and so forth. If 
> I could get this to work it would become easy for me to host my files on 
> the web. My TW5 is 2.1+ mb and it is a big file (for a webpage) to host on 
> the web. Dumping all the text files (once converted, say, to Dokuwiki) will 
> allow easy hosting online in Dokuwiki.
>
> I'd bookmarked a Perl module HTML:WikiConverter 
> 
>  
> to convert HTML (output withTW5 node.js) to various wikitext formats, but 
> since I am not a programmer I had trouble getting it to properly convert 
> the wikilinks in the output converted text, but it does have an option for 
> wikifying links; I need to experiment to see how I can make it work.
>
> On Monday, 6 March 2017 17:39:05 UTC+5:30, PMario wrote:
>>
>> Hi Leopold,
>>
>> There is no automagic way to achieve this. So you'll need to do manual 
>> "find and replace" magic. ... You can split your tiddlers into single 
>> files, use an external text editor and do global search and replace, which 
>> should be pretty fast. ... But you need to be careful. markdown only 
>> supports basic wikitext functions. TiddlyWiki wikitext has a lot more 
>> possibilities. 
>>
>> -mario
>>
>

-- 
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/63206797-fb4c-4dca-91ee-65067cd7a1d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to transclude all tiddlers tagged with

2017-03-26 Thread Roving Richard
I figured it out:

<$list filter="[tag{!!title}]">
<$link><$transclude field="title"/>
<$transclude mode="block"/>




Credit: 
https://groups.google.com/forum/#!searchin/TiddlyWiki/<$24list$20filter$3D"[tag{!!title}]">|sort:relevance/tiddlywiki/V-sEk0nULSI/KFbOQ3vmEwAJ

On Sunday, March 26, 2017 at 8:11:14 PM UTC-4, Roving Richard wrote:
>
> I see that I can transclude 
> <https://github.com/Jermolene/TiddlyWiki5/issues/121> tiddlers with a 
> specific tag using
>
> <$list filter="[tag[TagNameHere]]">
> ! <$transclude field="title"/>
> <$transclude mode="block"/>
>
> I can also make lists of tiddlers using the current title using 
> :
>
> <] +[sort[title]]">>
>
>
> ... but if I try to use the  magic with the transclude 
> code, it doesn't work:
>
> <$list filter="[tag[]]">
> ! <$transclude field="title"/>
> <$transclude mode="block"/>
>
> I've tried using the tag syntax but I get an error that 
> I'm missing the brackets. I don't get why this wouldn't work.
>

-- 
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/c26bbfcf-3ccf-4890-8522-0897fa9fcf11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to transclude all tiddlers tagged with

2017-03-26 Thread Roving Richard
I see that I can transclude 
 tiddlers with a 
specific tag using

<$list filter="[tag[TagNameHere]]">
! <$transclude field="title"/>
<$transclude mode="block"/>

I can also make lists of tiddlers using the current title using 
:

<] +[sort[title]]">>


... but if I try to use the  magic with the transclude 
code, it doesn't work:

<$list filter="[tag[]]">
! <$transclude field="title"/>
<$transclude mode="block"/>

I've tried using the tag syntax but I get an error that I'm 
missing the brackets. I don't get why this wouldn't work.

-- 
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/f786e322-1189-433b-bf8e-f1db8df9b653%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.