[texhax] \c using ec fonts

Bob Tennent rdt at cs.queensu.ca
Sat Feb 20 21:00:31 CET 2016


The musixtex package has an "extension library" musixec.tex
which replaces OT1-encoded CM fonts by the T1-encoded
EC variants. But I've found that musixec.tex produces
unsatisfactory output for \c{c}. 

MWE:

\input musixtex
\input musixec
\c{c}\par
\end

I realize that ç can be used but I think \c should still
work. Is \c being re-defined somewhere? The following lines
from musixec.tex might be the culprit:

  % Redefine accented characters for etex, suggested by David Carlisle:
  %
  \ifx\documentclass\undefined
  \def\ProvidesFile#1[#2]{}
  \def\DeclareFontEncoding#1#2#3{}
  \def\DeclareTextAccent#1#2#3{%
  \def#1##1{%
  \expandafter\ifx\csname T1\string#1-\string##1\endcsname\relax
  {\accent#1 ##1}%
  \else
  \csname T1\string#1-\string##1\expandafter\endcsname
  \fi}}
  \def\DeclareTextCommand#1#2{\xdtcmd}%not today
  \def\xdtcmd#1#{\xxdtcmd}%not today
  \def\xxdtcmd#1{}%not today
  \def\DeclareTextCompositeCommand#1#2#3#4{}%not today
  \def\DeclareTextSymbol#1#2#3{%
  \def#1{\char#3\relax}}
  \def\DeclareTextComposite#1#2#3#4{%
  \expandafter\def\csname T1\string#1-\string#3\endcsname{\char#4\relax}}

  \input t1enc.def 
  \fi

Bob T.



More information about the texhax mailing list