From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Problem with PROPERTIES :OPTIONS: when exporting subtree Date: Tue, 28 Sep 2010 16:08:40 +0200 Message-ID: References: <87bp7kaw8i.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1507997302==" Return-path: Received: from [140.186.70.92] (port=38069 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0arL-0006Im-MV for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 10:08:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0arI-0005Bm-S2 for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 10:08:43 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:33084) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0arI-0005Bb-M8 for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 10:08:40 -0400 Received: by qyk36 with SMTP id 36so2661711qyk.0 for ; Tue, 28 Sep 2010 07:08:40 -0700 (PDT) In-Reply-To: <87bp7kaw8i.fsf@fastmail.fm> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: emacs-orgmode --===============1507997302== Content-Type: multipart/alternative; boundary=001485355cacc045270491526117 --001485355cacc045270491526117 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 27, 2010 at 2:03 AM, Matt Lundin wrote: > Rainer M Krug 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. > Yes - I looked into them, but I don't get them to work. Do you have an org file with a radio table so that I can see it? Actually, I don't think they would do what I want: want to save the table as LaTeX to a file and use it in a different program (LyX), so that I can update the table while I am working on my simulation, and that when I open LyX, I always have the up-to-date version for the paper I am writing. Cheers, Rainer > > Best, > Matt > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: Rainer@krugs.de Skype: RMkrug Google: R.M.Krug@gmail.com --001485355cacc045270491526117 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Sep 27, 2010 at 2:03 AM, Matt Lu= ndin <mdl@imapmail= .org> wrote:
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<= br> > document. I thought, that using the :OPTIONS: property, I can disable<= br> > 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") ]
| =A0 =A0When exporting only a single subtree by selecting it with `C-c @&#= 39;
| 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&= #39;, 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 | =A0C |
> |---+---+----|
> | 1 | 2 | 33 |
> | =A0 | =A0 | =A0 =A0|
> ###################################
>

Is it correct that you are trying to disable author, table-of-content= s,
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 | =A0C |
|---+---+----|
| 1 | 2 | 33 |
| =A0 | =A0 | =A0 =A0|
--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.

Yes= - I looked into them, but I don't get them to work. Do you have an org= file with a radio table so that I can see it?

Actually, I don't think they would do what I want: =A0want to save the = table as LaTeX to a file and use it in a different program (LyX), so that I= can update the table while I am working on my simulation, and that when I = open LyX, I always have the up-to-date version for the paper I am writing.<= /div>

Cheers,

Rainer=A0

Best,
Matt



--
NEW GERMAN FAX N= UMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conse= rvation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence fo= r Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch UniversityMain Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:= =A0 =A0 =A0 =A0 =A0=A0 +27 - (0)83 9479 042
Fax:=A0 =A0 =A0 =A0 =A0 =A0 = +27 - (0)86 516 2782
Fax:=A0 =A0 =A0 =A0 =A0 =A0 +49 - (0)321 2125 2244
email:=A0 =A0 =A0 =A0= =A0 Rainer@krugs.de

Skype:= =A0 =A0 =A0 =A0 =A0 RMkrug
Google:=A0 =A0 =A0 =A0=A0 R.M.Krug@gmail.com

--001485355cacc045270491526117-- --===============1507997302== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1507997302==--