From 21fe8b8ecfb2cb7c2d3c552a1eb8b0ed10d468c6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 21 Sep 2014 21:00:01 +0000 Subject: bnumexpr (21sep14) git-svn-id: svn://tug.org/texlive/trunk@35223 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/bnumexpr/README | 85 ++++++++++++++++++++++ Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf | Bin 0 -> 82370 bytes Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.tex | 27 +++++++ 3 files changed, 112 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/bnumexpr/README create mode 100644 Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf create mode 100644 Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.tex (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/bnumexpr/README b/Master/texmf-dist/doc/latex/bnumexpr/README new file mode 100644 index 00000000000..6579fbceaf6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bnumexpr/README @@ -0,0 +1,85 @@ +The bnumexpr package +Version: 2014/09/21, v1.1 +Info: Expressions with big integers + +Copyright (C) 2014 by Jean-Francois Burnol + +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 +version. This version of this license is in + http://www.latex-project.org/lppl/lppl-1-3c.txt +and 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. + +This work has the LPPL maintenance status "maintained". + +This Current Maintainer of this work is Jean-Francois Burnol. + +This work consists of the main source file bnumexpr.dtx +and the derived files + bnumexpr.sty, bnumexpr.pdf, bnumexpr.ins, bnumexpr.tex + +Usage +===== + +\usepackage{bnumexpr} + +Then \thebnumexpr \relax is like + \the\numexpr \relax +with the difference of accepting or producing arbitrarily big +integers. + +Example: + \thebnumexpr 30*(21-43*(512-67*(6133-812*2897)))\relax +outputs: + -202785405180 +which would create an arithmetic overflow in \numexpr. + +\bnumexpr...\relax is a scaled down version of \xintiiexpr...\relax +from package xintexpr. + +By default, bnumexpr.sty loads xint.sty for its arithmetic macros +doing addition, subtraction, multiplication, division. + +With option custom, xint.sty is not loaded and it is up to the user +to define \bnumexprAdd, \bnumexprSub, \bnumexprMul, \bnumexprDiv + +Option bigintcalc maps them to the macros from package bigintcalc. + +Option allowpower enables ^ as power operator. + +Installation +============ + +obtain bnumexpr.dtx, bnumexpr.ins and the README from CTAN: + http://www.ctan.org/pkg/bnumexpr + +- "tex bnumexpr.ins" generates the style file +(pre-existing file in the same repertory will be overwritten). + +- without bnumexpr.ins: "tex or latex or pdflatex or xelatex bnumexpr.dtx" +will also generate the style files (and bnumexpr.ins). + +bnumexpr.tex is also extracted, use it for the documentation: + +- with latex+dvipdfmx: latex bnumexpr.tex thrice then dvipdfmx bnumexpr.dvi +Ignore dvipdfmx warnings, but if the pdf file has problems with fonts +(possibly from an old dvipdfmx), use then rather pdflatex or xelatex. + +- with pdflatex or xelatex: run it directly thrice on bnumexpr.dtx, or run +it on bnumexpr.tex after having edited the suitable toggle therein. + +Finishing the installation: (on first installation the destination +repertories may need to be created) + + bnumexpr.sty --> TDS:tex/latex/bnumexpr/ + + bnumexpr.dtx --> TDS:source/latex/bnumexpr/ + bnumexpr.ins --> TDS:source/latex/bnumexpr/ + + bnumexpr.pdf --> TDS:doc/latex/bnumexpr/ + README --> TDS:doc/latex/bnumexpr/ + diff --git a/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf b/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf new file mode 100644 index 00000000000..22235b4a02f Binary files /dev/null and b/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.pdf differ diff --git a/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.tex b/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.tex new file mode 100644 index 00000000000..de20c8461aa --- /dev/null +++ b/Master/texmf-dist/doc/latex/bnumexpr/bnumexpr.tex @@ -0,0 +1,27 @@ +\def\bnedocdate {2014/09/21} % package bnumexpr documentation date +\def\bnepackdate{2014/09/21} % package bnumexpr date +\def\bneversion {1.1} % package bnumexpr version +%%---------------------------------------------------------------- +%% The bnumexpr package: Expressions with big integers +%% Copyright (C) 2014 by Jean-Francois Burnol +%%---------------------------------------------------------------- +%% This is a generated file. +%% +%% latex bnumexpr.tex (thrice) && dvipdfmx bnumexpr.dvi --> bnumexpr.dtx +%% +%% See bnumexpr.dtx for the copyright and license statements. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{bnumexpr.tex}% +[\bnepackdate\space v\bneversion\space driver file for % + bnumexpr documentation (jfB)]% +\PassOptionsToClass{a4paper,fontsize=11pt}{scrdoc} +\chardef\Withdvipdfmx 1 % replace 1 by 0 for using pdflatex +\chardef\NoSourceCode 0 % replace 0 by 1 for not including source code +\input bnumexpr.dtx +%%% Local Variables: +%%% mode: latex +%%% End: +\endinput +%% +%% End of file `bnumexpr.tex'. -- cgit v1.2.3