emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien Guerry <bzg@altern.org>
To: emacs-orgmode@gnu.org
Cc: Richard G Riley <rileyrgdev@googlemail.com>
Subject: Re: org-mode options
Date: Tue, 25 Mar 2008 01:40:19 +0100	[thread overview]
Message-ID: <87r6dz1vrg.fsf@bzg.ath.cx> (raw)
In-Reply-To: <opiqzdf053.fsf@richardriley.net> (Richard G. Riley's message of "Mon, 24 Mar 2008 01:15:04 +0100")

Hi Richard,

Richard G Riley <rileyrgdev@googlemail.com> 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

  reply	other threads:[~2008-03-25  0:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24  0:15 org-mode options Richard G Riley
2008-03-25  0:40 ` Bastien Guerry [this message]
     [not found]   ` <b6od93pinz.fsf@richardriley.net>
2008-03-25  7:57     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6dz1vrg.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).