On 08/09/2013 11:39 AM, Alex Vergara Gil wrote:

    El Viernes, 09 de Agosto de 2013 08:59 a.m., Richard Heck
    <mailto:rgh...@lyx.org> escribió:
    On 08/09/2013 09:42 AM, Alex Vergara Gil wrote:
    I have written my MSc thesis in LyX and the way references are
    handled helps me a lot, but I got only one suggestion: when I set
    my own labels LyX also asigns a number to the equation which is
    automatically changed but doesn´t correspond to the "real"
    equation number that appears in the final text, so when I finally
    got about 120 pages written I detect one wrong equation and I
    have to spend a few time to detect which equation is in the LyX
    document because I didn´t find the equation 2.4 instead it was
    equation 17. So I think this behaviour is wrong and must be fixed.

    Do you remember what document class, etc, you were using? It
    sounds like it set "number equations by section", and the layout
    file did not know about that.


The class I used was book (KOMA-Script) with the following preamble

Fixed for the next release. If you want to fix it for yourself, add:

Format 31

# Equations are numbered by chapter
Counter equation
    Within chapter
    LabelString "\thechapter.\arabic{equation}"

to Document> Settings> Local Layout in that document.


Reply via email to