From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: variable to publish .org source with project Date: Tue, 18 Aug 2009 12:35:27 -0600 Message-ID: References: <87fxbpaur6.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdTX1-0007Oy-U4 for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 14:35:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdTWx-0007Nn-DJ for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 14:35:39 -0400 Received: from [199.232.76.173] (port=58364 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdTWx-0007Nk-87 for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 14:35:35 -0400 Received: from rv-out-0708.google.com ([209.85.198.240]:3497) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdTWw-0004qY-QI for emacs-orgmode@gnu.org; Tue, 18 Aug 2009 14:35:35 -0400 Received: by rv-out-0708.google.com with SMTP id c5so791436rvf.2 for ; Tue, 18 Aug 2009 11:35:33 -0700 (PDT) In-Reply-To: <87fxbpaur6.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue, 18 Aug 2009 13:37:17 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: Org Mode Exactly what I was after! Thanks -- Eric Bernt Hansen writes: > "Eric Schulte" writes: > >> Is there a variable or setting which will enable the publishing of .org >> source files alongside the generated .html files when I publish a series >> of pages to the web using org-publish-project? > > Yes :) > > I have the following in my org-publish-project-alist > > :publishing-function (org-publish-org-to-html org-publish-org-to-org) > > The org-publish-org-to-org generates two files - a .org.html which is > org source with colouring and the .org.org file which is RAW. > > Both of these files have subtrees marked with noexport stripped out of > them. > > -Bernt