* How to escape backslashes from TeX when exporting to pdf?
@ 2013-02-21 15:06 Jos'h Fuller
0 siblings, 0 replies; 2+ messages in thread
From: Jos'h Fuller @ 2013-02-21 15:06 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
Hi!
I have a section in a document where I have to specify some DOS file paths (yes, I /know/...).
Unfortunately, I have other stuff in the document that uses these options:
#+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:nil -:t f:t *:t TeX:t LaTeX:nil skip:t d:nil tags:not-in-toc
Is there any way I can "escape" the backslashes so they will show up correctly
in the final pdf? I tried the standard trick of doubling the backslashes, and
that worked about as well as you might expect...
Sample text:
**** Global Paths
Paths are specified using a
*Paths* object. Affected fields *shall* accept the
specification of either a single path
(e.g. @N:\bacon\cheeseburger\no\tomato@) or a semicolon separated
search path specification
(e.g. @N:\bacon\cheeseburger\no\tomato;N:\chicken\sandwich\@).
_______________________________________________________________________________
Jos'h Fuller, Production Programmer
Arc Productions Ltd.
p: 416.682.5237 | f: 416.682.5209 | http://www.arcproductions.com
230 Richmond Street East | Toronto, ON M5A 1P4 |
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to escape backslashes from TeX when exporting to pdf?
@ 2013-02-21 15:19 Jos'h Fuller
0 siblings, 0 replies; 2+ messages in thread
From: Jos'h Fuller @ 2013-02-21 15:19 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
OK, I feel very silly... Blame it on switching back and forth from org-mode to textile.
The \textbackslash escape works reasonably well in plain text. However, if I had
used the appropriate "~" instead of "@" to highlight the paths, it would have exported
correctly.
So, I needed to change this:
(e.g. @N:\bacon\cheeseburger\no\tomato@) or a semicolon separated
to this:
(e.g. ~N:\bacon\cheeseburger\no\tomato~) or a semicolon separated
And everything works well.
Thanks!
_______________________________________________________________________________
Jos'h Fuller, Production Programmer
Arc Productions Ltd.
p: 416.682.5237 | f: 416.682.5209 | http://www.arcproductions.com
230 Richmond Street East | Toronto, ON M5A 1P4 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-21 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 15:19 How to escape backslashes from TeX when exporting to pdf? Jos'h Fuller
-- strict thread matches above, loose matches on Subject: below --
2013-02-21 15:06 Jos'h Fuller
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).