List Info

Thread: How to stop being interpreted?




How to stop being interpreted?
country flaguser name
United States
2007-09-21 15:05:30
{{{
I have a tiddler with a reference to  and 
(time/datestamps).
}}}

The text is formatted as above but still the  and 
are
expanded when the tiddler is saved. I'm using Firefox.

Thanks
Paul


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to stop being interpreted?
country flaguser name
United States
2007-09-21 19:24:31
> I have a tiddler with a reference to  and 
(time/datestamps).
>
> }}}
>
> The text is formatted as above but still the  and
 are
> expanded when the tiddler is saved. I'm using Firefox

you could use HTML entities:

{ts}
{ds}

should work.

--
schilke


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to stop being interpreted?
user name
2007-09-21 23:44:33
Another work around:

{/%%/ts}

or
{t/%%/s}

etc

On 9/22/07, schilke <googlegroups.tt.checkxoxy.net> wrote:
>
> > I have a tiddler with a reference to  and 
(time/datestamps).
> >
> > }}}
> >
> > The text is formatted as above but still the 
and  are
> > expanded when the tiddler is saved. I'm using
Firefox
>
> you could use HTML entities:
>
> &#123;ts&#125;
> &#123;ds&#125;
>
> should work.
>
> --
> schilke
>
>
> >
>


-- 
simon.bairdgmail.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to stop being interpreted?
country flaguser name
United States
2007-09-22 00:42:31
> {/%%/ts}
> {t/%%/s}
> > &#123;ts&#125;
> > &#123;ds&#125;
> > should work.

... but won't, because the example in the original posting
had the
 enclosed in a PRE block:

{{{
This sentence contains a  that should be left alone but
isn't
}}}

as a result, TW comments (/%%/) or HTML entities (&#123;
and ^#125;)
will simply appear as literal content in the PRE block and
won't
appear as desired.  However... a quick look at the code for
the
InstantTimestamp plugin:

   http://s
imonbaird.com/mptw/#InstantTimestamp

includes a static array called "excludeTags",
which contains this set
of tag values:

   "noAutoCorrect", "CSS",
"css", "systemConfig",
"zsystemConfig",
"Plugins", "Plugin",
"plugins", "plugin",
"javascript", and "code".

A quick, *workable* solution to your problem is to simply
tag the
troublesome tiddler with any of the above tags... if a
tiddler is
tagged with one (or more) of these tags, embedded 
sequences
contained in that tiddler will NOT be converted... and, if
you wanted
to use a tag of your own choosing (e.g., "myTag"),
then you can create
a tiddler called [[InstantTimestampTweak]], tagged with
"systemConfig" (i.e., a plugin tiddler),
containing the following
single line of javascript code:

  
config.InstantTimestamp.excludeTags.push("myTag");


Then, after saving and reloading the document, any tiddlers
tagged
with "myTag" will also be excluded from the
InstantTimestamp
conversion processing.

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to stop being interpreted?
country flaguser name
United States
2007-09-22 04:55:21
This is trickier than I imagined! What I'm trying to is put
a little
note to the reader above a table which has a column for the
date of
entries.

Enter  or  for Date/Time

|Column1|Colum2|Column3|Date/Time|

If I disable InstantTimeStamp for that tiddler then the last
column
will not function as desired. I thought, mistakenly, that
{{}}
would turn off interpretation. I don't removing that and
trying {/%%/
ts} / &#123;ts&#125.

Hmm. Here's the result

"{%%ts}" works!

"{%%ts} {%%ds}" yields " {%%ds}"

so either (ts or ds) works but not both together. However,

"{/%%/ts} or &#123;ds&#125;" yields
" or "

!''Many thanks''
Paul


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to stop being interpreted?
country flaguser name
United States
2007-09-22 06:53:09
Eric, I never before thought about this smart way of
customizing this
plugin (and plugins in general). I've always edited the
plugin code
before. Thanks.

I was thinking that Simon could create a shadow
InstantTimestampPluginConfig tiddler with the tweakable
code, but then
I learned that shadow tiddlers cannot be tagged by now
http://trac.tid
dlywiki.org/ticket/183

Simon, you may want to consider adding a button to let users
create an
InstantTimestampPluginTweaks tiddler. I tried it and it
worked nicely:
http://tiddl
ywiki.pastebin.com/m2fc00179

-Xv

> then you can create
> a tiddler called [[InstantTimestampTweak]], tagged
with
> "systemConfig" (i.e., a plugin tiddler),
containing the following
> single line of javascript code:
>
>   
config.InstantTimestamp.excludeTags.push("myTag");

>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )