From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Giraud Subject: Re: Error when publishing to HTML Date: Fri, 18 Feb 2011 11:02:44 +0100 Message-ID: <874o813bjv.fsf@univ-nantes.fr> References: <804o825rl2.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57700 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqNBR-0007lu-8I for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 05:03:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqNBQ-0000pP-7I for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 05:03:29 -0500 Received: from smtp-tls2.univ-nantes.fr ([193.52.101.146]:56357 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqNBP-0000pH-Ur for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 05:03:28 -0500 In-Reply-To: <804o825rl2.fsf@missioncriticalit.com> (=?utf-8?Q?=22S=C3=A9b?= =?utf-8?Q?astien?= Vauban"'s message of "Thu, 17 Feb 2011 21:33:29 +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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org S=C3=A9bastien Vauban writes: > #+begin_src emacs-lisp > (add-to-list 'org-publish-project-alist > '(("orgfiles" > :base-directory "~/src/web-in-org/org/" > :base-extension "org" > :publishing-directory "~/src/web-in-org/public_html/" > :publishing-function org-publish-org-to-html > :section-numbers nil > :table-of-contents nil > :auto-sitemap t > :sitemap-title "Sitemap" > :style "") > ("css" > :base-directory "~/src/web-in-org/org/css/" > :base-extension "css" > :publishing-directory "~/src/web-in-org/public_html/css/" > :publishing-function org-publish-attachment) > ("mysite" > :components ("orgfiles" "css")))) > #+end_src Ok, I think I found your problem here: your add-to-list create a too much nested list here. You could either do: #+begin_src emacs-lisp (setq org-publish-project-alist nil) (add-to-list 'org-publish-project-alist '("orgfiles" :base-directory "~/src/web-in-org/org/" :base-extension "org" :publishing-directory "~/src/web-in-org/public_html/" :publishing-function org-publish-org-to-html :section-numbers nil :table-of-contents nil :auto-sitemap t :sitemap-title "Sitemap" :style "")) (add-to-list 'org-publish-project-alist '("css" :base-directory "~/src/web-in-org/org/css/" :base-extension "css" :publishing-directory "~/src/web-in-org/public_html/css/" :publishing-function org-publish-attachment)) (add-to-list 'org-publish-project-alist '("mysite" :components ("orgfiles" "css")) #+end_src or (as shown in documentation examples): #+begin_src emacs-lisp (setq org-publish-project-alist '(("orgfiles" :base-directory "~/src/web-in-org/org/" :base-extension "org" :publishing-directory "~/src/web-in-org/public_html/" :publishing-function org-publish-org-to-html :section-numbers nil :table-of-contents nil :auto-sitemap t :sitemap-title "Sitemap" :style "") ("css" :base-directory "~/src/web-in-org/org/css/" :base-extension "css" :publishing-directory "~/src/web-in-org/public_html/css/" :publishing-function org-publish-attachment) ("mysite" :components ("orgfiles" "css")))) #+end_src Best regards, --=20 Manuel Giraud