Hi
I started to use parenscript and javascript portion of it works just fine. Now, I wanted to incorporate some css into the code and ran into problems. When I try to evaluate the sample code: (html-stream *standard-output* (html (:html (:head (css (* :border "1px solid black") (div.bl0rg :font-family "serif") (("a:active" "a:hoover") :color "black" :size "200%"))))))
I get an error: Execution of a form compiled with errors. Form: ((STYLE TYPE text/css) (PRINC
<!-- ) (PRINC (CSS-RULE-TO-STRING (CSS-RULE * BORDER 1px solid black)) (CSS-RULE-TO-STRING (CSS-RULE DIV.BL0RG FONT-FAMILY serif)) (CSS-RULE-TO-STRING (CSS-RULE (a:active a:hoover) COLOR black SIZE 200%))) .. [Condition of type SB-INT:COMPILED-PROGRAM-ERROR]
I am using sbcl 1.0.18 on Ubuntu. How can I solve it?
Thank you! Andrew
Andrei Stebakov wrote:
I started to use parenscript and javascript portion of it works just fine. Now, I wanted to incorporate some css into the code and ran into problems.
Greetings. The latest versions of parenscript no longer have a CSS system. Arguably this was out of scope for the library. You'll probably want to look for another way to include CSS.
Cheers,
-- Travis
We have a simple CSS library that we wrote. I don't think it does inlined css, but it might make a starting point for you. Email me if you want a copy.
Daniel
On Fri, Aug 22, 2008 at 1:14 AM, Travis Cross tc@travislists.com wrote:
Andrei Stebakov wrote:
I started to use parenscript and javascript portion of it works just fine. Now, I wanted to incorporate some css into the code and ran into problems.
Greetings. The latest versions of parenscript no longer have a CSS system. Arguably this was out of scope for the library. You'll probably want to look for another way to include CSS.
Cheers,
-- Travis _______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
I needed to generate CSS in Parenscript for the project I'm currently working on, so I rewrote an early version of the "simple CSS library" Daniel is referencing and packaged it to be ASDF-installable:
You'll need to load Parenscript before compiling it, otherwise it's just a plain CL library.
It's BSD licensed, I hope you don't mind that Daniel. I don't know what changes were made to the Skysheet version after I left, but this one is a big improvement on the original.
Vladimir
2008/8/24 Daniel Gackle danielgackle@gmail.com:
We have a simple CSS library that we wrote. I don't think it does inlined css, but it might make a starting point for you. Email me if you want a copy.
Daniel
On Fri, Aug 22, 2008 at 1:14 AM, Travis Cross tc@travislists.com wrote:
Andrei Stebakov wrote:
I started to use parenscript and javascript portion of it works just fine. Now, I wanted to incorporate some css into the code and ran into problems.
Greetings. The latest versions of parenscript no longer have a CSS system. Arguably this was out of scope for the library. You'll probably want to look for another way to include CSS.
Cheers,
-- Travis _______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
I forgot to mention, you'll need the latest version of PS from the repository to use it. I think it's time to make a new release soon.
Vladimir
On Thu, Dec 4, 2008 at 1:37 AM, Vladimir Sedach vsedach@gmail.com wrote:
I needed to generate CSS in Parenscript for the project I'm currently working on, so I rewrote an early version of the "simple CSS library" Daniel is referencing and packaged it to be ASDF-installable:
You'll need to load Parenscript before compiling it, otherwise it's just a plain CL library.
It's BSD licensed, I hope you don't mind that Daniel. I don't know what changes were made to the Skysheet version after I left, but this one is a big improvement on the original.
Vladimir
2008/8/24 Daniel Gackle danielgackle@gmail.com:
We have a simple CSS library that we wrote. I don't think it does inlined css, but it might make a starting point for you. Email me if you want a copy.
Daniel
On Fri, Aug 22, 2008 at 1:14 AM, Travis Cross tc@travislists.com wrote:
Andrei Stebakov wrote:
I started to use parenscript and javascript portion of it works just fine. Now, I wanted to incorporate some css into the code and ran into problems.
Greetings. The latest versions of parenscript no longer have a CSS system. Arguably this was out of scope for the library. You'll probably want to look for another way to include CSS.
Cheers,
-- Travis _______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
< It's BSD licensed, I hope you don't mind that Daniel. >
That's fine.
< I think it's time to make a new release soon. >
I have several proposals for changes to PS that come from recent experiences extending it for my own project. I've been meaning to write these up and post them to the list, but have been too busy. I'll try to do that soon.
On Thu, Dec 4, 2008 at 1:37 AM, Vladimir Sedach vsedach@gmail.com wrote:
I needed to generate CSS in Parenscript for the project I'm currently working on, so I rewrote an early version of the "simple CSS library" Daniel is referencing and packaged it to be ASDF-installable:
You'll need to load Parenscript before compiling it, otherwise it's just a plain CL library.
It's BSD licensed, I hope you don't mind that Daniel. I don't know what changes were made to the Skysheet version after I left, but this one is a big improvement on the original.
Vladimir
2008/8/24 Daniel Gackle danielgackle@gmail.com:
We have a simple CSS library that we wrote. I don't think it does inlined css, but it might make a starting point for you. Email me if you want a copy.
Daniel
On Fri, Aug 22, 2008 at 1:14 AM, Travis Cross tc@travislists.com
wrote:
Andrei Stebakov wrote:
I started to use parenscript and javascript portion of it works just fine. Now, I wanted to incorporate some css into the code and ran into problems.
Greetings. The latest versions of parenscript no longer have a CSS system. Arguably this was out of scope for the library. You'll
probably
want to look for another way to include CSS.
Cheers,
-- Travis _______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
For yet another css lib, I made CSS-SEXP a while ago on common-lisp.net. There isn't too much documentation but it serves the same kind of purpose.
http://common-lisp.net/project/css-sexp/
CL-USER> (cssexp:with-css-output (*standard-output*) ((or :div.header :span.large) :size "100%")) div.header, span.large { size: 100%; }
I have yet to use it with Parenscript.
-Red
On Thu, Dec 4, 2008 at 8:41 AM, Daniel Gackle danielgackle@gmail.comwrote:
< It's BSD licensed, I hope you don't mind that Daniel. >
That's fine.
< I think it's time to make a new release soon. >
I have several proposals for changes to PS that come from recent experiences extending it for my own project. I've been meaning to write these up and post them to the list, but have been too busy. I'll try to do that soon.
On Thu, Dec 4, 2008 at 1:37 AM, Vladimir Sedach vsedach@gmail.com wrote:
I needed to generate CSS in Parenscript for the project I'm currently working on, so I rewrote an early version of the "simple CSS library" Daniel is referencing and packaged it to be ASDF-installable:
You'll need to load Parenscript before compiling it, otherwise it's just a plain CL library.
It's BSD licensed, I hope you don't mind that Daniel. I don't know what changes were made to the Skysheet version after I left, but this one is a big improvement on the original.
Vladimir
2008/8/24 Daniel Gackle danielgackle@gmail.com:
We have a simple CSS library that we wrote. I don't think it does
inlined
css, but it might make a starting point for you. Email me if you want a copy.
Daniel
On Fri, Aug 22, 2008 at 1:14 AM, Travis Cross tc@travislists.com
wrote:
Andrei Stebakov wrote:
I started to use parenscript and javascript portion of it works just fine. Now, I wanted to incorporate some css into the code and ran into problems.
Greetings. The latest versions of parenscript no longer have a CSS system. Arguably this was out of scope for the library. You'll
probably
want to look for another way to include CSS.
Cheers,
-- Travis _______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel@common-lisp.net