summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ted/README
blob: 71f7c3598a1f101971f84851927a52d7ba168262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

                                The ted package

                        A (primitive) token list editor

                  Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>

Presentation
------------

Just like sed is a stream editor, ted is a token list editor.  Actually, it is
not as powerful as sed, but its main feature is that it really works with
tokens, not only characters.

The ted package provides two user macros: \Substitute and \ShowTokens. The first
one is maybe the most useful: it performs substitutions in token lists (even
inside braces). The second displays each token of the list (one per line) with
its catcode (in the list, not just the current one), and can be useful for
debugging or for TeX learners.

The ted package is designed to work well even if strange tokens (that is,
unusual (charcode, catcode) pairs or tokens with a confusing meaning) occur in
the list.

Contents
--------

ted.sty: the package itself
ted.pdf: the (English) documentation and commented code
ted-fr.pdf: the French documentation

ted.dtx: single source for both documentations and package

Version info
------------

2007-12-09  v1.0    First release.
2007-12-12  v1.01   Fixed a stupid bug.
2008-03-02  v1.05   - Fixed a bug when trying to substitute AA in a
                    string ending with A. Also removed a spurious space.
                    - Added an occurrence counter.
2008-03-07  v1.06   - Fixed a bug in \ShowTokens with active spaces.
                    - Slightly expanded the doc (examples).

License
-------

This material is subject to the LaTeX Project Public License. See
http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the
details of that license.