Thibaut Verron <thibaut.ver...@gmail.com> writes: > Would changing the last lines of `orgtbl-to-latex` to something like this > work as a long-term solution? > > (require 'ox-latex) > (let* ((*orgtbl-verbatim* (plist-get params :verbatim)) > (backend (if *orgtbl-verbatim* nil 'latex))) > (orgtbl-to-generic table (org-combine-plists params2 params) > backend))))
The check should happen in `orgtbl-to-generic', which is responsible for translating cell contents. Or, better, backend could become a parameter, e.g., :contents, and not an optional argument anymore. Then one could override it with specific params. Also, docstrings and documentation should be updated accordingly. Regards, -- Nicolas Goaziou