summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-17 22:47:26 +0000
committerKarl Berry <karl@freefriends.org>2013-10-17 22:47:26 +0000
commitc2c168a8341aff3cf9c005cf8d04f58fe8757aca (patch)
treeb9cac70bb193b068af2671114955bed52d437075
parentc3e9c063ce3006193da17016faabd349005f3d2e (diff)
nlctdoc (17oct13)
git-svn-id: svn://tug.org/texlive/trunk@31933 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/nlctdoc/README2
-rw-r--r--Master/texmf-dist/tex/latex/nlctdoc/nlctdoc.cls26
2 files changed, 25 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/nlctdoc/README b/Master/texmf-dist/doc/latex/nlctdoc/README
index d57a23dd681..5ecd030bf1a 100644
--- a/Master/texmf-dist/doc/latex/nlctdoc/README
+++ b/Master/texmf-dist/doc/latex/nlctdoc/README
@@ -10,6 +10,6 @@ This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
for the details of that license.
-Author's home page: http://theoval.cmp.uea.ac.uk/~nlct/
+Author's home page: http://www.dickimaw-books.com/
diff --git a/Master/texmf-dist/tex/latex/nlctdoc/nlctdoc.cls b/Master/texmf-dist/tex/latex/nlctdoc/nlctdoc.cls
index 1972df74b27..20d68f51f63 100644
--- a/Master/texmf-dist/tex/latex/nlctdoc/nlctdoc.cls
+++ b/Master/texmf-dist/tex/latex/nlctdoc/nlctdoc.cls
@@ -1,8 +1,19 @@
% This class file is provided 'as is' in the event that someone
% wants to compile the documentation that comes with my packages.
% Some of the code is taken from doc.sty
+%
+% Copyright 2013 Nicola Talbot
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license of (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 2005/12/01 or later.
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{nlctdoc}[2012/07/18 v1.02 (NLCT)]
+\ProvidesClass{nlctdoc}[2013/10/17 v1.03 (NLCT)]
\def\@nlctdoc@class{scrartcl}%
\DeclareOption{article}{\def\@nlctdoc@class{scrartcl}}
\DeclareOption{book}{\def\@nlctdoc@class{scrbook}}
@@ -24,6 +35,7 @@
\else
\RequirePackage[xhtml,fn-in,css-in,uni-html4,utf8]{tex4ht}
\fi
+\RequirePackage{etoolbox}
\@ifundefined{macro@cnt}{}{\endinput}
\catcode`\^^A=14
\AtBeginDocument{\catcode`\^^A=14\relax}
@@ -491,7 +503,15 @@
\newcount\c@IndexColumns \c@IndexColumns = 3
\ifhave@multicol
\renewenvironment{theindex}
- {\begin{multicols}\c@IndexColumns[\index@prologue][\IndexMin]%
+ {%
+ \ifdef\chapter
+ {%
+ \index@prologue
+ \begin{multicols}\c@IndexColumns[][\IndexMin]%
+ }%
+ {%
+ \begin{multicols}\c@IndexColumns[\index@prologue][\IndexMin]%
+ }%
\IndexParms \let\item\@idxitem \ignorespaces}%
{\end{multicols}}
\else
@@ -1023,6 +1043,8 @@
\addtolength\defwidth{-2\fboxrule}%
\begin{lrbox}{\defsbox}%
\begin{minipage}{\defwidth}%
+ \setlength\parindent{1em}%
+ \noindent\ignorespaces
}{%
\end{minipage}%
\end{lrbox}%