# [OS X TeX] typing em dash (---)

Nicolae Garleanu garleanu at haas.berkeley.edu
Mon Sep 16 05:53:49 CEST 2013

Hi,
I am running TexShop 3.11 on 10.8.4, as well as on a possibly earlier version, installed on 10.7.x. In the more recent version of the OS (it is my guess that  the OS is the responsible party, rather than TS, although it does not show up in this — Ooutlook —email, where it is two dashes that are replaced with a long dash), whenever I type `---' to get an em dash it ends up being replaced with a long dash (roughly like this: —) in the tex file, which results in a blank space in the pdf output. If I go back and change to the three dashes again, then type elsewhere, it's OK, but obviously wastes time and requires paying attention.
My question is how I can ensure I get the long dash in the output. The simplest, for me, would be if I could change some setting so that the editor leaves the three - alone. I know that I can use the tex command \textemdash, which I can presumably bind to some key, but do I need to do that?
Thank you.
Nicolae

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20130916/7038dcde/attachment.html>