Richard Lawrence writes:

> Does anyone know why the behavior of "\\" is presently restricted to
> appearing at the end of the line in a paragraph?  Does anyone need it
> to be exported literally when it appears elsewhere?

When exporting code listings in any programming language which uses '\'
for escaping characters in strings, and subsequently uses '\\' to mean
"literal backslash", literal export is required. For example, one might
have an Org document with Emacs Lisp source:

  -----
 ' * A
 | ** B
 | #+begin_src emacs-lisp
 |   (setq my-regex "\\\\(.+\\\\)")
 | #+end_src
 `-----


Alexis.

Reply via email to