emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Peter Salazar <cycleofsong@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: external setup file for org-html-preamble?
Date: Sun, 09 Feb 2014 23:33:30 +0100	[thread overview]
Message-ID: <87y51jncg5.fsf@gmail.com> (raw)
In-Reply-To: <CAE+_6TxGxketNBOZa236xkf0dXxP5xtkCi-ix1JYn9exyt8Zdg@mail.gmail.com> (Peter Salazar's message of "Sun, 9 Feb 2014 16:35:03 -0500")

Hello,

Peter Salazar <cycleofsong@gmail.com> 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

  reply	other threads:[~2014-02-09 22:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-09 21:35 external setup file for org-html-preamble? Peter Salazar
2014-02-09 22:33 ` Nicolas Goaziou [this message]
2014-02-10  4:56   ` Peter Salazar
2014-02-10  9:10 ` Bastien
2014-02-10 21:41   ` Peter Salazar

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=87y51jncg5.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=cycleofsong@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).