[O] How to escape backslashes from TeX when exporting to pdf?
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 |
[O] How to escape backslashes from TeX when exporting to pdf?
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 |