From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: thibaut.verron@gmail.com
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Orgtbl-mode in latex: escaped braces and dollars, and other arbitrary transformations
Date: Thu, 26 Jun 2014 21:07:05 +0200 [thread overview]
Message-ID: <87tx7732xy.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAFsi02RoqQWq91JkvK8oCMxV31VZB6rn9_JMDiH3XxpOW10T6Q@mail.gmail.com> (Thibaut Verron's message of "Thu, 26 Jun 2014 15:53:55 +0200")
Thibaut Verron <thibaut.verron@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
prev parent reply other threads:[~2014-06-26 19:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 9:55 Orgtbl-mode in latex: escaped braces and dollars, and other arbitrary transformations Thibaut Verron
2014-06-26 10:38 ` Nicolas Goaziou
2014-06-26 11:57 ` Thibaut Verron
2014-06-26 12:22 ` Thibaut Verron
2014-06-26 13:17 ` Nicolas Goaziou
2014-06-26 13:53 ` Thibaut Verron
2014-06-26 19:07 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tx7732xy.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=thibaut.verron@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).