summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-11-22 18:56:29 +0000
committerKarl Berry <karl@freefriends.org>2007-11-22 18:56:29 +0000
commita56e4d6cbedf78ba65218189765039dc3750d13a (patch)
treede9080b41bed5d2a8096cdfe12ed8928a9d3ad0d
parent469d7f749c38c16df8c61d8a7306991678297ade (diff)
ijmart update (20nov07)
git-svn-id: svn://tug.org/texlive/trunk@5554 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/ijmart/README2
-rw-r--r--Master/texmf-dist/doc/latex/ijmart/ijmart.pdfbin290700 -> 292374 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ijmart/ijmsample.pdfbin390700 -> 390691 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ijmart/ijmsample.tex2
-rw-r--r--Master/texmf-dist/source/latex/ijmart/ijmart.dtx50
-rw-r--r--Master/texmf-dist/tex/latex/ijmart/ijmart.cls15
6 files changed, 59 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/ijmart/README b/Master/texmf-dist/doc/latex/ijmart/README
index 7fdd27ab152..004e2294712 100644
--- a/Master/texmf-dist/doc/latex/ijmart/README
+++ b/Master/texmf-dist/doc/latex/ijmart/README
@@ -15,3 +15,5 @@ Version 1.1: Added environments namedprop and namedprop* for special
named propositions.
Version 1.1a: Minor documentation updates.
+
+Version 1.2: New table of contents formatting.
diff --git a/Master/texmf-dist/doc/latex/ijmart/ijmart.pdf b/Master/texmf-dist/doc/latex/ijmart/ijmart.pdf
index 6ba62c21bc3..9502a08a4ce 100644
--- a/Master/texmf-dist/doc/latex/ijmart/ijmart.pdf
+++ b/Master/texmf-dist/doc/latex/ijmart/ijmart.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ijmart/ijmsample.pdf b/Master/texmf-dist/doc/latex/ijmart/ijmsample.pdf
index 021ad2e30ba..eca476a009c 100644
--- a/Master/texmf-dist/doc/latex/ijmart/ijmsample.pdf
+++ b/Master/texmf-dist/doc/latex/ijmart/ijmsample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ijmart/ijmsample.tex b/Master/texmf-dist/doc/latex/ijmart/ijmsample.tex
index ba9809a6901..ceed6ddb487 100644
--- a/Master/texmf-dist/doc/latex/ijmart/ijmsample.tex
+++ b/Master/texmf-dist/doc/latex/ijmart/ijmsample.tex
@@ -101,6 +101,8 @@
\newcommand{\enVert}[1]{\left\lVert#1\right\rVert}
\let\norm=\enVert
+%\setcounter{tocdepth}{5}
+
\begin{document}
\title[Sample Paper]{Sample Paper for the \pkg{ijmart}
Class\thanks{Version 2.0, 1999/11/15}}
diff --git a/Master/texmf-dist/source/latex/ijmart/ijmart.dtx b/Master/texmf-dist/source/latex/ijmart/ijmart.dtx
index 52de2fe7d64..7dbb350284f 100644
--- a/Master/texmf-dist/source/latex/ijmart/ijmart.dtx
+++ b/Master/texmf-dist/source/latex/ijmart/ijmart.dtx
@@ -1,5 +1,5 @@
% \iffalse
-% $Id: ijmart.dtx,v 1.40 2007-10-14 19:03:38 boris Exp $
+% $Id: ijmart.dtx,v 1.42 2007-11-17 01:03:08 boris Exp $
%
% Copyright 2007, The Hebrew University Magnes Press
% This work may be distributed and/or modified under the
@@ -20,7 +20,7 @@
% derived file ijmart.cls
%
% \fi
-% \CheckSum{808}
+% \CheckSum{836}
%
%
%% \CharacterTable
@@ -362,6 +362,8 @@
% information should be specified before this command.
%
% \DescribeMacro{\tableofcontents}
+% \changes{v1.2}{2007/11/14}{Added documentation for table of contents
+% formatting}
% The authors are encouraged to include |\tableofcontents| for long
% papers. By default only the sections are included in the table. If
% the authors wish to have a more detailed table of contents, they
@@ -372,7 +374,9 @@
% \setcounter{tocdepth}{3} % Sections, subsections and subsubsections
% ...
% \end{verbatim}
-%
+% If |tocdepth| is greater than the default value of 1, the formatting
+% of the table of contents changes: the section entries then are
+% typeset bold.
%
%
%\subsubsection{Commands for Editors}
@@ -577,7 +581,7 @@
\ProvidesFile{ijmart.dtx}
%</gobble>
%<class>\ProvidesClass{ijmart}
-[2007/10/14 v1.1a Typesetting articles for The Israel Journal of Mathematics]
+[2007/11/15 v1.2 Typesetting articles for The Israel Journal of Mathematics]
% \end{macrocode}
%
% \begin{macro}{\@classname}
@@ -1196,7 +1200,6 @@
%
%\subsection{Table of Contents}
%\label{sec:toc}
-%
% By default we include in the table of contents only sections:
% \begin{macrocode}
\setcounter{tocdepth}{1}
@@ -1210,6 +1213,7 @@
% \end{macro}
%
% \begin{macro}{\@starttoc}
+% \changes{v1.2}{2007/11/15}{Redefined}
% We also rewrite |\@starttoc| to make the type smaller. The
% comments are again from \progname{amsart}:
% \begin{macrocode}
@@ -1244,8 +1248,15 @@
% \begin{macrocode}
\ifx\contentsname#2%
\else \addcontentsline{toc}{section}{#2}\fi
- \makeatletter
- {\small\@input{\jobname.#1}}%
+% \end{macrocode}
+% We want the table of contents to have the same width as the abstract
+% \begin{macrocode}
+ \list{}{\labelwidth\z@
+ \leftmargin2.4pc \rightmargin\leftmargin
+ \listparindent\z@ \itemindent\z@
+ \parsep\z@ \@plus\p@}%
+ \item[]%
+ \small\@input{\jobname.#1}\endlist%
\if@filesw
\@xp\newwrite\csname tf@#1\endcsname
\immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
@@ -1292,6 +1303,31 @@
% \end{macro}
%
%
+% \begin{macro}{\l@section}
+% \changes{v1.2}{2007/11/15}{Redefined to check whether subsections
+% are present}
+% The actual formatting of section entries depend whether
+% subsections are included in toc. If yes, the sections are bold.
+% \begin{macrocode}
+\def\l@section{%
+ \@tocline{1}{0pt}{1pc}{}{%
+ \ifnum\c@tocdepth>1\bfseries\fi}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\l@subsection}
+% \begin{macro}{\l@subsubsection}
+% \changes{v1.2}{2007/11/14}{Added indentation}
+% These entries are idented.
+% \begin{macrocode}
+\def\l@subsection{\@tocline{2}{0pt}{2.8pc}{5pc}{}}
+\def\l@subsubsection{\@tocline{3}{0pt}{4.6pc}{7pc}{}}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+%
+%
%\subsection{Captions}
%\label{sec:captions}
%
diff --git a/Master/texmf-dist/tex/latex/ijmart/ijmart.cls b/Master/texmf-dist/tex/latex/ijmart/ijmart.cls
index a58059a03cf..6d3d887df16 100644
--- a/Master/texmf-dist/tex/latex/ijmart/ijmart.cls
+++ b/Master/texmf-dist/tex/latex/ijmart/ijmart.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ijmart}
-[2007/10/14 v1.1a Typesetting articles for The Israel Journal of Mathematics]
+[2007/11/15 v1.2 Typesetting articles for The Israel Journal of Mathematics]
\def\@classname{ijmart}%
\newif\ifijm@french
\ijm@frenchfalse
@@ -259,8 +259,12 @@
{.5\linespacing}{\centering\contentsnamefont}{#2}%
\ifx\contentsname#2%
\else \addcontentsline{toc}{section}{#2}\fi
- \makeatletter
- {\small\@input{\jobname.#1}}%
+ \list{}{\labelwidth\z@
+ \leftmargin2.4pc \rightmargin\leftmargin
+ \listparindent\z@ \itemindent\z@
+ \parsep\z@ \@plus\p@}%
+ \item[]%
+ \small\@input{\jobname.#1}\endlist%
\if@filesw
\@xp\newwrite\csname tf@#1\endcsname
\immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
@@ -290,6 +294,11 @@
\nobreak
\endgroup
\fi}%
+\def\l@section{%
+ \@tocline{1}{0pt}{1pc}{}{%
+ \ifnum\c@tocdepth>1\bfseries\fi}}
+\def\l@subsection{\@tocline{2}{0pt}{2.8pc}{5pc}{}}
+\def\l@subsubsection{\@tocline{3}{0pt}{4.6pc}{7pc}{}}
\def\@captionheadfont{\normalfont}
\let\@secnumfont\@empty
\def\section{\@startsection{section}{1}%