Root cause of Emacs 31 recursion: insert in org-export-before-processing-hook triggers hooks that inhibit-modification-hooks does not suppress on Emacs 31 (window management, org-fold text properties, etc.). The old Mac (older Emacs) was not affected. Fix: setq-local org-latex-default-table-environment in the hook. No buffer content modification → no hook chains → no recursion possible. org-latex.el natively handles tabularx by adding \linewidth width argument. tabularx added to org-latex-packages-alist.
40 KiB
40 KiB