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/)]

2020-02-11 Thread Bastien
Hi Uwe, Uwe Brauer writes: > I am puzzled, Thibault Marin proposed a patch > the 9th of December > From: Nicolas Goaziou > replied and even attached the patch, I think to master, I will forward > these messages to you privately. Perhaps I missed it, no problem and thanks for replying. --

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/)]

2020-02-11 Thread Uwe Brauer
>>> "B" == Bastien writes: Hi Bastian > Hi Uwe, > Uwe Brauer writes: >> I contacted the org-mime maintainer and he claims the fault is in org >> (or the org preview engine) > can you cc the org-mime maintainer in this thread so that he can guide > us through where he thinks Org is faulty?

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/)]

2020-02-11 Thread Bastien
Hi Uwe, Uwe Brauer writes: > I contacted the org-mime maintainer and he claims the fault is in org > (or the org preview engine) can you cc the org-mime maintainer in this thread so that he can guide us through where he thinks Org is faulty? Thanks, -- Bastien

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/)]

2019-12-09 Thread Nicolas Goaziou
Hello, Thibault Marin writes: > Subject: [PATCH] ox-html: Add equation numbers only for numbered environments > > * lisp/ox-html.el (org-html-latex-environment): Add caption to numbered > environments only > (org-html--latex-environment-numbered-p): Determine whether a latex > environment should

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/)]

2019-12-08 Thread Thibault Marin
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 a

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/)]

2019-12-08 Thread Nicolas Goaziou
Hello, Thibault Marin writes: > Following-up on this bug report regarding the handling of unnumbered > equation environments in HTML export, I would like to propose the > attached patch. The patch simply removes the caption for unnumbered > environments. Thank you. > Could you please let me k

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/)]

2019-12-08 Thread Thibault Marin
Dear maintainers, Following-up on this bug report regarding the handling of unnumbered equation environments in HTML export, I would like to propose the attached patch. The patch simply removes the caption for unnumbered environments. Could you please let me know whether this could be considere

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/)]

2019-11-02 Thread Uwe Brauer
>>> "FE" == Fraga, Eric writes: > On Saturday, 2 Nov 2019 at 10:38, Uwe Brauer wrote: >> @Eric, I wonder why you did not get these numbers without the patch! > Because I did not properly read your post... > I thought you were referring to the LaTeX fragments themselves, not the

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/)]

2019-11-02 Thread Fraga, Eric
On Saturday, 2 Nov 2019 at 10:38, Uwe Brauer wrote: > @Eric, I wonder why you did not get these numbers without the patch! Because I did not properly read your post... I thought you were referring to the LaTeX fragments themselves, not the extra HTML generated that numbered the equations whethe

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/)]

2019-11-02 Thread Uwe Brauer
>>> "TM" == Thibault Marin writes: > Hi, > I think I wrote some of that code, I was not trying to support > "unnumbered" environments. If I understand correctly, this is what you > are trying to get. > The attached patch attempts to solve this. Currently, `displaymath' and >

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/)]

2019-11-02 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > Odd indeed. I have restarted Emacs and saw the same thing. But now I > have a more clear picture. I think what is happening is in > org-html--wrap-latex-environment, there is a caption provided which are > the numbers. This only affects latex environ

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/)]

2019-11-01 Thread Thibault Marin
Hi, I think I wrote some of that code, I was not trying to support "unnumbered" environments. If I understand correctly, this is what you are trying to get. The attached patch attempts to solve this. Currently, `displaymath' and `*' environments do not get numbers, I am not sure if there are o

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/)]

2019-11-01 Thread John Kitchin
Odd indeed. I have restarted Emacs and saw the same thing. But now I have a more clear picture. I think what is happening is in org-html--wrap-latex-environment, there is a caption provided which are the numbers. This only affects latex environments, and does not affect $$ (//), etc. If you have o

[debugger] (was: 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/)])

2019-11-01 Thread Uwe Brauer
smime.p7m Description: S/MIME encrypted message

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/)]

2019-11-01 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > I think this is happening here: > #+BEGIN_SRC emacs-lisp > (org-export-string-as "\\begin{displaymath} > \\int f dx =0 > \\end{displaymath}" > 'html t ) > #+END_SRC Well now this is very odd, I obtain #+BEGIN_SRC emacs-lisp (org

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/)]

2019-11-01 Thread Uwe Brauer
Aha. I started to debug it but you were faster. @eric can you confirm this? Sent from my iPhone > On 1 Nov 2019, at 16:12, John Kitchin wrote: > >  > I think this is happening here: > > #+BEGIN_SRC emacs-lisp > (org-export-string-as "\\begin{displaymath} > \\int f dx =0 > \\end{displayma

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/)]

2019-11-01 Thread John Kitchin
I think this is happening here: #+BEGIN_SRC emacs-lisp (org-export-string-as "\\begin{displaymath} \\int f dx =0 \\end{displaymath}" 'html t ) #+END_SRC #+RESULTS: : : : : : : : 1 : : #+BEGIN_SRC emacs-lisp (org-export-string-as "$e^x$" 'html t ) #+END_SRC #+RESULTS: : :

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/)]

2019-11-01 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > I also see this. I wonder if you use any scimax functions? Good I am relived, I thought it was just me > Do you see any advice on org-create-formula-image: > C-h f org-create-formula-image no , | org-create-formula-image is a compiled Lisp func

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/)]

2019-11-01 Thread Uwe Brauer
>>> "FE" == Fraga, Eric writes: > On Friday, 1 Nov 2019 at 08:52, Uwe Brauer wrote: >> As the attached screenshots show, the png contain unwanted equations >> numbers (displaymath adn equation* have been used which should not >> generate those numbers). > Uwe, > when I invoke

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/)]

2019-11-01 Thread Fraga, Eric
On Friday, 1 Nov 2019 at 08:52, Uwe Brauer wrote: > As the attached screenshots show, the png contain unwanted equations > numbers (displaymath adn equation* have been used which should not > generate those numbers). Uwe, when I invoke org-mime-htmlize with your equations, as written, I do not g