dpi
This commit is contained in:
parent
26b18e3fa0
commit
e6f1c1d8e3
1 changed files with 2 additions and 7 deletions
|
@ -116,7 +116,6 @@
|
||||||
|
|
||||||
;; --- Org Mode ---
|
;; --- Org Mode ---
|
||||||
(use-package org-bullets)
|
(use-package org-bullets)
|
||||||
(add-hook 'org-mode-hook (lambda () (org-indent-mode)))
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
|
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
|
||||||
'(org-level-2 ((t (:inherit outline-2 :height 1.5))))
|
'(org-level-2 ((t (:inherit outline-2 :height 1.5))))
|
||||||
|
@ -149,12 +148,8 @@
|
||||||
:image-input-type "tex"
|
:image-input-type "tex"
|
||||||
:image-output-type "png"
|
:image-output-type "png"
|
||||||
:image-size-adjust (1.0 . 1.0)
|
:image-size-adjust (1.0 . 1.0)
|
||||||
;; This works in my pc, but not in android.
|
:latex-compiler ("")
|
||||||
;; :latex-compiler ("curl -F \"file=@%f\" http://0.0.0.0:8000")
|
:image-converter ("curl -F \"file=@%f\" -F \"dpi=%D\" http://0.0.0.0:8000 && curl http://0.0.0.0:8000/tmp.png -o %O"))))
|
||||||
;; For some reason this works in android (and also on pc)
|
|
||||||
;; And for whatever reason image-converter still needs to be set
|
|
||||||
: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)))
|
(setq org-latex-create-formula-image-program 'texpngweb)))
|
||||||
;; ---
|
;; ---
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue