fix: render-temml

This commit is contained in:
2026-02-26 14:42:39 -07:00
parent 5c92dc153c
commit 18350f6600
4 changed files with 24 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
"/home/msyds/org/20250512144715-natural_transformation_category_theory.org"
#_
"/home/msyds/org/20251021155921-path_action.org"
"/tmp/t.org")
"test/net/deertopia/doerg/tex-test.org")
(defn- force-create-sym-link [path target]
(fs/delete-if-exists path)

View File

@@ -212,7 +212,7 @@
(if (re-matches #"(?s)\\begin\{.+?}(.*?)\\end\{.+?}" s)
(render-temml-display s)
(if-let [[_ inner] (re-matches #"(?s)\\\((.*)\\\)" s)]
(render-temml-inline s)
(render-temml-inline inner)
(throw (ex-info "weird" {:snippet s}))))))
;; hackky....