On Jun 23, 2011, at 6:46 PM, Eli Barzilay wrote:
> ... and an impenetrable lazy-like langugae that works via textual expansions
> can easily lead to severe hair loss.
Man, that explains it! And I bet TeX is even worse than latex.
_
For list-
> Ok, understood. I'll add the optimization section to the tutorial, and then
> write a blog post for blog.racket-lang.org.
Blog post written:
http://blog.hashcollision.org/?p=114
It ended up being more of a history of the writing, more than a mini-tutorial.
_
Nicely summarized, Matthias.
To follow-up on Robby's suggestion and my own petty needs, is there a way to
get scribble to generate a "minimal pdf", instead of a whole page?
For instance, from the following code:
#lang scribble/manual
@(require scribble/eval)
@def+int[
(define add
(λ (n)
(λ
8 minutes ago, Matthias Felleisen wrote:
>
> Eli, you're wrong. When people initially request such things they
> don't think of all possible bad scenarios. Let them play with it.
> Most of the time, it may just work and it's what they need.
Sure -- given that the ability to get the parts separat
Don, you're right. Latex is the assembly language here,
and you should be able to patch in the results of an
open compiler wherever you want. I did this kind of thing
all the time in my innocent youth (Pascal -> 6809 asm) and
'it worked.' The reason it worked is because I (or perhaps
the mentor
Yesterday, Don Blaheta wrote:
> It seems likely that at some point I might have wanted to shift over
> to writing Scribble from scratch. I may yet do that. But it's
> going to be a lot harder to make that decision if I can't first dip
> in my toe and make it work with my existing installed base.
On Thu, Jun 23, 2011 at 3:04 PM, Eli Barzilay wrote:
>> You probably want something like parameters.
> (What people *probably* want is something like CL, where you can
> declare a specific variable as special -- and then when you use it in
> a `let' or as a function argument, that binding is done
Yesterday, Jay McCarthy wrote:
> You probably want something like parameters.
>
> You could make a language with dynamic scope if you really wanted it
> though. You would capture variable accesses with #%top and friends.
> Or you could just redefine binding/setting forms to use
> parameters/globa
Followup. Ok, so I've written the following small library for myself:
;; scribble-helpers.rkt
#lang racket/base
(provide inject-javascript)
(require scribble/core
scribble/htm
Oops, I forgot the css file, but you can imagine that you can put all kinds of
things there:
.inbox {
padding: 0.2em;
border: 1px solid #00;
}
On Jun 23, 2011, at 1:08 PM, Matthias Felleisen wrote:
>
> Would this help:
>
> #lang scribble/manual
>
> @(require scribble/core
Would this help:
#lang scribble/manual
@(require scribble/core scribble/html-properties)
@(define css-style
(make-style "a bunch of things"
(list
(make-css-addition "shared.css"
@title[#:tag "intro" #:style css-style]{Example}
@(define (exact . items)
See `attributes' from `scribble/html-properties'.
Here's an example for IFRAME:
http://lists.racket-lang.org/users/archive/2011-April/045036.html
To add tags to HEAD, the rendering of the top-level `part' needs to
extract HTML attributes from the part's style; I'll add that soon.
At Thu, 23 Ju
On Thu, Jun 23, 2011 at 11:56 AM, Danny Yoo wrote:
> I'd like to be able to inject some HTML fragments into a Scribble
> document, so that when the Scribble documentation renders to html,
> those fragments are carried along.
+1
It would also be useful for putting tags to insert video into
Scrib
I'd like to be able to inject some HTML fragments into a Scribble
document, so that when the Scribble documentation renders to html,
those fragments are carried along.
* For example, if I have a Google Analytics snippet that needs to be
injected within the of the document, I'd like to have that
Thanks a lot Matthew, this is a really handy feature!
To add to the arguments of Don and others on why this might be necessary, I
faced another situation recently, quite common in research: collaborative paper
writing. You can't reasonably hope that all your co-authors will want to use
scribble
15 matches
Mail list logo