Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

ted – A (prim­i­tive) to­ken list ed­i­tor

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.

CTAN path/macros/la­tex/con­trib/ted
Doc­u­men­ta­tion Readme
Pack­age doc­u­men­ta­tion (English)
Pack­age doc­u­men­ta­tion (French)
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
Guest Book Sitemap Contact 2013-04-08 01:08