From: Matt Lundin <mdl@imapmail.org>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Problem with PROPERTIES :OPTIONS: when exporting subtree
Date: Sun, 26 Sep 2010 20:03:25 -0400 [thread overview]
Message-ID: <87bp7kaw8i.fsf@fastmail.fm> (raw)
In-Reply-To: <AANLkTi=7YJNTx2PmhdeSvOvtRyqBeLFD==CkrPTtrOe=@mail.gmail.com> (Rainer M. Krug's message of "Sat, 25 Sep 2010 12:32:15 +0200")
Rainer M Krug <r.m.krug@gmail.com> writes:
> Hi
>
> I hava a problem with exporting to LaTeX.
>
> I want to export a table to latex. I put it into a subtree, containing
> only the table, i.e. no headers, as I want to include it into another
> document. I thought, that using the :OPTIONS: property, I can disable
> the headers - but it does not seem to be working - am I missing
> something?
I believe the relevant property is :EXPORT_OPTIONS:.
,----[ (info "(org) Export options") ]
| When exporting only a single subtree by selecting it with `C-c @'
| before calling an export command, the subtree can overrule some of the
| file's export settings with properties `EXPORT_FILE_NAME',
| `EXPORT_TITLE', `EXPORT_TEXT', `EXPORT_AUTHOR', `EXPORT_DATE', and
| `EXPORT_OPTIONS'.
`----
> ###################################
> * Table of Parameter
>
> The parameters are as follow:
> ** The Table
> :PROPERTIES:
> :EXPORT_FILE_NAME: table
> :OPTIONS: H:0 num:f toc:f author:f timestamp:f creator:f
> :END:
> | A | B | C |
> |---+---+----|
> | 1 | 2 | 33 |
> | | | |
> ###################################
>
Is it correct that you are trying to disable author, table-of-contents,
etc.? If so, I believe these can be turned off with the nil option:
--8<---------------cut here---------------start------------->8---
* Table of Parameter
The parameters are as follow:
** The Table
:PROPERTIES:
:EXPORT_FILE_NAME: table
:EXPORT_OPTIONS: H:0 num:nil toc:nil author:nil timestamp:nil creator:nil
:END:
| A | B | C |
|---+---+----|
| 1 | 2 | 33 |
| | | |
--8<---------------cut here---------------end--------------->8----
Have you considered radio tables? It's a nice solution for including an
org-mode table in a LaTeX document.
Best,
Matt
next prev parent reply other threads:[~2010-09-27 0:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-25 10:32 Problem with PROPERTIES :OPTIONS: when exporting subtree Rainer M Krug
2010-09-25 14:05 ` Noorul Islam
2010-09-25 14:15 ` Rainer M Krug
2010-09-25 14:16 ` Rainer M Krug
2010-09-27 0:03 ` Matt Lundin [this message]
2010-09-28 14:08 ` Rainer M Krug
2010-09-28 17:29 ` Matthew Lundin
2010-09-29 8:47 ` Rainer M Krug
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=87bp7kaw8i.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=r.m.krug@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).