summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx73
1 files changed, 65 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx b/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx
index 829b742db13..aaebec63b69 100644
--- a/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 1999-2009 by
+% Copyright (C) 1999-2010 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
@@ -71,7 +71,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: holtxdoc 2010/02/03 v0.14 Private additional ltxdoc support (HO)}
+\Msg{* Package: holtxdoc 2010/03/10 v0.15 Private additional ltxdoc support (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -82,7 +82,7 @@
This is a generated file.
-Copyright (C) 1999-2009 by
+Copyright (C) 1999-2010 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
@@ -141,7 +141,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{holtxdoc.drv}%
- [2010/02/03 v0.14 Private additional ltxdoc support (HO)]%
+ [2010/03/10 v0.15 Private additional ltxdoc support (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -150,7 +150,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{305}
+% \CheckSum{342}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -171,7 +171,7 @@ and the derived files
% \GetFileInfo{holtxdoc.drv}
%
% \title{The \xpackage{holtxdoc} package}
-% \date{2010/02/03 v0.14}
+% \date{2010/03/10 v0.15}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -211,7 +211,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{holtxdoc}%
- [2010/02/03 v0.14 Private additional ltxdoc support (HO)]
+ [2010/03/10 v0.15 Private additional ltxdoc support (HO)]
% \end{macrocode}
%
% \begin{macrocode}
@@ -386,7 +386,59 @@ and the derived files
\providecommand*{\eTeX}{\mbox{$\varepsilon$-\TeX}}
\providecommand*{\pdfTeX}{pdf\TeX}
\providecommand*{\pdfLaTeX}{pdf\LaTeX}
-\providecommand*{\LuaTeX}{L\textsc{ua}\TeX}
+% \end{macrocode}
+% \begin{macro}{\LuaTeX}
+% Hans Hagen has suggested to improve the `aT' kerning
+% in the mailing list `luatex at tug.org' at 2010-03-09 19:59:
+% \begin{quote}
+% Actually we can make a nice definition using the RL typesetting
+% \dots\ as not that many fonts have a proper `aT' kerning we can
+% do the following:
+%\begin{verbatim}
+%\def\LuaTeX
+% {\begingroup
+% Lua%
+% \setbox0\hbox{oT}%
+% \setbox2\hbox{o\kern0ptT}%
+% \ifdim\wd0=\wd2
+% \setbox0\hbox dir TRT{To}%
+% \setbox2\hbox{T\kern0pto}%
+% \hskip\dimexpr\wd0-\wd2\relax
+% \fi
+% \TeX
+% \endgroup}
+%\end{verbatim}
+% Of course this ignores the fact that the a is not symmetrical which
+% is why we use the o instead but it looks impressive (as the `T'
+% normally is symmetrical we don't really need the need the dir).
+%\end{quote}
+% \begin{macrocode}
+\providecommand*{\LuaTeX}{%
+ \begingroup
+ Lua%
+ \setbox0\hbox{aT}%
+ \setbox2\hbox{a\kern0ptT}%
+ \ifdim\wd0<\wd2 %
+ \else
+ \setbox0\hbox{oT}%
+ \setbox2\hbox{o\kern0ptT}%
+ \ifdim\wd0<\wd2 %
+ \else
+ \setbox0\hbox{To}%
+ \setbox2\hbox{T\kern0pto}%
+ \fi
+ \ifdim\wd0<\wd2 %
+ \dimen0=\wd0 %
+ \advance\dimen0-\wd2 %
+ \kern\dimen0 %
+ \fi
+ \fi
+ \TeX
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
\def\@temp#1#2{%
\@ifundefined{\expandafter\@gobble\string#1}{%
\DeclareRobustCommand*{#1}{%
@@ -685,6 +737,11 @@ and the derived files
% \item
% \cs{XeTeX} and \cs{XeLaTeX} are made robust.
% \end{Version}
+% \begin{Version}{2010/03/10 v0.15}
+% \item
+% \cs{LuaTeX} changed according to Hans Hagen's definition
+% in the luatex mailing list.
+% \end{Version}
% \end{History}
%
% \PrintIndex