Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SuzanneSoy committed Jul 12, 2017
1 parent 4386f65 commit 8c051a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dollar.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,14 @@ EOTEX

(define ($-katex strs)
(elem #:style math-inline-style-katex
(map katex-convert-unicode (flatten strs))))
(map (λ (s) (katex-convert-unicode s #t)) (flatten strs))))

(define ($$-mathjax strs)
(elem #:style math-display-style-mathjax strs))

(define ($$-katex strs)
(elem #:style math-display-style-katex
(map katex-convert-unicode (flatten strs))))
(map (λ (s) (katex-convert-unicode s #t)) (flatten strs))))

(define $-html-handler (make-parameter $-katex))
(define $$-html-handler (make-parameter $$-katex))
Expand Down

0 comments on commit 8c051a9

Please sign in to comment.