all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Pedro Costa <psdc1978@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: convert ascii table to latex table in emacs
Date: Wed, 16 Mar 2011 17:04:57 +0100	[thread overview]
Message-ID: <877hbzf3va.fsf@altern.org> (raw)
In-Reply-To: <AANLkTi=mWQ-RhL9DWvTaN5JU1BV=aAp=ExJsnCBAPmoT@mail.gmail.com> (Pedro Costa's message of "Wed, 16 Mar 2011 11:09:15 +0000")

Hi Pedro,

Pedro Costa <psdc1978@gmail.com> writes:

> I've created a table in latex in emacs with the command M-x table-insert.
>
> But this created a table in literal characters, like this:
>
> +------+-----+------+
> |xxxxx|xxxx|xxxxx|
> +------+-----+------+

Because table-insert is part of table.el (which see.)

> Now, I would like to convert this ascii table to a latex table. Is it
> possible?

Have a look at Org, which is also part of GNU Emacs.  Check the manual
for Org tables here:

  C-h i m Org TAB RET m Tables RET

or on the web:

  http://orgmode.org/manual/Tables.html

You can easily create ascii tables then convert them to LaTeX.

HTH,

-- 
 Bastien



  reply	other threads:[~2011-03-16 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 11:09 convert ascii table to latex table in emacs Pedro Costa
2011-03-16 16:04 ` Bastien [this message]
     [not found] <mailman.1.1300273761.3866.help-gnu-emacs@gnu.org>
2011-03-16 16:02 ` Eric S Fraga
2011-03-17 16:48 ` harven

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hbzf3va.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=psdc1978@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.