Hi Lyx users, Could you help me with a question? I have two LyX documents, say draft.lyx and supplement.lyx. I need to compile them into separate pdf files and be able to cross reference from the supplement to the draft. I am attempting to use xr per the instruction on stack exchange [1], but it requires a manual step. What do you do in order to automate cross referenes using xr in LyX?
When I don't have cross-references, I prefer to use a little python script to call LyX sequentially to compile each file from the command line. However, it seems that the temp folder only persists while LyX is running, so the necessary .aux file is deleted before it can be referenced. Is there a way to automatically copy the .aux file or to force the temp directory to persist? Thanks, M [1] http://tex.stackexchange.com/questions/39772/using-the-xr-package-in-lyx-for-cross-referencing-an-external-lyx-document
