Stephen Wheeler <cont...@stephen-wheeler.info> writes: > I am writing to report a bug in the LaTeX export pipeline in Org Mode 9.7.11 > as packaged with the Snap version of Emacs 31.0.50. The issue appears to stem > from a recent change in `org-latex-compile` which results in the following > error when exporting to PDF: > > Debugger entered--Lisp error: (wrong-type-argument sequencep t) > latexenc-find-file-coding-system((insert-file-contents > "/path/to/file.tex" nil nil nil nil)) > > > This appears to result from a malformed call to > `latexenc-find-file-coding-system`, where the return value of > `(insert-file-contents ...)` — likely `t` or a cons cell — is passed instead > of a string (filename) or buffer.
Is it a full backtrace? I am confused because Org mode does not call `latexenc-find-file-coding-system'. > Please let me know if you require a minimal .org file or further details to > reproduce the issue. A reproducer would indeed be helpful. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>