I'm using TeX with the plain format. On my keyboard there is the 'è' character (as well as é, ò, à, ù, ì). I'd like to make it work so that, when put è in the input file, TeX transforms it into \`e
, i.e. the letter e with an accent. I think I have to change the character code of è and do something like that, but I don't know what to do exactly. Can you help me?
[Tex/LaTex] How to input accents in PlainTeX with UTF-8 encoding
accentsplain-texunicode
Best Answer
If you want to use Knuth TeX you'll have a hard time. With
pdftex
it's easier, because there are some useful features coming from e-TeX extensions.Here's a seemingly working setup (I add only a reduced version of the first file, for the limitation in characters here.
utfplainmac.tex
plain-t1.tex
test.tex
The omitted list (messages here are limited to 30000 characters) shouldn't cause the test example to go wrong.
Compile
test.tex
withpdftex
.I have also a
plain-cmu.tex
file that sets up fonts to use the CMUnicode OpenType fonts.