I remember that a long time ago, when I was using Winedt (V5.0 I guess) it automatically replace some characters. For example, ç
was replaced by \c{c}
when I open the file.
Now, I need to do the same again. But I have Winedt 7.0 and I don't know how to translate all the accented characters automatically.
Any help?
Best Answer
I know that this answer comes a bit late and you probably have managed to do it already... (at that time I wasn't a TeX.SX user yet).
In WinEdt 7 (and above) all customizations are made from the
Options Interface
accessible from theOptions
menu, which looks like:To achieve what you want, select the
Language, Unicode, Sorting, Translations...
branch and then double-click onTranslation Tables
: the scriptTranslationTables.ini
will open.Now, if you want to write
ç
in the editor, but you want the document to contain\c{c}
, you have to enable (i.e. setENABLED=1
) the "translation table" namedTeX_Write
. If you want WinEdt to showç
when you open a document containing\c{c}
, you have to enable the "translation table" namedTeX_Read
.The same can be done for
.bib
files, enabling the "translation tables" namedBibTeX_Write
andBibTeX_Read
.Note that all of them are disabled by default since starting with version 7, WinEdt has Unicode support.
Of course all of them can be further customized to accomplish your personal needs, by adding or removing characters that have to be "translated".
When you've finished with it, remember to click the button
Load Current Script
in the toolbar of theOptions Interface
to apply the changes (the first one on the left). Note that if you skip this step nothing will be changed in your configuration...