feat: xelatex rendering

This commit is contained in:
2026-02-22 19:01:12 -07:00
parent 651ed4f26c
commit 49990228c9
11 changed files with 423 additions and 63 deletions
+6
View File
@@ -0,0 +1,6 @@
{:deps {babashka/fs {:mvn/version "0.5.24"}
cheshire/cheshire {:mvn/version "6.1.0"}
com.rpl/specter {:mvn/version "1.1.6"}
mvxcvi/clj-cbor {:mvn/version "1.1.1"}
babashka/process {:mvn/version "0.6.25"}}
:paths ["." "classes"]}
+5
View File
@@ -0,0 +1,5 @@
(ns deserialise
(:require [clj-cbor.core :as cbor]
[clojure.string :as str]))
(prn (cbor/decode cbor/default-codec System/in :eof))
+1 -1
View File
@@ -34,7 +34,7 @@ function do_command (cmd) {
return null
}
} catch (e) {
return e
return {type: "error", error: e}
}
}
+3
View File
@@ -8,8 +8,11 @@
(defn c [x]
(->> x cbor/encode (map #(format "%02x" %)) (str/join " ")))
#_
(w "\\naturalto")
(w "\\ifxetex blah \\fi")
#_#_#_
(w "c = \\sqrt{a^2 + y^2}")
(w "c = \\sqrt{a^ + y^2")