Don't export identifiers which are not implemented before Racket 6.12
This commit is contained in:
parent
11600d212e
commit
f6b388b462
10
dollar.rkt
10
dollar.rkt
|
@ -24,12 +24,8 @@
|
||||||
$$-katex
|
$$-katex
|
||||||
$-mathjax
|
$-mathjax
|
||||||
$$-mathjax
|
$$-mathjax
|
||||||
$-tex2svg
|
|
||||||
$$-tex2svg
|
|
||||||
use-katex
|
use-katex
|
||||||
use-mathjax
|
use-mathjax
|
||||||
use-tex2svg
|
|
||||||
current-tex2svg-path
|
|
||||||
with-html5)
|
with-html5)
|
||||||
|
|
||||||
(define-syntax (if-version≥6.12 stx)
|
(define-syntax (if-version≥6.12 stx)
|
||||||
|
@ -40,6 +36,12 @@
|
||||||
(regexp-match #px"^[123245]\\..*$" (version))))
|
(regexp-match #px"^[123245]\\..*$" (version))))
|
||||||
#'(begin)
|
#'(begin)
|
||||||
#'(begin . rest))]))
|
#'(begin . rest))]))
|
||||||
|
|
||||||
|
(if-version≥6.12
|
||||||
|
(provide $-tex2svg
|
||||||
|
$$-tex2svg
|
||||||
|
use-tex2svg
|
||||||
|
current-tex2svg-path))
|
||||||
;; KaTeX does not work well with the HTML 4.01 Transitional loose DTD,
|
;; KaTeX does not work well with the HTML 4.01 Transitional loose DTD,
|
||||||
;; so we define a style modifier which replaces the prefix for HTML rendering.
|
;; so we define a style modifier which replaces the prefix for HTML rendering.
|
||||||
(define (with-html5 doc-style)
|
(define (with-html5 doc-style)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user