From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: org-mode options Date: Tue, 25 Mar 2008 01:40:19 +0100 Message-ID: <87r6dz1vrg.fsf@bzg.ath.cx> References: 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 1JdxDG-0007cr-Bd for emacs-orgmode@gnu.org; Mon, 24 Mar 2008 20:40:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JdxDE-0007ZA-Me for emacs-orgmode@gnu.org; Mon, 24 Mar 2008 20:40:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdxDE-0007Yk-Ce for emacs-orgmode@gnu.org; Mon, 24 Mar 2008 20:40:24 -0400 Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JdxDD-0005Wn-Vh for emacs-orgmode@gnu.org; Mon, 24 Mar 2008 20:40:24 -0400 Received: by nf-out-0910.google.com with SMTP id f5so1010001nfh.26 for ; Mon, 24 Mar 2008 17:40:22 -0700 (PDT) In-Reply-To: (Richard G. Riley's message of "Mon, 24 Mar 2008 01:15:04 +0100") 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: emacs-orgmode@gnu.org Cc: Richard G Riley Hi Richard, Richard G Riley writes: > Should the properties given here > > http://orgmode.org/manual/Publishing-options.html#Publishing-options > > be applicable in this form: > > ,---- > | #+TITLE: Blog > | #+AUTHOR: rgr > | #+EMAIL: rgr > | #+DATE: <2008-03-23 Sun> > | #+LANGUAGE: en > | #+TEXT: Test Blog > | > | :PROPERTIES: > | :publishing-directory: ~/webs/web1/public_html > | :table-of-contents: nil > | :END: > | > | * Blog You can set most of the options listed on this page by setting the proper flag on the #+OPTIONS: line. E.g. the table of contents: #+OPTIONS: toc:nil This is documented here: http://orgmode.org/manual/Export-options.html#Export-options The #+OPTIONS line is not a suitable place for setting the publishing directory, because the value for this is likely to be too long. For now, there is no other mean to set the publishing directory but to define a project or to set `org-export-publishing-directory' locally in the file. But I agree that a simple(r) way to set this would be nice. What about #+EXPORT_DIRECTORY ? (Instead of a property in :PROPERTIES:) Note: the export/publish semantic is a bit misleading here. The manual talks about export options and publishing options. Many export options are also publishing options, but not all publishing options are export options -- the most obvious example being the :recursive publishing option, which only makes sense for projects/directories. I will try to clarify this and to refactor the option names a bit. Thanks for bringing this up. > I can't seem to set the directory the html gets written to. But I > should be able to do it without using org-publish-project-alist ? As mentionned above, for now: * COMMENT Local variables # Local Variables: # org-export-publishing-directory: "~/public_html/" # End: -- Bastien