|
From: | Yuri Lensky |
Subject: | Re: [Patch] Do not ignore headers argument in ob-latex |
Date: | Sat, 9 May 2020 13:12:57 -0700 |
Hello,
Yuri Lensky <address@hidden> writes:
> Subject: [PATCH] lisp/ob-latex.el: Stop ignoring headers argument
Thank you.
> During default "png" export, the "headers" argument is no longer
> explicitly ignored.
According to the TODO in that function, this is not the first time it
happens. Would you mind writing a test for it?
> + (let ((org-format-latex-header
> + (concat org-format-latex-header "\n"
> + (string-join headers "\n"))))
> + (org-create-formula-image
> + body out-file org-format-latex-options in-buffer)))
This looks hackish but I don't know how to do it otherwise. However
could you use `mapconcat' instead of `string-join'?
Also, you need to declare `org-format-latex-header' in order to silence
byte-compiler.
Regards,
--
Nicolas Goaziou
0001-lisp-ob-latex.el-Stop-ignoring-headers-argument.patch
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |