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

Re: st: file write and LaTeX table

From   Kit Baum <[email protected]>
To   [email protected]
Subject   Re: st: file write and LaTeX table
Date   Sun, 31 Jan 2010 09:47:33 -0500

Yes, I am using Unix. But I do not see why, even if Windows considers \\ to mean something special when given in an OS command, why it would (or could) intervene in a program writing ASCII to a text file. There is an issue with the DOS backslash being interpreted as an 'escape character' (as Nick Cox colourfully describes the 'backstabbing backslash')

but that should not intervene here. (His advice is to use the forward slash, /, in all filesystem references, as Stata will translate that to backslash if using Windows). 

Another user who does use Windows said they had no problem, so it would be interesting to see why you are having difficulties with file write handle " ..... \\ ". 


On Jan 31, 2010, at 2:33 AM, Tamas wrote:

> Am I right that you are using Unix? I am using Windows.
> What surprises me that Roy's method of macro substituion works,
> but typing double backslash doesn't.
> My guess is that \\ in Windows is a special character, meaning
> it is reserved for specifying path names or accessing network places.
> And to get \\ into the output file, poor Windows users should type something different.

Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index