From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: external setup file for org-html-preamble? Date: Sun, 9 Feb 2014 23:56:21 -0500 Message-ID: References: <87y51jncg5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d0ca31dc4e04f2062964 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCiuu-0007TC-10 for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 23:56:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCiut-00035R-0r for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 23:56:23 -0500 Received: from mail-pb0-x22d.google.com ([2607:f8b0:400e:c01::22d]:57250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCius-00035N-Pi for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 23:56:22 -0500 Received: by mail-pb0-f45.google.com with SMTP id un15so5764862pbc.4 for ; Sun, 09 Feb 2014 20:56:21 -0800 (PST) In-Reply-To: <87y51jncg5.fsf@gmail.com> 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: Nicolas Goaziou Cc: org-mode --047d7b33d0ca31dc4e04f2062964 Content-Type: text/plain; charset=ISO-8859-1 Yes! That was exactly it! Thank you. On Sun, Feb 9, 2014 at 5:33 PM, Nicolas Goaziou wrote: > 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 > --047d7b33d0ca31dc4e04f2062964 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yes! That was exactly it! Thank you.=A0




On Sun, Feb 9, 2014 at 5:33 PM, Nicolas Goaziou <<= a href=3D"mailto:n.goaziou@gmail.com" target=3D"_blank">n.goaziou@gmail.com= > wrote:
Hello,

Peter Salazar <cycleofsong@gmai= l.com> writes:

> Just now for simplicity, I'm trying to move the preamble and posta= mble to
> an external setup file.
>
> In my org-mode file, I now have
>
> #+SETUPFILE: "setu= p.org"
>
> and my setup.org fi= le looks like this: http://i= x.io/apQ
>
> However, when I try to export to HTML, I get "Invalid format stri= ng"
>
> 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

--047d7b33d0ca31dc4e04f2062964--