emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard G Riley <rileyrgdev@googlemail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Publishing webs using org
Date: Thu, 03 Jul 2008 15:47:31 +0200	[thread overview]
Message-ID: <o9prpvaxl8.fsf@richardriley.net> (raw)


I have a setup containing something like this:

(setq org-publish-project-alist
      '(
	("cv-text"
	 :base-directory "~/cv/"
	 :base-extension "org"
	 :publishing-directory "/ssh:sr@hermes:~/webs/rr/cv/"
         :recursive t
	 :section-numbers nil
	 :publishing-function org-publish-org-to-html
	 :style "<link rel=stylesheet
                     href=\"./cv.css\"
                     type=\"text/css\">"
	 :table-of-contents t
	 :auto-preamble t
	 :auto-postamble t
	 )
	("cv-css"
	 :base-directory "~/cv/"
	 :base-extension "css"
	 :publishing-directory "/ssh:sr@hermes:~/webs/rr/cv/"
	 :publishing-function org-publish-attachment)
	("cv"
	 :components ("cv-text" "cv-css")
	 )
	)
)

The only way I could see to have the publish transfer the CSS was to
create a seperate project and publish the cv-text and cv-css as
components of the cv project.

I would like to suggest that the org-publish-org-to-html defaults to
including other file types such as css. Or possibly there should also be
a "me too" setting which includes all files of a certain type or name
during a publish using whichever publish method.

             reply	other threads:[~2008-07-03 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 13:47 Richard G Riley [this message]
2008-07-03 17:38 ` Publishing webs using org Carsten Dominik

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=o9prpvaxl8.fsf@richardriley.net \
    --to=rileyrgdev@googlemail.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).