[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: Inconsistent use of \ref and \eqref in ox-latex and ox-h
From: |
Brian Powell |
Subject: |
Re: [PATCH] Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html |
Date: |
Mon, 20 Apr 2020 09:52:05 -1000 |
User-agent: |
mu4e 1.4; emacs 28.0.50 |
Thanks again. Please find attached patch addressing issues below.
Cheers,
Brian
On Mon, Apr 20 2020, Nicolas Goaziou wrote:
>> Subject: [PATCH] add org-html-equation-reference-format to customize MathJax
>> ref command
>
> The commit message should reference the file being modified. I suggest
> something along the lines:
>
> Add customizable format string for equations
>
> * lisp/ox-html.el (org-html-equation-reference-format): New variable.
updated
>> +(defcustom org-html-equation-reference-format "\\eqref{%s}"
>> + "MathJax command to use when referencing equations. This is a
>> +format controls string, expecting a single argument, the equation
>> +being referenced that is generated on export.
>
> Small nit here. The first line of a docstring must contain complete
> sentences only. Therefore you need to move "This is a" part to the line
> below.
>
> Also : controls -> control
>
> Otherwise, it looks good! Could you provide an entry in ORG-NEWS about
> it? I think Version 9.4 > Miscellaneous is a fine place for it.
Done and done.
0001-Add-customizable-format-string-for-equations-in-HTML.patch
Description: Text Data