[texhax] Detection of start of source line
Uwe Lueck
uwe.lueck at web.de
Tue May 2 12:52:32 CEST 2017
Christian Neukirchen once (2016-10-05) wrote:
> for an evil hack, I wondered if it is possible for a macro (think
> active char) to detect whether it was called "at the beginning of the
> source line".
>
> E.g. I could want to define * to expand to \item if its the first
> token of an input line, and to render an asterisk else.
ha! this is part of implementing wiki{pedia,...} markup with TeX,
which I did more comprehensively in
http://ctan.org/pkg/wiki
cheers -- Uwe
More information about the texhax
mailing list