From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: external setup file for org-html-preamble? Date: Sun, 09 Feb 2014 23:33:30 +0100 Message-ID: <87y51jncg5.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCcw8-00080j-UH for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 17:33:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCcw3-0007Gv-NK for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 17:33:16 -0500 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:33944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCcw3-0007Gq-G1 for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 17:33:11 -0500 Received: by mail-wi0-f169.google.com with SMTP id e4so2213838wiv.4 for ; Sun, 09 Feb 2014 14:33:10 -0800 (PST) In-Reply-To: (Peter Salazar's message of "Sun, 9 Feb 2014 16:35:03 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Salazar Cc: org-mode Hello, Peter Salazar writes: > Just now for simplicity, I'm trying to move the preamble and postamble to > an external setup file. > > In my org-mode file, I now have > > #+SETUPFILE: "setup.org" > > and my setup.org file looks like this: http://ix.io/apQ > > However, when I try to export to HTML, I get "Invalid format string" > > Can anyone spot the problem in my setup file? http://ix.io/apQ You need to escape "%" in the first BIND value. See `org-html-preamble-format' docstring. Regards, -- Nicolas Goaziou