[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Nick Dokos
Subject: Re: [O] Include does not work when doing org-export-as-org
Date: Tue, 11 Oct 2011 10:27:56 -0400

Nick Dokos <address@hidden> wrote:

> Nick Dokos <address@hidden> wrote:
> > Henry Hirsch <address@hidden> 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?
> > 
> Never mind: I didn't read the subject line.

C-h f org-export-as-org says:

| org-export-as-org is an interactive Lisp function in `org-exp.el'.
| (org-export-as-org ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY
| Make a copy with not-exporting stuff removed.
| The purpose of this function is to provide a way to export the source
| Org file of a webpage in Org format, but with sensitive and/or irrelevant
| stuff removed.  This command will remove the following:
| - archived trees (if the variable `org-export-with-archived-trees' is nil)
| - comment blocks and trees starting with the COMMENT keyword
| - only trees that are consistent with `org-export-select-tags'
|   and `org-export-exclude-tags'.

It is not a general purpose exporter. It is supposed to allow you to post
org examples on web pages. I presume it is used when exporting to Worg.

In particular, I assume it does not process includes, because they need
to be preserved in examples.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]