From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Spencer Subject: Re: Org-Export Subtree Options Not Working Date: Thu, 5 Jul 2012 01:35:49 +1000 Message-ID: References: <873959gplg.fsf@gmail.com> <20120704092142.080b2d61@vknecht-intel.unibw-hamburg.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec54a35d2047e4904c402ca14 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmRck-0001GQ-7d for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 11:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmRcd-0001T3-CI for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 11:36:13 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:45908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmRcd-0001Sm-4W for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 11:36:07 -0400 Received: by yhr47 with SMTP id 47so8687991yhr.0 for ; Wed, 04 Jul 2012 08:36:05 -0700 (PDT) In-Reply-To: <20120704092142.080b2d61@vknecht-intel.unibw-hamburg.de> 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: Detlef Steuer Cc: emacs-orgmode@gnu.org --bcaec54a35d2047e4904c402ca14 Content-Type: text/plain; charset=ISO-8859-1 Sorry didn't finish the message. That doesn't seem to work from what I have tried. If for example it is * 2012 :noexport: ** June :noexport: *** Not going output *** Want to export this and subtrees :export: **** Also export The above example won't export anything because the export is below the :noexport:. I just wrote a kbd macro to search up to the nearest tag in the structure I define, select that subtree, and export. Then set to a key-binding to reload each time but figured there was a better way to do this. Or was interested for the reasons of creating a way to export a subtree at a specific headline level always. Is there a way to go up from your current level to a specific level in the subtree. Like if your on the 6th level but want to go up to the third level heading. Is there a command or key shortcut to do this essentially?? Cheers On Wed, Jul 4, 2012 at 5:21 PM, Detlef Steuer wrote: > On Wed, 4 Jul 2012 14:03:24 +1000 > Jeffrey Spencer wrote: > > > 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. > > You should be able to use :noexport: on these. > > hth > Detlef > > > > > > 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 > > > > > > > > > --bcaec54a35d2047e4904c402ca14 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry didn't finish the message.

That doesn't seem to work from what I have tried.

If for example it is

* 2012 =A0 =A0 =A0 =A0:noex= port:
** June =A0 =A0 =A0 :noexport:
*= ** Not going output
*** Want to export this and subtrees =A0 =A0 =A0:export:
**** Als= o export
The above example won't export anything because the = export is below the :noexport:.

I just wrote a kbd macro to s= earch up to the nearest tag in the structure I define, select that subtree,= and export. Then set to a key-binding to reload each time but figured ther= e was a better way to do this.

Or was interested for the reasons of creating a way to = export a subtree at a specific headline level always. Is there a way to go = up from your current level to a specific level in the subtree. Like if your= on the 6th level but want to go up to the third level heading. Is there a = command or key shortcut to do this essentially??

Cheers

On Wed, Jul 4, 2012 at = 5:21 PM, Detlef Steuer <detlef.steuer@gmx.de> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
On Wed, 4 Jul 2012 14:03:24 +1000
Jeffrey Spencer <jeffspencerd@= gmail.com> wrote:

> Thanks, that fixed it but another question.
>
> if you export the whole file then and not just the selection can you u= se a
> tag or property to specify a different directory to export into instea= d 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 header= s in
> the file and only export starting with the third header. My first two<= br> > 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.

You should be able to use :noexport: on these.

hth
Detlef


>
> If there isn't then is there a way to write a command that would t= ake 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 <n.goaziou@gmail.com> wrote:
>
> > Hello,
> >
> > Jeffrey Spencer <jef= fspencerd@gmail.com> writes:
> >
> > > When I input subtree options for modifying the global option= s 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
> > > =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 t= he file settings
> > > from what I read in the org-manual. Where do these need to b= e 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<= br> > > keywords, i.e.
> >
> > --8<---------------cut here---------------start-------------&g= t;8---
> > * Headline
> > =A0 :PROPERTIES:
> > =A0 :EXPORT_TITLE: subtree-title
> > =A0 :END:
> > Paragraph
> > --8<---------------cut here---------------end---------------&g= t;8---
> >
> >
> > Regards,
> >
> > --
> > Nicolas Goaziou
> >
>




--bcaec54a35d2047e4904c402ca14--