* Can embed css stylesheet directly?
@ 2009-12-16 2:10 Water Lin
2009-12-16 7:43 ` Carsten Dominik
0 siblings, 1 reply; 4+ messages in thread
From: Water Lin @ 2009-12-16 2:10 UTC (permalink / raw)
To: emacs-orgmode
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\"/>"
---------
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: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can embed css stylesheet directly?
2009-12-16 2:10 Can embed css stylesheet directly? Water Lin
@ 2009-12-16 7:43 ` Carsten Dominik
2009-12-17 4:01 ` Water Lin
2009-12-22 4:18 ` Water Lin
0 siblings, 2 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-12-16 7:43 UTC (permalink / raw)
To: Water Lin; +Cc: emacs-orgmode
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\"/>"
> ---------
>
> 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: WaterLin@ymail.com
> __________________________________________________
> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can embed css stylesheet directly?
2009-12-16 7:43 ` Carsten Dominik
@ 2009-12-17 4:01 ` Water Lin
2009-12-22 4:18 ` Water Lin
1 sibling, 0 replies; 4+ messages in thread
From: Water Lin @ 2009-12-17 4:01 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Whay don't you just try?
>
> The answer is yes, you need to surround the text by <style>...</style>.
>
OK. I will try it. Thanks
Water Lin
> - 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\"/>"
>> ---------
>>
>> 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: WaterLin@ymail.com
>> __________________________________________________
>> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>
--
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can embed css stylesheet directly?
2009-12-16 7:43 ` Carsten Dominik
2009-12-17 4:01 ` Water Lin
@ 2009-12-22 4:18 ` Water Lin
1 sibling, 0 replies; 4+ messages in thread
From: Water Lin @ 2009-12-22 4:18 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
Carsten Dominik <carsten.dominik@gmail.com> 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: WaterLin@ymail.com
>> __________________________________________________
>> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>
--
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-22 4:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16 2:10 Can embed css stylesheet directly? Water Lin
2009-12-16 7:43 ` Carsten Dominik
2009-12-17 4:01 ` Water Lin
2009-12-22 4:18 ` Water Lin
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.