summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-26 17:52:39 +0000
committerKarl Berry <karl@freefriends.org>2007-09-26 17:52:39 +0000
commite681b05dbd6ec04a81ce0d7eb73de747c1a3113e (patch)
tree9ee3f712c9e50deeaee4e5e94e3830fee7659bf0 /Master/texmf-dist/source/latex
parentb45d823ca9c18d015c08f5f596f9ba7ea91a72e6 (diff)
alnumsec 0.03 (25sep07)
git-svn-id: svn://tug.org/texlive/trunk@5049 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/alnumsec/alnumsec.dtx99
-rw-r--r--Master/texmf-dist/source/latex/alnumsec/alnumsec.ins21
2 files changed, 81 insertions, 39 deletions
diff --git a/Master/texmf-dist/source/latex/alnumsec/alnumsec.dtx b/Master/texmf-dist/source/latex/alnumsec/alnumsec.dtx
index 84d2d7f6f97..6770b0d06eb 100644
--- a/Master/texmf-dist/source/latex/alnumsec/alnumsec.dtx
+++ b/Master/texmf-dist/source/latex/alnumsec/alnumsec.dtx
@@ -1,22 +1,30 @@
-% \CheckSum{490}
+% \CheckSum{489}
% \iffalse meta-comment
-% ======================================================================
-% alnumsec.dtx
-% Copyright (C) 2003 Frank Küster
-%
-% This file can be redistributed and/or modified under the terms
-% of the LaTeX Project Public Licence Version 1.0. See:
-% http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt
-% ----------------------------------------------------------------------
-% alnumsec.dtx
-% Copyright (C) 2003, 2005
-%
-% Diese Datei kann nach den Regeln der LaTeX Project Public
-% Licence Version 1.0 weiterverbreitet und/oder modifiziert
-% werden.
-%
-% ======================================================================
+%
+% This is file `alnumsec.dtx'.
+%
+% Copyright (C) 2003-2007 Frank Küster (frank@kuesterei.ch)
+%
+% --------------------------------------------------------------------------
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2003/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% This Current Maintainer of this work is Frank Küster.
+%
+% This work consists of the files README, alnumsec.ins, alnumsec.dtx,
+% and the derived file alnumsec.sty.
+%
+% \fi
%
+% \iffalse
% \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
% Lower-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
@@ -33,6 +41,7 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
% \fi
+%
% \iffalse
%<*dtx>
\ProvidesFile{alnumsec.dtx}
@@ -40,11 +49,12 @@
%\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%<driver>\ProvidesFile{alnumsec.drv}
%<alnumsec>\ProvidesPackage{alnumsec}
- [2005/02/16 v0.02 alphanumeric section numbers with
+ [2007/07/27 v0.03 alphanumeric section numbers with
ordinary sectioning commands]
%<*driver>
-\documentclass{article}
-\usepackage{doc}
+\documentclass{ltxdoc}
+\usepackage{hypdoc}
+\hypersetup{pdfkeywords={LaTeX,package,alnumsec},pdfstartview={}}
\EnableCrossrefs
\DoNotIndex{\@addtoreset,\@arabic,\@gobble,\@Alph,\@alph}
\DoNotIndex{\@ctrerr,\@ifnextchar,\@ifstar,\@ifundefined}
@@ -95,8 +105,10 @@
% \MakeShortVerb{\§}
%
% \title{alnumsec.sty: Using alphanumeric section numbering with
-% standard sectioning commands}
-% \author{Frank K\"uster}
+% standard sectioning commands\texorpdfstring{\thanks{%^^A
+% This package has version number \fileversion, last revised \filedate.}}{}}
+% \author{Frank K\"uster\\
+% \href{mailto:frank@kuesterei.ch}{\texttt{frank@kuesterei.ch}}}
% \date{\filedate}
% \maketitle{}
%
@@ -110,7 +122,9 @@
% \end{abstract}
%
% \tableofcontents{}
+% \def\partname{Part}
%
+% \clearpage
% \part{User documentation}
% \label{part:user-documentation}
%
@@ -172,7 +186,24 @@
% |\otherseparators{<level>}|. In \LaTeX, chapter, if defined, has
% level 0, section has 1 and so on down to subparagraph with level
% 5. Therefore, in the above example, |\otherseparators{5}| would
-% work, but |\otherseparators{3]| as well.
+% work, but |\otherseparators{3}| as well.
+%
+% Please note that |\alnumsecstyle| does not change the numbering
+% scheme of figures or tables (yet).
+% So if a |report| or |book| like document class will be used,
+% one can get double periods there.
+% But this can be corrected easily, for example the |figure| counter
+% representation is usually defined as something like
+% \begin{quote}
+% |\newcommand\thefigure{%|\\
+% | \ifnum\value{chapter}>0 \thechapter.\fi \arabic{figure}}|
+% \end{quote}
+% So to remove the extra period here one can insert
+% \begin{quote}
+% |\renewcommand\thefigure{%|\\
+% | \ifnum\value{chapter}>0 \thechapter\fi \arabic{figure}}|
+% \end{quote}
+% right after the use of |\alnumsecstyle|. (same for tables)
%
%
% \section{Sectioning levels to use}
@@ -219,6 +250,7 @@
%
% \StopEventually{\PrintIndex\PrintChanges}
%
+% \clearpage
% \part{Implementation}
%
%
@@ -232,15 +264,16 @@
% \end{macrocode}
%
% Macros for greek "numbers" and double letters:
+% \changes{v0.03}{2007/07/27}{Define \cs{@greek} et al with \cs{providecommand}}
%
% \begin{macrocode}
-\newcommand*{\@greek}[1]{\ifcase#1\relax\or$\alpha$\or$\beta$\or
+\providecommand*{\@greek}[1]{\ifcase#1\relax\or$\alpha$\or$\beta$\or
$\gamma$\or$\delta$\or$\varepsilon$\or$\zeta$\or$\eta$\or$\vartheta$\or
$\iota$\or$\kappa$\or$\lambda$\or$\mu$\or$\nu$\or$\xi$\or$o$\or$\pi$\or
$\rho$\or$\sigma$\or$\tau$\or$\upsilon$\or$\varphi$\or$\chi$\or$\psi$\or
-$\omega$\else\@ctrerr\fi}%
-\newcommand*{\@doublegreek}[1]{\@greek{#1}{\@greek{#1}}}
-\newcommand*{\@doublealph}[1]{\@alph{#1}{\@alph{#1}}}
+ $\omega$\else\@ctrerr\fi}%
+\providecommand*{\@doublegreek}[1]{\@greek{#1}{\@greek{#1}}}
+\providecommand*{\@doublealph}[1]{\@alph{#1}{\@alph{#1}}}
\newcounter{alnumsec@level}%
\newcounter{fk@secdepth}%
\newcounter{fk@secstart}%
@@ -531,19 +564,11 @@ $\omega$\else\@ctrerr\fi}%
\surroundgreek[(]{}{)}
\surrounddoubleletter[(]{}{)}
\surrounddoublegreek[(]{}{)}
-%%
-%% End of file `alnumsec.sty'.
-
%</alnumsec>
% \end{macrocode}
%
-% \begin{macrocode}
-%<*alnumsec>
-\endinput
-%</alnumsec>
-% \end{macrocode}
-%
% \clearpage
% \Finale
%
-%
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/alnumsec/alnumsec.ins b/Master/texmf-dist/source/latex/alnumsec/alnumsec.ins
index ded1d79d31c..2f8ef4374e6 100644
--- a/Master/texmf-dist/source/latex/alnumsec/alnumsec.ins
+++ b/Master/texmf-dist/source/latex/alnumsec/alnumsec.ins
@@ -47,9 +47,25 @@
\declarepreamble\mainpreamble
-Copyright (C) 2003 Frank Küster.
+Copyright (C) 2003-2007 Frank Küster (frank@kuesterei.ch)
+
+--------------------------------------------------------------------------
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2003/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+This Current Maintainer of this work is Frank Küster.
+
+This work consists of the files README, alnumsec.ins, alnumsec.dtx,
+and the derived file alnumsec.sty.
-All rights reserved.
\endpreamble
\declarepostamble\nullpostamble
\endpostamble
@@ -83,3 +99,4 @@ All rights reserved.
\endinput
%%
%% end of file `labbook.ins'
+