summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/intcalc.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/intcalc.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/intcalc.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/intcalc.dtx77
1 files changed, 59 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/intcalc.dtx b/Master/texmf-dist/source/latex/oberdiek/intcalc.dtx
index c31033ec217..9d1ec520e53 100644
--- a/Master/texmf-dist/source/latex/oberdiek/intcalc.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/intcalc.dtx
@@ -1,11 +1,12 @@
% \iffalse meta-comment
-%
+%
% File: intcalc.dtx
% Version: 2007/09/27 v1.1
-%
+% Info: Expandable calculations with integers
+%
% 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 intcalc.dtx
% and the derived files
% intcalc.sty, intcalc.pdf, intcalc.ins, intcalc.drv,
% intcalc-test1.tex, intcalc-test2.tex, intcalc-test3.tex,
% intcalc-test4.tex.
-%
+%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/intcalc.dtx
% CTAN:macros/latex/contrib/oberdiek/intcalc.pdf
-%
+%
% Unpacking:
% (a) If intcalc.ins is present:
% tex intcalc.ins
@@ -41,7 +42,7 @@
% (c) If you insist on using LaTeX
% latex \let\install=y\input{intcalc.dtx}
% (quote the arguments according to the demands of your shell)
-%
+%
% Documentation:
% (a) If intcalc.drv is present:
% latex intcalc.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 intcalc.dtx
% makeindex -s gind.ist intcalc.idx
% pdflatex intcalc.dtx
% makeindex -s gind.ist intcalc.idx
% pdflatex intcalc.dtx
-%
+%
% Installation:
% TDS:tex/generic/oberdiek/intcalc.sty
% TDS:doc/latex/oberdiek/intcalc.pdf
@@ -83,7 +84,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)}
+\Msg{* Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -136,6 +137,10 @@ and the derived files
\file{intcalc-test2.tex}{\from{intcalc.dtx}{test2,etex}}%
\file{intcalc-test3.tex}{\from{intcalc.dtx}{test2,noetex}}%
\file{intcalc-test4.tex}{\from{intcalc.dtx}{test4,etex}}%
+ \nopreamble
+ \nopostamble
+ \usedir{source/latex/oberdiek/catalogue}%
+ \file{intcalc.xml}{\from{intcalc.dtx}{catalogue}}%
}
\catcode32=13\relax% active space
@@ -162,9 +167,8 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{intcalc.drv}%
- [2007/09/27 v1.1 Expandable integer calculations (HO)]%
+ [2007/09/27 v1.1 Expandable calculations with integers (HO)]%
\documentclass{ltxdoc}
-\usepackage{holtxdoc}[2011/02/04]
\usepackage{wasysym}
\let\iint\relax
\let\iiint\relax
@@ -199,13 +203,14 @@ and the derived files
\newcommand*{\op}[1]{%
\textsf{#1}%
}
+\usepackage{holtxdoc}[2011/11/22]
\begin{document}
\DocInput{intcalc.dtx}%
\end{document}
%</driver>
% \fi
%
-% \CheckSum{3221}
+% \CheckSum{3222}
%
% \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
@@ -525,7 +530,7 @@ and the derived files
% \end{gather*}
% ($0! = 1$)
%
-% \begin{declcs}{intcalcPow} M{x} M{y}
+% \begin{declcs}{intcalcPow} \M{x} \M{y}
% \end{declcs}
% Macro \cs{intcalcPow} calculates the value of \meta{x} to the
% power of \meta{y}. The error ``division by zero'' is thrown
@@ -695,7 +700,7 @@ and the derived files
\fi
\expandafter\x\csname ver@intcalc.sty\endcsname
\ProvidesPackage{intcalc}%
- [2007/09/27 v1.1 Expandable integer calculations (HO)]%
+ [2007/09/27 v1.1 Expandable calculations with integers (HO)]%
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -4239,6 +4244,42 @@ 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{intcalc.xml}.
+% \begin{macrocode}
+%<*catalogue>
+<?xml version='1.0' encoding='us-ascii'?>
+<!DOCTYPE entry SYSTEM 'catalogue.dtd'>
+<entry datestamp='$Date$' modifier='$Author$' id='intcalc'>
+ <name>intcalc</name>
+ <caption>Expandable arithmetic operations with integers.</caption>
+ <authorref id='auth:oberdiek'/>
+ <copyright owner='Heiko Oberdiek' year='2007'/>
+ <license type='lppl1.3'/>
+ <version number='1.1'/>
+ <description>
+ This package provides expandable arithmetic operations
+ with integers, using the e-TeX extension <tt>\numexpr</tt> if it
+ is available.
+ <p/>
+ The package is part of the <xref refid='oberdiek'>oberdiek</xref>
+ bundle.
+ </description>
+ <documentation details='Package documentation'
+ href='ctan:/macros/latex/contrib/oberdiek/intcalc.pdf'/>
+ <ctan file='true' path='/macros/latex/contrib/oberdiek/intcalc.dtx'/>
+ <miktex location='oberdiek'/>
+ <texlive location='oberdiek'/>
+ <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/>
+</entry>
+%</catalogue>
+% \end{macrocode}
+%
% \begin{History}
% \begin{Version}{2007/09/09 v1.0}
% \item