On 15.04.19 08:32, Wolfgang Engelmann wrote:

On 14.04.19 14:51, Wolfgang Engelmann wrote:

On 12.04.19 21:42, Paul A. Rubin wrote:
On 4/10/19 12:40 PM, Wolfgang Engelmann wrote:

What to do with this error: File '/tmp/lyx_tmpdir. I tried to rename the lyx file and run it again, but same error message. I renamed the lyx_tmpdir but it wants it back... Help appreciated, Wolfgang

Error while exporting format: LaTeX (pdflatex)File '/tmp/lyx_tmpdir.DOvyEMq14243/lyx_tmpbuf0/PBR-4thEdition-20170410-A.tex' was not closed properly

Wolfgang,

The LyX temporary directory cannot, as far as I know, be renamed. You can alter its parent directory (/tmp by default) in Tools > Preferences... > Paths, but there is no reason I can see to do so.

The problem is not with the name of the temporary directory. What is needed now is to figure out why the .tex file was not "properly" closed. I do not see anything suspicious in the file name. Is there a message in the LaTeX log, prior to the "not closed properly" bit, that indicates a problem with compilation?

If this error repeats, you might try going to the temporary directory and opening PBR-4thEdition-20170410-A.tex in a text editor (xed if you are on Linux Mint). Assuming this is the main document, it should begin with \documentclass... and end with \end{document}. You might be able to find a problem (missing \end statement or something) in the file that could help narrow the cause.

Paul

Paul, I am enclosing a minimal example showing the error(s) I am incounting. I have 2 nomenclature, one is put into a note. If I dissolve this note, I get the error.

Any idea what is going wrong? I have a few more nomenclature which stop the tex output, but I did not see any common properties. I could provide those, if wanted.

Wolfgang


If I open the "bad" nomenclature and write the nomenclature symbol new, it's working alright.

Knowing that I could close my

Re: What to do with this error: File '/tmp/lyx_tmpdir

but would like to know the reason for the error, especially, since there is no further explanation in the error message, just

Exporting ...

08:19:18.413: (buffer-update: Ctrl+Shift+R)

08:19:18.416: Error while exporting format: PDF (pdflatex)File '/tmp/lyx_tmpdir.mazTJvls3013/lyx_tmpbuf0/PBR-4thEdition-20170411-X1.tex' was not closed properly.

If this happens to others, they would probably be as perplexed as I am. If it is a large document it is difficult to find the source of the error. What one could do is to put the nomenclature in a (yellow) note: The error should disappear; it is now easy to find the "bad" nomenclature by just checking in the outline /nomenclature entries/. I do this also in cases where (probably) citations are causing errors by putting the bibliography in a note box. These errors are also not so easily spotted, although some hints are given in the log file.

Wolfgang

Sorry, Paul, here is the lyx file.

Attachment: Nomenclature-stucks.lyx
Description: application/lyx

Reply via email to