hyper-literate/pkgs/scribble-pkgs/scribble-html-lib/scribble/html/lang.rkt
Matthew Flatt 19ea3a7194 split "scribble-html-lib" package out of "scribble-lib" package
original commit: 0ad3a6a7f6c897b4fe7d3d2dfdceb3a8831e293a
2014-02-07 22:36:01 -07:00

15 lines
474 B
Racket

#lang racket/base
(require "main.rkt" (except-in scribble/text/lang #%top)
scribble/text/syntax-utils)
(provide (except-out (all-from-out scribble/text/lang) #%module-begin)
(rename-out [module-begin #%module-begin])
(all-from-out "main.rkt"))
(require (for-syntax racket/base))
(define-syntax-rule (module-begin expr ...)
(#%plain-module-begin
(port-count-lines! (current-output-port))
(process-begin/text begin output-xml expr ...)))