I think I'm done with HTML anchors after this. The named anchor commands have evolved into a full indexing bundle due to a positive response. Apparently I'm not the only one who gets relegated to creating long listings with anchored indexes at the top, despite my protests. So the bundle includes the original commands, plus fully automated index creation, including even/odd row classes, sub- indexing for multiple sections, and indexing with summaries. Everything is inserted as snippets for modification.
The bundle includes a help file and can be found at my blog.
http://blog.circlesixdesign.com/2007/07/13/html-indexing-bundle/
Thanks, Brett
On 7/13/07 5:41 AM, in article C8A344AC-55BA-499B-A7B6-CC919194108C@circlesixdesign.com, "Brett Terpstra" brett@circlesixdesign.com wrote:
I think I'm done with HTML anchors after this. The named anchor commands have evolved into a full indexing bundle due to a positive response. Apparently I'm not the only one who gets relegated to creating long listings with anchored indexes at the top, despite my protests. So the bundle includes the original commands, plus fully automated index creation, including even/odd row classes, sub-indexing for multiple sections, and indexing with summaries. Everything is inserted as snippets for modification.
The bundle includes a help file and can be found at my blog.
http://blog.circlesixdesign.com/2007/07/13/html-indexing-bundle/
A possible alternative approach (which is what I've been using) is simply to tag spots to index to, followed by XSLT later on to generate the anchors and index entries. m.
Hey all
Brett: love the bundle! I'm actually in the middle of a project that this has already been very helpful with. I wonder if you'd mind helping me tweak one tiny thing... is there any way to have the name of the anchor printed entirely in lower case?
thanks
jeff.
On 7/13/07, Brett Terpstra brett@circlesixdesign.com wrote:
I think I'm done with HTML anchors after this. The named anchor commands have evolved into a full indexing bundle due to a positive response. Apparently I'm not the only one who gets relegated to creating long listings with anchored indexes at the top, despite my protests. So the bundle includes the original commands, plus fully automated index creation, including even/odd row classes, sub-indexing for multiple sections, and indexing with summaries. Everything is inserted as snippets for modification.
The bundle includes a help file and can be found at my blog.
http://blog.circlesixdesign.com/2007/07/13/html-indexing-bundle/
Thanks, Brett
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Sure, it's an easy tweak. The ol that's inserted with one of the indexing commands is missing the slash on the closing tag, so I'll be updating the bundle tonight. I'll include your request as well.
You might want to check any code that's been created to make sure you have proper closing tags... sorry about that.
Thanks, Brett
On Jul 16, 2007, at 8:46 AM, jeff newman wrote:
Hey all
Brett: love the bundle! I'm actually in the middle of a project that this has already been very helpful with. I wonder if you'd mind helping me tweak one tiny thing... is there any way to have the name of the anchor printed entirely in lower case?
thanks
jeff.
On 7/13/07, Brett Terpstra brett@circlesixdesign.com wrote:
I think I'm done with HTML anchors after this. The named anchor commands have evolved into a full indexing bundle due to a positive response. Apparently I'm not the only one who gets relegated to creating long listings with anchored indexes at the top, despite my protests. So the bundle includes the original commands, plus fully automated index creation, including even/odd row classes, sub-indexing for multiple sections, and indexing with summaries. Everything is inserted as snippets for modification.
The bundle includes a help file and can be found at my blog.
http://blog.circlesixdesign.com/2007/07/13/html-indexing-bundle/
Thanks, Brett
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Jeff Newman
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
http://blog.circlesixdesign.com/wp-content/uploads/htmlindex-tm.zip
I've fixed the closing tag and updated the help docs a little. As far as the downcasing goes, I included the code, but left it commented because the major drawback is that when the indexes are created, there's no way for the command to tell for sure from the anchor name what should be capitalized in the title. So there are two options:
1. uncomment the line in the "Create Named Anchor" that includes "downcase". It's indicated in a comment which line to affect.
2. Use TextMate's text transform commands when creating the anchors. CTRL-SHIFT-U will downcase the selected text and can be run right after the snippet is inserted.
Brett
On Jul 16, 2007, at 8:46 AM, jeff newman wrote:
Hey all
Brett: love the bundle! I'm actually in the middle of a project that this has already been very helpful with. I wonder if you'd mind helping me tweak one tiny thing... is there any way to have the name of the anchor printed entirely in lower case?
thanks
jeff.
On 7/13/07, Brett Terpstra brett@circlesixdesign.com wrote:
I think I'm done with HTML anchors after this. The named anchor commands have evolved into a full indexing bundle due to a positive response. Apparently I'm not the only one who gets relegated to creating long listings with anchored indexes at the top, despite my protests. So the bundle includes the original commands, plus fully automated index creation, including even/odd row classes, sub-indexing for multiple sections, and indexing with summaries. Everything is inserted as snippets for modification.
The bundle includes a help file and can be found at my blog.
http://blog.circlesixdesign.com/2007/07/13/html-indexing-bundle/
Thanks, Brett
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Jeff Newman
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate