On 2010-10-19, Richard Heck wrote: > On 10/18/2010 07:14 PM, Andras Toth wrote: >> On Monday 18 October 2010 04:52:02 am Uwe Stöhr wrote: >>> Am 17.10.2010 22:15, schrieb Andras Toth:
>> I attach a small example which reproduces the issue: in the original >> sub.lyx (sub-orig.lyx) the citations are in order: [1] [2] [3] [4], >> and orig.pdf is generated. However, if I change the citation order >> like in sub-changed.lyx, I get [4][1] [2][3] (changed.pdf) -- unless I >> close and reopen sub.lyx, or the LyX application. > From Uwe's response, I take it that there is a bug here. I'm not sure > what the cause would be, but apparently LyX is not regenerating the aux > file, or something like that. Could you file a bug at > http://www.lyx.org/trac/wiki/BugTrackerHome, please? Click "Report New > Bug", near the top. Someone will have a close look, possibly me. Just a guess: maybe latex does not give a warning: "labels may have been changed" in this case¹ and hence LyX does not realize it has to re-run it. ¹ change of citation order inside a single macro? Günter