You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/quad/quad2/main.rkt

13 lines
407 B
Racket

#lang debug racket/base
(require "compile.rkt" "render.rkt" "quad.rkt" racket/string)
(define drawing-insts (parameterize ([current-wrap-width 13])
(quad-compile-to-stack "Hello this is the earth")))
(displayln drawing-insts)
(render drawing-insts #:using text-renderer)
(render drawing-insts #:using drr-renderer)
#;(render-to-html drawing-insts)
#;(render-to-pdf drawing-insts)