Re: [O] Use id property as anchor in the Table of Contents

2012-04-20 Thread Bastien
Hi Olaf, Olaf Dietsche writes: > You might try this *untested* patch. It is against git master. Thanks a lot for this patch. I won't apply tho, because it might break the current setup of users who use :ID: and expect "sec-" to be the prefix for the anchor. We will try to handle Pere's requ

Re: [O] Use id property as anchor in the Table of Contents

2011-09-15 Thread Pere Quintana Seguí
2011/9/15 Olaf Dietsche : >> With this patch, what happens if there is no id in a heading, does it >> create it automatically? > > It is supposed to use the CUSTOM_ID, if set. Next, it tries the ID > property. At last, it falls back to "sec-...". Ok, perfect. Thanks.

Re: [O] Use id property as anchor in the Table of Contents

2011-09-15 Thread Olaf Dietsche
Pere Quintana Seguí writes: > 2011/9/13 Olaf Dietsche : >> How did you create ID properties for all entries? Have you exported your >> org-files to icalendar? > > Most of them have ID properties because I often link them internally. > When I create the link with C-c l, org adds the id. > > For th

Re: [O] Use id property as anchor in the Table of Contents

2011-09-13 Thread Pere Quintana Seguí
2011/9/13 Olaf Dietsche : > You might try this *untested* patch. It is against git master. :D Thanks!!! > How did you create ID properties for all entries? Have you exported your > org-files to icalendar? Most of them have ID properties because I often link them internally. When I create the lin

Re: [O] Use id property as anchor in the Table of Contents

2011-09-13 Thread Olaf Dietsche
Pere Quintana Seguí writes: > 2011/9/8 Bernt Hansen >> >> Pere Quintana Seguí writes: >> >> > Hi, >> > >> > I'm using Org-mode to publish my website. One of my site's pages has >> > a lot of sections and the number of sections is increasing rapidly. >> > >> > My problem is that the HTML exporte

Re: [O] Use id property as anchor in the Table of Contents

2011-09-08 Thread Pere Quintana Seguí
2011/9/8 Bernt Hansen > > Pere Quintana Seguí writes: > > > Hi, > > > > I'm using Org-mode to publish my website. One of my site's pages has > > a lot of sections and the number of sections is increasing rapidly. > > > > My problem is that the HTML exporter, in the Table of Contents, is > > using

Re: [O] Use id property as anchor in the Table of Contents

2011-09-07 Thread Bernt Hansen
Pere Quintana Seguí writes: > Hi, > > I'm using Org-mode to publish my website. One of my site's pages has > a lot of sections and the number of sections is increasing rapidly.  > > My problem is that the HTML exporter, in the Table of Contents, is > using the section numbers as anchors. As the s

[O] Use id property as anchor in the Table of Contents

2011-09-07 Thread Pere Quintana Seguí
Hi, I'm using Org-mode to publish my website. One of my site's pages has a lot of sections and the number of sections is increasing rapidly. My problem is that the HTML exporter, in the Table of Contents, is using the section numbers as anchors. As the section numbers change with time, I can't ge