CTAN has a new package: ted

CTAN Announcements ctan-ann at dante.de
Wed Dec 12 15:19:52 CET 2007

The packge below has been put up to tug.ctan.org and will soon be at your 
local mirror.

Thanks again,
Jim Hefferon
Saint Michael's College


The following information was provided by our fellow contributor:

Name of contribution: ted
Author's name: Manuel Pégourié-Gonnard
Location on CTAN: /macros/latex/contrib/ted
Summary description: a (primitive) token list editor
License type: lppl

Announcement text: 
Just like sed is a stream editor, ted is a token list editor.  Actually, it is
not as powerfull 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.

This package is located at 
.  More information is at
(if the package is new it may take a day for that information to 
appear).  We are supported by the TeX Users Group http://www.tug.org .  
Please join a users group; see http://www.tug.org/usergroups.html .

More information about the Ctan-ann mailing list