[tw] Re: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-23 Thread TheDiveO
Yes, this seems to be the same issue. At least for me not a big deal and 
easy to circumvent, but in other situations, it may become a real deal 
breaker.

On Wednesday, January 22, 2014 4:50:18 PM UTC+1, Julie wrote:

 An issue with linebreaks, especially after tables, I guess.
 See https://groups.google.com/forum/#!topic/tiddlywiki/uuqj5MJWo3E for a 
 similar issue. It seems that when the wikitext is translated into HTML, 
 some p elements are included that may interfere with what you expect.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread TheDiveO
Well, one mistake found, hit next wall ... of course, it should have been:

{{{[is[current]]||RFCHeader}}}

This now transcludes the markup verbatim instead of rendering it. Somehow 
I'm still not getting it...

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread Stephan Hradek


Am Mittwoch, 22. Januar 2014 15:01:33 UTC+1 schrieb TheDiveO:

 Well, one mistake found, hit next wall ... of course, it should have been:

 {{{[is[current]]||RFCHeader}}}

 This now transcludes the markup verbatim instead of rendering it. Somehow 
 I'm still not getting it...

 Instead of that you could better use:

{{!!title||RFCHeader}}

 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread Jeremy Ruston
If you want to transclude a tiddler without changing the current tiddler
variable, you can just do this:

$transclude tiddler=RFCHeader/

That should cause RFCHeader to be transcluded without affecting the current
tiddler, so the view widgets you've got referencing the current tiddler
should still work as expected.

Best wishes

Jeremy



On Wed, Jan 22, 2014 at 2:01 PM, TheDiveO harald.albre...@gmx.net wrote:

 Well, one mistake found, hit next wall ... of course, it should have been:

 {{{[is[current]]||RFCHeader}}}

 This now transcludes the markup verbatim instead of rendering it. Somehow
 I'm still not getting it...

  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Jeremy Ruston
mailto:jeremy.rus...@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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread TheDiveO
At first, it looked as if it doesn't exactly work as expected, as all I got 
from

$transclude tiddler=RFCHeader/

was the table markdown generated by the template tiddler:

| !RFC|4861| | !Title|Neighbor Discovery for IP version 6 (IPv6)|

While I was writing my reply I then noticed something odd: the transclude 
command was the only content, no white space after and line endings. As 
soon as I added a new line directly after the transclude command, the 
markdown returned as part of the transclusion gets parsed. Without it, I 
see the unparsed markdown from the transclusion instead.

Bug, feature ... or me being a newbie?

In any case, thank you for your help!
-- TheDiveO

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread Julie
An issue with linebreaks, especially after tables, I guess.
See https://groups.google.com/forum/#!topic/tiddlywiki/uuqj5MJWo3E for a 
similar issue. It seems that when the wikitext is translated into HTML, 
some p elements are included that may interfere with what you expect.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.