From cadedf1ea67e944e0382f729e82f3a5c78811d99 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 8 Mar 2015 22:30:31 +0000 Subject: xint (8mar15) git-svn-id: svn://tug.org/texlive/trunk@36463 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/xint/CHANGES.html | 15 +- Master/texmf-dist/doc/generic/xint/CHANGES.pdf | Bin 58291 -> 58785 bytes Master/texmf-dist/doc/generic/xint/README | 4 +- Master/texmf-dist/doc/generic/xint/README.html | 6 +- Master/texmf-dist/doc/generic/xint/README.pdf | Bin 29059 -> 28681 bytes Master/texmf-dist/doc/generic/xint/sourcexint.pdf | Bin 532268 -> 522510 bytes Master/texmf-dist/doc/generic/xint/xint.pdf | Bin 665732 -> 664789 bytes Master/texmf-dist/source/generic/xint/xint.dtx | 547 +++++++++++++--------- Master/texmf-dist/source/generic/xint/xint.ins | 4 +- Master/texmf-dist/tex/generic/xint/xint.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintbinhex.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintcfrac.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintcore.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintexpr.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintfrac.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintgcd.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintkernel.sty | 4 +- Master/texmf-dist/tex/generic/xint/xintseries.sty | 4 +- Master/texmf-dist/tex/generic/xint/xinttools.sty | 4 +- 19 files changed, 361 insertions(+), 255 deletions(-) diff --git a/Master/texmf-dist/doc/generic/xint/CHANGES.html b/Master/texmf-dist/doc/generic/xint/CHANGES.html index def07a3f9d2..b79fab4fb7b 100644 --- a/Master/texmf-dist/doc/generic/xint/CHANGES.html +++ b/Master/texmf-dist/doc/generic/xint/CHANGES.html @@ -18,7 +18,7 @@
-
Source:  xint.dtx (v1.1a, 2014/11/07)
+
Source:  xint.dtx (v1.1a 2014/11/07, doc of 2015/03/07)
 Author:  Jean-Francois Burnol
 Info:    Expandable operations on big integers, decimals, fractions
 License: LPPL 1.3c or later

1.1a (2014/11/07)

  • the add and mul have a new syntax, old syntax is with `+` and `*` (left quotes mandatory), sum and prd are gone,

  • no more special treatment for encountered brace pairs {..} by the number scanner, a/b[N] notation can be used without use of braces (the N will end up as is in a \numexpr, it is not parsed by the \xintexpr-ession scanner),

  • although & and | are still available as Boolean operators the use of && and || is strongly recommended. The single letter operators might be assigned some other meaning in later releases (bitwise operations, perhaps). Do not use them.

  • +
  • [this missing item added 2015/03/07] place holders for \xintNewExpr could be denoted #1, #2, ... or also, for special purposes $1, $2, ... Only the first form is now accepted and the special cases previously treated via the second form are now managed via a protect(...) function.

  • @@ -110,7 +111,7 @@ License: LPPL 1.3c or later
  • generation of comma separated lists a..b, a..[d]..b,

  • Python syntax-like list extractors [list][n:], [list][:n], [list][a:b] allowing negative indices, but no optional step argument, and [list][n] (n=0 for the number of items in the list),

  • functions first, last, reversed,

  • -
  • itemwise operations on comma separated lists a*[list], etc.., possible on both sides a*[list]^b, an obeying the same precedence rules as with numbers,

  • +
  • itemwise operations on comma separated lists a*[list], etc.., possible on both sides a*[list]^b, and obeying the same precedence rules as with numbers,

  • add and mul must use a dummy variable: add(x(x+1)(x-1), x=-10..10),

  • variable substitutions with subs: subs(subs(add(x^2+y^2,x=1..y),y=t),t=20),

  • sequence generation using seq with a dummy variable: seq(x^3, x=-10..10),

  • @@ -120,8 +121,10 @@ License: LPPL 1.3c or later
  • inside seq, rseq, rrseq, iter, possibility to use omit, abort and break to control termination,

  • n++ potentially infinite index generation for seq, rseq, rrseq, and iter, it is advised to use abort or break(..) at some point,

  • the add, mul, seq, ... are nestable,

  • -
  • \xintthecoords converts a comma separated list of an even number of items to the format expected by the TikZ coordinates syntax,

  • -
  • completely new version \xintNewExpr, protect function to handle external macros. Not all constructs are compatible with \xintNewExpr.

  • +
  • \xintthecoords converts a comma separated list of an even number of items to the format expected by the TikZ coordinates syntax,

    +
  • 1.09n (2014/04/01)