emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] surprise export in html


From: John Kitchin
Subject: Re: [O] surprise export in html
Date: Mon, 3 Dec 2018 15:59:23 -0500

I see I made a mistake in the second example:

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

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

Is this just happening because % is a comment character in latex?

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803


On Mon, Dec 3, 2018 at 3:54 PM John Kitchin <address@hidden> wrote:
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:
: <p>
: <b>%appdata%</b>
: </p>


#+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:
: <p>
: <b>%appdata%\Path\Path\Path</b>
: </p>

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

reply via email to

[Prev in Thread] Current Thread [Next in Thread]