On Jan 23, 2006, at 6:42 AM, Allan Odgaard wrote:
On 23/1/2006, at 6:18, Gary L. Gray wrote:
I inserted what you have above, except I changed the first s in the third so that it also recognizes sectioning commands that begin with an uppercase letter. I now have: [...]
That's the wrong s. The first one is to indicate a substitution command.
You can change the line in question to:
s/(?<=\\|sub)sub/ /gi; # replace all leading
"sub" with an em-space
The last i should make the substitution case insensitive.
For the records, the function list customization is documented here: http://macromates.com/textmate/manual/ navigation_overview#customizing_the_list (currently though it doesn't link to the list of options).
That did it -- thank you.
Is there a way I can get it to recognize \paragraphs and indent them one level more than \subsubsections?
-- Gary