all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: export only certain columns of an org-table to csv
Date: Sun, 09 Apr 2023 08:51:08 +0000	[thread overview]
Message-ID: <87edoto2v7.fsf@localhost> (raw)
In-Reply-To: <87bkjy9tew.fsf@mat.ucm.es>

Uwe Brauer <oub@mat.ucm.es> writes:

> I have the following simple table
>
>
> #+Name: table
> | / | /      | <>     | <>     |
> |   | Name   | Sheet1 | Sheet2 |
> |---+--------+--------+--------|
> |   | Smith  | Ex1    | Ex2    |
> |   | Miller | Ex3    | Ex4    |
>
>
> I hoped that the first two columns would not be exported to csv
> (orgtbl-to-csv), indeed they are not when exporting to latex or html but
> for csv, all columns have been exported.

> What do I miss?

The second column get exported to latex and html on my side.
And it is expected. Only the first column with spacial marks does not
get exported. All other columns are exported, unless you specify
:skipcols (see `orgtbl-to-generic' docstring).

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2023-04-09  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-08 17:26 export only certain columns of an org-table to csv Uwe Brauer
2023-04-09  8:51 ` Ihor Radchenko [this message]
2023-04-09  9:38   ` Uwe Brauer
2023-04-14 12:03     ` Ihor Radchenko
2023-04-14 12:14       ` Uwe Brauer

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=87edoto2v7.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /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.