[tw] Re: Editing section-by-section
The $1 is in the original <> macro per the tiddly wiki org page: http://tiddlywiki.org/wiki/Transclusion But due to the lack of organizing structure, you would almost have to stumble across it by accident. -- Mark On Jul 27, 1:45 am, Tobias Beer wrote: > Hi Eric, > > That is amazing! > Is that $1 parameter specific to "EditTiddlerPlugin" or general > functionality of tiddlywiki? > If it is general, is there some documentation on (other) powerful > hooks like that? > > Thanks, Tobias. > > On Jul 26, 10:31 pm, Eric Shulman wrote: > > > > I thinkhttp://tiddlytools.com/#EditTiddlerPluginwilldo what you > > > want if used in conjunction with <>. > > > ... and, to make the usage easier to apply, you can define a separate > > tiddler containing the combined syntax and then apply a 'substitution > > parameter' in the tiddler macro to insert the desired TiddlerName. > > First, create a tiddler (e.g., [[ShowSection]]) containing something > > like this: > > > > !!!$1 @@font-size:80%;(<>)@@ > > <> > > > > Then, to use it in another tiddler, just embed the following: > > <> > > > enjoy, > > -e > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
Hi Eric, That is amazing! Is that $1 parameter specific to "EditTiddlerPlugin" or general functionality of tiddlywiki? If it is general, is there some documentation on (other) powerful hooks like that? Thanks, Tobias. On Jul 26, 10:31 pm, Eric Shulman wrote: > > I thinkhttp://tiddlytools.com/#EditTiddlerPluginwill do what you > > want if used in conjunction with <>. > > ... and, to make the usage easier to apply, you can define a separate > tiddler containing the combined syntax and then apply a 'substitution > parameter' in the tiddler macro to insert the desired TiddlerName. > First, create a tiddler (e.g., [[ShowSection]]) containing something > like this: > > !!!$1 @@font-size:80%;(<>)@@ > <> > > Then, to use it in another tiddler, just embed the following: > <> > > enjoy, > -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
> I copied the lines: > !!!$1 @@font-size:80%;(<>)@@ > <> > And named the tiddler ShowSection > but the resulting tiddler renders > $1 (error in macro <>) When viewed directly, the ShowSection tiddler will show the above 'error' output. However, when you write <> in another tiddler, then the $1 contained in ShowSection is *automatically substituted* with "TiddlerName" (the value of the macro parameter), resulting in: !!!TiddlerName @@font-size:80%;(<>)@@ <> Thus, after creating ShowSection, you simply create another tiddler with lines like this: <> <> <> etc. > I then added the systemConfig tag, refreshed and got a "Syntax error: > missing ; before statement". Don't add a 'systemConfig' tag... the content of the tiddler is *not* javascript programming... it is simply formatted wiki-syntax content for use with the <> macro (as described above). enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
I did something wrong. I tried this as I have a large tiddler that I broke down. I ended up doing this !![[Warships|USN Warship Hull Codes]] <> so I could bring up the tiddler to edit it. I copied the lines: !!!$1 @@font-size:80%;(<>)@@ <> And named the tiddler ShowSection but the resulting tiddler renders $1 (error in macro <>) I then added the systemConfig tag, refreshed and got a "Syntax error: missing ; before statement". I'm not a programmer. I first tried programming with Turbo Pascal 15 years ago, then C++ a year later in school, but it didn't take. Ken said "Just put <> in the other tiddlers. " Would I put this in the parts that I am amalgamating in another tiddler? I'm using TW 2.5.2 in Sea Monkey 1.1.16 On Jul 26, 1:31 pm, Eric Shulman wrote: > > I thinkhttp://tiddlytools.com/#EditTiddlerPluginwill do what you > > want if used in conjunction with <>. > > ... and, to make the usage easier to apply, you can define a separate > tiddler containing the combined syntax and then apply a 'substitution > parameter' in the tiddler macro to insert the desired TiddlerName. > First, create a tiddler (e.g., [[ShowSection]]) containing something > like this: > > !!!$1 @@font-size:80%;(<>)@@ > <> > > Then, to use it in another tiddler, just embed the following: > <> > > enjoy, > -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
Looks like you've solved my problem. Thanks! -Jarble On Sun, Jul 26, 2009 at 4:31 PM, Eric Shulman wrote: > > > I think http://tiddlytools.com/#EditTiddlerPlugin will do what you > > want if used in conjunction with <>. > > ... and, to make the usage easier to apply, you can define a separate > tiddler containing the combined syntax and then apply a 'substitution > parameter' in the tiddler macro to insert the desired TiddlerName. > First, create a tiddler (e.g., [[ShowSection]]) containing something > like this: > > !!!$1 @@font-size:80%;(<>)@@ > <> > > Then, to use it in another tiddler, just embed the following: > <> > > enjoy, > -e > > > > -- http://www.tiddlywiki.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
> I think http://tiddlytools.com/#EditTiddlerPlugin will do what you > want if used in conjunction with <>. ... and, to make the usage easier to apply, you can define a separate tiddler containing the combined syntax and then apply a 'substitution parameter' in the tiddler macro to insert the desired TiddlerName. First, create a tiddler (e.g., [[ShowSection]]) containing something like this: !!!$1 @@font-size:80%;(<>)@@ <> Then, to use it in another tiddler, just embed the following: <> enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
I think http://tiddlytools.com/#EditTiddlerPlugin will do what you want if used in conjunction with <>. Just put <> in the other tiddlers. Maybe even hook it up with HideWhen. Ken Girard On Jul 26, 2:42 pm, jarble wrote: > The <> macro works fine, but it is different from MediaWiki's > layout because it doesn't place an "edit" button at the top of each > section. I'm trying to find a version of TiddlyWiki that allows > sections of pages to be edited in the same way as MediaWiki pages. > > On Jul 26, 1:23 pm, "Mark S." wrote: > > > You could put each section in a separate tiddler, and then view them > > together using the <> macro. > > > -- Mark > > > On Jul 26, 7:50 am, jarble wrote: > > > > Is there a plugin that makes it possible to edit TddlyWiki tiddlers > > > section-by-section, like a MediaWiki website? > > > -Jarble --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
The <> macro works fine, but it is different from MediaWiki's layout because it doesn't place an "edit" button at the top of each section. I'm trying to find a version of TiddlyWiki that allows sections of pages to be edited in the same way as MediaWiki pages. On Jul 26, 1:23 pm, "Mark S." wrote: > You could put each section in a separate tiddler, and then view them > together using the <> macro. > > -- Mark > > On Jul 26, 7:50 am, jarble wrote: > > > Is there a plugin that makes it possible to edit TddlyWiki tiddlers > > section-by-section, like a MediaWiki website? > > -Jarble --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
You could put each section in a separate tiddler, and then view them together using the <> macro. -- Mark On Jul 26, 7:50 am, jarble wrote: > Is there a plugin that makes it possible to edit TddlyWiki tiddlers > section-by-section, like a MediaWiki website? > -Jarble --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Editing section-by-section
Sorry, there isn't. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---