Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: re: Seeing Double - issues with quotation marks |

Date |
Fri, 26 Feb 2010 23:19:55 +0100 |

<> " The way to avoid these problems is to stay away from Word if you're interested in writing or editing a text file." Spell-checking Latex files is just about the only situation where you really want to use it... HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Christopher Baum Sent: Freitag, 26. Februar 2010 23:15 To: statalist@hsphsun2.harvard.edu Subject: st: re: Seeing Double - issues with quotation marks <> Ben said I made the error of cutting and pasting text from Microsoft into the Do-file Editor of Stata MP 9.2 (Stata 11 should arrive any day now). Now, whenever I type a double quotation mark, the symbol is no longer the apl double quotation mark (HTML coding entity "). Instead, it is a common quotation mark (&rdquo). For examples, see http://www.intuitive.com/coolweb/entities.html The common quotation version is not recognized by Stata, and you get the ironic error: '"A"' found where almost anything else expected Two simple fixes are to restart stata (which reverts to the APL) or copy an old apl quotation mark and pasted when you need a quotation. I found that if I simply open another editor, the new editor still uses the common quotation marks (&rdquo). Has anyone else had this problem and might Stata fix it in the next release? I don't think it's Stata's job to "fix this". As often mentioned on this list, a TEXT EDITOR should be used to develop do-files outside of the do-file editor: not Microsoft Word! This problem occurs in many contexts -- if you copy and paste from Word to a text file, you get curly quotes (as you note), curly apostrophes, em-dashes that are not recognized as dashes, etc. which will, e.g., show up as problems in HTML. The way to avoid these problems is to stay away from Word if you're interested in writing or editing a text file. It is cumbersome to use Word in that context anyway, as its native format is binary, not ASCII text. See SSC item 'texteditors' for guidance. Kit Baum | Boston College Economics and DIW Berlin | http://ideas.repec.org/e/pba1.html An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: re: Seeing Double - issues with quotation marks***From:*Christopher Baum <baum@bc.edu>

- Prev by Date:
**RE: st: RE: percent symbols in catplot** - Next by Date:
**Re: st: RE: percent symbols in catplot** - Previous by thread:
**st: re: Seeing Double - issues with quotation marks** - Next by thread:
**Re: st: RE: re: Seeing Double - issues with quotation marks** - Index(es):