Re: [PATCH] Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-21 Thread Nicolas Goaziou
Hello, Brian Powell writes: > Thanks again. Please find attached patch addressing issues below. Perfect. Applied. Thank you! I forgot to add TINYCHANGE at the end of the commit message, but I added you to the list of contributors. Regards, -- Nicolas Goaziou

Re: [PATCH] Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-20 Thread Brian Powell
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

Re: [PATCH] Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-20 Thread Nicolas Goaziou
Hello, Brian Powell writes: > Nicolas, thank you for the feedback, and I apologize for my errors. No need to apologize! Peer review is about catching the mistakes we all do. > I have corrected the issues below and generated a commit patch attached. > Please let me know if there are any

[PATCH] Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-19 Thread Brian Powell
Nicolas, thank you for the feedback, and I apologize for my errors. On Sun, Apr 19 2020, Nicolas Goaziou wrote: > > You need to provide a commit message, using git format-patch > mechanism. > Apologies while I learn the procedure. I have corrected the issues below and generated a commit patch

Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-19 Thread Nicolas Goaziou
Hello, Brian Powell writes: > Thank you for the message. I spent about 2 hours on it today learning > more about lisp and the internals to explain your email to me. > I learned a lot. Thank you. > I have modified ox-html.el to include a local OPTION as well as > a customizable setting. I

Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-19 Thread Brian Powell
Nicolas, Thank you for the message. I spent about 2 hours on it today learning more about lisp and the internals to explain your email to me. I learned a lot. I have modified ox-html.el to include a local OPTION as well as a customizable setting. I tested with both as well as with an export

Re: Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-18 Thread Nicolas Goaziou
Hello, Brian Powell writes: > The issue is that when exporting equation numbers with ox-html, it uses > MathJax's \eqref that wraps the equation in parentheses, for example: > > "Refer to (3) for more." > > However, when exporting the same document with ox-latex, it uses Latex's \ref > that

Inconsistent use of \ref and \eqref in ox-latex and ox-html

2020-04-10 Thread Brian Powell
This topic was discussed in 2015: However, it seems that it we are still stuck with inconsistent exports between latex and HTML. The issue is that when exporting equation numbers with ox-html, it uses MathJax's \eqref