sep is undefined
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
See how it works on the full version of your document. If there are glitches, let me know. (Can't guarantee immediate success, but the "sep is undefined" failure will definitely go away, and the hack that gave rise to it is no longer in there.)
I want to signal about a minor issue. As a reference style I have selected the Chicago manual full footnotes in the settings. Now some of the references appear partially (such as, the author's name and the title, the title and the publication date or the title and the pages—it's unsystematic), among them regular publications in English. The issue is present in the old document with which the "sep is undefined" problem started and it repeats in the new document I just started. Do you think they are related?