emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Orgtbl-mode in latex: escaped braces and dollars, and other arbi


From: Nicolas Goaziou
Subject: Re: [O] Orgtbl-mode in latex: escaped braces and dollars, and other arbitrary transformations
Date: Thu, 26 Jun 2014 21:07:05 +0200

Thibaut Verron <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]