* David Kastrup (2007-03-10) writes:
> Anyway, I just noticed that in a document with multind style, lines
> like
>
> \index{Namen}
> {Hugo Sattler}
>
> will make it into the index just as an empty string. Maybe we should
> allow `TeX whitespace' like "\\(?:[ \t\n]\\|%.*\n\\)*" at strategic
> points in the respective regexps?
Something like that should help.
--- reftex-parse.el 10 Mar 2007 17:23:36 +0100 1.33
+++ reftex-parse.el 11 Mar 2007 22:33:57 +0100
@@ -931,7 +931,9 @@
(incf cnt))
(when (< cnt n)
(unless (and (condition-case nil
- (or (forward-list 1) t)
+ (prog1
+ (or (forward-list 1) t)
+ (while (comment-forward)))
(error nil))
(reftex-move-to-next-arg)
(incf cnt))
It's a bit dangerous to change this now, however. And
`reftex-move-over-touching-args' will probably have to be changed as
well.
--
Ralf
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel