From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Spencer Subject: Re: Org-Export Subtree Options Not Working Date: Wed, 4 Jul 2012 14:03:24 +1000 Message-ID: References: <873959gplg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e68fa33bbaafc604c3f91de5 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmGoa-0003bQ-Px for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 00:03:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmGoY-0002cp-Ko for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 00:03:44 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:40796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmGoY-0002cM-8E for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 00:03:42 -0400 Received: by wgbds1 with SMTP id ds1so4949162wgb.30 for ; Tue, 03 Jul 2012 21:03:40 -0700 (PDT) In-Reply-To: <873959gplg.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --0016e68fa33bbaafc604c3f91de5 Content-Type: text/plain; charset=ISO-8859-1 Thanks, that fixed it but another question. if you export the whole file then and not just the selection can you use a tag or property to specify a different directory to export into instead of the same directory as the org file. Will creating the Property Tag at the top level work for this?? Also, is there an easy way to tell it to ignore the first say 2 headers in the file and only export starting with the third header. My first two headers are just to keep track of dates eg. * 2010 ** June I would rather these be ignored when doing the export. The only way I know is to export the subtree. If there isn't then is there a way to write a command that would take the current place your working in go up to the third level heading, select the third level, and run an export command. Or the fastest way to do this via key bindings? Cheers, Jeff On Tue, Jul 3, 2012 at 7:29 PM, Nicolas Goaziou wrote: > Hello, > > Jeffrey Spencer writes: > > > When I input subtree options for modifying the global options when > > selecting with C-c @ and then exporting. > > > > The subtree options for example: > > > > #+EXPORT_OPTIONS: H:2 num:t toc:f \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t > > TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil > > #+EXPORT_FILE_NAME: tester > > > > are not used and just ignored. Shouldn't these overide the file settings > > from what I read in the org-manual. Where do these need to be placed. It > is > > right below the subtree I am selecting for export. > > You have to use headlines properties (with C-c C-x p) instead of > keywords, i.e. > > --8<---------------cut here---------------start------------->8--- > * Headline > :PROPERTIES: > :EXPORT_TITLE: subtree-title > :END: > Paragraph > --8<---------------cut here---------------end--------------->8--- > > > Regards, > > -- > Nicolas Goaziou > --0016e68fa33bbaafc604c3f91de5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, that fixed it but another question.

i= f you export the whole file then and not just the selection can you use a t= ag or property to specify a different directory to export into instead of t= he same directory as the org file. Will creating the Property Tag at the to= p level work for this??

Also, is there an easy way to tell it to ignore the fir= st say 2 headers in the file and only export starting with the third header= . My first two headers are just to keep track of dates eg.
* 2010=
** June

I would rather these be ignored when = doing the export. The only way I know is to export the subtree.=A0

If there isn't then is there a way to write a command = that would take the current place your working in go up to the third level = heading, select the third level, and run an export command. Or the fastest = way to do this via key bindings?

Cheers,
Jeff

On Tue, Jul 3, 2012 at 7:29 PM, Nicolas Goaziou <<= a href=3D"mailto:n.goaziou@gmail.com" target=3D"_blank">n.goaziou@gmail.com= > wrote:
Hello,

Jeffrey Spencer <jeffspencerd@= gmail.com> writes:

> When I input subtree options for modifying the global options when
> selecting with C-c @ and then exporting.
>
> The subtree options for example:
>
> #+EXPORT_OPTIONS: H:2 num:t toc:f \n:nil @:t ::t |:t ^:t -:t f:t *:t &= lt;:t
> =A0TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil
> #+EXPORT_FILE_NAME: tester
>
> are not used and just ignored. Shouldn't these overide the file se= ttings
> from what I read in the org-manual. Where do these need to be placed. = It is
> right below the subtree I am selecting for export.

You have to use headlines properties (with C-c C-x p) instead o= f
keywords, i.e.

--8<---------------cut here---------------start------------->8---
* Headline
=A0 :PROPERTIES:
=A0 :EXPORT_TITLE: subtree-title
=A0 :END:
Paragraph
--8<---------------cut here---------------end--------------->8---


Regards,

--
Nicolas Goaziou

--0016e68fa33bbaafc604c3f91de5--