When I type "tehnically" using WinEdt it will transform into "thenically", and show in pdf that way. Why is this and how to erase it?
1 Answers
This shouldn't happen. ‘teh’ is considered an active string because it often is a mistyping for ‘the’, and a macro defines auto-correction under special conditions. Check in your Options interface, on the right of the editor window, the contents of the file ActiveStrings.ini. It should contain exactly these lines:
STRING="teh"
START_FILTER="~Alpha"
END_FILTER="~Alpha"
ENABLED=1
MACRO="[BeginGroup;Backspace(2);Ins('he');EndGroup;]"
STRING="TEh"
START_FILTER="~Alpha"
END_FILTER="~Alpha"
ENABLED=0
MACRO="[BeginGroup;Backspace(2);Ins('he ');EndGroup;]"
To modify the ActiveString.ini file (or any of the .ini files), open the Options interface in the left panel, select Active Strings to open it:

There is a help icon, which directs you to the help for the current .ini file. Change the values to the correct ones, either by hand or by cut and paste. Once the file has been modified, validate the modifications by clicking on the leftmost icon (Load Current Script). If there's any syntax error, it will issue a warning. Otherwise, the modifications will be written to the script file that WinEdt reads on start, namely WinEdt.dnt (never write this one yourself!).
-
I guess the OP should change the contents of the file
ActiveStrings.inito match what was posted in order to fix the problem. Does the OP need to do this in an external editor, or can it be done through the WinEdt dialogue? Looks like a really nice editor, although sadly I assume this does not run on Wine. – A Feldman May 02 '16 at 14:43 -
1It has to be done from within WinEdt, then validated clicking on the
Load Current Scripticon. What I don't understand is why the O.P. has this behaviour. Filters are defined to prevent it. – Bernard May 02 '16 at 14:47 -
I would guess data corruption of some kind. I don't understand the down votes, perhaps they are RTFM related. But: http://meta.tex.stackexchange.com/a/6508/90087 And as you point out, this is a strange problem, not an ordinary thing one might easily look up. Maybe add to your answer the "hold my hand" type of details to fix the problem by modifying the string definitions. – A Feldman May 02 '16 at 14:50
-
The link to meta above is, among other things, about RTFM etiquette. – A Feldman May 02 '16 at 15:02
-
Perhaps because it about an editor, not about (La)TeX itself. But WinEdt is tightly linked to (La)TeX… – Bernard May 02 '16 at 15:11
-
-
Thanks @Bernard I had this same issue. Upon reading your explanation I just commented out those two sections from the ActiveStrings.ini file, and that fixed my problem. – Jyrki Lahtonen Jan 10 '18 at 22:40
-
2@JyrkiLahtonen: Yes, I've just seen your post, and was going to answer when it was closed. I didn't even remember having answered for this problem! – Bernard Jan 10 '18 at 23:01
Options|Settings|Active Strings.Disable "on Type", and the function will stop working. I don't know whether this is germane to your 2016 problem, but give it a try. – A Feldman May 02 '16 at 14:30teh<space>intothe<space>, but “fixing”tehintothewhile typing is something I could not bear. – egreg Sep 22 '22 at 13:44