fix(mu4e): minor errors with org-msg LaTeX eqns
A typo and a missing "*" break the creation and insertion of LaTeX images. Close #5416
This commit is contained in:
parent
d13816ce3e
commit
090c7b9afa
1 changed files with 11 additions and 11 deletions
|
@ -39,7 +39,7 @@ clicked."
|
|||
"For a given IMG-URI, use imagemagick to find its width."
|
||||
(if +org-msg-currently-exporting
|
||||
(when (and (not IS-WINDOWS)) ; relies on posix path
|
||||
(let ((with-call (and (executable-find "identify")
|
||||
(let ((width-call (and (executable-find "identify")
|
||||
(doom-call-process "identify" "-format" "%w"
|
||||
(substring img-uri 7))))) ; 7=(length "file://")
|
||||
(unless width-call
|
||||
|
@ -74,7 +74,7 @@ account for the value of :scale in `org-format-latex-options'."
|
|||
(let ((formula-link
|
||||
(org-html-format-latex latex-frag processing-type info)))
|
||||
(when (and formula-link (string-match "file:\\([^]]*\\)" formula-link))
|
||||
(let ((source (org-export-file-uri (match-string 1 formula-link)))
|
||||
(let* ((source (org-export-file-uri (match-string 1 formula-link)))
|
||||
(attributes (append (list :alt latex-frag
|
||||
:class
|
||||
(concat "latex-fragment-"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue