Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

ted – A (primitive) token list editor

Just like sed is a stream ed­i­tor, ted is a to­ken list ed­i­tor. Ac­tu­ally, it is not as pow­er­full as sed, but its main fea­ture is that it re­ally works with to­kens, not only char­ac­ters.

The ted pack­age pro­vides two user macros: \Sub­sti­tute and \ShowTo­kens. The first is maybe the most use­ful: it per­forms sub­sti­tu­tions in to­ken lists (even in­side braces). The sec­ond dis­plays each to­ken of the list (one per line) with its cat­code (in the list, not just the cur­rent one), and can be use­ful for de­bug­ging or for TeX learn­ers.

Ted is de­signed to work well even if strange to­kens (that is, un­usual {char­code, cat­code} pairs or to­kens with a con­fus­ing mean­ing) oc­cur in the list.

Sources/macros/latex/contrib/ted
Doc­u­men­ta­tion
Ver­sion1.06
Li­censeThe LaTeX Project Public Li­cense
Main­tainerManuel Pé­gourié-Gon­nard
Con­tained inTeXLive as ted
MiKTeX as ted
Topics sup­port for pack­age or doc­u­ment de­bug­ging
See also patch

Down­load the con­tents of this pack­age in one zip archive (187.1k).

Guest Book Sitemap Contact 2014-04-16 15:05 CEST