* =code= and ~verbatim~ with bashslash (\), LaTeX export
@ 2009-09-23 22:23 Jeff Kowalczyk
2009-09-23 23:07 ` Bernt Hansen
2009-09-24 9:02 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Jeff Kowalczyk @ 2009-09-23 22:23 UTC (permalink / raw
To: emacs-orgmode
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.
Thanks,
Jeff
[1] http://stackoverflow.com/questions/256457/how-does-one-insert-a-backslash-or-a-tilde-into-latex
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: =code= and ~verbatim~ with bashslash (\), LaTeX export
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
2009-09-24 9:02 ` Carsten Dominik
1 sibling, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2009-09-23 23:07 UTC (permalink / raw
To: Jeff Kowalczyk; +Cc: emacs-orgmode
Jeff Kowalczyk <jtk@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: =code= and ~verbatim~ with bashslash (\), LaTeX export
2009-09-23 23:07 ` Bernt Hansen
@ 2009-09-24 0:17 ` Jeff Kowalczyk
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Kowalczyk @ 2009-09-24 0:17 UTC (permalink / raw
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: =code= and ~verbatim~ with bashslash (\), LaTeX export
2009-09-23 22:23 =code= and ~verbatim~ with bashslash (\), LaTeX export Jeff Kowalczyk
2009-09-23 23:07 ` Bernt Hansen
@ 2009-09-24 9:02 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-09-24 9:02 UTC (permalink / raw
To: Jeff Kowalczyk; +Cc: emacs-orgmode
Hi Jeff,
thanks for the report, this should now work correctly.
- Carsten
On Sep 23, 2009, at 11:23 PM, Jeff Kowalczyk wrote:
> 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.
>
> Thanks,
> Jeff
>
> [1] http://stackoverflow.com/questions/256457/how-does-one-insert-a-backslash-or-a-tilde-into-latex
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-24 9:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-09-24 9:02 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.