Dear all,I ticket https://www.lyx.org/trac/ticket/9627, it was decided to define \jobname in preview file with the original file name.
However, run_command in lyxpreview_tools.py tries to read the aux file to determine whether it is necessary to run bibtex. It would be useful too to try to re-run latex until cross references are correct.
The result is clear: there is no bibtex preview in the attached example, but after reverting 1c94995a, it works again.
This prevents me from fixing the xref issues pointed by Enrico at #11535.Ideas? One can always search for "\jobname" in the lyxpreview*.tex file and guess the aux file name, but this strikes as a bit hackish.
JMarc
preview.lyx
Description: application/lyx
@Book{BellmanCooke63, author = {R. Bellman and K. L. Cooke}, title = {Differential-Difference Equations}, publisher = {Academic Press}, year = 1963, address = {New York} }
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel