[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Publishing Projects to Html
From: |
Bastien |
Subject: |
Re: [Orgmode] Publishing Projects to Html |
Date: |
Tue, 30 Jun 2009 02:14:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi Charles,
charles snyder <address@hidden> writes:
> I have been trying out 'publish projects' in org mode. It works perfectly
> (following the instructions on Sebastian's tutorial), but I have a very basic
> question - The tutorial describes putting
>
> (require 'org-publish)
> (setq org-publish-project-alist
> '(
>
> ;; ... add all the components here (see below)...
>
> ))
>
> into the *scratch* buffer, followed by C-x C-e two times. Other than
> re-entering all the "org-publish-project-alist" info each time I publish to
> HTML, where does this code go -
>
> ? into my .emacs file
> ? change it via org menu -> customize -> customize -> Org Publishing -> Org
> Publish Project alist
> ? a separate file
I store the (setq org-publish-project-alist ...) variable in a separate
~/elisp/config/org-config.el file which looks like this:
,----
| (setq org-publish-project-alist ...)
| (setq org-blabla ...)
| (provide 'org-config)
`----
For this file to be loaded by emacs, you need to add its location to the
load-path, and to require the feature it provides:
,----
| (add-to-list 'load-path "~/elisp/config/")
| (require 'org-config)
`----
HTH
> On a related note, searching the mailing list on the org main page doesn't
> seem
> to work :
>
> Warning: Unable to include '/cgi-bin/omega.cgi?query=publish&group=
> gmane.emacs.orgmode' - request execution failed in /home/xapian/html/index.php
> on line 105
This is a problem on Gmane, I wrote to the maintainer, thanks.
--
Bastien