[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: org-mime-htmlize generates unwanted equations numbers in mail [
From: |
Thibault Marin |
Subject: |
Re: Bug: org-mime-htmlize generates unwanted equations numbers in mail [9.2.5 (release_9.2.5-521-gdea0c7 @ /home/oub/emacs/site-lisp/packages/org/)] |
Date: |
Sun, 08 Dec 2019 18:44:48 -0500 |
User-agent: |
mu4e 1.2.0; emacs 26.1 |
Hi, thanks for the quick review.
On 2019-12-08T15:40:54-0500, Nicolas Goaziou wrote:
> > +(defun org-html--latex-environment-numbered-p (latex-frag)
> ^^^^^^^^^^
> latex-env
I changed the name and docstring to `element' (similar to
`org-html--math-environment-p'.
> > + "Return t if LATEX-ENV contains a numbered environment.
> Non-nil if...
Done.
> However, I suggest to make this function operate on the element itself,
> not its value, much like `org-html--math-environment-p'.
Done (if I understood correctly).
> I suggest merging the two regexps into a single one, and use:
> (not (string-match-p REGEXP latex-env))
Done
> Operating directly on the element will be a bit nicer. Why do you need
> `org-remove-indentation'?
I looks like I didn't. I removed it.
> Could you send an updated patch and provide an ORG-NEWS entry (on top of
> master)?
See attached.
Thanks,
thibault
0001-ox-html-Add-equation-numbers-only-for-numbered-envir.patch
Description: Text Data