[OS X TeX] TeXShop vs Ogrekit

Herbert Schulz herbs at wideopenwest.com
Sat Jan 8 10:20:14 EST 2011


On Jan 8, 2011, at 9:14 AM, Alain Schremmer wrote:

> I need to change different commands throughout a large number of files by a single command but:
> 
> When I click on the command to be replaced in the file, the \ is selected
> But
> When I click on the command to be found in Ogrekit, the \ is not selected
> which makes the copy-paste a hassle.
> 
> Is it because
> ---I am still using TeXShop Version 2.26 (2.26)?
> ---I am doing something wrong?
> Puzzled regards
> --schremmer

Howdy,

Since OgreKit uses regular expressions, e.g. \n = newlinw, it need some way to escape the \, i.e., to ``know'' that you really mean for it to look at the \ as a character. You do this by escaping the escape character, \\.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list