summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/plain
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-05 19:43:59 +0000
committerKarl Berry <karl@freefriends.org>2021-05-05 19:43:59 +0000
commit4754ab4e3ed4d6763f26591c2c84be9dfcf54664 (patch)
tree9b2c482d2631e5e02e2494a972ace04c7aa08198 /Master/texmf-dist/doc/plain
parent5a1103024f621793e1581f1b92622a79b2f2571c (diff)
xintsession (5may21)
git-svn-id: svn://tug.org/texlive/trunk@59090 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/plain')
-rw-r--r--Master/texmf-dist/doc/plain/xintsession/README.md30
1 files changed, 19 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/plain/xintsession/README.md b/Master/texmf-dist/doc/plain/xintsession/README.md
index 9821fcd2e7b..c5bdd6b7b9f 100644
--- a/Master/texmf-dist/doc/plain/xintsession/README.md
+++ b/Master/texmf-dist/doc/plain/xintsession/README.md
@@ -1,5 +1,7 @@
# xintsession README #
+Release: 0.2 (2021-05-05)
+
## Usage ##
xintsession.tex is to be used with etex (or pdftex or the other engines
@@ -9,19 +11,24 @@ It will load [xintexpr](http://www.ctan.org/pkg/xint) and
[polexpr](http://www.ctan.org/pkg/polexpr)
(its version `0.8` or later is needed).
-The following explanations have been tested on a Unixen (Mac OS),
-please adapt to your shell environment.
+You need 2 steps to start a session:
+
+1. execute `etex xintsession`, or if available, `rlwrap etex xintsession`
+ to benefit from arrow keys navigation and other improvements such
+ as parentheses highlighting.
+ Alternatively, execute `rlwrap etex` and enter `xintsession` at the `**`
+ prompt.
+ One can also use the `-jobname` option of `etex` at this step.
+2. a welcome message is printed, hit the `RET` key at the `*` prompt.
-You need 3 small steps to start a session:
+The above explanations have been tested on a Unixen (Mac OS), and probably
+`rlwrap` is not available on all platforms, but it is not a requirement.
-1. execute `etex`, or better, `rlwrap etex` to benefit from arrow keys
- navigation and other improvements such as parentheses highlighting in
- the input (and optionally, use the `-jobname` option here)
-2. at the `**` prompt, enter `xintsession` and hit `RET`,
-3. a welcome message is printed, hit the `RET` key at the `*` prompt.
+At my locale I added `alias xs="rlwrap etex xintsession"` to my `.bashrc`
+so I only have to type `xs` at the command line.
You are now ready to make computations!
-Here is an example session (spaces do not matter):
+Here is a sample session (spaces do not matter):
(Please type a command or say `\end')
* 1+1/2+1/3+1/4+1/5;
@@ -43,8 +50,9 @@ Here is an example session (spaces do not matter):
Transcript written on xintsession.log.
As this example shows, the computational engine can work in various
-modes: exact, fp, fp16, fp24, fp32, int, and pol. One can define
-variables and functions using `:=` syntax.
+modes: exact, fp, int, and pol. Say `&fp=number` at the prompt
+to activate floating point mode with `number` as Digits (scientific
+functions implemented up to 62 digits at xint 1.4e).
If ill-formed input drops you into TeX error interaction mode, try
hitting `S` it may work to bring you back to normal session.