[texhax] Parsing input tex

wa2n wa2n at nrar.net
Tue Feb 13 00:24:33 CET 2007


Hi all
How to parsing input.tex using Tex ?

here I have pseudo code

if char "h"  followed by char "a" then
  do something here ( ex. changing char h with two symbol @@)
else if char "h" followed by char "o" then
 do something here ( ex. changing char h with three symbol ###)
else if char "h" followed by char "e" then
 do something else here
endif

Thanks
Wawan-Indonesia


More information about the texhax mailing list