emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Kowalczyk <jtk@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: =code= and ~verbatim~ with bashslash (\), LaTeX export
Date: Thu, 24 Sep 2009 00:17:26 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090924T020504-811@post.gmane.org> (raw)
In-Reply-To: 87pr9hb6qe.fsf@gollum.intra.norang.ca

Bernt Hansen <bernt <at> norang.ca> writes:
> 
> Jeff Kowalczyk <jtk <at> yahoo.com> writes:
> 
> > Is there a way to escape backslashes (\) in code and verbatim that will
export to LaTeX correctly?
> >
> > When writing =\\host\share= or =C:\path\to=, pdftolatex output is incorrect.
> >
> > The various methods described in [1] don't work for me in Org.
> 
> #+begin_example 
>  ~ and \ in latex
>  \host
> 
>  \\host\share and c:\path\to\something
> 
> #+end_example
> 
> -Bernt

Thanks, Bernt. The begin_example method and ": " have been working well with
backslashes for me.

The =code= and ~verbatim~ markup would allow the author to spell paths and other
backslash items in the normal flow of text.

A feature request then: =code= and ~verbatim~ would escape characters with the
same environment/rules as the other literal example methods (presuming this is
possible for LaTex, of course)

Thanks,
Jeff

  reply	other threads:[~2009-09-24  0:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23 22:23 =code= and ~verbatim~ with bashslash (\), LaTeX export Jeff Kowalczyk
2009-09-23 23:07 ` Bernt Hansen
2009-09-24  0:17   ` Jeff Kowalczyk [this message]
2009-09-24  9:02 ` Carsten Dominik

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=loom.20090924T020504-811@post.gmane.org \
    --to=jtk@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /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).