SPAM:Re: ?SPAM? - RE: [texhax] dual-use input/output macro

Philip G. Ratcliffe philipratcliffe at tiscali.it
Fri Nov 18 02:09:06 CET 2005


Well, there's egg on my face.  I was going well until I added the second |
and then I think I wasn't looking too carefully at the output anymore.

Sorry about that chaps, I'll try and be more careful next time.

Cheers,  Phil Ratcliffe

> -----Original Message-----
> From: Philip TAYLOR [mailto:P.Taylor at Rhul.Ac.Uk]
> Sent: 17 November 2005 23:57
> To: philip.ratcliffe at uninsubria.it
> Cc: Karl Berry; texhax at tug.org
> Subject: SPAM:Re: ?SPAM? - RE: [texhax] dual-use input/output macro
>
>
>
>
> 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