<html theme="themeKey23rand80" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body style="font-family: Lucida Sans;" text="#000000"><div 
style="font-family: Lucida Sans;">Yes it does work! The resulting 
e-acute is searchable.<br>I am prepared to define all necessary accented
 letters, but only once for each.<br>So how can I have it work in 
italics, bold etc?<br>Regards, Gérald<br><br><span>Karl Berry a écrit le
 24/01/2022 à 00:25 :</span><br><blockquote type="cite" 
cite="mid:202201232325.20NNPx7L005814@freefriends.org"><pre wrap="">    \catcode`\é=\active\defé{\lm\eacute}
    after having loaded \lm in some way?

You wouldn't want to actually define your active é to switch to lm(r),
since you might want an italic/whatever e-acute.

I was merely thinking of a test:

\font\lmr = texnansi-lmr10.tfm
\def\eacute{\char"E9 }
\lmr An e-acute from lmr: \eacute
\end

And see if the resulting typeset e-acute is searchable as you desire.

Making all the myriad definitions to make the characters work in
real documents is another matter, but that's "just" macros. --best, karl.

</pre></blockquote><br></div></body></html>