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/pitfall/ptest/test6.rkt

23 lines
383 B
Racket

8 years ago
#lang pitfall/pdftest
(define (proc doc)
(send* doc
[text "Page 1"]
[addPage]
[text "Page 2"]
[addPage]
[text "Page 3"]
[addPage]
[text "Page 4"]
[addPage]
[text "Page 5"]
[addPage]
[text "Page 6"]))
(define-runtime-path this "test6rkt.pdf")
(make-doc this #f proc)
(define-runtime-path that "test6crkt.pdf")
(make-doc that #t proc)