emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Export all radio tables off a document
Date: Fri, 6 Dec 2013 00:59:38 +0100	[thread overview]
Message-ID: <20131205235938.GA19242@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <52A0DE91.6070403@th-grothe.de>

On Thu, Dec 05, 2013 at 09:14:09PM +0100, Thorsten Grothe wrote:
> Hi,
> 
> * Thu, 05 Dec 2013 18:50:53 +0100, garrido@lal.in2p3.fr:
> 
> >Hi,
> >
> >I asked the same question sometimes ago
> >http://www.mail-archive.com/emacs-orgmode@gnu.org/msg64189.html and
> >Carsten posted this answer which is still working for me
> >
> >
> >(defun my-org-send-all-tables ()
> >    (interactive)
> >    (org-table-map-tables
> >       (lambda () (orgtbl-send-table 'maybe))))
> >
> 
> very very nice, it works !!!!! Thank you very much! It's a bit slow but
> that's not a problem!! I'm working with Auctex here and the code is not
> indented after exporting the tables. Would it be possible to expand the
> macro so that it automatically indents the code --> in Auctex this is C-c
> C-q C-e ?

The lambda bit in the above snippet is a function that operates on all
tables one at a time.  If you can reliably select the exported table,
you can call indent-region (or whatever special function AucTeX might
use) to indent it.

Maybe a nice simple lisp project to get started programming in lisp? ;)

GL,

-- 
Suvayu

Open source is the future. It sets us free.

      reply	other threads:[~2013-12-05 23:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 13:31 Export all radio tables off a document Thorsten Grothe
2013-12-05 17:50 ` Garrido Xavier
2013-12-05 20:14   ` Thorsten Grothe
2013-12-05 23:59     ` Suvayu Ali [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=20131205235938.GA19242@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).