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 would like to ask whether there is a way to force LyX to regenerate a
pdf from scratch, rather than updating the existing one, from some
intermediate temporary file.
You have to close the file and reopen it (you can leave LyX opened).
regards Uwe
Hi, Uwe
Thank you very much, that works indeed (however, I find it a little
cumbersome, but still better than closing the whole LyX...)
Richard, I have a master document (main.lyx), which "includes" (not inputs,
etc.) some sub-lyx documents and has also a generated bibliography at the end
(with type unsrt).
In the sub-files I reference the items of the bibliography. However, if I
change the order of citation, the order of the generated bibliography remains
the same, but the citations appear in the wrong order in the text (e.g. [1]
[3] [4] [2]), unless I close and reopen LyX (or the changed subfile, as Uwe
suggested).
I am generating from the main file (otherwise I would get ?'s instead of the
reference numbers).
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.
I was wondering if there is a less tedious way to get the order right...
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.
Richard