>>>>> "younes" == younes <[EMAIL PROTECTED]> writes:
younes> Author: younes Date: Thu Feb 1 18:21:05 2007 New Revision: younes> 17010 younes> URL: http://www.lyx.org/trac/changeset/17010 Log: As explained younes> in the comments, this is a partial fix for bug 2154: younes> http://bugzilla.lyx.org/show_bug.cgi?id=2154 younes> This will automatically put the label inset _after_ a numbered younes> section. It is possible to extend the mechanism to any kind of younes> LateX environment. Please, not more of these hacks!!! The problem is definitely not that the section is numbered. Actually nobody told me the very reason why it is necessary. I do not say this is not true (I trust Herbert and Heiko Oberdiek, but I like to know why...). Is it different with a \pageref in a non-numbered section? Is it because \section has an optional argument? Why did you decide not to do it for _all_ types of paragraphs? Why not do it at the time when the latex code is generated? I know that fixing bugs is good, but adding ad-hoc code that nobody will dare to remove ever is not great. JMarc