[tex-live] [nodblaccnt]{t5} workaround?

Werner LEMBERG wl at gnu.org
Thu Oct 2 22:15:45 CEST 2008


Sorry for the late reply.

> [autofe] doesn't switch correctly to whatever vietnam sets up T5 to
> be.
> 
> \documentclass{minimal}
> \usepackage{autofe}
> \usepackage{ucs}
> \usepackage[utf8x]{inputenc}
> \usepackage{lmodern}
> \usepackage[T4,T5,T1]{fontenc}
> \usepackage[utf8x]{vietnam}
> 
> \begin{document}
> You should see N with left hook followed by O with horn:
> \fontencoding{T4}\selectfont
> \unichar{"019D} % \textNhookleft
> %\fontencoding{T5}\selectfont % -- error with this line commented out
> \unichar{"01A0} % \horn O
> \end{document}
> 
> The error is quite confusing:
> ! LaTeX Error: Command \horn{O} unavailable in encoding T5.

The \horn accent is indeed unavailable in T5 encoding: It is a virtual
accent only working within \DeclareTextComposite.

The problem you experience is a bug in file `uni-1.def' from the UCS
bundle.  Below is a patch.


    Werner


======================================================================


--- uni-1.def.old       2008-10-02 22:08:50.000000000 +0200
+++ uni-1.def   2008-10-02 22:08:50.000000000 +0200
@@ -147,16 +147,16 @@
 \uc at dclc{408}{default}{\textKhook}%
 \uc at dclc{409}{default}{\textkhook}%
 \uc at dclc{413}{default}{\textNhookleft}%
-\uc at dclc{416}{default}{\horn O}%
-\uc at dclc{417}{default}{\horn o}%
+\uc at dclc{416}{default}{\OHORN}%
+\uc at dclc{417}{default}{\ohorn}%
 \uc at dclc{420}{default}{\textPhook}%
 \uc at dclc{421}{default}{\textphook}%
 \uc at dclc{425}{default}{\textEsh}%
 \uc at dclc{428}{default}{\textThook}%
 \uc at dclc{429}{default}{\textthook}%
 \uc at dclc{430}{default}{\textTretroflexhook}%
-\uc at dclc{431}{default}{\horn U}%
-\uc at dclc{432}{default}{\horn u}%
+\uc at dclc{431}{default}{\UHORN}%
+\uc at dclc{432}{default}{\uhorn}%
 \uc at dclc{434}{default}{\textVhook}%
 \uc at dclc{435}{default}{\textYhook}%
 \uc at dclc{436}{default}{\textyhook}%


More information about the tex-live mailing list