[tw5] Re: Temporarily getting rid of camel case

2020-08-17 Thread 'Werner' via TiddlyWiki
Tried the latter option. Works. Many thanks.

Am Montag, 17. August 2020 16:43:57 UTC+2 schrieb Eric Shulman:
>
> On Monday, August 17, 2020 at 6:45:32 AM UTC-7, Werner wrote:
>>
>> Eric, your solution only seems to work with static text, like
>> \rules except wikilink
>> CamelCaseText
>>
>> and not in a situation when the camel case text is generated 
>> programatically like transclusion.
>> Any clue would be greatly appreciated
>>
>
> ok... try this instead of the \rules
> \define tv-wikilinks() no
> This will suppress *all* links, even from transclusions (note: except for 
> external links, i.e., "http://...;)
> (see https://tiddlywiki.com/#tv-wikilinks%20Variable)
>
> Alternatively, you can write it this way:
> <$vars tv-wikilinks=no><$transclude tiddler="SomeTiddler" mode="block" 
> />
> This will only suppress the links for that specific transclusion, but 
> render all other links as usual
>
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27eb424a-d48d-4b1b-9447-74f44abe082fo%40googlegroups.com.


[tw5] Re: Temporarily getting rid of camel case

2020-08-17 Thread Eric Shulman
On Monday, August 17, 2020 at 6:45:32 AM UTC-7, Werner wrote:
>
> Eric, your solution only seems to work with static text, like
> \rules except wikilink
> CamelCaseText
>
> and not in a situation when the camel case text is generated 
> programatically like transclusion.
> Any clue would be greatly appreciated
>

ok... try this instead of the \rules
\define tv-wikilinks() no
This will suppress *all* links in the tiddler (except for external links, 
i.e., "http://...;)

Alternatively, you can write:
<$vars tv-wikilinks=no><$transclude tiddler="SomeTiddler" mode="block" 
/>
This will only suppress the links for that specific transclusion, but 
render all other links as usual

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ba07181-26a9-47ab-b75f-2bb796f6dfddo%40googlegroups.com.


[tw5] Re: Temporarily getting rid of camel case

2020-08-17 Thread 'Werner' via TiddlyWiki
Eric, your solution only seems to work with static text, like

\rules except wikilink
CamelCaseText

and not in a situation when the camel case text is generated 
programatically like transclusion.

as I wrote to TW Tones, normally I would resort to the text widget, but, so 
far, I haven't managed to properly assign the text parameter based on my 
dynamic content.

Any clue would be greatly appreciated
Werner


Am Freitag, 14. August 2020 19:43:33 UTC+2 schrieb Eric Shulman:
>
> On Friday, August 14, 2020 at 8:40:02 AM UTC-7, Werner wrote:
>>
>> Camel case is sort of an annoyance for me. I don't want to switch it off 
>> completely, but sometimes I don't want it while transcluding. Here's an 
>> example: I run a company database, and companies sometimes have camel case 
>> names.
>> ...when the company name is in camel case it gets auto-converted to a 
>> link. How do I get rid of this (without the global switch)? 
>>
>
> Add this "pragma" to the top of a tiddler:
> \rules except wikilink
> This will disable automatic CamelCase links only for content in that 
> tiddler.
>
> Notes:
> * There is also a "\rules only ..." pragma
> * To see the full list of rules that can be referenced, enter this in the 
> $:/AdvancedSearch, filter input:
> [[wikiparserrules[]]
>
> enjoy,
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/512c6258-5c7d-4d24-a84d-3cc52bab41aco%40googlegroups.com.


[tw5] Re: Temporarily getting rid of camel case

2020-08-15 Thread 'Werner' via TiddlyWiki
Hi Tones,

thanks. The text widget is usually the first thing I resort to in this 
case. I was not able getting transclusion to work though. 

Best, Werner

TW Tones schrieb am Samstag, 15. August 2020 um 02:50:48 UTC+2:

> Werner
>
> In some cases using the text widget will help produce a result which is 
> not evaluated as camelCase. The simple version of the link widget does this 
> to. So if a multiword title where one word is camel case that will not 
> become a link.
>
> Regards
> Tones
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e100f465-cd71-472a-9994-dbbc27024226n%40googlegroups.com.


[tw5] Re: Temporarily getting rid of camel case

2020-08-14 Thread TW Tones
Werner

In some cases using the text widget will help produce a result which is not 
evaluated as camelCase. The simple version of the link widget does this to. So 
if a multiword title where one word is camel case that will not become a link.

Regards
Tones

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f857aaf0-484f-48e7-9ea2-a0e4e9046637o%40googlegroups.com.


[tw5] Re: Temporarily getting rid of camel case

2020-08-14 Thread 'Werner' via TiddlyWiki
Eric, you’re awesome. Thanks so much

Werner

Eric Shulman schrieb am Freitag, 14. August 2020 um 19:43:33 UTC+2:

> On Friday, August 14, 2020 at 8:40:02 AM UTC-7, Werner wrote:
>
>> Camel case is sort of an annoyance for me. I don't want to switch it off 
>> completely, but sometimes I don't want it while transcluding. Here's an 
>> example: I run a company database, and companies sometimes have camel case 
>> names.
>>
> ...when the company name is in camel case it gets auto-converted to a 
>> link. How do I get rid of this (without the global switch)? 
>>
>
> Add this "pragma" to the top of a tiddler:
> \rules except wikilink
> This will disable automatic CamelCase links only for content in that 
> tiddler.
>
> Notes:
> * There is also a "\rules only ..." pragma
> * To see the full list of rules that can be referenced, enter this in the 
> $:/AdvancedSearch, filter input:
> [[wikiparserrules[]]
>
> enjoy,
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4f650ad4-0aff-40e3-a57e-ada8d7071fcfn%40googlegroups.com.


[tw5] Re: Temporarily getting rid of camel case

2020-08-14 Thread Eric Shulman
On Friday, August 14, 2020 at 8:40:02 AM UTC-7, Werner wrote:
>
> Camel case is sort of an annoyance for me. I don't want to switch it off 
> completely, but sometimes I don't want it while transcluding. Here's an 
> example: I run a company database, and companies sometimes have camel case 
> names.
> ...when the company name is in camel case it gets auto-converted to a 
> link. How do I get rid of this (without the global switch)? 
>

Add this "pragma" to the top of a tiddler:
\rules except wikilink
This will disable automatic CamelCase links only for content in that 
tiddler.

Notes:
* There is also a "\rules only ..." pragma
* To see the full list of rules that can be referenced, enter this in the 
$:/AdvancedSearch, filter input:
[[wikiparserrules[]]

enjoy,
-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74b6e153-2591-4e4a-bf05-54c70e011e30o%40googlegroups.com.