[tex-live] [nodblaccnt]{t5} workaround?
Vasile Gaburici
vgaburici at gmail.com
Sun Aug 31 23:34:53 CEST 2008
I was doing:
\usepackage[utf8x]{vietnam}
\usepackage[T4,T5,QX,T1]{fontenc} % needed for other latin-b glyphs
which doesn't work. After seeing your example, which does work, I've
changed the order of those two lines to:
\usepackage[T4,T5,QX,T1]{fontenc} % needed for other latin-b glyphs
\usepackage[utf8x]{vietnam}
and it works now. Well, unless you use autofe that is. It 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.
On Sun, Aug 31, 2008 at 5:54 PM, Werner LEMBERG <wl at gnu.org> wrote:
>> Is there a maintained Unicode input one that's not experimental
>> (like inputenx)?
>
> Well, for LaTeX's inputenc + CJK encodings you can try CJKutf8.sty (of
> the CJK package).
>
>> > Hmm. t5enc.def defines \horn. Perhaps adding a simple
>> >
>> > \usepackage[utf8x]{vietnam}
>> >
>> > helps.
>>
>> Nope, that didn't work.
>
> This works just fine for me (using TeXLive SVN):
>
> \documentclass{article}
>
> \usepackage{ucs}
> \usepackage[utf8x]{vietnam}
>
> \begin{document}
>
> This is a test of Ơ (\horn{O}).
>
> \end{document}
>
> Where's your problem?
>
>
> Werner
>
More information about the tex-live
mailing list