<div dir="ltr"><div><br></div><div>There is a typo #1 rather than #3 in the code, it could never have worked as posted.</div><div><br></div><div>David</div><div><br></div><div>\font\tenrm=pplr8t at 10pt<br><br><br>\edef\catcodeat{\the\catcode`\@}\catcode`\@=11<br><br>\catcode`\@=\catcodeat<br>\ifx\documentclass\undefined<br>\catcode`\@=11<br>\def\ProvidesFile#1[#2]{}<br>\def\DeclareFontEncoding#1#2#3{}<br>\def\DeclareTextAccent#1#2#3{%<br>  \def#1##1{%<br>\expandafter\ifx\csname T1\string#1-\string##1\endcsname\relax<br>{\accent#3 ##1}%  #3 not #1!!!!!!!!!<br>\else<br>\csname T1\string#1-\string##1\expandafter\endcsname<br>\fi}}<br>\def\DeclareTextCommand#1#2{\xdtcmd}%not today<br>\def\xdtcmd#1#{\xxdtcmd}%not today<br>\def\xxdtcmd#1{}%not today<br>\def\DeclareTextCompositeCommand#1#2#3#4{}%not today<br>\def\DeclareTextSymbol#1#2#3{%<br>\def#1{\char#3\relax}}<br>\def\DeclareTextComposite#1#2#3#4{%<br>\expandafter\def\csname T1\string#1-\string#3\endcsname{\char#4\relax}}<br><br>\input t1enc.def<br><br>% \c needs special treatment<br>\def\c#1{\leavevmode\ifx c#1\char231 \else\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%<br>     \else{\ooalign{\unhbox\z@\crcr<br>        \hidewidth\char11\hidewidth}}\fi\fi}<br>\catcode`\@=\catcodeat<br>\fi<br><br><br>%<br>% Redefine accented characters for 8-bit font<br>%<br>\tenrm<br><br>\'a<br><br>\`a<br><br>\^a<br><br>\~a<br><br>\v e<br><br>\u a<br><br>\v a<br><br>\u e<br><br>\=a<br><br>\bye</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 24 Jun 2024 at 16:57, Bob Tennent <<a href="mailto:rdtennent@gmail.com">rdtennent@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:large"><br></div><br><div class="gmail_quote"><br><br><div dir="ltr"><div style="font-size:large">Once upon a time David Carlisle sent me the following code intended to allow accented characters in musixtex scores:</div><div style="font-size:large"><br></div><div style="font-size:large"><br>\ifx\documentclass\undefined<br>\catcode`\@=11<br>\def\ProvidesFile#1[#2]{}<br>\def\DeclareFontEncoding#1#2#3{}<br>\def\DeclareTextAccent#1#2#3{%<br>\def#1##1{%<br>\expandafter\ifx\csname T1\string#1-\string##1\endcsname\relax<br>{\accent#1 ##1}%<br>\else<br>\csname T1\string#1-\string##1\expandafter\endcsname<br>\fi}}<br>\def\DeclareTextCommand#1#2{\xdtcmd}%not today<br>\def\xdtcmd#1#{\xxdtcmd}%not today<br>\def\xxdtcmd#1{}%not today<br>\def\DeclareTextCompositeCommand#1#2#3#4{}%not today<br>\def\DeclareTextSymbol#1#2#3{%<br>\def#1{\char#3\relax}}<br>\def\DeclareTextComposite#1#2#3#4{%<br>\expandafter\def\csname T1\string#1-\string#3\endcsname{\char#4\relax}}<br><br>\input t1enc.def <br><br>% \c needs special treatment<br>\def\c#1{\leavevmode\ifx c#1\char231 \else\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%<br>     \else{\ooalign{\unhbox\z@\crcr<br>        \hidewidth\char11\hidewidth}}\fi\fi}</div><div style="font-size:large"><br></div><div style="font-size:large"><br></div><div style="font-size:large"><br><div style="font-size:large"><br></div><div style="font-size:large">This works for several accented characters but not <span lang="EN-GB">\v a, </span>\u e, \=a.</div><div style="font-size:large">Is there any solution?  <br></div><div style="font-size:large"><br></div><div style="font-size:large">Bob T.<br></div><div style="font-size:large"><br></div><div style="font-size:large"><div style="font-size:large"><br></div><div style="font-size:large"><br><br></div></div><div style="font-size:large"><br></div></div><div style="font-size:large"><br></div></div>
</div></div>
</blockquote></div>