Angus Leeming wrote: > Comparing redoParagraphs in lyx 13x and 14x, the new code is missing > an updateCounters call just before it exits the routine. In fact > there appear to be many more calls to updateCounters in 13x. I don't > know how many of these updateCounters are needed anymore, but adding > one to redoPragraphs fixes the missing "Figure #:" label in the > caption to a figure float. > > Would the knowledgable please review and apply if appropriate.
I don't remember the details, but I suspect that the updateCounters call should be done at the begining of redoParagraph and not at the end? (because the label change can modify rebreaking) Also you should add it to redoParagraph as well maybe? Alfredo