PerlTeX references sTeXme

I’ve just found an article PerlTeX: Defining LaTeX macros using Perl by Scott Pakin, published in TUGboat 25(2) 2004.

In the section “Related work”, the author writes about sTeXme:

… sTeXme, which uses Scheme rather than Perl as the TeX extension language. sTeXme adds a single command to TeX: \stexme, which works like \input but accepts the name of a Scheme file rather than a TeX or LaTeX file. When the Scheme interpreter evaluates the given file, output procedures such as newline and display write into the TeX input stream. Two new procedures, pool-string and get-cmd, provide access to TeX internal state. As with Shibakov’s PerlTeX, sTeXme’s tight integration with TeX comes at the cost of having to recompile TeX and re-dump all of the format files before the extension language can be used.

He is right about the problem with tight integration. Unfortunately, it is not correct to say that Scheme output procedures write into the TeX input stream. The author was too optimistic about features of sTeXme. At that moment, I wasn’t able to put anything into the TeX input stream.

In any case, it’s not important. The new version will change a lot. I hope.

Leave a Reply