Debian Codegraph @

texmf-dist/doc/latex/ionumbers/README

raw
1 SHORT DESCRIPTION
2 =================
3
4 (This is a copy of the LaTeX code of the documentation's abstract.)
5
6 \textsf{ionumbers} stands for `input/output numbers'.
7
8 This package restyles numbers in math mode. If a number in the input file
9 is written, e.g., as |$3,231.44$| as commonly used in English texts, this
10 package is able to restyle it to be output as `$3\,231{,}44$' as commonly
11 used in German texts (and vice versa). This may be very useful, if you have
12 a large table and want to include it in texts with different output
13 conventions without the need of changing the table.
14
15 Furthermore this package can automatically group digits left to the decimal
16 separator (\emph{thousands}) and right to the decimal separator
17 (\emph{thousandths}) without the need of specifing commas (English) or
18 points (German) as separators. E.g., the input |$1234.567890$| can be
19 output as `$1\,234.\,567\,890$'. By default, thousands/thousandths are
20 grouped in triplets, but the grouping length is configurable, which is
21 useful for numerical data.
22
23 Finally, an |e| starts the exponent of the number. For example, |$21e6$|
24 may be output as `$26\times10\,^{6}$'.
25
26 See `ionumbers.pdf' for detailed information on usage.
27
28 BUILDING
29 ========
30
31 If you do not want to use any pre-build `ionumber.sty' and `ionumber.pdf'
32 files, you will have to choose one of the following two ways for building them.
33 Otherwise you can skip this section.
34
35 1) Building with make
36 ---------------------
37
38 Running `make' will create the LaTeX package, the documentation and the test
39 file:
40 $ make
41
42 2) Building manually
43 --------------------
44
45 a) Generation of package (.sty file):
46
47 Run `ionumbers.ins' through LaTeX:
48 $ pdflatex -interaction=nonstopmode ionumbers.ins
49
50 b) Generation of documentation:
51
52 Run `ionumbers.dtx' through LaTeX:
53 $ pdflatex -interaction=nonstopmode ionumbers.dtx
54
55 Then create the index and change history:
56 $ makeindex -s gind.ist -o ionumbers.ind ionumbers.idx
57 $ makeindex -s gglo.ist -o ionumbers.gls ionumbers.glo
58
59 Finally, run `ionumbers.dtx' three time through LaTeX:
60 $ pdflatex -interaction=nonstopmode ionumbers.dtx
61 $ pdflatex -interaction=nonstopmode ionumbers.dtx
62 $ pdflatex -interaction=nonstopmode ionumbers.dtx
63
64 Optionally you can compile the test file:
65 $ pdflatex -interaction=nonstopmode ionumbers_test.tex
66 $ pdflatex -interaction=nonstopmode ionumbers_text.tex
67 $ pdflatex -interaction=nonstopmode ionumbers_text.tex
68
69 INSTALLATION
70 ============
71
72 1) Installing with make
73 -----------------------
74
75 To install the package into a TDS (= TeX directory structure; typically its base
76 directory is named `texmf' or something similar), run the following command:
77 $ make DESTDIR=<your TDS> install
78
79 Note: `$(DESTDIR)' defaults to `$(HOME)/.texmf'.
80
81 2) Installing manually
82 ----------------------
83
84 In principle, you will only habe to copy the file `ionumbers.sty' into a
85 directory, where LaTeX can find it. If you copy it into a TDS (TeX directory
86 structure), you will most probably have to run the following command afterwards:
87 $ mktexlsr <your TDS>
88
89 LICENSE
90 =======
91
92 Copyright 2007--2009,2011 Christian Schneider <software(at)chschneider(dot)eu>
93
94 idea and parts of this package based on: ziffer.sty v2.1
95 Copyright Martin Vaeth <[email protected]>
96
97 ion@addto@macro: identical to l@addto@macro from koma-script
98 bundle v2.9t
99 Copyright 1994-2004 Markus Kohm and Frank Neukam
100
101 Thanks to Martin Vaeth and Markus Kohm for permitting to use their
102 code in this package. Please do not bother Martin, Markus, or Frank
103 with questions or bugs concering this package!
104
105 This file is part of ionumbers.
106
107 ionumbers is free software: you can redistribute it and/or modify
108 it under the terms of the GNU General Public License version 3 as
109 published by the Free Software Foundation, not any later version.
110
111 ionumbers is distributed in the hope that it will be useful,
112 but WITHOUT ANY WARRANTY; without even the implied warranty of
113 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
114 GNU General Public License for more details.
115
116 You should have received a copy of the GNU General Public License
117 along with ionumbers. If not, see <http://www.gnu.org/licenses/>.
118
119 WARNING: THIS IS ALPHA SOFTWARE AND MAY CONTAIN SERIOUS BUGS!