summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-02 21:50:45 +0000
committerKarl Berry <karl@freefriends.org>2012-05-02 21:50:45 +0000
commitaa1776c78dfdb456e2228fbceaa886e64e36174c (patch)
tree7967af7f0f2079a632809a813221918af16ba8cc /Master/texmf-dist/source/latex/oberdiek/hologo.dtx
parenta86d14742b305868a1c2b1f33f1263a6b7d0e03d (diff)
oberdiek (1may12)
git-svn-id: svn://tug.org/texlive/trunk@26177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/hologo.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/hologo.dtx3729
1 files changed, 3425 insertions, 304 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/hologo.dtx b/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
index 93eafb54ca8..78d52f74f02 100644
--- a/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/hologo.dtx
@@ -1,11 +1,12 @@
% \iffalse meta-comment
-%
+%
% File: hologo.dtx
-% Version: 2011/04/21 v1.5
-%
-% Copyright (C) 2010, 2011 by
+% Version: 2012/04/26 v1.10
+% Info: A logo collection with bookmark support
+%
+% Copyright (C) 2010-2012 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
-%
+%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any later
@@ -15,23 +16,24 @@
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of
% LaTeX version 2005/12/01 or later.
-%
+%
% This work has the LPPL maintenance status "maintained".
-%
+%
% This Current Maintainer of this work is Heiko Oberdiek.
-%
+%
% The Base Interpreter refers to any `TeX-Format',
% because some files are installed in TDS:tex/generic//.
-%
+%
% This work consists of the main source file hologo.dtx
% and the derived files
-% hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-test1.tex,
-% hologo-test-spacefactor.tex.
-%
+% hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-example.tex,
+% hologo-test1.tex, hologo-test-spacefactor.tex,
+% hologo-test-list.tex.
+%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/hologo.dtx
% CTAN:macros/latex/contrib/oberdiek/hologo.pdf
-%
+%
% Unpacking:
% (a) If hologo.ins is present:
% tex hologo.ins
@@ -40,7 +42,7 @@
% (c) If you insist on using LaTeX
% latex \let\install=y\input{hologo.dtx}
% (quote the arguments according to the demands of your shell)
-%
+%
% Documentation:
% (a) If hologo.drv is present:
% latex hologo.drv
@@ -50,19 +52,21 @@
% if available. Here you can specify further options, e.g.
% use A4 as paper format:
% \PassOptionsToClass{a4paper}{article}
-%
+%
% Programm calls to get the documentation (example):
% pdflatex hologo.dtx
% makeindex -s gind.ist hologo.idx
% pdflatex hologo.dtx
% makeindex -s gind.ist hologo.idx
% pdflatex hologo.dtx
-%
+%
% Installation:
% TDS:tex/generic/oberdiek/hologo.sty
% TDS:doc/latex/oberdiek/hologo.pdf
+% TDS:doc/latex/oberdiek/example/hologo-example.tex
% TDS:doc/latex/oberdiek/test/hologo-test1.tex
% TDS:doc/latex/oberdiek/test/hologo-test-spacefactor.tex
+% TDS:doc/latex/oberdiek/test/hologo-test-list.tex
% TDS:source/latex/oberdiek/hologo.dtx
%
%<*ignore>
@@ -80,7 +84,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: hologo 2011/04/21 v1.5 Logo collection (HO)}
+\Msg{* Package: hologo 2012/04/26 v1.10 A logo collection with bookmark support (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -92,9 +96,9 @@
This is a generated file.
Project: hologo
-Version: 2011/04/21 v1.5
+Version: 2012/04/26 v1.10
-Copyright (C) 2010, 2011 by
+Copyright (C) 2010-2012 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
@@ -116,8 +120,9 @@ because some files are installed in TDS:tex/generic//.
This work consists of the main source file hologo.dtx
and the derived files
- hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-test1.tex,
- hologo-test-spacefactor.tex.
+ hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-example.tex,
+ hologo-test1.tex, hologo-test-spacefactor.tex,
+ hologo-test-list.tex.
\endpreamble
\let\MetaPrefix\DoubleperCent
@@ -127,9 +132,16 @@ and the derived files
\file{hologo.drv}{\from{hologo.dtx}{driver}}%
\usedir{tex/generic/oberdiek}%
\file{hologo.sty}{\from{hologo.dtx}{package}}%
+ \usedir{doc/latex/oberdiek/example}%
+ \file{hologo-example.tex}{\from{hologo.dtx}{example}}%
\usedir{doc/latex/oberdiek/test}%
\file{hologo-test1.tex}{\from{hologo.dtx}{test1}}%
\file{hologo-test-spacefactor.tex}{\from{hologo.dtx}{test-spacefactor}}%
+ \file{hologo-test-list.tex}{\from{hologo.dtx}{test-list}}%
+ \nopreamble
+ \nopostamble
+ \usedir{source/latex/oberdiek/catalogue}%
+ \file{hologo.xml}{\from{hologo.dtx}{catalogue}}%
}
\catcode32=13\relax% active space
@@ -156,19 +168,22 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{hologo.drv}%
- [2011/04/21 v1.5 Logo collection (HO)]%
+ [2012/04/26 v1.10 A logo collection with bookmark support (HO)]%
\documentclass{ltxdoc}
-\usepackage{holtxdoc}[2011/02/04]
-\usepackage{hologo}[2011/04/21]
+\usepackage{holtxdoc}[2011/11/22]
+\usepackage{hologo}[2012/04/26]
\usepackage{longtable}
\usepackage{array}
+\usepackage{paralist}
+%\usepackage[T1]{fontenc}
+%\usepackage{lmodern}
\begin{document}
\DocInput{hologo.dtx}%
\end{document}
%</driver>
% \fi
%
-% \CheckSum{1330}
+% \CheckSum{2906}
%
% \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
@@ -189,7 +204,7 @@ and the derived files
% \GetFileInfo{hologo.drv}
%
% \title{The \xpackage{hologo} package}
-% \date{2011/04/21 v1.5}
+% \date{2012/04/26 v1.10}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -210,45 +225,24 @@ and the derived files
% Macro \cs{hologo} sets the logo with name \meta{name}.
% The following table shows the supported names.
%
-% \newcommand*{\entry}{}
-% \def\entry#1#2[#3]{^^A
-% #1&#2&\hologoLogoSetup{#1}{variant=#2}\hologo{#1}&#3\tabularnewline
-% }
-% \begin{longtable}{>{\ttfamily}l>{\ttfamily}lll}
-% \rmfamily\bfseries{name} & \rmfamily\bfseries variant
-% & \bfseries logo & \bfseries since\\
-% \hline
-% \endhead
-% \entry{AmSLaTeX}{}[2010/04/16]
-% \entry{AmSTeX}{}[2010/04/16]
-% \entry{ConTeXt}{}[2011/03/25]
-% \entry{ConTeXt}{narrow}[2011/03/25]
-% \entry{ConTeXt}{simple}[2011/03/25]
-% \entry{eTeX}{}[2010/04/08]
-% \entry{iniTeX}{}[2010/11/21]
-% \entry{LaTeX}{}[2010/04/08]
-% \entry{LaTeX2e}{}[2010/04/08]
-% \entry{LaTeX3}{}[2010/04/24]
-% \entry{LaTeXe}{}[2010/04/08]
-% \entry{LuaLaTeX}{}[2010/04/08]
-% \entry{LuaTeX}{}[2010/04/08]
-% \entry{pdfTeX}{}[2010/04/08]
-% \entry{pdfLaTeX}{}[2010/04/08]
-% \entry{plainTeX}{}[2010/04/08]
-% \entry{plainTeX}{space}[2010/04/16]
-% \entry{plainTeX}{hyphen}[2010/04/16]
-% \entry{plainTeX}{runtogether}[2010/04/16]
-% \entry{TeX}{}[2010/04/08]
-% \entry{virTeX}{}[2010/11/21]
-% \entry{VTeX}{}[2010/04/24]
-% \entry{XeLaTeX}{}[2010/04/08]
-% \entry{XeTeX}{}[2010/04/08]
-% \end{longtable}
+% \begingroup
+% \def\hologoEntry#1#2#3{^^A
+% #1&#2&\hologoLogoSetup{#1}{variant=#2}\hologo{#1}&#3\tabularnewline
+% }
+% \begin{longtable}{>{\ttfamily}l>{\ttfamily}lll}
+% \rmfamily\bfseries{name} & \rmfamily\bfseries variant
+% & \bfseries logo & \bfseries since\\
+% \hline
+% \endhead
+% \hologoList
+% \end{longtable}
+% \endgroup
%
% \begin{declcs}{Hologo} \M{name}
% \end{declcs}
% Macro \cs{Hologo} starts the logo \meta{name} with an uppercase
-% letter.
+% letter. As an exception small greek letters are not converted
+% to uppercase. Examples, see \hologo{eTeX} and \hologo{ExTeX}.
%
% \subsection{Setup macros}
%
@@ -304,6 +298,298 @@ and the derived files
% Then ``plain-\TeX'' contains one break point after the hyphen.
% \end{quote}
%
+% \subsection{Driver options}
+%
+% Sometimes graphical operations are needed to construct some
+% glyphs (e.g.\ \hologo{XeTeX}). If package \xpackage{graphics}
+% or package \xpackage{pgf} are found, then the macros are taken
+% from there. Otherwise the packge defines its own operations
+% and therefore needs the driver information. Many drivers are
+% detected automatically (\hologo{pdfTeX}/\hologo{LuaTeX}
+% in PDF mode, \hologo{XeTeX}, \hologo{VTeX}). These have precedence
+% over a driver option. The driver can be given as package option
+% or using \cs{hologoDriverSetup}.
+% The following list contains the recognized driver options:
+% \begin{itemize}
+% \item \xoption{pdftex}, \xoption{luatex}
+% \item \xoption{dvipdfm}, \xoption{dvipdfmx}
+% \item \xoption{dvips}, \xoption{dvipsone}, \xoption{xdvi}
+% \item \xoption{xetex}
+% \item \xoption{vtex}
+% \end{itemize}
+% The left driver of a line is the driver name that is used internally.
+% The following names are aliases for drivers that use the
+% same method. Therefore the entry in the \xext{log} file for
+% the used driver prints the internally used driver name.
+% \begin{description}
+% \item[\xoption{driverfallback}:]
+% This option expects a driver that is used,
+% if the driver could not be detected automatically.
+% \end{description}
+%
+% \begin{declcs}{hologoDriverSetup} \M{driver option}
+% \end{declcs}
+% The driver can also be configured after package loading
+% using \cs{hologoDriverSetup}, also the way for \hologo{plainTeX}
+% to setup the driver.
+%
+% \subsection{Font setup}
+%
+% Some logos require a special font, but should also be usable by
+% \hologo{plainTeX}. Therefore the package provides some ways
+% to influence the font settings. The options below
+% take font settings as values. Both font commands
+% such as \cs{sffamily} and macros that take one argument
+% like \cs{textsf} can be used.
+%
+% \begin{declcs}{hologoFontSetup} \M{key value list}
+% \end{declcs}
+% Macro \cs{hologoFontSetup} sets the fonts for all logos.
+% Supported keys:
+% \begin{description}
+% \def\entry#1{\item[\xoption{#1}:]}
+% \entry{general}
+% This font is used for all logos. The default is empty.
+% That means no special font is used.
+% \entry{bibsf}
+% This font is used for
+% {\hologoLogoSetup{BibTeX}{variant=sf}\hologo{BibTeX}}
+% with variant \xoption{sf}.
+% \entry{rm}
+% This font is a serif font. It is used for \hologo{ExTeX}.
+% \entry{sc}
+% This font specifies a small caps font. It is used for
+% {\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}}
+% with variant \xoption{sc}.
+% \entry{sf}
+% This font specifies a sans serif font. The default
+% is \cs{sffamily}, then \cs{sf} is tried. Otherwise
+% a warning is given. It is used by \hologo{KOMAScript}.
+% \entry{sy}
+% This is the font for math symbols (e.g. cmsy).
+% It is used by \hologo{AmS}, \hologo{NTS}, \hologo{ExTeX}.
+% \entry{logo}
+% \hologo{METAFONT} and \hologo{METAPOST} are using that font.
+% In \hologo{LaTeX} \cs{logofamily} is used and
+% the definitions of package \xpackage{mflogo} are used
+% if the package is not loaded.
+% Otherwise the \cs{tenlogo} is used and defined
+% if it does not already exists.
+% \end{description}
+%
+% \begin{declcs}{hologoLogoFontSetup} \M{logo} \M{key value list}
+% \end{declcs}
+% Fonts can also be set for a logo or logo component separately,
+% see the following list.
+% The keys are the same as for \cs{hologoFontSetup}.
+%
+% \begin{longtable}{>{\ttfamily}l>{\sffamily}ll}
+% \meta{logo} & keys & result\\
+% \hline
+% \endhead
+% BibTeX & bibsf & {\hologoLogoSetup{BibTeX}{variant=sf}\hologo{BibTeX}}\\[.5ex]
+% BibTeX & sc & {\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}}\\[.5ex]
+% ExTeX & rm & \hologo{ExTeX}\\
+% SliTeX & rm & \hologo{SliTeX}\\[.5ex]
+% AmS & sy & \hologo{AmS}\\
+% ExTeX & sy & \hologo{ExTeX}\\
+% NTS & sy & \hologo{NTS}\\[.5ex]
+% KOMAScript & sf & \hologo{KOMAScript}\\[.5ex]
+% METAFONT & logo & \hologo{METAFONT}\\
+% METAPOST & logo & \hologo{METAPOST}\\[.5ex]
+% SliTeX & sc \hologo{SliTeX}
+% \end{longtable}
+%
+% \subsubsection{Font order}
+%
+% For all logos the font \xoption{general} is applied first.
+% Example:
+%\begin{quote}
+%|\hologoFontSetup{general=\color{red}}|
+%\end{quote}
+% will print red logos.
+% Then if the font uses a special font \xoption{sf}, for example,
+% the font is applied that is setup by \cs{hologoLogoFontSetup}.
+% If this font is not setup, then the common font setup
+% by \cs{hologoFontSetup} is used. Otherwise a warning is given,
+% that there is no font configured.
+%
+% \subsection{Additional user macros}
+%
+% Usually a variant of a logo is configured by using
+% \cs{hologoLogoSetup}, because it is bad style to mix
+% different variants of the same logo in the same text.
+% There the following macros are a convenience for testing.
+%
+% \begin{declcs}{hologoVariant} \M{name} \M{variant}\\
+% \cs{HologoVariant} \M{name} \M{variant}
+% \end{declcs}
+% Logo \meta{name} is set using \meta{variant} that specifies
+% explicitely which variant of the macro is used. If the argument
+% is empty, then the default form of the logo is used
+% (configurable by \cs{hologoLogoSetup}).
+%
+% \cs{HologoVariant} is used if the logo is set in a context
+% that needs an uppercase first letter (beginning of a sentence, \dots).
+%
+% \begin{declcs}{hologoList}\\
+% \cs{hologoEntry} \M{logo} \M{variant} \M{since}
+% \end{declcs}
+% Macro \cs{hologoList} contains all logos that are provided
+% by the package including variants. The list consists of calls
+% of \cs{hologoEntry} with three arguments starting with the
+% logo name \meta{logo} and its variant \meta{variant}. An empty
+% variant means the current default. Argument \meta{since} specifies
+% with version of the package \xpackage{hologo} is needed to get
+% the logo. If the logo is fixed, then the date gets updated.
+% Therefore the date \meta{since} is not exactly the date of
+% the first introduction, but rather the date of the latest fix.
+%
+% Before \cs{hologoList} can be used, macro \cs{hologoEntry} needs
+% a definition. The example file in section \ref{sec:example}
+% shows applications of \cs{hologoList}.
+%
+% \subsection{Supported contexts}
+%
+% Macros \cs{hologo} and friends support special contexts:
+% \begin{itemize}
+% \item \hologo{LaTeX}'s protection mechanism.
+% \item Bookmarks of package \xpackage{hyperref}.
+% \item Package \xpackage{tex4ht}.
+% \item The macros can be used inside \cs{csname} constructs,
+% if \cs{ifincsname} is available (\hologo{pdfTeX}, \hologo{XeTeX},
+% \hologo{LuaTeX}).
+% \end{itemize}
+%
+% \subsection{Example}
+% \label{sec:example}
+%
+% The following example prints the logos in different fonts.
+% \begin{macrocode}
+%<*example>
+%<<verbatim
+\NeedsTeXFormat{LaTeX2e}
+\documentclass[a4paper]{article}
+\usepackage[
+ hmargin=20mm,
+ vmargin=20mm,
+]{geometry}
+\pagestyle{empty}
+\usepackage{hologo}[2012/04/26]
+\usepackage{longtable}
+\usepackage{array}
+\setlength{\extrarowheight}{2pt}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage{pdflscape}
+\usepackage[
+ pdfencoding=auto,
+]{hyperref}
+\hypersetup{
+ pdfauthor={Heiko Oberdiek},
+ pdftitle={Example for package `hologo'},
+ pdfsubject={Logos with fonts lmr, lmss, qtm, qpl, qhv},
+}
+\usepackage{bookmark}
+
+% Print the logo list on the console
+
+\begingroup
+ \typeout{}%
+ \typeout{*** Begin of logo list ***}%
+ \newcommand*{\hologoEntry}[3]{%
+ \typeout{#1 \ifx\\#2\\\else(#2) \fi[#3]}%
+ }%
+ \hologoList
+ \typeout{*** End of logo list ***}%
+ \typeout{}%
+\endgroup
+
+\begin{document}
+\begin{landscape}
+
+ \section{Example file for package `hologo'}
+
+ % Table for font names
+
+ \begin{longtable}{>{\bfseries}ll}
+ \textbf{font} & \textbf{Font name}\\
+ \hline
+ lmr & Latin Modern Roman\\
+ lmss & Latin Modern Sans\\
+ qtm & \TeX\ Gyre Termes\\
+ qhv & \TeX\ Gyre Heros\\
+ qpl & \TeX\ Gyre Pagella\\
+ \end{longtable}
+
+ % Logo list with logos in different fonts
+
+ \begingroup
+ \newcommand*{\SetVariant}[2]{%
+ \ifx\\#2\\%
+ \else
+ \hologoLogoSetup{#1}{variant=#2}%
+ \fi
+ }%
+ \newcommand*{\hologoEntry}[3]{%
+ \SetVariant{#1}{#2}%
+ \raisebox{1em}[0pt][0pt]{\hypertarget{#1@#2}{}}%
+ \bookmark[%
+ dest={#1@#2},%
+ ]{%
+ #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} %
+ [Unicode]%
+ }%
+ \hypersetup{unicode=false}%
+ \bookmark[%
+ dest={#1@#2},%
+ ]{%
+ #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} %
+ [PDFDocEncoding]%
+ }%
+ \texttt{#1}%
+ &%
+ \texttt{#2}%
+ &%
+ \Hologo{#1}%
+ &%
+ \SetVariant{#1}{#2}%
+ \hologo{#1}%
+ &%
+ \SetVariant{#1}{#2}%
+ \fontfamily{qtm}\selectfont
+ \hologo{#1}%
+ &%
+ \SetVariant{#1}{#2}%
+ \fontfamily{qpl}\selectfont
+ \hologo{#1}%
+ &%
+ \SetVariant{#1}{#2}%
+ \textsf{\hologo{#1}}%
+ &%
+ \SetVariant{#1}{#2}%
+ \fontfamily{qhv}\selectfont
+ \hologo{#1}%
+ \tabularnewline
+ }%
+ \begin{longtable}{llllllll}%
+ \textbf{\textit{logo}} & \textbf{\textit{variant}} &
+ \texttt{\string\Hologo} &
+ \textbf{lmr} & \textbf{qtm} & \textbf{qpl} &
+ \textbf{lmss} & \textbf{qhv}
+ \tabularnewline
+ \hline
+ \endhead
+ \hologoList
+ \end{longtable}%
+ \endgroup
+
+\end{landscape}
+\end{document}
+%verbatim
+%</example>
+% \end{macrocode}
+%
% \StopEventually{
% }
%
@@ -382,7 +668,7 @@ and the derived files
\fi
\expandafter\x\csname ver@hologo.sty\endcsname
\ProvidesPackage{hologo}%
- [2011/04/21 v1.5 Logo collection (HO)]%
+ [2012/04/26 v1.10 A logo collection with bookmark support (HO)]%
% \end{macrocode}
%
% \begin{macrocode}
@@ -420,7 +706,9 @@ and the derived files
}
\TMP@EnsureCode{10}{12}% ^^J
\TMP@EnsureCode{33}{12}% !
+\TMP@EnsureCode{34}{12}% "
\TMP@EnsureCode{36}{3}% $
+\TMP@EnsureCode{38}{4}% &
\TMP@EnsureCode{39}{12}% '
\TMP@EnsureCode{40}{12}% (
\TMP@EnsureCode{41}{12}% )
@@ -449,22 +737,104 @@ and the derived files
\escapechar=92 %
% \end{macrocode}
%
+% \subsection{Logo list}
+%
+% \begin{macro}{\hologoList}
+% \begin{macrocode}
+\def\hologoList{%
+ \hologoEntry{(La)TeX}{}{2011/10/01}%
+ \hologoEntry{AmSLaTeX}{}{2010/04/16}%
+ \hologoEntry{AmSTeX}{}{2010/04/16}%
+ \hologoEntry{biber}{}{2011/10/01}%
+ \hologoEntry{BibTeX}{}{2011/10/01}%
+ \hologoEntry{BibTeX}{sf}{2011/10/01}%
+ \hologoEntry{BibTeX}{sc}{2011/10/01}%
+ \hologoEntry{BibTeX8}{}{2011/11/22}%
+ \hologoEntry{ConTeXt}{}{2011/03/25}%
+ \hologoEntry{ConTeXt}{narrow}{2011/03/25}%
+ \hologoEntry{ConTeXt}{simple}{2011/03/25}%
+ \hologoEntry{emTeX}{}{2010/04/26}%
+ \hologoEntry{eTeX}{}{2010/04/08}%
+ \hologoEntry{ExTeX}{}{2011/10/01}%
+ \hologoEntry{HanTheThanh}{}{2011/11/29}%
+ \hologoEntry{iniTeX}{}{2011/10/01}%
+ \hologoEntry{KOMAScript}{}{2011/10/01}%
+ \hologoEntry{La}{}{2010/05/08}%
+ \hologoEntry{LaTeX}{}{2010/04/08}%
+ \hologoEntry{LaTeX2e}{}{2010/04/08}%
+ \hologoEntry{LaTeX3}{}{2010/04/24}%
+ \hologoEntry{LaTeXe}{}{2010/04/08}%
+ \hologoEntry{LaTeXML}{}{2011/11/22}%
+ \hologoEntry{LaTeXTeX}{}{2011/10/01}%
+ \hologoEntry{LuaLaTeX}{}{2010/04/08}%
+ \hologoEntry{LuaTeX}{}{2010/04/08}%
+ \hologoEntry{LyX}{}{2011/10/01}%
+ \hologoEntry{METAFONT}{}{2011/10/01}%
+ \hologoEntry{MetaFun}{}{2011/10/01}%
+ \hologoEntry{METAPOST}{}{2011/10/01}%
+ \hologoEntry{MetaPost}{}{2011/10/01}%
+ \hologoEntry{MiKTeX}{}{2011/10/01}%
+ \hologoEntry{NTS}{}{2011/10/01}%
+ \hologoEntry{OzMF}{}{2011/10/01}%
+ \hologoEntry{OzMP}{}{2011/10/01}%
+ \hologoEntry{OzTeX}{}{2011/10/01}%
+ \hologoEntry{OzTtH}{}{2011/10/01}%
+ \hologoEntry{PCTeX}{}{2011/10/01}%
+ \hologoEntry{pdfTeX}{}{2011/10/01}%
+ \hologoEntry{pdfLaTeX}{}{2011/10/01}%
+ \hologoEntry{PiC}{}{2011/10/01}%
+ \hologoEntry{PiCTeX}{}{2011/10/01}%
+ \hologoEntry{plainTeX}{}{2010/04/08}%
+ \hologoEntry{plainTeX}{space}{2010/04/16}%
+ \hologoEntry{plainTeX}{hyphen}{2010/04/16}%
+ \hologoEntry{plainTeX}{runtogether}{2010/04/16}%
+ \hologoEntry{SageTeX}{}{2011/11/22}%
+ \hologoEntry{SLiTeX}{}{2011/10/01}%
+ \hologoEntry{SLiTeX}{lift}{2011/10/01}%
+ \hologoEntry{SLiTeX}{narrow}{2011/10/01}%
+ \hologoEntry{SLiTeX}{simple}{2011/10/01}%
+ \hologoEntry{SliTeX}{}{2011/10/01}%
+ \hologoEntry{SliTeX}{narrow}{2011/10/01}%
+ \hologoEntry{SliTeX}{simple}{2011/10/01}%
+ \hologoEntry{SliTeX}{lift}{2011/10/01}%
+ \hologoEntry{teTeX}{}{2011/10/01}%
+ \hologoEntry{TeX}{}{2010/04/08}%
+ \hologoEntry{TeX4ht}{}{2011/11/22}%
+ \hologoEntry{TTH}{}{2011/11/22}%
+ \hologoEntry{virTeX}{}{2011/10/01}%
+ \hologoEntry{VTeX}{}{2010/04/24}%
+ \hologoEntry{Xe}{}{2010/04/08}%
+ \hologoEntry{XeLaTeX}{}{2010/04/08}%
+ \hologoEntry{XeTeX}{}{2010/04/08}%
+}
+% \end{macrocode}
+% \end{macro}
+%
% \subsection{Load resources}
%
% \begin{macrocode}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax
- \input ltxcmds.sty\relax
- \input infwarerr.sty\relax
- \input kvsetkeys.sty\relax
- \input kvdefinekeys.sty\relax
- \input pdftexcmds.sty\relax
- \input ifpdf.sty\relax
- \input ifluatex.sty\relax
- \input ifxetex.sty\relax
- \input ifvtex.sty\relax
+ \def\TMP@RequirePackage#1[#2]{%
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname ver@#1.sty\endcsname\relax
+ \input #1.sty\relax
+ \fi
+ }%
+ \TMP@RequirePackage{ltxcmds}[2011/02/04]%
+ \TMP@RequirePackage{infwarerr}[2010/04/08]%
+ \TMP@RequirePackage{kvsetkeys}[2010/03/01]%
+ \TMP@RequirePackage{kvdefinekeys}[2010/03/01]%
+ \TMP@RequirePackage{pdftexcmds}[2010/04/01]%
+ \TMP@RequirePackage{ifpdf}[2010/01/28]%
+ \TMP@RequirePackage{ifluatex}[2010/03/01]%
+ \ltx@IfUndefined{newif}{%
+ \expandafter\let\csname newif\endcsname\ltx@newif
+ }{}%
+ \TMP@RequirePackage{ifxetex}[2009/01/23]%
+ \TMP@RequirePackage{ifvtex}[2010/03/01]%
\else
- \RequirePackage{ltxcmds}[2010/04/16]%
+ \RequirePackage{ltxcmds}[2011/02/04]%
\RequirePackage{infwarerr}[2010/04/08]%
\RequirePackage{kvsetkeys}[2010/03/01]%
\RequirePackage{kvdefinekeys}[2010/03/01]%
@@ -511,7 +881,7 @@ and the derived files
\@PackageError{hologo}{%
Unknown logo `\HOLOGO@name'%
}\@ehc
- \@gobble
+ \ltx@gobble
}{%
\HOLOGO@Setup
}%
@@ -529,7 +899,7 @@ and the derived files
%
% \subsection{Options}
%
-% \begin{macro}{\HOLOGO@DefineBoolOption}
+% \begin{macro}{\HOLOGO@DeclareBoolOption}
% \begin{macrocode}
\def\HOLOGO@DeclareBoolOption#1{%
\expandafter\chardef\csname HOLOGOOPT@#1\endcsname\ltx@zero
@@ -740,7 +1110,232 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
-% \subsection{\cs{hologo}}
+% \subsection{Font support}
+%
+% \begin{macro}{\HoLogoFont@font}
+% \begin{tabular}{@{}ll@{}}
+% |#1|:& logo name\\
+% |#2|:& font short name\\
+% |#3|:& text
+% \end{tabular}
+% \begin{macrocode}
+\def\HoLogoFont@font#1#2#3{%
+ \begingroup
+ \ltx@IfUndefined{HoLogoFont@logo@#1.#2}{%
+ \ltx@IfUndefined{HoLogoFont@font@#2}{%
+ \@PackageWarning{hologo}{%
+ Missing font `#2' for logo `#1'%
+ }%
+ #3%
+ }{%
+ \csname HoLogoFont@font@#2\endcsname{#3}%
+ }%
+ }{%
+ \csname HoLogoFont@logo@#1.#2\endcsname{#3}%
+ }%
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoFont@Def}
+% \begin{macrocode}
+\def\HoLogoFont@Def#1{%
+ \expandafter\def\csname HoLogoFont@font@#1\endcsname
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoFont@LogoDef}
+% \begin{macrocode}
+\def\HoLogoFont@LogoDef#1#2{%
+ \expandafter\def\csname HoLogoFont@logo@#1.#2\endcsname
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Font defaults}
+%
+% \begin{macro}{\HoLogoFont@font@general}
+% \begin{macrocode}
+\HoLogoFont@Def{general}{}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoFont@font@rm}
+% \begin{macrocode}
+\ltx@IfUndefined{rmfamily}{%
+ \ltx@IfUndefined{rm}{%
+ }{%
+ \HoLogoFont@Def{rm}{\rm}%
+ }%
+}{%
+ \HoLogoFont@Def{rm}{\rmfamily}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoFont@font@sf}
+% \begin{macrocode}
+\ltx@IfUndefined{sffamily}{%
+ \ltx@IfUndefined{sf}{%
+ }{%
+ \HoLogoFont@Def{sf}{\sf}%
+ }%
+}{%
+ \HoLogoFont@Def{sf}{\sffamily}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoFont@font@bibsf}
+% In case of \hologo{plainTeX} the original small caps
+% variant is used as default. In \hologo{LaTeX}
+% the definition of package \xpackage{dtklogos} \cite{dtklogos}
+% is used.
+%\begin{quote}
+%\begin{verbatim}
+%\DeclareRobustCommand{\BibTeX}{%
+% B%
+% \kern-.05em%
+% \hbox{%
+% $\m@th$% %% force math size calculations
+% \csname S@\f@size\endcsname
+% \fontsize\sf@size\z@
+% \math@fontsfalse
+% \selectfont
+% I%
+% \kern-.025em%
+% B
+% }%
+% \kern-.08em%
+% \-%
+% \TeX
+%}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\ltx@IfUndefined{selectfont}{%
+ \ltx@IfUndefined{tensc}{%
+ \font\tensc=cmcsc10\relax
+ }{}%
+ \HoLogoFont@Def{bibsf}{\tensc}%
+}{%
+ \HoLogoFont@Def{bibsf}{%
+ $\mathsurround=0pt$%
+ \csname S@\f@size\endcsname
+ \fontsize\sf@size{0pt}%
+ \math@fontsfalse
+ \selectfont
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoFont@font@sc}
+% \begin{macrocode}
+\ltx@IfUndefined{scshape}{%
+ \ltx@IfUndefined{tensc}{%
+ \font\tensc=cmcsc10\relax
+ }{}%
+ \HoLogoFont@Def{sc}{\tensc}%
+}{%
+ \HoLogoFont@Def{sc}{\scshape}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoFont@font@sy}
+% \begin{macrocode}
+\ltx@IfUndefined{usefont}{%
+ \ltx@IfUndefined{tensy}{%
+ }{%
+ \HoLogoFont@Def{sy}{\tensy}%
+ }%
+}{%
+ \HoLogoFont@Def{sy}{%
+ \usefont{OMS}{cmsy}{m}{n}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoFont@font@logo}
+% \begin{macrocode}
+\begingroup
+ \def\x{LaTeX2e}%
+\expandafter\endgroup
+\ifx\fmtname\x
+ \ltx@IfUndefined{logofamily}{%
+ \DeclareRobustCommand\logofamily{%
+ \not@math@alphabet\logofamily\relax
+ \fontencoding{U}%
+ \fontfamily{logo}%
+ \selectfont
+ }%
+ }{}%
+ \ltx@IfUndefined{logofamily}{%
+ }{%
+ \HoLogoFont@Def{logo}{\logofamily}%
+ }%
+\else
+ \ltx@IfUndefined{tenlogo}{%
+ \font\tenlogo=logo10\relax
+ }{}%
+ \HoLogoFont@Def{logo}{\tenlogo}%
+\fi
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Font setup}
+%
+% \begin{macro}{\hologoFontSetup}
+% \begin{macrocode}
+\def\hologoFontSetup{%
+ \let\HOLOGO@name\relax
+ \HOLOGO@FontSetup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\hologoLogoFontSetup}
+% \begin{macrocode}
+\def\hologoLogoFontSetup#1{%
+ \edef\HOLOGO@name{#1}%
+ \ltx@IfUndefined{HoLogo@\HOLOGO@name}{%
+ \@PackageError{hologo}{%
+ Unknown logo `\HOLOGO@name'%
+ }\@ehc
+ \ltx@gobble
+ }{%
+ \HOLOGO@FontSetup
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HOLOGO@FontSetup}
+% \begin{macrocode}
+\def\HOLOGO@FontSetup{%
+ \kvsetkeys{HoLogoFont}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\def\HOLOGO@temp#1{%
+ \kv@define@key{HoLogoFont}{#1}{%
+ \ifx\HOLOGO@name\relax
+ \HoLogoFont@Def{#1}{##1}%
+ \else
+ \HoLogoFont@LogoDef\HOLOGO@name{#1}{##1}%
+ \fi
+ }%
+}
+\HOLOGO@temp{general}
+\HOLOGO@temp{sf}
+% \end{macrocode}
+%
+% \subsection{Generic logo commands}
%
% \begin{macrocode}
\HOLOGO@IfExists\hologo{%
@@ -750,99 +1345,309 @@ and the derived files
}\@ehc
\HOLOGO@AtEnd
}%
-\HOLOGO@IfExists\hologorobust{%
+\HOLOGO@IfExists\hologoRobust{%
\@PackageError{hologo}{%
- \string\hologorobust\ltx@space is already defined.\MessageBreak
+ \string\hologoRobust\ltx@space is already defined.\MessageBreak
Package loading is aborted%
}\@ehc
\HOLOGO@AtEnd
}%
% \end{macrocode}
%
-% \begin{macro}{\hologorobust}
+% \subsubsection{\cs{hologo} and friends}
+%
+% \begin{macrocode}
+\ifluatex
+ \expandafter\ltx@firstofone
+\else
+ \expandafter\ltx@gobble
+\fi
+{%
+ \ltx@IfUndefined{ifincsname}{%
+ \ifnum\luatexversion<36 %
+ \expandafter\ltx@gobble
+ \else
+ \expandafter\ltx@firstofone
+ \fi
+ {%
+ \begingroup
+ \ifcase0%
+ \directlua{%
+ if tex.enableprimitives then %
+ tex.enableprimitives('HOLOGO@', {'ifincsname'})%
+ else %
+ tex.print('1')%
+ end%
+ }%
+ \ifx\HOLOGO@ifincsname\@undefined 1\fi%
+ \relax
+ \expandafter\ltx@firstofone
+ \else
+ \endgroup
+ \expandafter\ltx@gobble
+ \fi
+ {%
+ \global\let\ifincsname\HOLOGO@ifincsname
+ }%
+ \HOLOGO@temp
+ }%
+ }{}%
+}
+% \end{macrocode}
+% \begin{macrocode}
+\ltx@IfUndefined{ifincsname}{%
+ \catcode`$=14 %
+}{%
+ \catcode`$=9 %
+}
+% \end{macrocode}
+%
+% \begin{macro}{\hologo}
+% \begin{macrocode}
+\def\hologo#1{%
+$ \ifincsname
+$ \ltx@ifundefined{HoLogoCs@\HOLOGO@Variant{#1}}{%
+$ #1%
+$ }{%
+$ \csname HoLogoCs@\HOLOGO@Variant{#1}\endcsname\ltx@firstoftwo
+$ }%
+$ \else
+ \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo
+ {%
+ \hologoRobust{#1}%
+ }{%
+ \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{%
+ \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}%
+ }{%
+ \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname
+ \ltx@firstoftwo
+ }%
+ }%
+$ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\Hologo}
+% \begin{macrocode}
+\def\Hologo#1{%
+$ \ifincsname
+$ \ltx@ifundefined{HoLogoCs@\HOLOGO@Variant{#1}}{%
+$ #1%
+$ }{%
+$ \csname HoLogoCs@\HOLOGO@Variant{#1}\endcsname\ltx@secondoftwo
+$ }%
+$ \else
+ \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo
+ {%
+ \HologoRobust{#1}%
+ }{%
+ \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{%
+ \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}%
+ }{%
+ \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname
+ \ltx@secondoftwo
+ }%
+ }%
+$ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\hologoVariant}
+% \begin{macrocode}
+\def\hologoVariant#1#2{%
+ \ifx\relax#2\relax
+ \hologo{#1}%
+ \else
+$ \ifincsname
+$ \ltx@ifundefined{HoLogoCs@#1@#2}{%
+$ #1%
+$ }{%
+$ \csname HoLogoCs@#1@#2\endcsname\ltx@firstoftwo
+$ }%
+$ \else
+ \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo
+ {%
+ \hologoVariantRobust{#1}{#2}%
+ }{%
+ \ltx@ifundefined{HoLogoBkm@#1@#2}{%
+ \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}%
+ }{%
+ \csname HoLogoBkm@#1@#2\endcsname
+ \ltx@firstoftwo
+ }%
+ }%
+$ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HologoVariant}
+% \begin{macrocode}
+\def\HologoVariant#1#2{%
+ \ifx\relax#2\relax
+ \Hologo{#1}%
+ \else
+$ \ifincsname
+$ \ltx@ifundefined{HoLogoCs@#1@#2}{%
+$ #1%
+$ }{%
+$ \csname HoLogoCs@#1@#2\endcsname\ltx@secondoftwo
+$ }%
+$ \else
+ \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo
+ {%
+ \HologoVariantRobust{#1}{#2}%
+ }{%
+ \ltx@ifundefined{HoLogoBkm@#1@#2}{%
+ \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}%
+ }{%
+ \csname HoLogoBkm@#1@#2\endcsname
+ \ltx@secondoftwo
+ }%
+ }%
+$ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\catcode`\$=3 %
+% \end{macrocode}
+%
+% \subsubsection{\cs{hologoRobust} and friends}
+%
+% \begin{macro}{\hologoRobust}
% \begin{macrocode}
\ltx@IfUndefined{protected}{%
\ltx@IfUndefined{DeclareRobustCommand}{%
- \def\hologorobust#1%
+ \def\hologoRobust#1%
}{%
- \DeclareRobustCommand*\hologorobust[1]%
+ \DeclareRobustCommand*\hologoRobust[1]%
}%
}{%
- \protected\def\hologorobust#1%
+ \protected\def\hologoRobust#1%
}%
{%
\edef\HOLOGO@name{#1}%
- \ltx@ifundefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{%
+ \ltx@IfUndefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{%
\@PackageError{hologo}{%
Unknown logo `\HOLOGO@name'%
}\@ehc
?\HOLOGO@name?%
}{%
- \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname\ltx@firstoftwo
- }%
-}
-% \end{macrocode}
-% \end{macro}
-% \begin{macro}{\hologo}
-% \begin{macrocode}
-\def\hologo#1{%
- \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo
- {%
- \hologorobust{#1}%
- }{%
- \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{%
- \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}%
+ \ltx@IfUndefined{ver@tex4ht.sty}{%
+ \HoLogoFont@font\HOLOGO@name{general}{%
+ \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname
+ \ltx@firstoftwo
+ }%
}{%
- \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname\ltx@firstoftwo
+ \ltx@IfUndefined{HoLogoHtml@\HOLOGO@Variant\HOLOGO@name}{%
+ \HOLOGO@name
+ }{%
+ \csname HoLogoHtml@\HOLOGO@Variant\HOLOGO@name\endcsname
+ \ltx@firstoftwo
+ }%
}%
}%
}
% \end{macrocode}
% \end{macro}
-%
-% \begin{macro}{\Hologorobust}
+% \begin{macro}{\HologoRobust}
% \begin{macrocode}
\ltx@IfUndefined{protected}{%
\ltx@IfUndefined{DeclareRobustCommand}{%
- \def\Hologorobust#1%
+ \def\HologoRobust#1%
}{%
- \DeclareRobustCommand*\Hologorobust[1]%
+ \DeclareRobustCommand*\HologoRobust[1]%
}%
}{%
- \protected\def\Hologorobust#1%
+ \protected\def\HologoRobust#1%
}%
{%
\edef\HOLOGO@name{#1}%
- \ltx@ifundefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{%
+ \ltx@IfUndefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{%
\@PackageError{hologo}{%
Unknown logo `\HOLOGO@name'%
}\@ehc
?\HOLOGO@name?%
}{%
- \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname\ltx@secondoftwo
+ \ltx@IfUndefined{ver@tex4ht.sty}{%
+ \HoLogoFont@font\HOLOGO@name{general}{%
+ \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname
+ \ltx@secondoftwo
+ }%
+ }{%
+ \ltx@IfUndefined{HoLogoHtml@\HOLOGO@Variant\HOLOGO@name}{%
+ \expandafter\HOLOGO@Uppercase\HOLOGO@name
+ }{%
+ \csname HoLogoHtml@\HOLOGO@Variant\HOLOGO@name\endcsname
+ \ltx@secondoftwo
+ }%
+ }%
}%
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\Hologo}
+% \begin{macro}{\hologoVariantRobust}
% \begin{macrocode}
-\def\Hologo#1{%
- \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo
- {%
- \Hologorobust{#1}%
+\ltx@IfUndefined{protected}{%
+ \ltx@IfUndefined{DeclareRobustCommand}{%
+ \def\hologoVariantRobust#1#2%
}{%
- \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{%
- \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}%
- }{%
- \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname\ltx@secondoftwo
- }%
+ \DeclareRobustCommand*\hologoVariantRobust[2]%
}%
+}{%
+ \protected\def\hologoVariantRobust#1#2%
+}%
+{%
+ \begingroup
+ \hologoLogoSetup{#1}{variant={#2}}%
+ \hologoRobust{#1}%
+ \endgroup
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HologoVariantRobust}
+% \begin{macrocode}
+\ltx@IfUndefined{protected}{%
+ \ltx@IfUndefined{DeclareRobustCommand}{%
+ \def\HologoVariantRobust#1#2%
+ }{%
+ \DeclareRobustCommand*\HologoVariantRobust[2]%
+ }%
+}{%
+ \protected\def\HologoVariantRobust#1#2%
+}%
+{%
+ \begingroup
+ \hologoLogoSetup{#1}{variant={#2}}%
+ \HologoRobust{#1}%
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\hologorobust}
+% Macro \cs{hologorobust} is only defined for compatibility.
+% Its use is deprecated.
+% \begin{macrocode}
+\def\hologorobust{\hologoRobust}
+% \end{macrocode}
+% \end{macro}
%
% \subsection{Helpers}
%
+% \begin{macro}{\HOLOGO@Uppercase}
+% Macro \cs{HOLOGO@Uppercase} is restricted to \cs{uppercase},
+% because \hologo{plainTeX} or \hologo{iniTeX} do not provide
+% \cs{MakeUppercase}.
+% \begin{macrocode}
+\def\HOLOGO@Uppercase#1{\uppercase{#1}}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\HOLOGO@PdfdocUnicode}
% \begin{macrocode}
\def\HOLOGO@PdfdocUnicode{%
@@ -910,6 +1715,51 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\HOLOGO@Span}
+% \begin{macrocode}
+\def\HOLOGO@Span#1#2{%
+ \HCode{<span class="HoLogo-#1">}%
+ #2%
+ \HCode{</span>}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Text subscript}
+%
+% \begin{macro}{\HOLOGO@SubScript}%
+% \begin{macrocode}
+\def\HOLOGO@SubScript#1{%
+ \ltx@IfUndefined{textsubscript}{%
+ \ltx@IfUndefined{text}{%
+ \ltx@mbox{%
+ \mathsurround=0pt\relax
+ $%
+ _{%
+ \ltx@IfUndefined{sf@size}{%
+ \mathrm{#1}%
+ }{%
+ \mbox{%
+ \fontsize\sf@size{0pt}\selectfont
+ #1%
+ }%
+ }%
+ }%
+ $%
+ }%
+ }{%
+ \ltx@mbox{%
+ \mathsurround=0pt\relax
+ $_{\text{#1}}$%
+ }%
+ }%
+ }{%
+ \textsubscript{#1}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
% \subsection{\hologo{TeX} and friends}
%
% \subsubsection{\hologo{TeX}}
@@ -922,6 +1772,40 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@TeX}
+% \begin{macrocode}
+\def\HoLogoHtml@TeX#1{%
+ \HoLogoCss@TeX
+ \HOLOGO@Span{TeX}{%
+ T%
+ \HOLOGO@Span{e}{%
+ E%
+ }%
+ X%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@TeX}
+% \begin{macrocode}
+\def\HoLogoCss@TeX{%
+ \Css{%
+ span.HoLogo-TeX span.HoLogo-e{%
+ position:relative;%
+ top:.5ex;%
+ margin-left:-.1667em;%
+ margin-right:-.125em;%
+ }%
+ }%
+ \Css{%
+ a span.HoLogo-TeX span.HoLogo-e{%
+ text-decoration:none;%
+ }%
+ }%
+ \global\let\HoLogoCss@TeX\relax
+}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{plainTeX}}
%
@@ -933,6 +1817,11 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@plainTeX@space}
+% \begin{macrocode}
+\def\HoLogoCs@plainTeX@space#1{#1{p}{P}lain TeX}%
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\HoLogoBkm@plainTeX@space}
% \begin{macrocode}
\def\HoLogoBkm@plainTeX@space#1{%
@@ -940,6 +1829,13 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@plainTeX@space}
+% \begin{macrocode}
+\def\HoLogoHtml@plainTeX@space#1{%
+ #1{p}{P}lain \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\HoLogo@plainTeX@hyphen}
% \begin{macrocode}
@@ -948,6 +1844,11 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@plainTeX@hyphen}
+% \begin{macrocode}
+\def\HoLogoCs@plainTeX@hyphen#1{#1{p}{P}lain-TeX}
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\HoLogoBkm@plainTeX@hyphen}
% \begin{macrocode}
\def\HoLogoBkm@plainTeX@hyphen#1{%
@@ -955,6 +1856,13 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@plainTeX@hyphen}
+% \begin{macrocode}
+\def\HoLogoHtml@plainTeX@hyphen#1{%
+ #1{p}{P}lain-\hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\HoLogo@plainTeX@runtogether}
% \begin{macrocode}
@@ -963,6 +1871,11 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@plainTeX@runtogether}
+% \begin{macrocode}
+\def\HoLogoCs@plainTeX@runtogether#1{#1{p}{P}lainTeX}
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\HoLogoBkm@plainTeX@runtogether}
% \begin{macrocode}
\def\HoLogoBkm@plainTeX@runtogether#1{%
@@ -970,24 +1883,65 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@plainTeX@runtogether}
+% \begin{macrocode}
+\def\HoLogoHtml@plainTeX@runtogether#1{%
+ #1{p}{P}lain\hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\HoLogo@plainTeX}
% \begin{macrocode}
\def\HoLogo@plainTeX{\HoLogo@plainTeX@space}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@plainTeX}
+% \begin{macrocode}
+\def\HoLogoCs@plainTeX{\HoLogoCs@plainTeX@space}
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\HoLogoBkm@plainTeX}
% \begin{macrocode}
\def\HoLogoBkm@plainTeX{\HoLogoBkm@plainTeX@space}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@plainTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@plainTeX{\HoLogoHtml@plainTeX@space}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{LaTeX}}
%
-% \begin{macro}{\HoLogo@LaTeX}
% Source: \hologo{LaTeX} kernel.
+%\begin{quote}
+%\begin{verbatim}
+%\DeclareRobustCommand{\LaTeX}{%
+% L%
+% \kern-.36em%
+% {%
+% \sbox\z@ T%
+% \vbox to\ht\z@{%
+% \hbox{%
+% \check@mathfonts
+% \fontsize\sf@size\z@
+% \math@fontsfalse
+% \selectfont
+% A%
+% }%
+% \vss
+% }%
+% }%
+% \kern-.15em%
+% \TeX
+%}
+%\end{verbatim}
+%\end{quote}
+%
+% \begin{macro}{\HoLogo@La}
% \begin{macrocode}
-\def\HoLogo@LaTeX#1{%
+\def\HoLogo@La#1{%
L%
\kern-.36em%
\begingroup
@@ -998,7 +1952,7 @@ and the derived files
\csname sevenrm\endcsname
}{%
\check@mathfonts
- \fontsize\sf@size\z@
+ \fontsize\sf@size{0pt}%
\math@fontsfalse\selectfont
}%
A%
@@ -1006,11 +1960,163 @@ and the derived files
\vss
}%
\endgroup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@LaTeX}
+% Source: \hologo{LaTeX} kernel.
+% \begin{macrocode}
+\def\HoLogo@LaTeX#1{%
+ \hologo{La}%
\kern-.15em%
\hologo{TeX}%
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@LaTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@LaTeX#1{%
+ \HoLogoCss@LaTeX
+ \HOLOGO@Span{LaTeX}{%
+ L%
+ \HOLOGO@Span{a}{%
+ A%
+ }%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@LaTeX}
+% \begin{macrocode}
+\def\HoLogoCss@LaTeX{%
+ \Css{%
+ span.HoLogo-LaTeX span.HoLogo-a{%
+ position:relative;%
+ top:-.5ex;%
+ margin-left:-.36em;%
+ margin-right:-.15em;%
+ font-size:85\%;%
+ }%
+ }%
+ \global\let\HoLogoCss@LaTeX\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{(La)TeX}}
+%
+% \begin{macro}{\HoLogo@LaTeXTeX}
+% The kerning around the parentheses is taken
+% from package \xpackage{dtklogos} \cite{dtklogos}.
+%\begin{quote}
+%\begin{verbatim}
+%\DeclareRobustCommand{\LaTeXTeX}{%
+% (%
+% \kern-.15em%
+% L%
+% \kern-.36em%
+% {%
+% \sbox\z@ T%
+% \vbox to\ht0{%
+% \hbox{%
+% $\m@th$%
+% \csname S@\f@size\endcsname
+% \fontsize\sf@size\z@
+% \math@fontsfalse
+% \selectfont
+% A%
+% }%
+% \vss
+% }%
+% }%
+% \kern-.2em%
+% )%
+% \kern-.15em%
+% \TeX
+%}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\def\HoLogo@LaTeXTeX#1{%
+ (%
+ \kern-.15em%
+ \hologo{La}%
+ \kern-.2em%
+ )%
+ \kern-.15em%
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@LaTeXTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@LaTeXTeX#1{(La)TeX}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@(La)TeX}
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogo@(La)TeX\endcsname\HoLogo@LaTeXTeX
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@(La)TeX}
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogoBkm@(La)TeX\endcsname\HoLogoBkm@LaTeXTeX
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@LaTeXTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@LaTeXTeX#1{%
+ \HoLogoCss@LaTeXTeX
+ \HOLOGO@Span{LaTeXTeX}{%
+ (%
+ \HOLOGO@Span{L}{L}%
+ \HOLOGO@Span{a}{A}%
+ \HOLOGO@Span{ParenRight}{)}%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@(La)TeX}
+% Kerning after opening parentheses and before closing parentheses
+% is $-0.1$\,em. The original values $-0.15$\,em
+% looked too ugly for a serif font.
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogoHtml@(La)TeX\endcsname\HoLogoHtml@LaTeXTeX
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@LaTeXTeX}
+% \begin{macrocode}
+\def\HoLogoCss@LaTeXTeX{%
+ \Css{%
+ span.HoLogo-LaTeXTeX span.HoLogo-L{%
+ margin-left:-.1em;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-LaTeXTeX span.HoLogo-a{%
+ position:relative;%
+ top:-.5ex;%
+ margin-left:-.36em;%
+ margin-right:-.1em;%
+ font-size:85\%;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-LaTeXTeX span.HoLogo-ParenRight{%
+ margin-right:-.15em;%
+ }%
+ }%
+ \global\let\HoLogoCss@LaTeXTeX\relax
+}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{LaTeXe}}
%
@@ -1029,6 +2135,25 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\HoLogoCs@LaTeXe}
+% \begin{macrocode}
+\ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX
+ \catcode`\$=9 %
+ \catcode`\&=14 %
+\else
+ \catcode`\$=14 %
+ \catcode`\&=9 %
+\fi
+\def\HoLogoCs@LaTeXe#1{%
+ LaTeX2%
+$ \string ^^^^0395%
+& e%
+}%
+\catcode`\$=3 %
+\catcode`\&=4 %
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\HoLogoBkm@LaTeXe}
% \begin{macrocode}
\def\HoLogoBkm@LaTeXe#1{%
@@ -1039,14 +2164,63 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\HoLogoHtml@LaTeXe}
+% \begin{macrocode}
+\def\HoLogoHtml@LaTeXe#1{%
+ \HoLogoCss@LaTeXe
+ \HOLOGO@Span{LaTeX2e}{%
+ \hologo{LaTeX}%
+ \HOLOGO@Span{2}{2}%
+ \HOLOGO@Span{e}{%
+ \HOLOGO@MathSetup
+ \ensuremath{\textstyle\varepsilon}%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@LaTeXe}
+% \begin{macrocode}
+\def\HoLogoCss@LaTeXe{%
+ \Css{%
+ span.HoLogo-LaTeX2e span.HoLogo-2{%
+ padding-left:.15em;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-LaTeX2e span.HoLogo-e{%
+ position:relative;%
+ top:.35ex;%
+ text-decoration:none;%
+ }%
+ }%
+ \global\let\HoLogoCss@LaTeXe\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\HoLogo@LaTeX2e}
% \begin{macrocode}
-\expandafter\let\csname HoLogo@LaTeX2e\endcsname\HoLogo@LaTeXe
+\expandafter
+\let\csname HoLogo@LaTeX2e\endcsname\HoLogo@LaTeXe
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCs@LaTeX2e}
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogoCs@LaTeX2e\endcsname\HoLogoCs@LaTeXe
% \end{macrocode}
% \end{macro}
% \begin{macro}{\HoLogoBkm@LaTeX2e}
% \begin{macrocode}
-\expandafter\let\csname HoLogoBkm@LaTeX2e\endcsname\HoLogoBkm@LaTeXe
+\expandafter
+\let\csname HoLogoBkm@LaTeX2e\endcsname\HoLogoBkm@LaTeXe
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@LaTeX2e}
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogoHtml@LaTeX2e\endcsname\HoLogoHtml@LaTeXe
% \end{macrocode}
% \end{macro}
%
@@ -1070,6 +2244,56 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@LaTeX3}
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogoHtml@LaTeX3\expandafter\endcsname
+\csname HoLogo@LaTeX3\endcsname
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{LaTeXML}}
+%
+% \begin{macro}{\HoLogo@LaTeXML}
+% \begin{macrocode}
+\def\HoLogo@LaTeXML#1{%
+ \HOLOGO@mbox{%
+ \hologo{La}%
+ \kern-.15em%
+ T%
+ \kern-.1667em%
+ \lower.5ex\hbox{E}%
+ \kern-.125em%
+ \HoLogoFont@font{LaTeXML}{sc}{xml}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@pdfLaTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@LaTeXML#1{%
+ \HOLOGO@Span{LaTeXML}{%
+ \HoLogoCss@LaTeX
+ \HoLogoCss@TeX
+ \HOLOGO@Span{LaTeX}{%
+ L%
+ \HOLOGO@Span{a}{%
+ A%
+ }%
+ }%
+ \HOLOGO@Span{TeX}{%
+ T%
+ \HOLOGO@Span{e}{%
+ E%
+ }%
+ }%
+ \HCode{<span style="font-variant: small-caps;">}%
+ xml%
+ \HCode{</span>}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{eTeX}}
%
@@ -1078,17 +2302,33 @@ and the derived files
% \begin{macrocode}
\def\HoLogo@eTeX#1{%
\ltx@mbox{%
- \hbox{%
- \HOLOGO@MathSetup
- $\varepsilon$%
- -%
- \HOLOGO@NegativeKerning{-T,T-,To}%
- \hologo{TeX}%
- }%
+ \HOLOGO@MathSetup
+ $\varepsilon$%
+ -%
+ \HOLOGO@NegativeKerning{-T,T-,To}%
+ \hologo{TeX}%
}%
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@eTeX}
+% \begin{macrocode}
+\ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX
+ \catcode`\$=9 %
+ \catcode`\&=14 %
+\else
+ \catcode`\$=14 %
+ \catcode`\&=9 %
+\fi
+\def\HoLogoCs@eTeX#1{%
+$ #1{\string ^^^^0395}{\string ^^^^03b5}%
+& #1{e}{E}%
+ TeX%
+}%
+\catcode`\$=3 %
+\catcode`\&=4 %
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\HoLogoBkm@eTeX}
% \begin{macrocode}
\def\HoLogoBkm@eTeX#1{%
@@ -1098,7 +2338,18 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
-%
+% \begin{macro}{\HoLogoHtml@eTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@eTeX#1{%
+ \ltx@mbox{%
+ \HOLOGO@MathSetup
+ $\varepsilon$%
+ -%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{iniTeX}}
%
@@ -1106,11 +2357,28 @@ and the derived files
% \begin{macrocode}
\def\HoLogo@iniTeX#1{%
\HOLOGO@mbox{%
- ini\hologo{TeX}%
+ #1{i}{I}ni\hologo{TeX}%
}%
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@iniTeX}
+% \begin{macrocode}
+\def\HoLogoCs@iniTeX#1{#1{i}{I}niTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@iniTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@iniTeX#1{%
+ #1{i}{I}ni\hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@iniTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@iniTeX\HoLogo@iniTeX
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{virTeX}}
%
@@ -1118,11 +2386,259 @@ and the derived files
% \begin{macrocode}
\def\HoLogo@virTeX#1{%
\HOLOGO@mbox{%
- ini\hologo{TeX}%
+ #1{v}{V}ir\hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCs@virTeX}
+% \begin{macrocode}
+\def\HoLogoCs@virTeX#1{#1{v}{V}irTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@virTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@virTeX#1{%
+ #1{v}{V}ir\hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@virTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@virTeX\HoLogo@virTeX
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{SliTeX}}
+%
+% \paragraph{Definitions of the three variants.}
+%
+% \begin{macro}{\HoLogo@SLiTeX@lift}
+% \begin{macrocode}
+\def\HoLogo@SLiTeX@lift#1{%
+ \HoLogoFont@font{SliTeX}{rm}{%
+ S%
+ \kern-.06em%
+ L%
+ \kern-.18em%
+ \raise.32ex\hbox{\HoLogoFont@font{SliTeX}{sc}{i}}%
+ \HOLOGO@discretionary
+ \kern-.06em%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@SLiTeX@lift}
+% \begin{macrocode}
+\def\HoLogoBkm@SLiTeX@lift#1{SLiTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SLiTeX@lift}
+% \begin{macrocode}
+\def\HoLogoHtml@SLiTeX@lift#1{%
+ \HoLogoCss@SLiTeX@lift
+ \HOLOGO@Span{SLiTeX-lift}{%
+ \HoLogoFont@font{SliTeX}{rm}{%
+ S%
+ \HOLOGO@Span{L}{L}%
+ \HOLOGO@Span{i}{i}%
+ \hologo{TeX}%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@SLiTeX@lift}
+% \begin{macrocode}
+\def\HoLogoCss@SLiTeX@lift{%
+ \Css{%
+ span.HoLogo-SLiTeX-lift span.HoLogo-L{%
+ margin-left:-.06em;%
+ margin-right:-.18em;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-SLiTeX-lift span.HoLogo-i{%
+ position:relative;%
+ top:-.32ex;%
+ margin-right:-.06em;%
+ font-variant:small-caps;%
+ }%
+ }%
+ \global\let\HoLogoCss@SLiTeX@lift\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@SliTeX@simple}
+% \begin{macrocode}
+\def\HoLogo@SliTeX@simple#1{%
+ \HoLogoFont@font{SliTeX}{rm}{%
+ \ltx@mbox{%
+ \HoLogoFont@font{SliTeX}{sc}{Sli}%
+ }%
+ \HOLOGO@discretionary
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@SliTeX@simple}
+% \begin{macrocode}
+\def\HoLogoBkm@SliTeX@simple#1{SliTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SliTeX@simple}
+% \begin{macrocode}
+\let\HoLogoHtml@SliTeX@simple\HoLogo@SliTeX@simple
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@SliTeX@narrow}
+% \begin{macrocode}
+\def\HoLogo@SliTeX@narrow#1{%
+ \HoLogoFont@font{SliTeX}{rm}{%
+ \ltx@mbox{%
+ S%
+ \kern-.06em%
+ \HoLogoFont@font{SliTeX}{sc}{%
+ l%
+ \kern-.035em%
+ i%
+ }%
+ }%
+ \HOLOGO@discretionary
+ \kern-.06em%
+ \hologo{TeX}%
}%
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoBkm@SliTeX@narrow}
+% \begin{macrocode}
+\def\HoLogoBkm@SliTeX@narrow#1{SliTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SliTeX@narrow}
+% \begin{macrocode}
+\def\HoLogoHtml@SliTeX@narrow#1{%
+ \HoLogoCss@SliTeX@narrow
+ \HOLOGO@Span{SliTeX-narrow}{%
+ \HoLogoFont@font{SliTeX}{rm}{%
+ S%
+ \HOLOGO@Span{l}{l}%
+ \HOLOGO@Span{i}{i}%
+ \hologo{TeX}%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@SliTeX@narrow}
+% \begin{macrocode}
+\def\HoLogoCss@SliTeX@narrow{%
+ \Css{%
+ span.HoLogo-SliTeX-narrow span.HoLogo-l{%
+ margin-left:-.06em;%
+ margin-right:-.035em;%
+ font-variant:small-caps;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-SliTeX-narrow span.HoLogo-i{%
+ margin-right:-.06em;%
+ font-variant:small-caps;%
+ }%
+ }%
+ \global\let\HoLogoCss@SliTeX@narrow\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \paragraph{Macro set completion.}
+%
+% \begin{macro}{\HoLogo@SLiTeX@simple}
+% \begin{macrocode}
+\def\HoLogo@SLiTeX@simple{\HoLogo@SliTeX@simple}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@SLiTeX@simple}
+% \begin{macrocode}
+\def\HoLogoBkm@SLiTeX@simple{\HoLogoBkm@SliTeX@simple}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SLiTeX@simple}
+% \begin{macrocode}
+\def\HoLogoHtml@SLiTeX@simple{\HoLogoHtml@SliTeX@simple}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@SLiTeX@narrow}
+% \begin{macrocode}
+\def\HoLogo@SLiTeX@narrow{\HoLogo@SliTeX@narrow}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@SLiTeX@narrow}
+% \begin{macrocode}
+\def\HoLogoBkm@SLiTeX@narrow{\HoLogoBkm@SliTeX@narrow}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SLiTeX@narrow}
+% \begin{macrocode}
+\def\HoLogoHtml@SLiTeX@narrow{\HoLogoHtml@SliTeX@narrow}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@SliTeX@lift}
+% \begin{macrocode}
+\def\HoLogo@SliTeX@lift{\HoLogo@SLiTeX@lift}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@SliTeX@lift}
+% \begin{macrocode}
+\def\HoLogoBkm@SliTeX@lift{\HoLogoBkm@SLiTeX@lift}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SliTeX@lift}
+% \begin{macrocode}
+\def\HoLogoHtml@SliTeX@lift{\HoLogoHtml@SLiTeX@lift}
+% \end{macrocode}
+% \end{macro}
+%
+% \paragraph{Defaults.}
+%
+% \begin{macro}{\HoLogo@SLiTeX}
+% \begin{macrocode}
+\def\HoLogo@SLiTeX{\HoLogo@SLiTeX@lift}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@SLiTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@SLiTeX{\HoLogoBkm@SLiTeX@lift}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SLiTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@SLiTeX{\HoLogoHtml@SLiTeX@lift}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@SliTeX}
+% \begin{macrocode}
+\def\HoLogo@SliTeX{\HoLogo@SliTeX@narrow}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@SliTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@SliTeX{\HoLogoBkm@SliTeX@narrow}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SliTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@SliTeX{\HoLogoHtml@SliTeX@narrow}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{LuaTeX}}
%
@@ -1139,6 +2655,11 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@LuaTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@LuaTeX\HoLogo@LuaTeX
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{LuaLaTeX}}
%
@@ -1152,24 +2673,219 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@LuaLaTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@LuaLaTeX\HoLogo@LuaLaTeX
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{XeTeX}, \hologo{XeLaTeX}}
%
+% \begin{macro}{\HOLOGO@IfCharExists}
+% \begin{macrocode}
+\ifluatex
+ \ifnum\luatexversion<36 %
+ \else
+ \def\HOLOGO@IfCharExists#1{%
+ \ifnum
+ \directlua{%
+ if font and font.fonts and font.current then %
+ local f = font.fonts[font.current()]%
+ if f.characters and f.characters[\number#1] then %
+ tex.print("1")%
+ end %
+ end%
+ }0=\ltx@zero
+ \expandafter\ltx@secondoftwo
+ \else
+ \expandafter\ltx@firstoftwo
+ \fi
+ }%
+ \fi
+\fi
+\ltx@IfUndefined{HOLOGO@IfCharExists}{%
+ \def\HOLOGO@@IfCharExists#1{%
+ \begingroup
+ \tracinglostchars=\ltx@zero
+ \setbox\ltx@zero=\hbox{%
+ \kern7sp\char#1\relax
+ \ifnum\lastkern>\ltx@zero
+ \expandafter\aftergroup\csname iffalse\endcsname
+ \else
+ \expandafter\aftergroup\csname iftrue\endcsname
+ \fi
+ }%
+ % \if{true|false} from \aftergroup
+ \endgroup
+ \expandafter\ltx@firstoftwo
+ \else
+ \endgroup
+ \expandafter\ltx@secondoftwo
+ \fi
+ }%
+ \ifxetex
+ \ltx@IfUndefined{XeTeXfonttype}{}{%
+ \ltx@IfUndefined{XeTeXcharglyph}{}{%
+ \def\HOLOGO@IfCharExists#1{%
+ \ifnum\XeTeXfonttype\font>\ltx@zero
+ \expandafter\ltx@firstofthree
+ \else
+ \expandafter\ltx@gobble
+ \fi
+ {%
+ \ifnum\XeTeXcharglyph#1>\ltx@zero
+ \expandafter\ltx@firstoftwo
+ \else
+ \expandafter\ltx@secondoftwo
+ \fi
+ }%
+ \HOLOGO@@IfCharExists{#1}%
+ }%
+ }%
+ }%
+ \fi
+}{}
+\ltx@ifundefined{HOLOGO@IfCharExists}{%
+ \ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX
+ \let\HOLOGO@IfCharExists\HOLOGO@@IfCharExists
+ \else
+ \def\HOLOGO@IfCharExists#1{%
+ \ifnum#1>255 %
+ \expandafter\ltx@fourthoffour
+ \fi
+ \HOLOGO@@IfCharExists{#1}%
+ }%
+ \fi
+}{}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\HoLogo@Xe}
% Source: package \xpackage{dtklogos}
% \begin{macrocode}
\def\HoLogo@Xe#1{%
X%
\kern-.1em\relax
- \ltx@IfUndefined{HOLOGO@ReflectBox}\ltx@firstoftwo{%
- \ltx@IfUndefined{HOLOGO@ReflectBox@\hologodriver}%
- \ltx@firstoftwo\ltx@secondoftwo
+ \HOLOGO@IfCharExists{"018E}{%
+ \lower.5ex\hbox{\char"018E}%
+ }{%
+ \chardef\HOLOGO@choice=\ltx@zero
+ \ifdim\fontdimen\ltx@one\font>0pt %
+ \ltx@IfUndefined{rotatebox}{%
+ \ltx@IfUndefined{pgftext}{%
+ \ltx@IfUndefined{psscalebox}{%
+ \ltx@IfUndefined{HOLOGO@ScaleBox@\hologoDriver}{%
+ }{%
+ \chardef\HOLOGO@choice=4 %
+ }%
+ }{%
+ \chardef\HOLOGO@choice=3 %
+ }%
+ }{%
+ \chardef\HOLOGO@choice=2 %
+ }%
+ }{%
+ \chardef\HOLOGO@choice=1 %
+ }%
+ \ifcase\HOLOGO@choice
+ \HOLOGO@WarningUnsupportedDriver{Xe}%
+ e%
+ \or % 1: \rotatebox
+ \begingroup
+ \setbox\ltx@zero\hbox{\rotatebox{180}{E}}%
+ \ltx@LocDimenA=\dp\ltx@zero
+ \advance\ltx@LocDimenA by -.5ex\relax
+ \raise\ltx@LocDimenA\box\ltx@zero
+ \endgroup
+ \or % 2: \pgftext
+ \lower.5ex\hbox{%
+ \pgfpicture
+ \pgftext[rotate=180]{E}%
+ \endpgfpicture
+ }%
+ \or % 3: \psscalebox
+ \begingroup
+ \setbox\ltx@zero\hbox{\psscalebox{-1 -1}{E}}%
+ \ltx@LocDimenA=\dp\ltx@zero
+ \advance\ltx@LocDimenA by -.5ex\relax
+ \raise\ltx@LocDimenA\box\ltx@zero
+ \endgroup
+ \or % 4: \HOLOGO@PointReflectBox
+ \lower.5ex\hbox{\HOLOGO@PointReflectBox{E}}%
+ \else
+ \@PackageError{hologo}{Internal error (choice/it}\@ehc
+ \fi
+ \else
+ \ltx@IfUndefined{reflectbox}{%
+ \ltx@IfUndefined{pgftext}{%
+ \ltx@IfUndefined{psscalebox}{%
+ \ltx@IfUndefined{HOLOGO@ScaleBox@\hologoDriver}{%
+ }{%
+ \chardef\HOLOGO@choice=4 %
+ }%
+ }{%
+ \chardef\HOLOGO@choice=3 %
+ }%
+ }{%
+ \chardef\HOLOGO@choice=2 %
+ }%
+ }{%
+ \chardef\HOLOGO@choice=1 %
+ }%
+ \ifcase\HOLOGO@choice
+ \HOLOGO@WarningUnsupportedDriver{Xe}%
+ e%
+ \or % 1: reflectbox
+ \lower.5ex\hbox{%
+ \reflectbox{E}%
+ }%
+ \or % 2: \pgftext
+ \lower.5ex\hbox{%
+ \pgfpicture
+ \pgftransformxscale{-1}%
+ \pgftext{E}%
+ \endpgfpicture
+ }%
+ \or % 3: \psscalebox
+ \lower.5ex\hbox{%
+ \psscalebox{-1 1}{E}%
+ }%
+ \or % 4: \HOLOGO@Reflectbox
+ \lower.5ex\hbox{%
+ \HOLOGO@ReflectBox{E}%
+ }%
+ \else
+ \@PackageError{hologo}{Internal error (choice/up)}\@ehc
+ \fi
+ \fi
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@Xe}
+% \begin{macrocode}
+\def\HoLogoHtml@Xe#1{%
+ \HoLogoCss@Xe
+ \HOLOGO@Span{Xe}{%
+ X%
+ \HOLOGO@Span{e}{%
+ \HCode{&\ltx@hashchar x018e;}%
+ }%
}%
- {e}{%
- \lower.5ex\hbox{%
- \HOLOGO@ReflectBox{E}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@Xe}
+% \begin{macrocode}
+\def\HoLogoCss@Xe{%
+ \Css{%
+ span.HoLogo-Xe span.HoLogo-e{%
+ position:relative;%
+ top:.5ex;%
+ left-margin:-.1em;%
}%
}%
+ \global\let\HoLogoCss@Xe\relax
}
% \end{macrocode}
% \end{macro}
@@ -1184,14 +2900,62 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\HoLogoHtml@XeTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@XeTeX#1{%
+ \HoLogoCss@XeTeX
+ \HOLOGO@Span{XeTeX}{%
+ \hologo{Xe}%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@XeTeX}
+% \begin{macrocode}
+\def\HoLogoCss@XeTeX{%
+ \Css{%
+ span.HoLogo-XeTeX span.HoLogo-TeX{%
+ margin-left:-.15em;%
+ }%
+ }%
+ \global\let\HoLogoCss@XeTeX\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\HoLogo@XeLaTeX}
% \begin{macrocode}
\def\HoLogo@XeLaTeX#1{%
\hologo{Xe}%
+ \kern-.13em%
\hologo{LaTeX}%
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@XeLaTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@XeLaTeX#1{%
+ \HoLogoCss@XeLaTeX
+ \HOLOGO@Span{XeLaTeX}{%
+ \hologo{Xe}%
+ \hologo{LaTeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@XeLaTeX}
+% \begin{macrocode}
+\def\HoLogoCss@XeLaTeX{%
+ \Css{%
+ span.HoLogo-XeLaTeX span.HoLogo-Xe{%
+ margin-right:-.13em;%
+ }%
+ }%
+ \global\let\HoLogoCss@XeLaTeX\relax
+}
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{pdfTeX}, \hologo{pdfLaTeX}}
%
@@ -1204,6 +2968,23 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@pdfTeX}
+% \begin{macrocode}
+\def\HoLogoCs@pdfTeX#1{#1{p}{P}dfTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@pdfTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@pdfTeX#1{%
+ #1{p}{P}df\hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@pdfTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@pdfTeX\HoLogo@pdfTeX
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\HoLogo@pdfLaTeX}
% \begin{macrocode}
@@ -1214,6 +2995,23 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoCs@pdfLaTeX}
+% \begin{macrocode}
+\def\HoLogoCs@pdfLaTeX#1{#1{p}{P}dfLaTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@pdfLaTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@pdfLaTeX#1{%
+ #1{p}{P}df\hologo{LaTeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@pdfLaTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@pdfLaTeX\HoLogo@pdfLaTeX
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{VTeX}}
%
@@ -1226,6 +3024,11 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@VTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@VTeX\HoLogo@VTeX
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{AmS}, \dots}
%
@@ -1234,14 +3037,13 @@ and the derived files
% \begin{macro}{\HoLogo@AmS}
% \begin{macrocode}
\def\HoLogo@AmS#1{%
- \begingroup
- \usefont{OMS}{cmsy}{m}{n}%
+ \HoLogoFont@font{AmS}{sy}{%
A%
\kern-.1667em%
\lower.5ex\hbox{M}%
\kern-.125em%
S%
- \endgroup
+ }%
}
% \end{macrocode}
% \end{macro}
@@ -1250,6 +3052,36 @@ and the derived files
\def\HoLogoBkm@AmS#1{AmS}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@AmS}
+% \begin{macrocode}
+\def\HoLogoHtml@AmS#1{%
+ \HoLogoCss@AmS
+% \HoLogoFont@font{AmS}{sy}{%
+ \HOLOGO@Span{AmS}{%
+ A%
+ \HOLOGO@Span{M}{M}%
+ S%
+ }%
+% }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@AmS}
+% \begin{macrocode}
+\def\HoLogoCss@AmS{%
+ \Css{%
+ span.HoLogo-AmS span.HoLogo-M{%
+ position:relative;%
+ top:.5ex;%
+ margin-left:-.1667em;%
+ margin-right:-.125em;%
+ text-decoration:none;%
+ }%
+ }%
+ \global\let\HoLogoCss@AmS\relax
+}
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\HoLogo@AmSTeX}
% \begin{macrocode}
@@ -1262,7 +3094,12 @@ and the derived files
% \end{macro}
% \begin{macro}{\HoLogoBkm@AmSTeX}
% \begin{macrocode}
-\def\HoLogoBkm@AmSLaTeX#1{AmS-TeX}%
+\def\HoLogoBkm@AmSTeX#1{AmS-TeX}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@AmSTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@AmSTeX\HoLogo@AmSTeX
% \end{macrocode}
% \end{macro}
%
@@ -1280,6 +3117,202 @@ and the derived files
\def\HoLogoBkm@AmSLaTeX#1{AmS-LaTeX}%
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@AmSLaTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@AmSLaTeX\HoLogo@AmSLaTeX
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{BibTeX}}
+%
+% \begin{macro}{\HoLogo@BibTeX@sc}
+% A definition of \hologo{BibTeX} is provided in
+% the documentation source for the manual of \hologo{BibTeX}
+% \cite{btxdoc}.
+%\begin{quote}
+%\begin{verbatim}
+%\def\BibTeX{%
+% {%
+% \rm
+% B%
+% \kern-.05em%
+% {%
+% \sc
+% i%
+% \kern-.025em %
+% b%
+% }%
+% \kern-.08em
+% T%
+% \kern-.1667em%
+% \lower.7ex\hbox{E}%
+% \kern-.125em%
+% X%
+% }%
+%}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\def\HoLogo@BibTeX@sc#1{%
+ B%
+ \kern-.05em%
+ \HoLogoFont@font{BibTeX}{sc}{%
+ i%
+ \kern-.025em%
+ b%
+ }%
+ \HOLOGO@discretionary
+ \kern-.08em%
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@BibTeX@sc}
+% \begin{macrocode}
+\def\HoLogoHtml@BibTeX@sc#1{%
+ \HoLogoCss@BibTeX@sc
+ \HOLOGO@Span{BibTeX-sc}{%
+ B%
+ \HOLOGO@Span{i}{i}%
+ \HOLOGO@Span{b}{b}%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@BibTeX@sc}
+% \begin{macrocode}
+\def\HoLogoCss@BibTeX@sc{%
+ \Css{%
+ span.HoLogo-BibTeX-sc span.HoLogo-i{%
+ margin-left:-.05em;%
+ margin-right:-.025em;%
+ font-variant:small-caps;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-BibTeX-sc span.HoLogo-b{%
+ margin-right:-.08em;%
+ font-variant:small-caps;%
+ }%
+ }%
+ \global\let\HoLogoCss@BibTeX@sc\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@BibTeX@sf}
+% Variant \xoption{sf} avoids trouble with unavailable
+% small caps fonts (e.g., bold versions of Computer Modern or
+% Latin Modern). The definition is taken from
+% package \xpackage{dtklogos} \cite{dtklogos}.
+%\begin{quote}
+%\begin{verbatim}
+%\DeclareRobustCommand{\BibTeX}{%
+% B%
+% \kern-.05em%
+% \hbox{%
+% $\m@th$% %% force math size calculations
+% \csname S@\f@size\endcsname
+% \fontsize\sf@size\z@
+% \math@fontsfalse
+% \selectfont
+% I%
+% \kern-.025em%
+% B
+% }%
+% \kern-.08em%
+% \-%
+% \TeX
+%}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\def\HoLogo@BibTeX@sf#1{%
+ B%
+ \kern-.05em%
+ \HoLogoFont@font{BibTeX}{bibsf}{%
+ I%
+ \kern-.025em%
+ B%
+ }%
+ \HOLOGO@discretionary
+ \kern-.08em%
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@BibTeX@sf}
+% \begin{macrocode}
+\def\HoLogoHtml@BibTeX@sf#1{%
+ \HoLogoCss@BibTeX@sf
+ \HOLOGO@Span{BibTeX-sf}{%
+ B%
+ \HoLogoFont@font{BibTeX}{bibsf}{%
+ \HOLOGO@Span{i}{I}%
+ B%
+ }%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@BibTeX@sf}
+% \begin{macrocode}
+\def\HoLogoCss@BibTeX@sf{%
+ \Css{%
+ span.HoLogo-BibTeX-sf span.HoLogo-i{%
+ margin-left:-.05em;%
+ margin-right:-.025em;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-BibTeX-sf span.HoLogo-TeX{%
+ margin-left:-.08em;%
+ }%
+ }%
+ \global\let\HoLogoCss@BibTeX@sf\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@BibTeX}
+% \begin{macrocode}
+\def\HoLogo@BibTeX{\HoLogo@BibTeX@sf}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@BibTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@BibTeX{\HoLogoHtml@BibTeX@sf}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{BibTeX8}}
+%
+% \begin{macro}{\HoLogo@BibTeX8}
+% \begin{macrocode}
+\expandafter\def\csname HoLogo@BibTeX8\endcsname#1{%
+ \hologo{BibTeX}%
+ 8%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoBkm@BibTeX8}
+% \begin{macrocode}
+\expandafter\def\csname HoLogoBkm@BibTeX8\endcsname#1{%
+ \hologo{BibTeX}%
+ 8%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@BibTeX8}
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogoHtml@BibTeX8\expandafter\endcsname
+\csname HoLogo@BibTeX8\endcsname
+% \end{macrocode}
+% \end{macro}
%
% \subsubsection{\hologo{ConTeXt}}
%
@@ -1292,6 +3325,11 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@ConTeXt@simple}
+% \begin{macrocode}
+\let\HoLogoHtml@ConTeXt@simple\HoLogo@ConTeXt@simple
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\HoLogo@ConTeXt@narrow}
% This definition of logo \hologo{ConTeXt} with variant \xoption{narrow}
@@ -1305,12 +3343,751 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@ConTeXt@narrow}
+% \begin{macrocode}
+\def\HoLogoHtml@ConTeXt@narrow#1{%
+ \HoLogoCss@ConTeXt@narrow
+ \HOLOGO@Span{ConTeXt-narrow}{%
+ \HOLOGO@Span{C}{C}%
+ on%
+ \hologo{TeX}%
+ t%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@ConTeXt@narrow}
+% \begin{macrocode}
+\def\HoLogoCss@ConTeXt@narrow{%
+ \Css{%
+ span.HoLogo-ConTeXt-narrow span.HoLogo-C{%
+ margin-left:-.0333em;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-ConTeXt-narrow span.HoLogo-TeX{%
+ margin-left:-.0667em;%
+ margin-right:-.0333em;%
+ }%
+ }%
+ \global\let\HoLogoCss@ConTeXt@narrow\relax
+}
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\HoLogo@ConTeXt}
% \begin{macrocode}
\def\HoLogo@ConTeXt{\HoLogo@ConTeXt@narrow}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\HoLogoHtml@ConTeXt}
+% \begin{macrocode}
+\def\HoLogoHtml@ConTeXt{\HoLogoHtml@ConTeXt@narrow}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{emTeX}}
+%
+% \begin{macro}{\HoLogo@emTeX}
+% \begin{macrocode}
+\def\HoLogo@emTeX#1{%
+ \HOLOGO@mbox{#1{e}{E}m}%
+ \HOLOGO@discretionary
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCs@emTeX}
+% \begin{macrocode}
+\def\HoLogoCs@emTeX#1{#1{e}{E}mTeX}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@emTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@emTeX#1{%
+ #1{e}{E}m\hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@emTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@emTeX\HoLogo@emTeX
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{ExTeX}}
+%
+% \begin{macro}{\HoLogo@ExTeX}
+% The definition is taken from the FAQ of the
+% project \hologo{ExTeX}
+% \cite{ExTeX-FAQ}.
+%\begin{quote}
+%\begin{verbatim}
+%\def\ExTeX{%
+% \textrm{% Logo always with serifs
+% \ensuremath{%
+% \textstyle
+% \varepsilon_{%
+% \kern-0.15em%
+% \mathcal{X}%
+% }%
+% }%
+% \kern-.15em%
+% \TeX
+% }%
+%}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\def\HoLogo@ExTeX#1{%
+ \HoLogoFont@font{ExTeX}{rm}{%
+ \ltx@mbox{%
+ \HOLOGO@MathSetup
+ $%
+ \textstyle
+ \varepsilon_{%
+ \kern-0.15em%
+ \HoLogoFont@font{ExTeX}{sy}{X}%
+ }%
+ $%
+ }%
+ \HOLOGO@discretionary
+ \kern-.15em%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@ExTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@ExTeX#1{%
+ \HoLogoCss@ExTeX
+ \HoLogoFont@font{ExTeX}{rm}{%
+ \HOLOGO@Span{ExTeX}{%
+ \ltx@mbox{%
+ \HOLOGO@MathSetup
+ $\textstyle\varepsilon$%
+ \HOLOGO@Span{X}{$\textstyle\chi$}%
+ \hologo{TeX}%
+ }%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@ExTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@ExTeX#1{%
+ \HOLOGO@PdfdocUnicode{#1{e}{E}x}{\textepsilon\textchi}%
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@ExTeX}
+% \begin{macrocode}
+\def\HoLogoCss@ExTeX{%
+ \Css{%
+ span.HoLogo-ExTeX{%
+ font-family:serif;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-ExTeX span.HoLogo-TeX{%
+ margin-left:-.15em;%
+ }%
+ }%
+ \global\let\HoLogoCss@ExTeX\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{MiKTeX}}
+%
+% \begin{macro}{\HoLogo@MiKTeX}
+% \begin{macrocode}
+\def\HoLogo@MiKTeX#1{%
+ \HOLOGO@mbox{MiK}%
+ \HOLOGO@discretionary
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@MiKTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@MiKTeX\HoLogo@MiKTeX
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{OzTeX} and friends}
+%
+% Source: \hologo{OzTeX} FAQ \cite{OzTeX}:
+% \begin{quote}
+% |\def\OzTeX{O\kern-.03em z\kern-.15em\TeX}|\\
+% (There is no kerning in OzMF, OzMP and OzTtH.)
+% \end{quote}
+%
+% \begin{macro}{\HoLogo@OzTeX}
+% \begin{macrocode}
+\def\HoLogo@OzTeX#1{%
+ O%
+ \kern-.03em %
+ z%
+ \kern-.15em %
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@OzTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@OzTeX#1{%
+ \HoLogoCss@OzTeX
+ \HOLOGO@Span{OzTeX}{%
+ O%
+ \HOLOGO@Span{z}{z}%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@OzTeX}
+% \begin{macrocode}
+\def\HoLogoCss@OzTeX{%
+ \Css{%
+ span.HoLogo-OzTeX span.HoLogo-z{%
+ margin-left:-.03em;%
+ margin-right:-.15em;%
+ }%
+ }%
+ \global\let\HoLogoCss@OzTeX\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@OzMF}
+% \begin{macrocode}
+\def\HoLogo@OzMF#1{%
+ \HOLOGO@mbox{OzMF}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogo@OzMP}
+% \begin{macrocode}
+\def\HoLogo@OzMP#1{%
+ \HOLOGO@mbox{OzMP}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogo@OzTtH}
+% \begin{macrocode}
+\def\HoLogo@OzTtH#1{%
+ \HOLOGO@mbox{OzTtH}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{PCTeX}}
+%
+% \begin{macro}{\HoLogo@PCTeX}
+% \begin{macrocode}
+\def\HoLogo@PCTeX#1{%
+ \HOLOGO@mbox{PC}%
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@PCTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@PCTeX\HoLogo@PCTeX
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{PiCTeX}}
+%
+% The original definitions from \xfile{pictex.tex} \cite{PiCTeX}:
+%\begin{quote}
+%\begin{verbatim}
+%\def\PiC{%
+% P%
+% \kern-.12em%
+% \lower.5ex\hbox{I}%
+% \kern-.075em%
+% C%
+%}
+%\def\PiCTeX{%
+% \PiC
+% \kern-.11em%
+% \TeX
+%}
+%\end{verbatim}
+%\end{quote}
+%
+% \begin{macro}{\HoLogo@PiC}
+% \begin{macrocode}
+\def\HoLogo@PiC#1{%
+ P%
+ \kern-.12em%
+ \lower.5ex\hbox{I}%
+ \kern-.075em%
+ C%
+ \HOLOGO@SpaceFactor
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@PiC}
+% \begin{macrocode}
+\def\HoLogoHtml@PiC#1{%
+ \HoLogoCss@PiC
+ \HOLOGO@Span{PiC}{%
+ P%
+ \HOLOGO@Span{i}{I}%
+ C%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@PiC}
+% \begin{macrocode}
+\def\HoLogoCss@PiC{%
+ \Css{%
+ span.HoLogo-PiC span.HoLogo-i{%
+ position:relative;%
+ top:.5ex;%
+ margin-left:-.12em;%
+ margin-right:-.075em;%
+ text-decoration:none;%
+ }%
+ }%
+ \global\let\HoLogoCss@PiC\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@PiCTeX}
+% \begin{macrocode}
+\def\HoLogo@PiCTeX#1{%
+ \hologo{PiC}%
+ \HOLOGO@discretionary
+ \kern-.11em%
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@PiCTeX}
+% \begin{macrocode}
+\def\HoLogoHtml@PiCTeX#1{%
+ \HoLogoCss@PiCTeX
+ \HOLOGO@Span{PiCTeX}{%
+ \hologo{PiC}%
+ \hologo{TeX}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@PiCTeX}
+% \begin{macrocode}
+\def\HoLogoCss@PiCTeX{%
+ \Css{%
+ span.HoLogo-PiCTeX span.HoLogo-PiC{%
+ margin-right:-.11em;%
+ }%
+ }%
+ \global\let\HoLogoCss@PiCTeX\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{teTeX}}
+%
+% \begin{macro}{\HoLogo@teTeX}
+% \begin{macrocode}
+\def\HoLogo@teTeX#1{%
+ \HOLOGO@mbox{#1{t}{T}e}%
+ \HOLOGO@discretionary
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCs@teTeX}
+% \begin{macrocode}
+\def\HoLogoCs@teTeX#1{#1{t}{T}dfTeX}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@teTeX}
+% \begin{macrocode}
+\def\HoLogoBkm@teTeX#1{%
+ #1{t}{T}e\hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@teTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@teTeX\HoLogo@teTeX
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{TeX4ht}}
+%
+% \begin{macro}{\HoLogo@TeX4ht}
+% \begin{macrocode}
+\expandafter\def\csname HoLogo@TeX4ht\endcsname#1{%
+ \HOLOGO@mbox{\hologo{TeX}4ht}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@TeX4ht}
+% \begin{macrocode}
+\expandafter
+\let\csname HoLogoHtml@TeX4ht\expandafter\endcsname
+\csname HoLogo@TeX4ht\endcsname
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \subsubsection{\hologo{SageTeX}}
+%
+% \begin{macro}{\HoLogo@SageTeX}
+% \begin{macrocode}
+\def\HoLogo@SageTeX#1{%
+ \HOLOGO@mbox{Sage}%
+ \HOLOGO@discretionary
+ \HOLOGO@NegativeKerning{eT,oT,To}%
+ \hologo{TeX}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@SageTeX}
+% \begin{macrocode}
+\let\HoLogoHtml@SageTeX\HoLogo@SageTeX
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{\hologo{METAFONT} and friends}
+%
+% \begin{macro}{\HoLogo@METAFONT}
+% \begin{macrocode}
+\def\HoLogo@METAFONT#1{%
+ \HoLogoFont@font{METAFONT}{logo}{%
+ \HOLOGO@mbox{META}%
+ \HOLOGO@discretionary
+ \HOLOGO@mbox{FONT}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@METAPOST}
+% \begin{macrocode}
+\def\HoLogo@METAPOST#1{%
+ \HoLogoFont@font{METAPOST}{logo}{%
+ \HOLOGO@mbox{META}%
+ \HOLOGO@discretionary
+ \HOLOGO@mbox{POST}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@MetaFun}
+% \begin{macrocode}
+\def\HoLogo@MetaFun#1{%
+ \HOLOGO@mbox{Meta}%
+ \HOLOGO@discretionary
+ \HOLOGO@mbox{Fun}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogo@MetaPost}
+% \begin{macrocode}
+\def\HoLogo@MetaPost#1{%
+ \HOLOGO@mbox{Meta}%
+ \HOLOGO@discretionary
+ \HOLOGO@mbox{Post}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Others}
+%
+% \subsubsection{\hologo{biber}}
+%
+% \begin{macro}{\HoLogo@biber}
+% \begin{macrocode}
+\def\HoLogo@biber#1{%
+ \HOLOGO@mbox{#1{b}{B}i}%
+ \HOLOGO@discretionary
+ \HOLOGO@mbox{ber}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCs@biber}
+% \begin{macrocode}
+\def\HoLogoCs@biber#1{#1{b}{B}iber}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@biber}
+% \begin{macrocode}
+\def\HoLogoBkm@biber#1{%
+ #1{b}{B}iber%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@biber}
+% \begin{macrocode}
+\let\HoLogoHtml@biber\HoLogo@biber
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{KOMAScript}}
+%
+% \begin{macro}{\HoLogo@KOMAScript}
+% The definition for \hologo{KOMAScript} is taken
+% from \hologo{KOMAScript} (\xfile{scrlogo.dtx}, reformatted) \cite{scrlogo}:
+%\begin{quote}
+%\begin{verbatim}
+%\@ifundefined{KOMAScript}{%
+% \DeclareRobustCommand{\KOMAScript}{%
+% \textsf{%
+% K\kern.05em O\kern.05emM\kern.05em A%
+% \kern.1em-\kern.1em %
+% Script%
+% }%
+% }%
+%}{}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\def\HoLogo@KOMAScript#1{%
+ \HoLogoFont@font{KOMAScript}{sf}{%
+ \HOLOGO@mbox{%
+ K\kern.05em%
+ O\kern.05em%
+ M\kern.05em%
+ A%
+ }%
+ \kern.1em%
+ \HOLOGO@hyphen
+ \kern.1em%
+ \HOLOGO@mbox{Script}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@KOMAScript}
+% \begin{macrocode}
+\def\HoLogoBkm@KOMAScript#1{%
+ KOMA-Script%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@KOMAScript}
+% \begin{macrocode}
+\def\HoLogoHtml@KOMAScript#1{%
+ \HoLogoCss@KOMAScript
+ \HoLogoFont@font{KOMAScript}{sf}{%
+ \HOLOGO@Span{KOMAScript}{%
+ K%
+ \HOLOGO@Span{O}{O}%
+ M%
+ \HOLOGO@Span{A}{A}%
+ \HOLOGO@Span{hyphen}{-}%
+ Script%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@KOMAScript}
+% \begin{macrocode}
+\def\HoLogoCss@KOMAScript{%
+ \Css{%
+ span.HoLogo-KOMAScript{%
+ font-family:sans-serif;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-KOMAScript span.HoLogo-O{%
+ padding-left:.05em;%
+ padding-right:.05em;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-KOMAScript span.HoLogo-A{%
+ padding-left:.05em;%
+ }%
+ }%
+ \Css{%
+ span.HoLogo-KOMAScript span.HoLogo-hyphen{%
+ padding-left:.1em;%
+ padding-right:.1em;%
+ }%
+ }%
+ \global\let\HoLogoCss@KOMAScript\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{LyX}}
+%
+% \begin{macro}{\HoLogo@LyX}
+% The definition is taken from the documentation source files
+% of \hologo{LyX}, \xfile{Intro.lyx} \cite{LyX}:
+%\begin{quote}
+%\begin{verbatim}
+%\def\LyX{%
+% \texorpdfstring{%
+% L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@%
+% }{%
+% LyX%
+% }%
+%}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\def\HoLogo@LyX#1{%
+ L%
+ \kern-.1667em%
+ \lower.25em\hbox{Y}%
+ \kern-.125em%
+ X%
+ \HOLOGO@SpaceFactor
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@LyX}
+% \begin{macrocode}
+\def\HoLogoHtml@LyX#1{%
+ \HoLogoCss@LyX
+ \HOLOGO@Span{LyX}{%
+ L%
+ \HOLOGO@Span{y}{Y}%
+ X%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoCss@LyX}
+% \begin{macrocode}
+\def\HoLogoCss@LyX{%
+ \Css{%
+ span.HoLogo-LyX span.HoLogo-y{%
+ position:relative;%
+ top:.25em;%
+ margin-left:-.1667em;%
+ margin-right:-.125em;%
+ text-decoration:none;%
+ }%
+ }%
+ \global\let\HoLogoCss@LyX\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\hologo{NTS}}
+%
+% \begin{macro}{\HoLogo@NTS}
+% Definition for \hologo{NTS} can be found in
+% package \xpackage{etex\textunderscore man} for the \hologo{eTeX} manual \cite{etexman}
+% and in package \xpackage{dtklogos} \cite{dtklogos}:
+%\begin{quote}
+%\begin{verbatim}
+%\def\NTS{%
+% \leavevmode
+% \hbox{%
+% $%
+% \cal N%
+% \kern-0.35em%
+% \lower0.5ex\hbox{$\cal T$}%
+% \kern-0.2em%
+% S%
+% $%
+% }%
+%}
+%\end{verbatim}
+%\end{quote}
+% \begin{macrocode}
+\def\HoLogo@NTS#1{%
+ \HoLogoFont@font{NTS}{sy}{%
+ N\/%
+ \kern-.35em%
+ \lower.5ex\hbox{T\/}%
+ \kern-.2em%
+ S\/%
+ }%
+ \HOLOGO@SpaceFactor
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\Hologo{TTH} (\hologo{TeX} to HTML translator)}
+%
+% Source: \url{http://hutchinson.belmont.ma.us/tth/}
+% In the HTML source the second `T' is printed as subscript.
+%\begin{quote}
+%\begin{verbatim}
+%T<sub>T</sub>H
+%\end{verbatim}
+%\end{quote}
+% \begin{macro}{\HoLogo@TTH}
+% \begin{macrocode}
+\def\HoLogo@TTH#1{%
+ \ltx@mbox{%
+ T\HOLOGO@SubScript{T}H%
+ }%
+ \HOLOGO@SpaceFactor
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HoLogoHtml@TTH}
+% \begin{macrocode}
+\def\HoLogoHtml@TTH#1{%
+ T\HCode{<sub>}T\HCode{</sub>}H%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\Hologo{HanTheThanh}}
+%
+% Partial source: Package \xpackage{dtklogos}.
+% The double accent is U+1EBF (latin small letter e with circumflex
+% and acute).
+% \begin{macro}{\HoLogo@HanTheThanh}
+% \begin{macrocode}
+\def\HoLogo@HanTheThanh#1{%
+ \ltx@mbox{H\`an}%
+ \HOLOGO@space
+ \ltx@mbox{%
+ Th%
+ \HOLOGO@IfCharExists{"1EBF}{%
+ \char"1EBF\relax
+ }{%
+ \^e\hbox to 0pt{\hss\raise .5ex\hbox{\'{}}}%
+ }%
+ }%
+ \HOLOGO@space
+ \ltx@mbox{Th\`anh}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoBkm@HanTheThanh}
+% \begin{macrocode}
+\def\HoLogoBkm@HanTheThanh#1{%
+ H\`an %
+ Th\HOLOGO@PdfdocUnicode{\^e}{\9036\277} %
+ Th\`anh%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\HoLogoHtml@HanTheThanh}
+% \begin{macrocode}
+\def\HoLogoHtml@HanTheThanh#1{%
+ H\`an %
+ Th\HCode{&\ltx@hashchar x1ebf;} %
+ Th\`anh%
+}
+% \end{macrocode}
+% \end{macro}
%
% \subsection{Driver detection}
%
@@ -1319,181 +4096,284 @@ and the derived files
\InputIfFileExists{hologo.cfg}{}{}%
}{%
\ltx@IfUndefined{pdf@filesize}{%
- \chardef\HOLOGO@temp=15 %
- \def\HOLOGO@CheckRead{%
+ \def\HOLOGO@InputIfExists{%
+ \openin\HOLOGO@temp=hologo.cfg\relax
\ifeof\HOLOGO@temp
+ \closein\HOLOGO@temp
\else
- \ifcase\HOLOGO@temp
- \csname newread\endcsname\HOLOGO@temp
+ \closein\HOLOGO@temp
+ \begingroup
+ \def\x{LaTeX2e}%
+ \expandafter\endgroup
+ \ifx\fmtname\x
+ \input{hologo.cfg}%
\else
- \begingroup
- \count\ltx@cclv=\HOLOGO@temp
- \advance\ltx@cclv by -1 %
- \edef\x{\endgroup
- \chardef\noexpand\HOLOGO@temp=\the\count\ltx@cclv\relax
- }%
- \x
- \expandafter\expandafter\expandafter\HOLOGO@CheckRead
+ \input hologo.cfg\relax
\fi
\fi
}%
- \ifeof\HOLOGO@temp
- \@PackageWarningNoLine{hologo}{%
- Configuration file ignored, because\MessageBreak
- a free read register could not be found%
+ \ltx@IfUndefined{newread}{%
+ \chardef\HOLOGO@temp=15 %
+ \def\HOLOGO@CheckRead{%
+ \ifeof\HOLOGO@temp
+ \HOLOGO@InputIfExists
+ \else
+ \ifcase\HOLOGO@temp
+ \@PackageWarningNoLine{hologo}{%
+ Configuration file ignored, because\MessageBreak
+ a free read register could not be found%
+ }%
+ \else
+ \begingroup
+ \count\ltx@cclv=\HOLOGO@temp
+ \advance\ltx@cclv by \ltx@minusone
+ \edef\x{\endgroup
+ \chardef\noexpand\HOLOGO@temp=\the\count\ltx@cclv
+ \relax
+ }%
+ \x
+ \fi
+ \fi
}%
- \else
- \openin\HOLOGO@temp=hologo.cfg\relax
- \ifeof\HOLOGO@temp
- \closein\HOLOGO@temp
- \else
- \closein\HOLOGO@temp
- \input hologo.cfg\relax
- \fi
- \fi
+ }{%
+ \csname newread\endcsname\HOLOGO@temp
+ \HOLOGO@InputIfExists
+ }%
}{%
\edef\HOLOGO@temp{\pdf@filesize{hologo.cfg}}%
\ifx\HOLOGO@temp\ltx@empty
\else
- \input hologo.cfg\relax
+ \ifnum\HOLOGO@temp>0 %
+ \begingroup
+ \def\x{LaTeX2e}%
+ \expandafter\endgroup
+ \ifx\fmtname\x
+ \input{hologo.cfg}%
+ \else
+ \input hologo.cfg\relax
+ \fi
+ \else
+ \@PackageInfoNoLine{hologo}{%
+ Empty configuration file `hologo.cfg' ignored%
+ }%
+ \fi
\fi
}%
}
% \end{macrocode}
%
% \begin{macrocode}
-\ltx@IfUndefined{DeclareOption}{%
- \ltx@gobble
-}{%
- \ltx@IfUndefined{ProcessOptions}\ltx@gobble\ltx@firstofone
-}%
-{%
- \def\HOLOGO@temp#1#2{%
- \DeclareOption{#1}{\edef\hologodriver{#2}}%
- }%
- \kv@parse@normalized{%
- pdftex,%
- luatex=pdftex,%
- dvipdfm,%
- dvipdfmx=dvipdfm,%
- dvips,%
- dvipsone=dvips,%
- xdvi=dvips,%
- xetex,%
- vtex,%
- }{%
- \ifx\kv@value\relax
- \expandafter\HOLOGO@temp\expandafter{\kv@key}\kv@key
- \else
- \expandafter\HOLOGO@temp\expandafter{\kv@key}\kv@value
- \fi
- \ltx@gobbletwo
+\def\HOLOGO@temp#1#2{%
+ \kv@define@key{HoLogoDriver}{#1}[]{%
+ \begingroup
+ \def\HOLOGO@temp{##1}%
+ \ltx@onelevel@sanitize\HOLOGO@temp
+ \ifx\HOLOGO@temp\ltx@empty
+ \else
+ \@PackageError{hologo}{%
+ Value (\HOLOGO@temp) not permitted for option `#1'%
+ }%
+ \@ehc
+ \fi
+ \endgroup
+ \def\hologoDriver{#2}%
}%
- \ProcessOptions*%
+}%
+\def\HOLOGO@@temp#1#2{%
+ \ifx\kv@value\relax
+ \HOLOGO@temp{#1}{#1}%
+ \else
+ \HOLOGO@temp{#1}{#2}%
+ \fi
+}%
+\kv@parse@normalized{%
+ pdftex,%
+ luatex=pdftex,%
+ dvipdfm,%
+ dvipdfmx=dvipdfm,%
+ dvips,%
+ dvipsone=dvips,%
+ xdvi=dvips,%
+ xetex,%
+ vtex,%
+}\HOLOGO@@temp
+% \end{macrocode}
+%
+% \begin{macrocode}
+\kv@define@key{HoLogoDriver}{driverfallback}{%
+ \def\HOLOGO@DriverFallback{#1}%
+}
+% \end{macrocode}
+%
+% \begin{macro}{\HOLOGO@DriverFallback}
+% \begin{macrocode}
+\def\HOLOGO@DriverFallback{dvips}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\hologoDriverSetup}
+% \begin{macrocode}
+\def\hologoDriverSetup{%
+ \let\hologoDriver\ltx@undefined
+ \HOLOGO@DriverSetup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\HOLOGO@DriverSetup}
+% \begin{macrocode}
+\def\HOLOGO@DriverSetup#1{%
+ \kvsetkeys{HoLogoDriver}{#1}%
+ \HOLOGO@CheckDriver
+ \ltx@ifundefined{hologoDriver}{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\kvsetkeys{HoLogoDriver}{\HOLOGO@DriverFallback}%
+ }\x
+ }{}%
+ \@PackageInfoNoLine{hologo}{Using driver `\hologoDriver'}%
}
% \end{macrocode}
+% \end{macro}
%
-% \begin{macro}{\hologodriver}
+% \begin{macro}{\HOLOGO@CheckDriver}
% \begin{macrocode}
-\ifpdf
- \def\hologodriver{pdftex}%
- \let\HOLOGO@pdfliteral\pdfliteral
- \ifluatex
+\def\HOLOGO@CheckDriver{%
+ \ifpdf
+ \def\hologoDriver{pdftex}%
+ \let\HOLOGO@pdfliteral\pdfliteral
+ \ifluatex
+ \ltx@IfUndefined{HOLOGO@pdfliteral}{%
+ \ifnum\luatexversion<36 %
+ \else
+ \begingroup
+ \let\HOLOGO@temp\endgroup
+ \ifcase0%
+ \directlua{%
+ if tex.enableprimitives then %
+ tex.enableprimitives('HOLOGO@', {'pdfliteral'})%
+ else %
+ tex.print('1')%
+ end%
+ }%
+ \ifx\HOLOGO@pdfliteral\@undefined 1\fi%
+ \relax%
+ \endgroup
+ \let\HOLOGO@temp\relax
+ \global\let\HOLOGO@pdfliteral\HOLOGO@pdfliteral
+ \fi%
+ \HOLOGO@temp
+ \fi
+ }{}%
+ \fi
\ltx@IfUndefined{HOLOGO@pdfliteral}{%
- \ifnum\luatexversion<36 %
- \else
- \begingroup
- \let\HOLOGO@temp\endgroup
- \ifcase0%
- \directlua{%
- if tex.enableprimitives then %
- tex.enableprimitives('HOLOGO@', {'pdfliteral'})%
- else %
- tex.print('1')%
- end%
- }%
- \ifx\HOLOGO@pdfliteral\@undefined 1\fi%
- \relax%
- \endgroup
- \let\HOLOGO@temp\relax
- \global\let\HOLOGO@pdfliteral\HOLOGO@pdfliteral
- \fi%
- \HOLOGO@temp
- \fi
+ \@PackageWarningNoLine{hologo}{%
+ Cannot find \string\pdfliteral
+ }%
}{}%
- \fi
- \ltx@IfUndefined{HOLOGO@pdfliteral}{%
- \@PackageWarningNoLine{hologo}{%
- Cannot find \string\pdfliteral
- }%
- }{}%
-\else
- \ifxetex
- \def\hologodriver{xetex}%
\else
- \ifvtex
- \def\hologodriver{vtex}%
+ \ifxetex
+ \def\hologoDriver{xetex}%
+ \else
+ \ifvtex
+ \def\hologoDriver{vtex}%
+ \fi
\fi
\fi
-\fi
+}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\HOLOGO@ReflectBox}
+%
+% \begin{macro}{\HOLOGO@WarningUnsupportedDriver}
+% \begin{macrocode}
+\def\HOLOGO@WarningUnsupportedDriver#1{%
+ \@PackageWarningNoLine{hologo}{%
+ Logo `#1' needs driver specific macros,\MessageBreak
+ but driver `\hologoDriver' is not supported.\MessageBreak
+ Use a different driver or\MessageBreak
+ load package `graphics' or `pgf'%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Reflect box macros}
+%
+% Skip driver part if not needed.
% \begin{macrocode}
\ltx@IfUndefined{reflectbox}{}{%
- \def\HOLOGO@ReflectBox{%
- \reflectbox
+ \ltx@IfUndefined{rotatebox}{}{%
+ \HOLOGO@AtEnd
}%
+}
+\ltx@IfUndefined{pgftext}{}{%
+ \HOLOGO@AtEnd
+}
+\ltx@IfUndefined{psscalebox}{}{%
\HOLOGO@AtEnd
-}%
-\ltx@ifundefined{hologodriver}{%
- \def\hologodriver{dvips}%
- \@PackageInfoNoLine{hologo}{Using default driver `\hologodriver'}%
-}{%
- \@PackageInfoNoLine{hologo}{Using driver `\hologodriver'}%
}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\HOLOGO@temp{LaTeX2e}
+\ifx\fmtname\HOLOGO@temp
+ \RequirePackage{kvoptions}[2011/06/30]%
+ \ProcessKeyvalOptions{HoLogoDriver}%
+\fi
+\HOLOGO@DriverSetup{}
+% \end{macrocode}
+%
+% \begin{macro}{\HOLOGO@ReflectBox}
+% \begin{macrocode}
\def\HOLOGO@ReflectBox#1{%
- \ltx@IfUndefined{HOLOGO@ReflectBox@\hologodriver}{%
- \@PackageWarning{hologo}{%
- Driver `\hologodriver' misses support for \string\reflectbox
- }%
- #1%
- }{%
- \begingroup
- \setbox\ltx@zero\hbox{\begingroup#1\endgroup}%
- \setbox\ltx@two\hbox{%
- \kern\wd\ltx@zero
- \csname HOLOGO@ReflectBox@\hologodriver\endcsname{%
- \hbox to 0pt{\copy\z@\hss}%
- }%
+ \begingroup
+ \setbox\ltx@zero\hbox{\begingroup#1\endgroup}%
+ \setbox\ltx@two\hbox{%
+ \kern\wd\ltx@zero
+ \csname HOLOGO@ScaleBox@\hologoDriver\endcsname{-1}{1}{%
+ \hbox to 0pt{\copy\ltx@zero\hss}%
}%
- \wd\ltx@two=\wd\ltx@zero
- \box\ltx@two
- \endgroup
- }%
+ }%
+ \wd\ltx@two=\wd\ltx@zero
+ \box\ltx@two
+ \endgroup
}
% \end{macrocode}
% \end{macro}
+%
+% \begin{macro}{\HOLOGO@PointReflectBox}
% \begin{macrocode}
-\def\HOLOGO@temp#1{%
+\def\HOLOGO@PointReflectBox#1{%
\begingroup
- \def\x{#1}%
- \expandafter\endgroup
- \ifx\x\hologodriver
- \expandafter\ltx@firstofone
- \else
- \expandafter\ltx@gobble
- \fi
+ \setbox\ltx@zero\hbox{\begingroup#1\endgroup}%
+ \setbox\ltx@two\hbox{%
+ \kern\wd\ltx@zero
+ \raise\ht\ltx@zero\hbox{%
+ \csname HOLOGO@ScaleBox@\hologoDriver\endcsname{-1}{-1}{%
+ \hbox to 0pt{\copy\ltx@zero\hss}%
+ }%
+ }%
+ }%
+ \wd\ltx@two=\wd\ltx@zero
+ \box\ltx@two
+ \endgroup
}
% \end{macrocode}
-% \begin{macro}{\HOLOGO@ReflectBox@pdftex}
+% \end{macro}
+%
+% We must define all variants because of dynamic driver setup.
+% \begin{macrocode}
+\def\HOLOGO@temp#1#2{#2}
+% \end{macrocode}
+%
+% \begin{macro}{\HOLOGO@ScaleBox@pdftex}
% \begin{macrocode}
\HOLOGO@temp{pdftex}{%
- \def\HOLOGO@ReflectBox@pdftex#1{%
+ \def\HOLOGO@ScaleBox@pdftex#1#2#3{%
\HOLOGO@pdfliteral{%
- q -1 0 0 1 0 0 cm%
+ q #1 0 0 #2 0 0 cm%
}%
- #1%
+ #3%
\HOLOGO@pdfliteral{%
Q%
}%
@@ -1501,18 +4381,18 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\HOLOGO@ReflectBox@dvips}
+% \begin{macro}{\HOLOGO@ScaleBox@dvips}
% \begin{macrocode}
\HOLOGO@temp{dvips}{%
- \def\HOLOGO@ReflectBox@dvips#1{%
+ \def\HOLOGO@ScaleBox@dvips#1#2#3{%
\special{ps:%
gsave %
currentpoint %
currentpoint translate %
- -1 1 scale %
+ #1 #2 scale %
neg exch neg exch translate%
}%
- #1%
+ #3%
\special{ps:%
currentpoint %
grestore %
@@ -1522,32 +4402,32 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\HOLOGO@ReflectBox@dvipdfm}
+% \begin{macro}{\HOLOGO@ScaleBox@dvipdfm}
% \begin{macrocode}
\HOLOGO@temp{dvipdfm}{%
- \let\HOLOGO@ReflectBox@dvipdfm\HOLOGO@ReflectBox@dvips
+ \let\HOLOGO@ScaleBox@dvipdfm\HOLOGO@ScaleBox@dvips
}
% \end{macrocode}
% \end{macro}
% Since \hologo{XeTeX} v0.6.
-% \begin{macro}{\HOLOGO@ReflectBox@xetex}
+% \begin{macro}{\HOLOGO@ScaleBox@xetex}
% \begin{macrocode}
\HOLOGO@temp{xetex}{%
- \def\HOLOGO@ReflectBox@xetex#1{%
+ \def\HOLOGO@ScaleBox@xetex#1#2#3{%
\special{x:gsave}%
- \special{x:scale -1 1}%
- #1%
+ \special{x:scale #1 #2}%
+ #3%
\special{x:grestore}%
}%
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\HOLOGO@ReflectBox@vtex}
+% \begin{macro}{\HOLOGO@ScaleBox@vtex}
% \begin{macrocode}
\HOLOGO@temp{vtex}{%
- \def\HOLOGO@ReflectBox@vtex#1{%
- \special{r(-1,0,0,1,0,0}%
- #1%
+ \def\HOLOGO@ScaleBox@vtex#1#2#3{%
+ \special{r(#1,0,0,#2,0,0}%
+ #3%
\special{r)}%
}%
}
@@ -1680,7 +4560,7 @@ and the derived files
%<*test-spacefactor>
\NeedsTeXFormat{LaTeX2e}
\documentclass{article}
-\usepackage{hologo}[2011/04/21]
+\usepackage{hologo}[2012/04/26]
\usepackage{kvsetkeys}
\usepackage{qstest}
\IncludeTests{*}
@@ -1694,28 +4574,23 @@ and the derived files
}%
}%
\makeatletter
-\kv@parse@normalized{%
- AmSLaTeX,%
- AmSTeX,%
- eTeX,%
- iniTeX,%
- LaTeX,%
- LaTeX2e,%
- LaTeX3,%
- LaTeXe,%
- LuaLaTeX,%
- LuaTeX,%
- pdfTeX,%
- pdfLaTeX,%
- plainTeX=,%
- plainTeX={variant=space},%
- plainTeX={variant=hyphen},%
- plainTeX={variant=runtogether},%
- TeX,%
- virTeX,%
- VTeX,%
- XeLaTeX,%
- XeTeX,%
+\def\TestList{}
+\def\hologoEntry#1#2#3{%
+ \edef\TestList{%
+ \ifx\TestList\@empty
+ \else
+ \TestList,%
+ \fi
+ #1%
+ \ifx\\#2\\%
+ \else
+ ={variant=#2}%
+ \fi
+ }%
+}
+\hologoList
+\expandafter\kv@parse@normalized\expandafter{%
+ \TestList
}{%
\begingroup
\let\@logo=\kv@key
@@ -1734,6 +4609,78 @@ and the derived files
%</test-spacefactor>
% \end{macrocode}
%
+% \subsection{Complete list}
+%
+% \begin{macrocode}
+%<*test-list>
+\NeedsTeXFormat{LaTeX2e}
+\documentclass[12pt,a4paper]{article}
+\usepackage{hologo}[2012/04/26]
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage{parskip}
+\usepackage[unicode]{hyperref}[2011/09/28]
+\usepackage{bookmark}[2011/09/19]
+\bookmarksetup{%
+ numbered,%
+ open,%
+ openlevel=2,%
+}
+\renewcommand*{\contentsname}{List of logos}
+\begin{document}
+\tableofcontents
+\def\TestFont#1#2#3#4#5#6{%
+ \begingroup
+ \usefont{#3}{#4}{#5}{#6}%
+ \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2}%
+ \quad
+ \begingroup\scriptsize\hologoVariant{#1}{#2}\endgroup
+ \quad
+ \endgroup
+ (#3/#4/#5/#6)%
+ \par
+}
+\makeatletter
+\def\hologoEntry#1#2#3{%
+ \section{%
+ \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2} %
+ {[#1\ifx\\#2\\\else\space(#2)\fi]}% hash-ok
+ }% braces around [] because of bug in tex4ht
+ \begingroup
+ \hypersetup{unicode=false}%
+ \bookmark[%
+ dest=\@currentHref,%
+ rellevel=1,%
+ keeplevel,%
+ ]{%
+ \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2} %
+ (PDFDocEncoding)%
+ }%
+ \endgroup
+ \TestFont{#1}{#2}{OT1}{cmr}{m}{n}%
+ \TestFont{#1}{#2}{OT1}{cmss}{m}{n}%
+ \TestFont{#1}{#2}{OT1}{cmr}{b}{n}%
+ \TestFont{#1}{#2}{OT1}{cmr}{m}{it}%
+ \TestFont{#1}{#2}{OT1}{cmtt}{m}{n}%
+ \TestFont{#1}{#2}{T1}{lmr}{m}{n}%
+ \TestFont{#1}{#2}{T1}{lmss}{m}{n}%
+ \TestFont{#1}{#2}{T1}{lmr}{b}{n}%
+ \TestFont{#1}{#2}{T1}{lmr}{m}{it}%
+ \TestFont{#1}{#2}{T1}{lmtt}{m}{n}%
+ \TestFont{#1}{#2}{T1}{lmvtt}{m}{n}%
+ \TestFont{#1}{#2}{T1}{qtm}{m}{n}%
+ \TestFont{#1}{#2}{T1}{qhv}{m}{n}%
+ \TestFont{#1}{#2}{T1}{qtm}{b}{n}%
+ \TestFont{#1}{#2}{T1}{qtm}{m}{it}%
+ \TestFont{#1}{#2}{T1}{qcr}{m}{n}%
+ \newpage
+}
+\makeatother
+\hologoList
+\end{document}
+%</test-list>
+% \end{macrocode}
+%
% \section{Installation}
%
% \subsection{Download}
@@ -1795,8 +4742,10 @@ and the derived files
% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
% hologo.sty & tex/generic/oberdiek/hologo.sty\\
% hologo.pdf & doc/latex/oberdiek/hologo.pdf\\
+% example/hologo-example.tex & doc/latex/oberdiek/example/hologo-example.tex\\
% test/hologo-test1.tex & doc/latex/oberdiek/test/hologo-test1.tex\\
% test/hologo-test-spacefactor.tex & doc/latex/oberdiek/test/hologo-test-spacefactor.tex\\
+% test/hologo-test-list.tex & doc/latex/oberdiek/test/hologo-test-list.tex\\
% hologo.dtx & source/latex/oberdiek/hologo.dtx\\
% \end{tabular}^^A
% }^^A
@@ -1917,6 +4866,104 @@ and the derived files
%\end{verbatim}
% \end{quote}
%
+% \section{Catalogue}
+%
+% The following XML file can be used as source for the
+% \href{http://mirror.ctan.org/help/Catalogue/catalogue.html}{\TeX\ Catalogue}.
+% The elements \texttt{caption} and \texttt{description} are imported
+% from the original XML file from the Catalogue.
+% The name of the XML file in the Catalogue is \xfile{hologo.xml}.
+% \begin{macrocode}
+%<*catalogue>
+<?xml version='1.0' encoding='us-ascii'?>
+<!DOCTYPE entry SYSTEM 'catalogue.dtd'>
+<entry datestamp='$Date$' modifier='$Author$' id='hologo'>
+ <name>hologo</name>
+ <caption>A collection of logos with bookmark support.</caption>
+ <authorref id='auth:oberdiek'/>
+ <copyright owner='Heiko Oberdiek' year='2010-2012'/>
+ <license type='lppl1.3'/>
+ <version number='1.10'/>
+ <description>
+ The package defines a single command <tt>\hologo</tt>, whose
+ argument is the usual case-confused ASCII version of the logo.
+ The command is bookmark-enabled, so that every logo becomes
+ available in bookmarks without further work.
+ <p/>
+ The package is part of the <xref refid='oberdiek'>oberdiek</xref>
+ bundle.
+ </description>
+ <documentation details='Package documentation'
+ href='ctan:/macros/latex/contrib/oberdiek/hologo.pdf'/>
+ <ctan file='true' path='/macros/latex/contrib/oberdiek/hologo.dtx'/>
+ <miktex location='oberdiek'/>
+ <texlive location='oberdiek'/>
+ <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/>
+</entry>
+%</catalogue>
+% \end{macrocode}
+%
+% \begin{thebibliography}{9}
+% \raggedright
+%
+% \bibitem{btxdoc}
+% Oren Patashnik,
+% \textit{\hologo{BibTeX}ing},
+% 1988-02-08.\\
+% \CTAN{biblio/bibtex/base/}
+%
+% \bibitem{dtklogos}
+% Gerd Neugebauer, DANTE,
+% \textit{Package \xpackage{dtklogos}},
+% 2011-04-25.\\
+% \CTAN{usergrps/dante/dtk/dtklogos.sty}
+%
+% \bibitem{etexman}
+% The \hologo{NTS} Team,
+% \textit{The \hologo{eTeX} manual},
+% 1998-02.\\
+% \CTAN{systems/e-tex/v2/doc/}
+%
+% \bibitem{ExTeX-FAQ}
+% The \hologo{ExTeX} group,
+% \textit{\hologo{ExTeX}: FAQ -- How is \hologo{ExTeX} typeset?},
+% 2007-04-14.\\
+% \url{http://www.extex.org/documentation/faq.html}
+%
+% \bibitem{LyX}
+% %@MISC{ LyX,
+% % title = {{LyX 2.0.0 -- The Document Processor [Computer software and manual]}},
+% % author = {{The LyX Team}},
+% % howpublished = {Internet: http://www.lyx.org},
+% % year = {2011-05-08},
+% % note = {Retrieved May 10, 2011, from http://www.lyx.org},
+% % url = {http://www.lyx.org/}
+% %}
+% The \hologo{LyX} Team,
+% \textit{\hologo{LyX} -- The Document Processor},
+% 2011-05-08.\\
+% \url{http://www.lyx.org/}
+%
+% \bibitem{OzTeX}
+% Andrew Trevorrow,
+% \hologo{OzTeX} FAQ: What is the correct way to typeset ``\hologo{OzTeX}''?,
+% 2011-09-15 (visited).
+% \url{http://www.trevorrow.com/oztex/ozfaq.html#oztex-logo}
+%
+% \bibitem{PiCTeX}
+% Michael Wichura,
+% \textit{The \hologo{PiCTeX} macro package},
+% 1987-09-21.
+% \CTAN{graphics/pictex/}
+%
+% \bibitem{scrlogo}
+% Markus Kohm,
+% \textit{\hologo{KOMAScript} Datei \xfile{scrlogo.dtx}},
+% 2009-01-30.\\
+% \CTAN{install/macros/latex/contrib/komascript.tds.zip}
+%
+% \end{thebibliography}
+%
% \begin{History}
% \begin{Version}{2010/04/08 v1.0}
% \item
@@ -1954,6 +5001,80 @@ and the derived files
% \item
% Wrong TDS directory for test files fixed.
% \end{Version}
+% \begin{Version}{2011/10/01 v1.6}
+% \item
+% Support for package \xpackage{tex4ht} added.
+% \item
+% Support for \cs{csname} added if \cs{ifincsname} is available.
+% \item
+% New logos:
+% \hologo{(La)TeX},
+% \hologo{biber},
+% \hologo{BibTeX} (\xoption{sc}, \xoption{sf}),
+% \hologo{emTeX},
+% \hologo{ExTeX},
+% \hologo{KOMAScript},
+% \hologo{La},
+% \hologo{LyX},
+% \hologo{MiKTeX},
+% \hologo{NTS},
+% \hologo{OzMF},
+% \hologo{OzMP},
+% \hologo{OzTeX},
+% \hologo{OzTtH},
+% \hologo{PCTeX},
+% \hologo{PiC},
+% \hologo{PiCTeX},
+% \hologo{METAFONT},
+% \hologo{MetaFun},
+% \hologo{METAPOST},
+% \hologo{MetaPost},
+% \hologo{SLiTeX} (\xoption{lift}, \xoption{narrow}, \xoption{simple}),
+% \hologo{SliTeX} (\xoption{narrow}, \xoption{simple}, \xoption{lift}),
+% \hologo{teTeX}.
+% \item
+% Fixes:
+% \hologo{iniTeX},
+% \hologo{pdfLaTeX},
+% \hologo{pdfTeX},
+% \hologo{virTeX}.
+% \item
+% \cs{hologoFontSetup} and \cs{hologoLogoFontSetup} added.
+% \item
+% \cs{hologoVariant} and \cs{HologoVariant} added.
+% \end{Version}
+% \begin{Version}{2011/11/22 v1.7}
+% \item
+% New logos:
+% \hologo{BibTeX8},
+% \hologo{LaTeXML},
+% \hologo{SageTeX},
+% \hologo{TeX4ht},
+% \hologo{TTH}.
+% \item
+% \hologo{Xe} and friends: Driver stuff fixed.
+% \item
+% \hologo{Xe} and friends: Support for italic added.
+% \item
+% \hologo{Xe} and friends: Package support for \xpackage{pgf}
+% and \xpackage{pstricks} added.
+% \end{Version}
+% \begin{Version}{2011/11/29 v1.8}
+% \item
+% New logos:
+% \hologo{HanTheThanh}.
+% \end{Version}
+% \begin{Version}{2011/12/21 v1.9}
+% \item
+% Patch for package \xpackage{ifxetex} added for the case that
+% \cs{newif} is undefined in \hologo{iniTeX}.
+% \item
+% Some fixes for \hologo{iniTeX}.
+% \end{Version}
+% \begin{Version}{2012/04/26 v1.10}
+% \item
+% Fix in bookmark version of logo ``\hologo{HanTheThanh}''.
+% \end{Version}
% \end{History}
%
% \PrintIndex