?SPAM? - RE: [texhax] dual-use input/output macro
Philip TAYLOR
P.Taylor at Rhul.Ac.Uk
Thu Nov 17 23:57:20 CET 2005
Philip G. Ratcliffe wrote:
> How about something along these lines?
>
> \documentclass{article}
> \usepackage{fancyvrb}
> \begin{document}
> \DefineShortVerb{\|}
> \def\showme|#1|{\SaveVerb[aftersave={\UseVerb{showme} = #1}]{showme}|#1}
> \showme|hello, \relax there||
> \end{document}
which my copy of PdfLaTeX renders as
hello, there = hello, there
Are you sure this is what you intended ?
Philip Taylor
More information about the texhax
mailing list