emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Richard G Riley <rileyrgdev@googlemail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Publishing webs using org
Date: Thu, 3 Jul 2008 10:38:26 -0700	[thread overview]
Message-ID: <6C58488A-D557-47E1-8AEC-049CF9E7698F@uva.nl> (raw)
In-Reply-To: <o9prpvaxl8.fsf@richardriley.net>


On Jul 3, 2008, at 6:47 AM, Richard G Riley wrote:

>
> 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.

This is how it is supposed to work.  The CSS etc is only copied and  
therefore needs a different setup.  I find the setup you show quite  
clean.

- Carsten

      reply	other threads:[~2008-07-03 17:38 UTC|newest]

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

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=6C58488A-D557-47E1-8AEC-049CF9E7698F@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.com \
    /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).