emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Can embed css stylesheet directly?


From: Water Lin
Subject: Re: [Orgmode] Can embed css stylesheet directly?
Date: Tue, 22 Dec 2009 12:18:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> Whay don't you just try?
>
> The answer is yes, you need to surround the text by <style>...</style>.
>
> - Carsten
> On Dec 16, 2009, at 3:10 AM, Water Lin wrote:
>
>>
>> I use org-mode to build my note sites. For some reason, I don't want
>> to
>> create a seperately css stylesheet which is linked by something like
>> following in my org-publish-project-alist:
>> ---------
>> :style "<link rel=\"stylesheet\"
>>               href=\"../common/stylesheet.css\" type=\"text/css\"/>"
>> ---------

Here coms a question.

I can embed sheetstyle by surround the text by <style>....</style>, but
my style text is a little long and I want to use a string to replace
it. So I try to set a string by:
------
(setq mystyle "<style>.....</style>")
------

and then I try to embed like following:
------
:style mystyle
------

But when I publish the project, Emacs provides a error message for me. I
not very familiar with elisp, so could you kind to give me a suggestion
about this kind of thing?

Can I embed a style string like this in org configure file?

Thanks

Water Lin

>>
>> Can I insert the css stylesheet here directly rather than using a css
>> file?
>>
>> 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
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]