diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2006-11-26 20:54:26 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2006-11-26 20:54:26 +0000 |
commit | c588c9533b6b61c3234451e8c1bc2dd7aa69b00b (patch) | |
tree | 03ab239d391871b812b0984a83e80501c0372e09 /Master/texmf-dist/tex/latex/vntex/t5enc.def | |
parent | 065e129d47bd651ee8636eb053a2e740637ebf50 (diff) |
update vntex.
git-svn-id: svn://tug.org/texlive/trunk@2546 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/vntex/t5enc.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/vntex/t5enc.def | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/vntex/t5enc.def b/Master/texmf-dist/tex/latex/vntex/t5enc.def index de9741b5595..28f6443bf66 100644 --- a/Master/texmf-dist/tex/latex/vntex/t5enc.def +++ b/Master/texmf-dist/tex/latex/vntex/t5enc.def @@ -1,4 +1,4 @@ -% Copyright 2000-2005 Werner Lemberg <wl@gnu.org> and +% Copyright 2000-2006 Werner Lemberg <wl@gnu.org> and % Vladimir Volovich <vvv@vsu.ru>. % This file is part of vntex. License: LPPL, version 1.3 or newer, % according to http://www.latex-project.org/lppl.txt @@ -36,8 +36,24 @@ % 1.3 2005/04/21 % % Add copyright. +% +% 1.4 2006/11/21 +% +% Fix definition of \d. Update definitions of \b and \c. + +\ProvidesFile{t5enc.def}[2006/11/21 v1.4 Vietnamese T5 encoding] + + +% This temporary definition will vanish as soon as t5enc.def +% will become part of the LaTeX kernel. +%\@ifundefined{ltx@sh@ft}{% + \def\ltx@sh@ft#1{% + \dimen@ #1% + \kern \strip@pt + \fontdimen1\font \dimen@ + }% +%}{} -\ProvidesFile{t5enc.def}[2005/04/21 v1.3 Vietnamese T5 encoding] \DeclareFontEncoding{T5}{% % this (taken from t5code.tex) is needed for use with TCX instead of @@ -65,7 +81,6 @@ \DeclareTextAccent{\^}{T5}{2} % circumflex \DeclareTextAccent{\~}{T5}{3} % tilde \DeclareTextAccent{\"}{T5}{4} % dieresis -\DeclareTextAccent{\d}{T5}{5} % dotbelow \DeclareTextAccent{\r}{T5}{6} % ring \DeclareTextAccent{\v}{T5}{7} % caron \DeclareTextAccent{\u}{T5}{8} % breve @@ -73,13 +88,16 @@ \DeclareTextAccent{\.}{T5}{10} % dotaccent \DeclareTextCommand{\b}{T5}[1] - {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}% - \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}}} + {\hmode@bgroup\o@lign{\relax#1\crcr\hidewidth\ltx@sh@ft{-3ex}% + \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}\egroup} \DeclareTextCommand{\c}{T5}[1] {\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1% - \else{\ooalign{\hidewidth\char11\hidewidth - \crcr\unhbox\z@}}\fi} + \else{\ooalign{\unhbox\z@\crcr\hidewidth\char11\hidewidth}}\fi} + +\DeclareTextCommand{\d}{T5}[1] + {\hmode@bgroup\o@lign{\relax#1\crcr\hidewidth\ltx@sh@ft{-1ex}.% + \hidewidth}\egroup} % Vietnamese hook accent \DeclareTextAccent{\h}{T5}{12} |