From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: surprise export in html Date: Mon, 3 Dec 2018 15:54:00 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d69f3f057c2459c8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTvEa-0001wd-Qm for emacs-orgmode@gnu.org; Mon, 03 Dec 2018 15:54:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTvEX-0000Z6-31 for emacs-orgmode@gnu.org; Mon, 03 Dec 2018 15:54:28 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:41410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTvEP-0000OL-4E for emacs-orgmode@gnu.org; Mon, 03 Dec 2018 15:54:19 -0500 Received: by mail-wr1-x435.google.com with SMTP id x10so13653713wrs.8 for ; Mon, 03 Dec 2018 12:54:12 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode-email --000000000000d69f3f057c2459c8 Content-Type: text/plain; charset="UTF-8" If I have this in an org-file, I was surprised to see different behavior of the export depending on the value of org-html-with-latex. Unless I set it to dvisgm, then the backslashed path seems to get removed. Is this as surprising as it seems to be? *%appdata%\Path\Path\Path* * Code :noexport: #+BEGIN_SRC emacs-lisp (let ((org-html-with-latex 'dvipng)) (with-current-buffer (org-export-to-buffer 'html "*Formatted Copy*" nil nil t t) (buffer-string))) #+END_SRC #+RESULTS: :

: %appdata% :

#+BEGIN_SRC emacs-lisp (let ((org-html-with-latex 'dvisgm)) (with-current-buffer (org-export-to-buffer 'html "*Formatted Copy*" nil nil t t) (buffer-string))) #+END_SRC #+RESULTS: :

: %appdata%\Path\Path\Path :

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 --000000000000d69f3f057c2459c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If I have this=C2=A0 in an org-file,= I was surprised to see different behavior of the export depending on the v= alue of org-html-with-latex. Unless I set it to dvisgm, then the backslashe= d path seems to get removed. Is this as surprising as it seems to be?
=


*%appdata%\Path\Path\Path*
* Code=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0:noexport:
#+BEGIN_SRC emacs-lisp
(let ((o= rg-html-with-latex 'dvipng))
=C2=A0 (with-current-buffer (org= -export-to-buffer 'html "*Formatted Copy*" nil nil t t)
=
=C2=A0 =C2=A0 (buffer-string)))
#+END_SRC

#+RESULTS:
: <p>
: <b>%appdata%</= b>
: </p>


#+BEGI= N_SRC emacs-lisp
(let ((org-html-with-latex 'dvisgm))
=C2=A0 (with-current-buffer (org-export-to-buffer 'html "*Forma= tted Copy*" nil nil t t)
=C2=A0 =C2=A0 (buffer-string)))
#+END_SRC

#+RESULTS:
: <p><= /div>
: <b>%appdata%\Path\Path\Path</b>
: </p&= gt;

John

---------------------------= --------
Professor John Kitchin=C2=A0
Doherty Hall A207F
Departmen= t of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 1= 5213
412-268-7803
--000000000000d69f3f057c2459c8--