From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: org-mode-email <emacs-orgmode@gnu.org>
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: Fri, 1 Nov 2019 11:12:43 -0400 [thread overview]
Message-ID: <CAJ51ETqOjLW4uuLAkLvQQX6dvSJdKc_PpsmKCq1OYQDhe5HWTQ@mail.gmail.com> (raw)
In-Reply-To: <87d0eb7l5b.fsf@mat.ucm.es>
[-- Attachment #1: Type: text/plain, Size: 2819 bytes --]
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:
:
: <div class="equation-container">
: <span class="equation">
: <img
src="ltximg/latex1pIlij_8e5abfd22f18b9fd072a0f1273f49cd3a35040d3.png"
alt="latex1pIlij_8e5abfd22f18b9fd072a0f1273f49cd3a35040d3.png" />
: </span>
: <span class="equation-label">
: 1
: </span>
: </div>
#+BEGIN_SRC emacs-lisp
(org-export-string-as "$e^x$"
'html t )
#+END_SRC
#+RESULTS:
: <p>
: <img
src="ltximg/latex4ckMGO_c7e2801d6583d97def1ae1189f6c1ecf1db0d41b.png"
alt="latex4ckMGO_c7e2801d6583d97def1ae1189f6c1ecf1db0d41b.png" /></p>
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Fri, Nov 1, 2019 at 9:59 AM Uwe Brauer <oub@mat.ucm.es> wrote:
> >>> "JK" == John Kitchin <jkitchin@andrew.cmu.edu> 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 function in
> | ‘~/ALLES/emacs/site-lisp/packages/org/org.el’.
> |
> | (org-create-formula-image STRING TOFILE OPTIONS BUFFER &optional
> | PROCESSING-TYPE)
> |
> | Create an image from LaTeX source using external processes.
> |
> | The LaTeX STRING is saved to a temporary LaTeX file, then
> | converted to an image file by process PROCESSING-TYPE defined in
> | ‘org-preview-latex-process-alist’. A nil value defaults to
> | ‘org-preview-latex-default-process’.
> |
> | The generated image file is eventually moved to TOFILE.
> |
> | The OPTIONS argument controls the size, foreground color and
> | background color of the generated image.
> |
> | When BUFFER non-nil, this function is used for LaTeX previewing.
> | Otherwise, it is used to deal with LaTeX snippets showed in
> | a HTML file.
> `----
>
> But I have this
> ,----
> |
> | org-mime-htmlize is an autoloaded interactive compiled Lisp function
> | in ‘~/ALLES/.emacs.d/elpa/org-mime-20190805.57/org-mime.el’.
> |
> | It is bound to <C-f31>, <C-next>.
> |
> | (org-mime-htmlize)
> |
> | This function has :around advice: ‘ad-Advice-org-mime-htmlize’.
> |
> | Export a portion of an email to html using ‘org-mode’.
> | If called with an active region only export that region, otherwise
> entire body.
> |
> |
> `----
>
>
> I wounder what that is about, @Eric, do have also this setting? John?
>
[-- Attachment #2: Type: text/html, Size: 3859 bytes --]
next prev parent reply other threads:[~2019-11-01 15:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-01 7:52 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/)] Uwe Brauer
2019-11-01 8:49 ` Fraga, Eric
2019-11-01 13:55 ` Uwe Brauer
2019-11-02 6:22 ` Thibault Marin
2019-11-02 9:38 ` Uwe Brauer
2019-11-02 10:22 ` Fraga, Eric
2019-11-02 17:13 ` Uwe Brauer
2019-12-08 18:08 ` Thibault Marin
2019-12-08 20:40 ` Nicolas Goaziou
2019-12-08 23:44 ` Thibault Marin
2019-12-09 20:34 ` Nicolas Goaziou
2019-11-01 13:01 ` John Kitchin
2019-11-01 13:59 ` Uwe Brauer
2019-11-01 15:12 ` John Kitchin [this message]
2019-11-01 15:32 ` Uwe Brauer
2019-11-01 16:07 ` Uwe Brauer
2019-11-01 16:16 ` [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/)]) Uwe Brauer
2019-11-01 18:33 ` 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/)] John Kitchin
2019-11-02 9:18 ` Uwe Brauer
2020-02-11 8:20 ` Bastien
2020-02-11 9:24 ` Uwe Brauer
2020-02-11 9:45 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ51ETqOjLW4uuLAkLvQQX6dvSJdKc_PpsmKCq1OYQDhe5HWTQ@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=oub@mat.ucm.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).