emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode options
@ 2008-03-24  0:15 Richard G Riley
  2008-03-25  0:40 ` Bastien Guerry
  0 siblings, 1 reply; 3+ messages in thread
From: Richard G Riley @ 2008-03-24  0:15 UTC (permalink / raw)
  To: org-mode


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
| 
| #+CATEGORY: Blog
| 
| ** [2008-03-19 Wed 01:40] another blog entry			      :Personal:
|   
`----

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 ?

thanks for any info

r.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-mode options
  2008-03-24  0:15 org-mode options Richard G Riley
@ 2008-03-25  0:40 ` Bastien Guerry
       [not found]   ` <b6od93pinz.fsf@richardriley.net>
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien Guerry @ 2008-03-25  0:40 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Richard G Riley

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-mode options
       [not found]   ` <b6od93pinz.fsf@richardriley.net>
@ 2008-03-25  7:57     ` Bastien
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2008-03-25  7:57 UTC (permalink / raw)
  To: emacs-orgmode

Richard G Riley <rileyrgdev@googlemail.com> writes:

> Unfortunately org-publish doesn't work at all for me at the moment. I
> intend to try again this week with a new "everything".

Yes, please! 

The org-publish.el rewrite is still fresh and it needs a bit of testing,
any feedback is very welcome.

-- 
Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-25  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-24  0:15 org-mode options Richard G Riley
2008-03-25  0:40 ` Bastien Guerry
     [not found]   ` <b6od93pinz.fsf@richardriley.net>
2008-03-25  7:57     ` Bastien

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).