On Thu, 15 Mar 2018, oleg_komashko(a)ukr.net wrote:

> I did not mean LaTex:
>
> set seed 13
> nulldata 10
> y = normal()
> x = normal()
> ols y 0 x
> # −0.0648094 is $coeff("0")
> eval −0.0648094
> /*
> ? eval −0.0648094
> Unexpected byte 0xe2
> Syntax error
> */
>
> While it is not very natural to copy from output into script editor, 
> this feature is not very convenient if copy-past some code from 
> pdf-files, e.g. User's Guide into the script editor This is not 
> necessary a bug but may be considered a thing to change

OK, since we emit the Unicode minus sign on output, we should probably 
also accept it on input. That's now done in git: U+2212 can be used in 
place of ASCII '-' (though that's not something we'd recommend).

But copy-paste from hansl code in PDF files is surely a different 
matter; such code should not contain U+2212.

Allin

Reply via email to