[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Replace the string in project setting
From: |
Water Lin |
Subject: |
[Orgmode] Replace the string in project setting |
Date: |
Thu, 24 Dec 2009 10:12:44 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
I set publishing project by
------
(require 'org-publish)
(setq org-publish-project-alist
-----
and I also want to embed css sheetstyle by setting
--------
:style "<style>...</style>"
--------
But the style is too long and I want to use a string to replace it.
So I set a string by
-------
(setq waterstyle "<style>....</style>")
-------
and replace the :style like following:
-------
:style waterstyle
-------
But while I publish the project, Emacs prompts an error about this.
I am not very familiar with elisp. Can I embed the style by a string
like this?
Thanks
Water Lin
--
Water Lin's notes and pencils: http://en.waterlin.org
Email: address@hidden
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- [Orgmode] Replace the string in project setting,
Water Lin <=