l2x – LaTeX to ASCII

L2x is a gen­eral-pur­pose LaTeX con­verter. It con­sists of a parser
writ­ten in C, which then calls Tcl func­tions for each LaTeX
func­tion. The Tcl func­tions re­turn the trans­lated value. A
num­ber of Tcl func­tions are pro­vided: for ex­am­ple l2html.tcl (for
HTML file out­put) and ms.tcl (for nroff/troff -ms macros).