On Jan 22, 2006, at 9:21 PM, Allan Odgaard wrote:
On 23/1/2006, at 1:26, Gary L. Gray wrote:
[...] With that said, as you can see from the screen shots included in my previous message, the indentation you describe does not seem to be happening. Something else must be missing. Chapters, sections, subsections, subsubsections, and paragraphs are all included, but they are all shown the same way. In fact, I am writing a paper that has unnumbered section headings and the function pop-up is recognizing them but it is not indenting anything:
<Picture 1.png>
Is this the intended behavior for starred section headings?
That's an oversight. I've changed the preferences to:
/* preferences */ { showInSymbolList = 1; symbolTransformation = ' s/(?<=\|sub)sub/ /g; # replace all leading "sub" with an em-space s/^\( *)section*?(?:[[^]]*])?{(.+)}/$1$2/; # then strip all but em-space + name '; }
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:
/* preferences */ { showInSymbolList = 1; symbolTransformation = ' (s|S)/(?<=\|sub)sub/ /g; # replace all leading "sub" with an em-space s/^\( *)section*?(?:[[^]]*])?{(.+)}/$1$2/; # then strip all but em-space + name '; }
and I am still not seeing the indenting as you can see in the following screen shots:
-- Gary