From: Dan Davison <davison@stats.ox.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: Problems publishing css files
Date: Tue, 5 Aug 2008 10:28:34 +0100 [thread overview]
Message-ID: <20080805092834.GA7632@stats.ox.ac.uk> (raw)
In-Reply-To: <bqhca0criu.fsf@richardriley.net>
Hi Richard,
I couldn't see anything wrong with your alist, and I tried it out on
my system (with altered, local, directory names) and org-publish
web-css copied a css file to the publishing directory with no
problems. I haven't had any problems with org-publish-attachment on
any type of file. Is it definitely not to do with icicles? Happens
with local publishing directory as well as ssh? I'm sure this is
obvious to you, but I guess the thing to do is make that project-alist
simpler and simpler until it works and hopefully that'll reveal the
problem.
DAn
On Tue, Aug 05, 2008 at 01:03:05AM +0200, Richard G Riley wrote:
>
>
> Here is my org-publish-project-alist
>
> ,----
> | (setq org-publish-project-alist
> | '(
> | ("web-css"
> | :base-directory "~/webs/rr/"
> | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/"
> | :base-extension "css"
> | :publishing-function org-publish-attachment
> | :recursive t
> | )
> | ("web-images"
> | :base-directory "~/webs/rr/"
> | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/"
> | :base-extension "gif\\|jpg\\|png"
> | :publishing-function org-publish-attachment
> | :recursive t
> | )
> | ("web-org"
> | :base-directory "~/webs/rr/"
> | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/"
> | :base-extension "org"
> | :publishing-function org-publish-org-to-html
> | :recursive t
> | :section-numbers nil
> | :style "<link rel=stylesheet
> | href=\"./style.css\"
> | type=\"text/css\">"
> | :auto-preamble t
> | :auto-postamble t
> | :preamble "<div id='Content'><a href='../'>Back</a> - <a href='http://rr.net/default/'>Home</a>"
> | :postamble "</div>"
> | :author nil
> | )
> | ("web"
> | :components("web-org" "web-images" "web-css")
> | )
> | )
> | )
> `----
>
> I can org-publish both web-org and web-images with no problem. However
> when I try to publish web-css I get:
>
> ,----
> | Debugger entered--Lisp error: (error "Wrong type argument: arrayp, nil")
> | signal(error ("Wrong type argument: arrayp, nil"))
> | error("%s" "Wrong type argument: arrayp, nil")
> | byte-code("??\b!???????? !\"??" [orig-buff act-on-choice icicle-try-switch-buffer error "%s" error-message-string] 4)
> | icicle-execute-extended-command()
> | call-interactively(icicle-execute-extended-command)
> `----
>
> I can org-publish-current-file with no problem.
>
> (I have tried it without icicles loaded too). It is only css files (in
> this instance) causing this. Any suggestions on how to debug this? What
> could it be? I have tried without nxhtml loaded too and have ensured the
> only css mode I have in the one that comes with emacs 22.
>
> org : 6.06b
> emacs : 22.2.1
>
> Can anyone confirm (using emacs 22) that they can publish css files
> without a problem?
>
> regards
>
> r.
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2008-08-05 9:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 23:03 Problems publishing css files Richard G Riley
2008-08-05 9:28 ` Dan Davison [this message]
2008-08-05 12:45 ` Richard G Riley
2008-08-07 3:50 ` Bernt Hansen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080805092834.GA7632@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.