From: Bastien <bastienguerry@googlemail.com>
To: charles snyder <clsnyder@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Publishing Projects to Html
Date: Tue, 30 Jun 2009 02:14:56 +0200 [thread overview]
Message-ID: <871vp2y3un.fsf@bzg.ath.cx> (raw)
In-Reply-To: <fa09ca6d0906290844k75dacabam9394272e060d38e8@mail.gmail.com> (charles snyder's message of "Mon, 29 Jun 2009 10:44:50 -0500")
Hi Charles,
charles snyder <clsnyder@gmail.com> 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
next prev parent reply other threads:[~2009-06-30 0:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-29 15:44 Publishing Projects to Html charles snyder
2009-06-29 16:49 ` Manish
2009-06-30 0:14 ` Bastien [this message]
2009-07-06 6:00 ` Bastien
2009-07-07 2:37 ` Problem with Export-exclude-tags and tags:nil Kristina M. Spurgin
2009-07-07 4:07 ` Carsten Dominik
2009-07-07 16:36 ` Kristina M. Spurgin
2009-07-08 5:20 ` Carsten Dominik
2009-07-08 5:27 ` 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=871vp2y3un.fsf@bzg.ath.cx \
--to=bastienguerry@googlemail.com \
--cc=clsnyder@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).