[tw] Re: [TW5] How dow I escape < and > characters

2015-02-04 Thread Branimir Braykov
10x,
what I didn't think of is exactly that this is html and treated for html 
tags.
The solution that is best for me is using the space after it.
However, it is still strange, because in TWC this works as it is.

On Wednesday, February 4, 2015 at 5:02:24 PM UTC+2, Jed Carty wrote:
>
> < and > are being treated as part of an html tag. If you have a space 
> after the leading < it should display normally. You say not to tell you to 
> use html escape characters, but it is the html doing it. Your other option 
> is to make macros like this 
>
> \define lt() <$text text='<'/> 
>
> \define gt()  <$text text='>'/> 
>
> And put them in a tiddler tagged $:/tags/Macro 
> Then wherever you put <> or <> it will display < or >

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-04 Thread Stephan Hradek


Am Mittwoch, 4. Februar 2015 15:31:15 UTC+1 schrieb Branimir Braykov:
>
> P.S.
> Please, don't suggest to use html entities. I know about it, but I want to 
> find a general solution.
>

If you prefer a general solution instead of the rntities < >, you can 
use < and >
 

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-04 Thread Tobias Beer

>
> Please, don't suggest to use html entities. I know about it, but I want to 
>> find a general solution.
>>
>
> If you prefer a general solution instead of the entities < >, you 
> can use < and >
>

Is there actually a d difference about numbered or textual entities?
To me, both are equally "general" only that the textual ones are a little 
more recognizable.

Best wishes, Tobias.

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-04 Thread Eric Shulman
On Wednesday, February 4, 2015 at 7:14:37 AM UTC-8, Branimir Braykov wrote:
>
> 10x,
> what I didn't think of is exactly that this is html and treated for html 
> tags.
> The solution that is best for me is using the space after it.
> However, it is still strange, because in TWC this works as it is.
>

TW5 allows mixing of HTML syntax with wiki syntax, so any character 
sequences enclosed in angle brackets are treated as HTML.  In contrast, TWC 
only allows HTML syntax when it is enclosed within   Thus, 
if angle brackets occur *outside* the  block, the are treated as 
regular characters.

Note: The TWC core  handler only supports "pure" HTML syntax (i.e., 
you can't use wiki syntax).
To mix wiki syntax within a TWC  block, you need 
http://www.TiddlyTools.com/#HTMLFormattingPlugin

-e

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-04 Thread Stephan Hradek


Am Mittwoch, 4. Februar 2015 17:51:55 UTC+1 schrieb Tobias Beer:
>
> Please, don't suggest to use html entities. I know about it, but I want to 
>>> find a general solution.
>>>
>>
>> If you prefer a general solution instead of the entities < >, you 
>> can use < and >
>>
>
> Is there actually a d difference about numbered or textual entities?
>
Of course there is. The later one are entities and are defined: 
http://www.w3.org/TR/html4/sgml/entities.html

The numbers are not entities but "Numeric character references 
". Branimir was 
explicitly asking for a more general solution than "entities". Character 
references are the most general ones I can think of.

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-07 Thread Bob Robison
And I guess it is a fair assumption that there is no generic way to 
'escape' any character that might otherwise be interpreted by the parser?  
i.e. I ran into a problem recently where I really needed to have two 
forward slashes next to each other in some text (//).  However I could 
never get it to render properly, as I assume it was trying to make 
something italics..

I would think it would be useful if there were *some* mechanism that could 
mean interpret the next character exactly. 

bob

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-07 Thread PMario
One option to disable "italic" rendering is with the \rules pragma. 

eg: If you include this into a tiddler the // will not be rendered. 

\rules except italic

-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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-08 Thread sini-Kit
 <  and >  



среда, 4 февраля 2015 г., 17:31:15 UTC+3 пользователь Branimir Braykov 
написал:

> Hi, All,
> < and > are not actually wiki characters, but whenever I want to write 
> text like this: "some  text" I get "some text" rendered.
> Is this a bug? If its not, then I cannot find anything about special usage 
> of < > (except <$ >) in the documentation.
>
> P.S.
> Please, don't suggest to use html entities. I know about it, but I want to 
> find a general solution.
>

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-09 Thread Branimir Braykov
And until suppressed parsing is invented, I just wanted to add that > does 
not have to be escaped if < is escaped.
So only  is enough :-)

On Sunday, February 8, 2015 at 9:19:43 PM UTC+2, sini-Kit wrote:
>
>  <  and >  
>
>
>
> среда, 4 февраля 2015 г., 17:31:15 UTC+3 пользователь Branimir Braykov 
> написал:
>
>> Hi, All,
>> < and > are not actually wiki characters, but whenever I want to write 
>> text like this: "some  text" I get "some text" rendered.
>> Is this a bug? If its not, then I cannot find anything about special 
>> usage of < > (except <$ >) in the documentation.
>>
>> P.S.
>> Please, don't suggest to use html entities. I know about it, but I want 
>> to find a general solution.
>>
>

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-09 Thread Stephan Hradek


Am Montag, 9. Februar 2015 12:18:28 UTC+1 schrieb Branimir Braykov:
>
> And until suppressed parsing is invented, I just wanted to add that > does 
> not have to be escaped if < is escaped.
> So only  is enough :-)
>
> Are you sure?

\define showme(txt) $txt$

# <> - correct
# <>">> - wrong

 

-- 
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/d/optout.


[tw] Re: [TW5] How dow I escape < and > characters

2015-02-09 Thread Branimir Braykov
OK, in your case, I'm not :-)

On Monday, February 9, 2015 at 2:11:18 PM UTC+2, Stephan Hradek wrote:
>
>
>
> Am Montag, 9. Februar 2015 12:18:28 UTC+1 schrieb Branimir Braykov:
>>
>> And until suppressed parsing is invented, I just wanted to add that > 
>> does not have to be escaped if < is escaped.
>> So only  is enough :-)
>>
>> Are you sure?
>
> \define showme(txt) $txt$
>
> # <> - correct
> # <>">> - wrong
>
>  
>

-- 
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/d/optout.


Re: [tw] Re: [TW5] How dow I escape < and > characters

2015-02-07 Thread Jeremy Ruston
Hi Bob

> I would think it would be useful if there were *some* mechanism that
could mean interpret the next character exactly.

I agree. One option that's been discussed in the past is check for a
preceding ~ before every parse rule, and suppress it if it is found. I
think it may be more flexible to be able to suppress all wikitext
processing in a passage, without having to find and suppress each rule. For
example, ===this is //not// italicised===.

I've created a ticket for the latter idea:

https://github.com/Jermolene/TiddlyWiki5/issues/1473

Best wishes

Jeremy.



On Sat, Feb 7, 2015 at 3:18 PM, Bob Robison  wrote:

> And I guess it is a fair assumption that there is no generic way to
> 'escape' any character that might otherwise be interpreted by the parser?
> i.e. I ran into a problem recently where I really needed to have two
> forward slashes next to each other in some text (//).  However I could
> never get it to render properly, as I assume it was trying to make
> something italics..
>
> I would think it would be useful if there were *some* mechanism that could
> mean interpret the next character exactly.
>
> bob
>
> --
> 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/d/optout.
>



-- 
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/d/optout.