diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/iflang.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/iflang.dtx | 73 |
1 files changed, 56 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/iflang.dtx b/Master/texmf-dist/source/latex/oberdiek/iflang.dtx index e85ec0ac09f..ded9efc8fd8 100644 --- a/Master/texmf-dist/source/latex/oberdiek/iflang.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/iflang.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: iflang.dtx % Version: 2007/11/11 v1.5 -% +% Info: Checks for the current language +% % Copyright (C) 2007 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,24 +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 iflang.dtx % and the derived files % iflang.sty, iflang.pdf, iflang.ins, iflang.drv, iflang-test1.tex, % iflang-test2.tex, iflang-test3.tex, iflang-test4.tex, % iflang-test5.tex. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/iflang.dtx % CTAN:macros/latex/contrib/oberdiek/iflang.pdf -% +% % Unpacking: % (a) If iflang.ins is present: % tex iflang.ins @@ -41,7 +42,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{iflang.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If iflang.drv is present: % latex iflang.drv @@ -51,14 +52,14 @@ % 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 iflang.dtx % makeindex -s gind.ist iflang.idx % pdflatex iflang.dtx % makeindex -s gind.ist iflang.idx % pdflatex iflang.dtx -% +% % Installation: % TDS:tex/generic/oberdiek/iflang.sty % TDS:doc/latex/oberdiek/iflang.pdf @@ -84,7 +85,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: iflang 2007/11/11 v1.5 Language checks (HO)} +\Msg{* Package: iflang 2007/11/11 v1.5 Checks for the current language (HO)} \Msg{************************************************************************} \keepsilent @@ -138,6 +139,10 @@ and the derived files \file{iflang-test3.tex}{\from{iflang.dtx}{test3}}% \file{iflang-test4.tex}{\from{iflang.dtx}{test4}}% \file{iflang-test5.tex}{\from{iflang.dtx}{test5}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{iflang.xml}{\from{iflang.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -164,16 +169,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{iflang.drv}% - [2007/11/11 v1.5 Language checks (HO)]% + [2007/11/11 v1.5 Checks for the current language (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{iflang.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{909} +% \CheckSum{910} % % \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 @@ -359,7 +364,7 @@ and the derived files \fi \expandafter\x\csname ver@iflang.sty\endcsname \ProvidesPackage{iflang}% - [2007/11/11 v1.5 Language checks (HO)]% + [2007/11/11 v1.5 Checks for the current language (HO)]% % \end{macrocode} % % \begin{macrocode} @@ -1162,6 +1167,40 @@ 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{iflang.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='iflang'> + <name>iflang</name> + <caption>Expandable checks for the current language.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2007'/> + <license type='lppl1.3'/> + <version number='1.5'/> + <description> + This package provides expandable checks for the current language + based on macro <tt>\languagename</tt> or hyphenation patterns. + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/iflang.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/iflang.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \section{Acknowledgement} % I wish to thank: % \begin{description} |