* Org-Export Subtree Options Not Working @ 2012-07-03 8:13 Jeffrey Spencer 2012-07-03 9:29 ` Nicolas Goaziou 0 siblings, 1 reply; 5+ messages in thread From: Jeffrey Spencer @ 2012-07-03 8:13 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 506 bytes --] 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. Cheers [-- Attachment #2: Type: text/html, Size: 639 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Org-Export Subtree Options Not Working 2012-07-03 8:13 Org-Export Subtree Options Not Working Jeffrey Spencer @ 2012-07-03 9:29 ` Nicolas Goaziou 2012-07-04 4:03 ` Jeffrey Spencer 0 siblings, 1 reply; 5+ messages in thread From: Nicolas Goaziou @ 2012-07-03 9:29 UTC (permalink / raw) To: Jeffrey Spencer; +Cc: emacs-orgmode 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 <: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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Org-Export Subtree Options Not Working 2012-07-03 9:29 ` Nicolas Goaziou @ 2012-07-04 4:03 ` Jeffrey Spencer 2012-07-04 7:21 ` Detlef Steuer 0 siblings, 1 reply; 5+ messages in thread From: Jeffrey Spencer @ 2012-07-04 4:03 UTC (permalink / raw) To: Nicolas Goaziou; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 1893 bytes --] 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 <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 <: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 > [-- Attachment #2: Type: text/html, Size: 2614 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Org-Export Subtree Options Not Working 2012-07-04 4:03 ` Jeffrey Spencer @ 2012-07-04 7:21 ` Detlef Steuer 2012-07-04 15:35 ` Jeffrey Spencer 0 siblings, 1 reply; 5+ messages in thread From: Detlef Steuer @ 2012-07-04 7:21 UTC (permalink / raw) To: emacs-orgmode 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 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 <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 <: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 > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Org-Export Subtree Options Not Working 2012-07-04 7:21 ` Detlef Steuer @ 2012-07-04 15:35 ` Jeffrey Spencer 0 siblings, 0 replies; 5+ messages in thread From: Jeffrey Spencer @ 2012-07-04 15:35 UTC (permalink / raw) To: Detlef Steuer; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 3277 bytes --] 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 <detlef.steuer@gmx.de> wrote: > 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 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 <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 > <: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 > > > > > > > > > [-- Attachment #2: Type: text/html, Size: 5456 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-04 15:36 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-07-03 8:13 Org-Export Subtree Options Not Working Jeffrey Spencer 2012-07-03 9:29 ` Nicolas Goaziou 2012-07-04 4:03 ` Jeffrey Spencer 2012-07-04 7:21 ` Detlef Steuer 2012-07-04 15:35 ` Jeffrey Spencer
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.