Re: [O] Include does not work when doing org-export-as-org

2011-10-21 Thread Nick Dokos
Bastien wrote: > Carsten Dominik writes: > > > You are welcome - and I think it might be good in integrate > > Nicks function into Org and make it available through the menu > > or a key. > > Indeed -- IIRC the problem is that Nick cannot submit non-tiny > patches :( I added Nick's code to W

Re: [O] Include does not work when doing org-export-as-org

2011-10-21 Thread Bastien
Carsten Dominik writes: > You are welcome - and I think it might be good in integrate > Nicks function into Org and make it available through the menu > or a key. Indeed -- IIRC the problem is that Nick cannot submit non-tiny patches :( I added Nick's code to Worg/org-hacks.org. Carsten, coul

Re: [O] Include does not work when doing org-export-as-org

2011-10-12 Thread Carsten Dominik
On 12.10.2011, at 09:44, Henry Hirsch wrote: > On Tue, Oct 11, 2011 at 12:51:24PM -0400, Nick Dokos wrote: >> The following should do basically what you want, > Yes, that realy hit the spot. Sorry for being so destructive earlier. > For a moment I thought you are telling me off. > > Carsten: >

Re: [O] Include does not work when doing org-export-as-org

2011-10-12 Thread Henry Hirsch
On Tue, Oct 11, 2011 at 12:51:24PM -0400, Nick Dokos wrote: > The following should do basically what you want, Yes, that realy hit the spot. Sorry for being so destructive earlier. For a moment I thought you are telling me off. Carsten: I think by default it should not expand macros, process babe

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Carsten Dominik
On 11.10.2011, at 16:34, Henry Hirsch wrote: > On Tue, Oct 11, 2011 at 10:27:56AM -0400, Nick Dokos wrote: > >> In particular, I assume it does not process includes, because they need >> to be preserved in examples. >> >> Nick > > So do you think it is reasonable that org-export-as-org is the

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Henry Hirsch wrote: > On Tue, Oct 11, 2011 at 11:37:54AM -0400, Nick Dokos wrote: > > What is *your* use case? That is not at all clear, so far at least. > > > > Nick > > I want to apply the don't repeat yourself (dry) principle to my org files. > For the documentation of software quality I hav

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Henry Hirsch
On Tue, Oct 11, 2011 at 11:37:54AM -0400, Nick Dokos wrote: > What is *your* use case? That is not at all clear, so far at least. > > Nick I want to apply the don't repeat yourself (dry) principle to my org files. For the documentation of software quality I have huge org documents with a lot of t

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Henry Hirsch wrote: > On Tue, Oct 11, 2011 at 10:57:58AM -0400, Nick Dokos wrote: > > o org is very much a scratch-your-itch project - so you can > > certainly go ahead and implement what you want. > > I get it. If I want something fixed I gotta do it myself. > > Have a nice day, an

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Henry Hirsch
On Tue, Oct 11, 2011 at 10:57:58AM -0400, Nick Dokos wrote: > o org is very much a scratch-your-itch project - so you can > certainly go ahead and implement what you want. I get it. If I want something fixed I gotta do it myself. Have a nice day, and thank you for sobering me up.

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Henry Hirsch wrote: > On Tue, Oct 11, 2011 at 10:27:56AM -0400, Nick Dokos wrote: > > > In particular, I assume it does not process includes, because they need > > to be preserved in examples. > > > > Nick > > So do you think it is reasonable that org-export-as-org is the only mode > of expo

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Henry Hirsch
On Tue, Oct 11, 2011 at 10:27:56AM -0400, Nick Dokos wrote: > In particular, I assume it does not process includes, because they need > to be preserved in examples. > > Nick So do you think it is reasonable that org-export-as-org is the only mode of export which is exhibiting a different behav

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Nick Dokos wrote: > Nick Dokos wrote: > > > Henry Hirsch wrote: > > > > > Hello everyone, > > > > > > I am trying to export an org-file with includes. > > > When I export as PDF all includes work but when > > > I export as org-file the includes are getting ignored. > > > > > > > What does

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Henry Hirsch
On Tue, Oct 11, 2011 at 10:09:49AM -0400, Nick Dokos wrote: > Henry Hirsch wrote: > > > Hello everyone, > > > > I am trying to export an org-file with includes. > > When I export as PDF all includes work but when > > I export as org-file the includes are getting ignored. > > > > What does "exp

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Nick Dokos wrote: > Henry Hirsch wrote: > > > Hello everyone, > > > > I am trying to export an org-file with includes. > > When I export as PDF all includes work but when > > I export as org-file the includes are getting ignored. > > > > What does "export as org-file" mean? What do you do ex

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Nick Dokos wrote: > FWIW, I tried with your minimal example (thanks!), and I can export to > ascii/latex/PDF/HTML with > > C-c C-e A (or D or L or H) > I meant: C-c C-e A (or L or d or H) Nick

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Henry Hirsch wrote: > Hello everyone, > > I am trying to export an org-file with includes. > When I export as PDF all includes work but when > I export as org-file the includes are getting ignored. > What does "export as org-file" mean? What do you do exactly? FWIW, I tried with your minimal

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Henry Hirsch
On Tue, Oct 11, 2011 at 03:53:00PM +0200, Henry Hirsch wrote: I forgot something: > Content of a_source.org after export: is actually: #+INCLUDE "b.org" Where I expected it to be "Hello World". Thanks, Henry

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Henry Hirsch
On Tue, Oct 11, 2011 at 09:41:43AM -0400, Nick Dokos wrote: > Sorry to be a grouch, but can you *please* provide an example? Content of a.org: #+INCLUDE: "b.org" Content of b.org: Hello World Content of a_source.org after export: Thanks, Henry

Re: [O] Include does not work when doing org-export-as-org

2011-10-11 Thread Nick Dokos
Henry Hirsch wrote: > Hello everyone, > > I am trying to export an org-file with includes. > When I export as PDF all includes work but when > I export as org-file the includes are getting ignored. > > I am on org-mode 7.6. > > Hope somebody knows how to fix this. > Sorry to be a grouch, but

[O] Include does not work when doing org-export-as-org

2011-10-11 Thread Henry Hirsch
Hello everyone, I am trying to export an org-file with includes. When I export as PDF all includes work but when I export as org-file the includes are getting ignored. I am on org-mode 7.6. Hope somebody knows how to fix this. Sincerly yours, Henry