[tw5] Re: Section Names using ID for internal Links

2022-09-12 Thread Justin H.
For others who might find this thread, and wish to read the documentation 
on anchor links, the official tiddler can be found here: *Anchor Links 
using HTML* 

On Tuesday, December 10, 2019 at 11:29:04 AM UTC-5 Mark S. wrote:

> 404 Error.
>
>
> On Sunday, April 7, 2019 at 7:08:27 AM UTC-7, S. S. wrote:
>>
>>
>> With sincere apologies to Watt who took a lot of time and thought to 
>> rewrite the  Documentation tiddler, I just could not get around to 
>> including his suggestions, and this led to a few weeks delay. Unfortunately 
>> I submitted the original version 
>>  for inclusion in 
>> the upcoming 5.1.20 release as I could not muster up the concentration to 
>> rewrite it again. 
>>
>> The final submission can be previewed here:  Anchor Links using HTML 
>> 
>>
>>
>>
>> On Tuesday, March 12, 2019 at 1:44:01 AM UTC+7, Watt wrote:
>>>
>>> Hi S. S.
>>>
>>> I looked at your docs and was convinced I could make them shorter. Now 
>>> after several hours I realise how bleedin difficult it is to write concise, 
>>> comprehensible docs. I salute your achievement!
>>>
>>> I've attached my attempt but it's not much of an improvement as regards 
>>> brevity or comprehensibilitytion. I've also messed around with all your 
>>> headings so, not only is it nearly the same length, it will also cost you 
>>> some time re-doing the anchor links. I won't be offended if you decline the 
>>> 'assistance'.
>>>
>>> Thanks for the anchor link addition to TW anyway, it's a useful feature. 
>>> Rgds.
>>>   
>>>
>>> On Monday, 11 March 2019 06:24:59 UTC, S. S. wrote:


 I believe the Documentation for this  (bug) transformed into a 
 *feature* is just about ready.

 But that is not for me alone to decide - it's for all here who read the 
 docs to see if it's explained clearly and properly.

 Any comments/additions/corrections/criticisms would be appreciated, 
 specially suggestions for making it shorter (something I have trouble 
 achieving).

 The tiddler has been renamed to: Anchor Links using HTML 
 

 Regards.



-- 
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/5c6cb13a-81c1-4921-a6c4-673b62f8aaa2n%40googlegroups.com.


[tw5] Re: Section Names using ID for internal Links

2019-12-10 Thread 'Mark S.' via TiddlyWiki
404 Error.

On Sunday, April 7, 2019 at 7:08:27 AM UTC-7, S. S. wrote:
>
>
> With sincere apologies to Watt who took a lot of time and thought to 
> rewrite the  Documentation tiddler, I just could not get around to 
> including his suggestions, and this led to a few weeks delay. Unfortunately 
> I submitted the original version 
>  for inclusion in the 
> upcoming 5.1.20 release as I could not muster up the concentration to 
> rewrite it again. 
>
> The final submission can be previewed here:  Anchor Links using HTML 
> 
>
>
>
> On Tuesday, March 12, 2019 at 1:44:01 AM UTC+7, Watt wrote:
>>
>> Hi S. S.
>>
>> I looked at your docs and was convinced I could make them shorter. Now 
>> after several hours I realise how bleedin difficult it is to write concise, 
>> comprehensible docs. I salute your achievement!
>>
>> I've attached my attempt but it's not much of an improvement as regards 
>> brevity or comprehensibilitytion. I've also messed around with all your 
>> headings so, not only is it nearly the same length, it will also cost you 
>> some time re-doing the anchor links. I won't be offended if you decline the 
>> 'assistance'.
>>
>> Thanks for the anchor link addition to TW anyway, it's a useful feature. 
>> Rgds.
>>   
>>
>> On Monday, 11 March 2019 06:24:59 UTC, S. S. wrote:
>>>
>>>
>>> I believe the Documentation for this  (bug) transformed into a 
>>> *feature* is just about ready.
>>>
>>> But that is not for me alone to decide - it's for all here who read the 
>>> docs to see if it's explained clearly and properly.
>>>
>>> Any comments/additions/corrections/criticisms would be appreciated, 
>>> specially suggestions for making it shorter (something I have trouble 
>>> achieving).
>>>
>>> The tiddler has been renamed to: Anchor Links using HTML 
>>> 
>>>
>>> Regards.
>>>
>>>

-- 
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/b496d74d-5d32-428e-8880-65704e6d3928%40googlegroups.com.


[tw5] Re: Section Names using ID for internal Links

2019-04-07 Thread S. S.

With sincere apologies to Watt who took a lot of time and thought to 
rewrite the  Documentation tiddler, I just could not get around to 
including his suggestions, and this led to a few weeks delay. Unfortunately 
I submitted the original version 
 for inclusion in the 
upcoming 5.1.20 release as I could not muster up the concentration to 
rewrite it again. 

The final submission can be previewed here:  Anchor Links using HTML 




On Tuesday, March 12, 2019 at 1:44:01 AM UTC+7, Watt wrote:
>
> Hi S. S.
>
> I looked at your docs and was convinced I could make them shorter. Now 
> after several hours I realise how bleedin difficult it is to write concise, 
> comprehensible docs. I salute your achievement!
>
> I've attached my attempt but it's not much of an improvement as regards 
> brevity or comprehensibilitytion. I've also messed around with all your 
> headings so, not only is it nearly the same length, it will also cost you 
> some time re-doing the anchor links. I won't be offended if you decline the 
> 'assistance'.
>
> Thanks for the anchor link addition to TW anyway, it's a useful feature. 
> Rgds.
>   
>
> On Monday, 11 March 2019 06:24:59 UTC, S. S. wrote:
>>
>>
>> I believe the Documentation for this  (bug) transformed into a 
>> *feature* is just about ready.
>>
>> But that is not for me alone to decide - it's for all here who read the 
>> docs to see if it's explained clearly and properly.
>>
>> Any comments/additions/corrections/criticisms would be appreciated, 
>> specially suggestions for making it shorter (something I have trouble 
>> achieving).
>>
>> The tiddler has been renamed to: Anchor Links using HTML 
>> 
>>
>> Regards.
>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31085630-1ce0-4de5-be80-3b2afbfedd17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-11 Thread TonyM
S S and Suzanne,

I do recommend my suggested use of the Qualify macro if there is a chance 
you want to do this in more than one tiddler. This will most likely be my 
default use.

Regards
Tony

On Tuesday, March 12, 2019 at 4:09:14 PM UTC+11, S. S. wrote:
>
> Suzanne,
>
> As of now, a way of making the *anchor* and the *anchor link* is *not* 
> available in WikiText. So what you wrote is correct if you want the anchor 
> to be your heading.
> For now, we have to use HTML.
> As Tony pointed out, any HTML tag (element) can hold the *id* attribute. 
> So it could also be any of these and of course many more:
>
> 
>
> ! My Heading 01
>
> 
>
> ! My Heading 02
>
> 
>
> ! My Heading 03
> More text
> 
>
>
> Regards.
>
>
> On Tuesday, March 12, 2019 at 10:07:19 AM UTC+7, Suzanne McHale wrote:
>>
>> Does this mean that if an anchor link is desired, a heading is written as 
>> *> id="#heading-01"> My Heading* rather than using Wikitext to define 
>> a heading: *! My Heading?*
>>
>>  
>>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/24d82a04-13a1-4be1-b06a-f3a57f163464%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-11 Thread S. S.
Suzanne,

As of now, a way of making the *anchor* and the *anchor link* is *not* 
available in WikiText. So what you wrote is correct if you want the anchor 
to be your heading.
For now, we have to use HTML.
As Tony pointed out, any HTML tag (element) can hold the *id* attribute. So 
it could also be any of these and of course many more:



! My Heading 01



! My Heading 02



! My Heading 03
More text



Regards.


On Tuesday, March 12, 2019 at 10:07:19 AM UTC+7, Suzanne McHale wrote:
>
> Does this mean that if an anchor link is desired, a heading is written as 
> * id="#heading-01"> My Heading* rather than using Wikitext to define a 
> heading: *! My Heading?*
>
>  
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dfacf746-ead3-49e8-8604-88a6ade26d61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-11 Thread TonyM
Suzanne

That is one way to do it, but any html tag that can accept the I'd parameter 
will work. The anchor could be in  for example. The link will jump to 
the line with the I'd in it. So it could jump to something before your
!heading

Regards
Tony

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1fe959ed-e6f3-4849-b477-e561bacb1845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-11 Thread Suzanne McHale
Does this mean that if an anchor link is desired, a heading is written as * My Heading* rather than using Wikitext to define a 
heading: *! My Heading?*

 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1c87a55-8c75-47bc-8c14-bb03176cf200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-11 Thread S. S.
Thanks so much Watt!

There are quite a few changes that I really like, specially putting the 
links to the sections right at the top, breaking the procedure into Step 1 
& 2, and the language changes that are nice and friendlier.

Appreciate the time you spent getting things in order. I will rework it 
again using these good ideas.

Cheers!



On Tuesday, March 12, 2019 at 1:44:01 AM UTC+7, Watt wrote:
>
> Hi S. S.
>
> I looked at your docs and was convinced I could make them shorter. Now 
> after several hours I realise how bleedin difficult it is to write concise, 
> comprehensible docs. I salute your achievement!
>
> I've attached my attempt but it's not much of an improvement as regards 
> brevity or comprehensibilitytion. I've also messed around with all your 
> headings so, not only is it nearly the same length, it will also cost you 
> some time re-doing the anchor links. I won't be offended if you decline the 
> 'assistance'.
>
> Thanks for the anchor link addition to TW anyway, it's a useful feature. 
> Rgds.
>   
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/027e39df-a82f-41eb-aaa3-83b670193461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-11 Thread Watt
Hi S. S.

I looked at your docs and was convinced I could make them shorter. Now 
after several hours I realise how bleedin difficult it is to write concise, 
comprehensible docs. I salute your achievement!

I've attached my attempt but it's not much of an improvement as regards 
brevity or comprehensibilitytion. I've also messed around with all your 
headings so, not only is it nearly the same length, it will also cost you 
some time re-doing the anchor links. I won't be offended if you decline the 
'assistance'.

Thanks for the anchor link addition to TW anyway, it's a useful feature. 
Rgds.
  

On Monday, 11 March 2019 06:24:59 UTC, S. S. wrote:
>
>
> I believe the Documentation for this  (bug) transformed into a *feature* 
> is just about ready.
>
> But that is not for me alone to decide - it's for all here who read the 
> docs to see if it's explained clearly and properly.
>
> Any comments/additions/corrections/criticisms would be appreciated, 
> specially suggestions for making it shorter (something I have trouble 
> achieving).
>
> The tiddler has been renamed to: Anchor Links using HTML 
> 
>
> Regards.
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0d45f13e-9f97-4632-80fb-ed36be0f4ff0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Anchor docs.json
Description: application/json


[tw5] Re: Section Names using ID for internal Links

2019-03-11 Thread S. S.

I believe the Documentation for this  (bug) transformed into a *feature* 
is just about ready.

But that is not for me alone to decide - it's for all here who read the 
docs to see if it's explained clearly and properly.

Any comments/additions/corrections/criticisms would be appreciated, 
specially suggestions for making it shorter (something I have trouble 
achieving).

The tiddler has been renamed to: Anchor Links using HTML 


Regards.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1ddadeb4-e41a-4fb5-a3d9-10207e371a14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-07 Thread S. S.
Tony, this is a really great solution you have reached. Wonderful insight 
and connecting the dots to use a <> macro!

I tested it with this, and transcluded it multiple times. As you said, it 
works! Navigates to the correct link of the correct tiddler.

> > <>

> > <>

> >Link to My Heading h1
> >Link to My Heading h2

Now I will have to do some rewriting on the Github Pull request #3836 

Regards.


On Friday, March 8, 2019 at 10:01:38 AM UTC+7, TonyM wrote:
>
> S S ,
>
> I had a hunch that paid off. If we want the ID to be unique to tiddler use 
> qualify and it seems to work.
>
> *This should solve many of the aforementioned problems.*
>
> Eg in TOC
>
> > >Link to My Heading
>
>
> In Text
>
> > > My Heading
>
> Also the following works to help users nest headings
> > >Link to My Heading 1.1
>
> > > My Heading h1.1
>
>
>
>
> Notes:
>
>- There is not current tiddler in the sidebar so this may not work 
>there but a hardcoded number could be used
>- As ID's can be defined in CSS (Am I correct?) perhaps we can use the 
>new wikitext in CSS features to automatically generate ID's that qualify 
>them automatically.
>
> I am confident there is more to be discovered.
>
> Regards
> Tony
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/82ef9693-2ce3-4d07-84b9-9a3677ccec92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-07 Thread TonyM
S S ,

I had a hunch that paid off. If we want the ID to be unique to tiddler use 
qualify and it seems to work.

*This should solve many of the aforementioned problems.*

Eg in TOC

> >Link to My Heading


In Text

> > My Heading

Also the following works to help users nest headings
> >Link to My Heading 1.1

> > My Heading h1.1




Notes:

   - There is not current tiddler in the sidebar so this may not work there 
   but a hardcoded number could be used
   - As ID's can be defined in CSS (Am I correct?) perhaps we can use the 
   new wikitext in CSS features to automatically generate ID's that qualify 
   them automatically.

I am confident there is more to be discovered.

Regards
Tony

On Friday, March 1, 2019 at 11:27:11 PM UTC+11, S. S. wrote:
>
>
> It's best experienced - and the tiddler says it better than pasting it 
> here.
>
> Please drag the attached tiddler into https://tiddlywiki.com/ and import. 
> In the side bar, Click the the Recent tab, and open the tiddler.
>
> Click the links at the top and within the tiddler, and then please read it 
> right to the very end to understand what is being shown.
>
> Thanks.
>
> *EDIT*: Please use the *updated* tiddler attached in my next post instead 
> of this one. Both work fine, but the updated tiddler corrects the 
> explanation.
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c64bfc74-852c-47d9-bb4c-7889fef7222b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-07 Thread S. S.
I guess this might be ready for submitting to tiddywiki.com now.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f17c6a29-9a30-4a1a-98a1-d8bb97dacdaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-04 Thread S. S.
Tony,

Yes, I believe you are right. Having some method, limited though it may be, 
may be enough for most all needs. I imagine one only needs in-tiddler links 
for specific purposes, not for general use everywhere.

Once a few dozen tiddlers are open, one is often beyond the normal use 
pattern of TiddlyWiki. 
I guess one could say, if you'd like to use in-tiddler links for scrolling 
to a target, don't create situations where *id* targets within a 
"tiddler-transcluded-multiple-times" needs to be accessed - because it 
likely won't work the way you want it to.

Meanwhile I have updated the documentation tiddler to include Mario's 
ctrl+click observation, and changed some phrasings around. It is at the 
same URL.


updated: Internal Links using HTML 


Please do click on the 6 links at the bottom of the tiddler to see if there 
are any unexpected results on different browsers.
The first and second links on that list should always work. The problematic 
ones may be next 3.

The original draft copy is still there renamed to: *Internal Links using 
HTML - Draft 1*


On Tuesday, March 5, 2019 at 7:31:20 AM UTC+7, TonyM wrote:
>
> S S,
>
> One day we may find the ultimate answer, perhaps with unique automatically 
> generated IDs however as long as we place the instructions and caveats 
> around it your method is likely to suite 80% of cases. Using tiddlers and 
> lists and other methods is often sufficient, however in the case of 
> managing large tiddlers, building tiddlers for publishing (especially to 
> HTML) etc... having "A Method" is great.
>
> Actually since the key here may be for the production of html for reading 
> or export perhaps a template that generates the html with automatic anchors 
> may be the way to go.
>
> Regards
> Tony
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7f5e0e76-5ee2-4e47-9425-04637c401d9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Internal Links using HTML - updated 1.tid
Description: Binary data


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-04 Thread TonyM
S S,

One day we may find the ultimate answer, perhaps with unique automatically 
generated IDs however as long as we place the instructions and caveats 
around it your method is likely to suite 80% of cases. Using tiddlers and 
lists and other methods is often sufficient, however in the case of 
managing large tiddlers, building tiddlers for publishing (especially to 
HTML) etc... having "A Method" is great.

Actually since the key here may be for the production of html for reading 
or export perhaps a template that generates the html with automatic anchors 
may be the way to go.

Regards
Tony

On Tuesday, March 5, 2019 at 11:18:21 AM UTC+11, S. S. wrote:
>
> Hi Mario,
>
> Thanks for the feedback. I had forgotten to test the CTRL click on the 
> links. I will mention that as a side effect.
>
> What is interesting in doing this is that it brings to light an issue not 
> talked about before.
> Many have been asking for internal links within a tiddler, but we can see 
> that it can lead to awkward situations when that tiddler is transcluded! 
> The way I worded it is:
>
> If transclusions create multiple instances of the id, navigation will 
>> take place to the first instance found that satisfies the above criteria. 
>>
>
> Well, just testing out these internal links within a tiddler has provided 
> this Food for thought!
> At least for now we do have a (not perfect) way to jump to targets within 
> a very long tiddler.
>
> Cheers
>
> On Monday, March 4, 2019 at 8:35:27 PM UTC+7, PMario wrote:
>>
>> Hi, 
>>
>> The biggest problem, I see, with this mechanism is, that anchor IDs must 
>> be unique. If you open a new tiddler and insert this: {{Section Names 
>> using ID for internal Links}} you'll have a problem. 
>>
>> The whole anchoring thing is in an undefined state now. So if the user 
>> clicks a link it may jump to an anchor of a different tiddler. 
>>
>> That's not a big deal for the example used here, but if the whole content 
>> is dynamically created, it will create confused users.
>>
>> The second thing is, that a -click on a Next or Prev link opens a 
>> new tab, which isn't the standard behaviour for TW internal links. .. It 
>> should open the tiddler without navigating to the new tiddler. 
>>
>> just some thoughts. 
>>
>> -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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c3ba9c6-46cc-4492-95af-586f646076be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-04 Thread S. S.
Hi Mario,

Thanks for the feedback. I had forgotten to test the CTRL click on the 
links. I will mention that as a side effect.

What is interesting in doing this is that it brings to light an issue not 
talked about before.
Many have been asking for internal links within a tiddler, but we can see 
that it can lead to awkward situations when that tiddler is transcluded! 
The way I worded it is:

If transclusions create multiple instances of the id, navigation will take 
> place to the first instance found that satisfies the above criteria. 
>

Well, just testing out these internal links within a tiddler has provided 
this Food for thought!
At least for now we do have a (not perfect) way to jump to targets within a 
very long tiddler.

Cheers

On Monday, March 4, 2019 at 8:35:27 PM UTC+7, PMario wrote:
>
> Hi, 
>
> The biggest problem, I see, with this mechanism is, that anchor IDs must 
> be unique. If you open a new tiddler and insert this: {{Section Names 
> using ID for internal Links}} you'll have a problem. 
>
> The whole anchoring thing is in an undefined state now. So if the user 
> clicks a link it may jump to an anchor of a different tiddler. 
>
> That's not a big deal for the example used here, but if the whole content 
> is dynamically created, it will create confused users.
>
> The second thing is, that a -click on a Next or Prev link opens a 
> new tab, which isn't the standard behaviour for TW internal links. .. It 
> should open the tiddler without navigating to the new tiddler. 
>
> just some thoughts. 
>
> -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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b076b950-a01e-4283-805d-c4ca8594bbaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-04 Thread S. S.
Thanks for the feedback Thomas.

My primary interest when writing the tiddler was getting a draft copy of 
the documentation out. I did not do much testing, something that definitely 
needs to be done. I don't have easy access to many browsers or O/Ss. Still, 
I purposely crafted the 6 links at the bottom of the tiddler differently, 
to see which might not work.

On Windows 10, the links all work well on Firefox 65.0 (64 bit). On Edge 
17.17134 & SeaMonkey 2.49.4 the links with URI encoded targets (ex %20) 
don't work.
On Android 6.01, Firefox Beta 66.0 all links work well. On Chrome 72.0 all 
links work well, but if the screen is zoomed in, the scroll falls short of 
the top, but this same effect takes place even when clicking normal links 
to tiddlers.

Regards

On Tuesday, March 5, 2019 at 2:46:43 AM UTC+7, Thomas Elmiger wrote:
>
> Hi, is this tested on Android?
>
> On my phone, navigating to 
> https://00ss.github.io/documentation/tiddlywiki.html#Internal%20Links%20using%20HTML
>
> and clicking the ID links does rarely lead to the right position in the 
> document. (It did once, I think, but not reproduceable.)
>
> Android 9, Chrome/Opera
>
> All the best, 
> Thomas 
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8f33bf9c-1afc-4f84-b6c8-2921d8e4560c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-04 Thread Thomas Elmiger
Hi, is this tested on Android?

On my phone, navigating to 
https://00ss.github.io/documentation/tiddlywiki.html#Internal%20Links%20using%20HTML

and clicking the ID links does rarely lead to the right position in the 
document. (It did once, I think, but not reproduceable.)

Android 9, Chrome/Opera

All the best, 
Thomas 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7cf94637-b848-4eee-ab83-9b40ae229dc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-04 Thread PMario
Hi, 

The biggest problem, I see, with this mechanism is, that anchor IDs must be 
unique. If you open a new tiddler and insert this: {{Section Names using ID 
for internal Links}} you'll have a problem. 

The whole anchoring thing is in an undefined state now. So if the user 
clicks a link it may jump to an anchor of a different tiddler. 

That's not a big deal for the example used here, but if the whole content 
is dynamically created, it will create confused users.

The second thing is, that a -click on a Next or Prev link opens a new 
tab, which isn't the standard behaviour for TW internal links. .. It should 
open the tiddler without navigating to the new tiddler. 

just some thoughts. 

-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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6bc7837e-7b91-48b5-83a5-6537b849e569%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-04 Thread S. S.

In response to the Github Issue noted below, I have made a FIRST DRAFT of : 
Internal 
Links using HTML 


Attaching a reference copy here as well. Comments would be greatly 
appreciated.

Thanks

On Saturday, March 2, 2019 at 9:04:37 PM UTC+7, Jeremy Ruston wrote:
>
> By the way, I made a GitHub issue to discuss handling the underlying bug:
>
> https://github.com/Jermolene/TiddlyWiki5/issues/3811
>
> Best wishes
>
> Jeremy
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11679325-c93e-47b4-8576-4a2fc445df00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Internal Links using HTML.tid
Description: Binary data


[tw5] Re: Section Names using ID for internal Links

2019-03-02 Thread Mohammad
Hi S.S.,
 This is really amazing! Thank you for this discovery!

One question: Having this feature and the Viewtemplates you provided to 
easily navigate to top/bottom of tiddlers:

Is it possible to use this feature for navigating from sidebar top and have 
the clicked title (tiddler) at the top of screen (window)?

--Mohammad



On Saturday, March 2, 2019 at 12:50:23 PM UTC+3:30, S. S. wrote:
>
>
> BTC, this might be a little trivial, but seeing your macros made me 
> inspired to try it out. It was fun to do and didn't take long since your 
> examples had already done the hard parts!
>
> Puts a link at the very top of all tiddlers to take you to the bottom, and 
> vice versa.
>
> *Tiddler*
> title: Top of Tiddler Template
> tags: $:/tags/ViewTemplate
> list-before: $:/core/ui/ViewTemplate/title
> \define inneranchor(place:"top")
>  encodeuricomponent[]addprefix[#]] }}}>
> \end
>
> \define inner-link(place:"top" name:"Top")
>  encodeuricomponent[]addprefix[##]] }}}>$name$
> \end
>
> <>
> <>
>
> *Tiddler*
> title: Bottom of Tiddler Template
> tag: $:/tags/ViewTemplate
> list-after: $:/core/ui/ViewTemplate/body
> \define inneranchor(place:"top")
>  encodeuricomponent[]addprefix[#]] }}}>
> \end
>
> \define inner-link(place:"top" name:"Top")
>  encodeuricomponent[]addprefix[##]] }}}>$name$
> \end
>
> <>
> <>
>
> If you prefer dragging it into tiddlywiki.com - attaching the two .json 
> files.
>
>
> On Friday, March 1, 2019 at 8:38:25 PM UTC+7, BurningTreeC wrote:
>>
>>  
>>>
>>>
>> Instantly made two macros using your method
>>
>> one transcludes a tiddler and gives it an id starting with #, then the 
>> title of the tiddler where it's transcluded, then the title of the 
>> transcluded tiddler
>>
>> the other one creates a link to that transcluded tiddler within the same 
>> tiddler
>>
>> \define transclude-inneranchor(tiddler:"",field:"text",mode:"block")
>> > [[$(storyTiddler)$]addsuffix<__tiddler__>encodeuricomponent[]addprefix[#]] 
>> }}}>
>> <$transclude tiddler=<<__tiddler__>> field=<<__field__>> 
>> mode=<<__mode__>>/>
>> 
>> \end
>> \define transclude-innerlink(tiddler:"")
>> > [[$(storyTiddler)$]addsuffix<__tiddler__>encodeuricomponent[]addprefix[##]] 
>> }}}>link to inner-transcluded $tiddler$
>> \end
>>
>>
>> I guess it won't work that well if the same tiddler is transcluded more 
>> than once within the same storyTiddler using the transclude-inneranchor, 
>> but I hardly do that
>>
>> It will also fail a bit if used outside of story tiddlers
>>
>> but ... good enough for many things! thanks again,
>>
>> btc
>>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6599231d-aa42-4fe2-baed-dab481798691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Section Names using ID for internal Links

2019-03-02 Thread Jeremy Ruston
By the way, I made a GitHub issue to discuss handling the underlying bug:

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


Best wishes

Jeremy

> On 2 Mar 2019, at 09:20, S. S.  wrote:
> 
> 
> BTC, this might be a little trivial, but seeing your macros made me inspired 
> to try it out. It was fun to do and didn't take long since your examples had 
> already done the hard parts!
> 
> Puts a link at the very top of all tiddlers to take you to the bottom, and 
> vice versa.
> 
> Tiddler
> title: Top of Tiddler Template
> tags: $:/tags/ViewTemplate
> list-before: $:/core/ui/ViewTemplate/title
> \define inneranchor(place:"top")
>  [[$(storyTiddler)$]addprefix[$place$-of-tiddler-]encodeuricomponent[]addprefix[#]]
>  }}}>
> \end
> 
> \define inner-link(place:"top" name:"Top")
>  [[$(storyTiddler)$]addprefix[$place$-of-tiddler-]encodeuricomponent[]addprefix[##]]
>  }}}>$name$
> \end
> 
> <>
> <>
> 
> Tiddler
> title: Bottom of Tiddler Template
> tag: $:/tags/ViewTemplate
> list-after: $:/core/ui/ViewTemplate/body
> \define inneranchor(place:"top")
>  [[$(storyTiddler)$]addprefix[$place$-of-tiddler-]encodeuricomponent[]addprefix[#]]
>  }}}>
> \end
> 
> \define inner-link(place:"top" name:"Top")
>  [[$(storyTiddler)$]addprefix[$place$-of-tiddler-]encodeuricomponent[]addprefix[##]]
>  }}}>$name$
> \end
> 
> <>
> <>
> 
> If you prefer dragging it into tiddlywiki.com - attaching the two .json files.
> 
> 
> On Friday, March 1, 2019 at 8:38:25 PM UTC+7, BurningTreeC wrote:
>  
> 
> 
> Instantly made two macros using your method
> 
> one transcludes a tiddler and gives it an id starting with #, then the title 
> of the tiddler where it's transcluded, then the title of the transcluded 
> tiddler
> 
> the other one creates a link to that transcluded tiddler within the same 
> tiddler
> 
> \define transclude-inneranchor(tiddler:"",field:"text",mode:"block")
>  [[$(storyTiddler)$]addsuffix<__tiddler__>encodeuricomponent[]addprefix[#]] 
> }}}>
> <$transclude tiddler=<<__tiddler__>> field=<<__field__>> mode=<<__mode__>>/>
> 
> \end
> \define transclude-innerlink(tiddler:"")
>  [[$(storyTiddler)$]addsuffix<__tiddler__>encodeuricomponent[]addprefix[##]] 
> }}}>link to inner-transcluded $tiddler$
> \end
> 
> 
> I guess it won't work that well if the same tiddler is transcluded more than 
> once within the same storyTiddler using the transclude-inneranchor, but I 
> hardly do that
> 
> It will also fail a bit if used outside of story tiddlers
> 
> but ... good enough for many things! thanks again,
> 
> btc
> 
> -- 
> 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 https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/57b988a5-b91f-416a-96ae-cc090dcdbb16%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/006D814B-F087-49C5-A554-B88A184F7BB7%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-02 Thread S. S.

BTC, this might be a little trivial, but seeing your macros made me 
inspired to try it out. It was fun to do and didn't take long since your 
examples had already done the hard parts!

Puts a link at the very top of all tiddlers to take you to the bottom, and 
vice versa.

*Tiddler*
title: Top of Tiddler Template
tags: $:/tags/ViewTemplate
list-before: $:/core/ui/ViewTemplate/title
\define inneranchor(place:"top")

\end

\define inner-link(place:"top" name:"Top")
$name$
\end

<>
<>

*Tiddler*
title: Bottom of Tiddler Template
tag: $:/tags/ViewTemplate
list-after: $:/core/ui/ViewTemplate/body
\define inneranchor(place:"top")

\end

\define inner-link(place:"top" name:"Top")
$name$
\end

<>
<>

If you prefer dragging it into tiddlywiki.com - attaching the two .json 
files.


On Friday, March 1, 2019 at 8:38:25 PM UTC+7, BurningTreeC wrote:
>
>  
>>
>>
> Instantly made two macros using your method
>
> one transcludes a tiddler and gives it an id starting with #, then the 
> title of the tiddler where it's transcluded, then the title of the 
> transcluded tiddler
>
> the other one creates a link to that transcluded tiddler within the same 
> tiddler
>
> \define transclude-inneranchor(tiddler:"",field:"text",mode:"block")
>  [[$(storyTiddler)$]addsuffix<__tiddler__>encodeuricomponent[]addprefix[#]] 
> }}}>
> <$transclude tiddler=<<__tiddler__>> field=<<__field__>> 
> mode=<<__mode__>>/>
> 
> \end
> \define transclude-innerlink(tiddler:"")
>  [[$(storyTiddler)$]addsuffix<__tiddler__>encodeuricomponent[]addprefix[##]] 
> }}}>link to inner-transcluded $tiddler$
> \end
>
>
> I guess it won't work that well if the same tiddler is transcluded more 
> than once within the same storyTiddler using the transclude-inneranchor, 
> but I hardly do that
>
> It will also fail a bit if used outside of story tiddlers
>
> but ... good enough for many things! thanks again,
>
> btc
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57b988a5-b91f-416a-96ae-cc090dcdbb16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Top and Bottom of Tiddler Template.json
Description: application/json


[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread S. S.
I was quite surprised when it worked. It was very unexpected!

The tiddler attached in my first post works perfectly, but the explanation 
used a single # in a few places where it should have been a double ##.

Attaching an updated corrected tiddler.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9abc825c-fdb9-4bbd-abb4-f4d8f0ce8920%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Section Names using ID for internal Links - updated.tid
Description: Binary data


[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread TonyM
S S

Great work furthering this. The desire for in tiddler anchors is an old 
one. A lot of new users coming from html and related areas quickly ask us 
for this. 
Perhaps in part because of the way a lot of open tiddlers can be displayed 
in the story or people build large tiddlers until they learn to "divide 
(into tiddlers) and conquer"

There was some powerful features in TiddlyWiki classic for sections 
including the ability to transclude only a section, hidden sections and 
more which would be ideal, but I understand we are somewhat limited in this 
regard now.
However being able to simply use anchors in a page is a barrier both to 
design and possible adoption by some users, not to mention the ability to 
import sizeable content into a tiddler and have a practical access method.

It would be nice to see your work extended to provide automatic index and 
footnotes that will jump to the anchor. I believe the technology is there 
once you "solve this",


Really Great work
Tony

On Friday, March 1, 2019 at 11:27:11 PM UTC+11, S. S. wrote:
>
>
> It's best experienced - and the tiddler says it better than pasting it 
> here.
>
> Please drag the attached tiddler into https://tiddlywiki.com/ and import. 
> In the side bar, Click the the Recent tab, and open the tiddler.
>
> Click the links at the top and within the tiddler, and then please read it 
> right to the very end to understand what is being shown.
>
> Thanks.
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c3e5db3c-71a3-4a8f-b0c5-035715daa387%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread oxydum
You could also make a macro like this:

\define intlink(id:"", link:"TTT", next:"", previous:"", top:"")
!!!  ''$link$'' 
  Next 
<$reveal type="nomatch" stateTitle="$previous$" text="">
Previous 

Top


body {
  counter-reset: section;
}
h3::before {
  counter-increment: section; 
  content: counter(section) "."; 
}

\end


Le vendredi 1 mars 2019 13:27:11 UTC+1, S. S. a écrit :
>
>
> It's best experienced - and the tiddler says it better than pasting it 
> here.
>
> Please drag the attached tiddler into https://tiddlywiki.com/ and import. 
> In the side bar, Click the the Recent tab, and open the tiddler.
>
> Click the links at the top and within the tiddler, and then please read it 
> right to the very end to understand what is being shown.
>
> Thanks.
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5c946acc-1ba7-420a-9d0d-564873fa2f5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread oxydum
You could also make a macro like this:

\define intlink(id:"", link:"TTT", next:"", previous:"", top:"")
!!!  ''$link$'' 
  Next 
<$reveal type="nomatch" stateTitle="$previous$" text="">
Previous 

Top


body {
  counter-reset: section;
}
h3::before {
  counter-increment: section; 
  content: counter(section) "."; 
}

\end


Le vendredi 1 mars 2019 13:27:11 UTC+1, S. S. a écrit :
>
>
> It's best experienced - and the tiddler says it better than pasting it 
> here.
>
> Please drag the attached tiddler into https://tiddlywiki.com/ and import. 
> In the side bar, Click the the Recent tab, and open the tiddler.
>
> Click the links at the top and within the tiddler, and then please read it 
> right to the very end to understand what is being shown.
>
> Thanks.
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/984305c0-0f18-46f0-bf7f-ac5435154d36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread BurningTreeC

>
>  
>
>> It's best experienced - and the tiddler says it better than pasting it 
>> here.
>>
>> Please drag the attached tiddler into https://tiddlywiki.com/ and 
>> import. 
>> In the side bar, Click the the Recent tab, and open the tiddler.
>>
>
> NIIICE! thank you S.S.! 
>
>>
>> Click the links at the top and within the tiddler, and then please read 
>> it right to the very end to understand what is being shown.
>>
>> Thanks.
>>
>>
>>
Instantly made two macros using your method

one transcludes a tiddler and gives it an id starting with #, then the 
title of the tiddler where it's transcluded, then the title of the 
transcluded tiddler

the other one creates a link to that transcluded tiddler within the same 
tiddler

\define transclude-inneranchor(tiddler:"",field:"text",mode:"block")
encodeuricomponent[]addprefix[#]] 
}}}>
<$transclude tiddler=<<__tiddler__>> field=<<__field__>> mode=<<__mode__>>/>

\end
\define transclude-innerlink(tiddler:"")
encodeuricomponent[]addprefix[##]] 
}}}>link to inner-transcluded $tiddler$
\end


I guess it won't work that well if the same tiddler is transcluded more 
than once within the same storyTiddler using the transclude-inneranchor, 
but I hardly do that

It will also fail a bit if used outside of story tiddlers

but ... good enough for many things! thanks again,

btc

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90b8d95d-2416-404f-9619-20f063b7d45b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread BurningTreeC
 

> It's best experienced - and the tiddler says it better than pasting it 
> here.
>
> Please drag the attached tiddler into https://tiddlywiki.com/ and import. 
> In the side bar, Click the the Recent tab, and open the tiddler.
>

NIIICE! thank you S.S.! 

>
> Click the links at the top and within the tiddler, and then please read it 
> right to the very end to understand what is being shown.
>
> Thanks.
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8097cfbd-2c6a-4be2-a6a9-2e22843b8963%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.