little fix

This commit is contained in:
tavo-wasd 2024-06-22 02:03:50 -06:00
parent f1033c3ea6
commit b4c4c8339e

View file

@ -8,7 +8,10 @@
:image-input-type "tex"
:image-output-type "png"
:image-size-adjust (1.0 . 1.0)
:latex-compiler ("curl -F \"file=@%f\" http://0.0.0.0:8000")
;; This works in my pc, but not in android.
;; :latex-compiler ("curl -F \"file=@%f\" http://0.0.0.0:8000")
;; For some reason this works in android (and also on pc)
:latex-compiler ("curl -F \"file=@%f\" http://0.0.0.0:8000 && curl http://0.0.0.0:8000/tmp.png -o %O")
:image-converter ("curl http://0.0.0.0:8000/tmp.png -o %O"))))
(setq org-latex-create-formula-image-program 'texpngweb)