From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15118 invoked from network); 5 Jun 1998 07:44:49 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 5 Jun 1998 07:44:49 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id DAA15293; Fri, 5 Jun 1998 03:32:20 -0400 (EDT) Resent-Date: Fri, 5 Jun 1998 03:32:20 -0400 (EDT) Message-Id: <199806050732.JAA25285@hydra.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: Use of tt() formatting in yodl doc sources In-reply-to: ""Bart Schaefer""'s message of "Thu, 04 Jun 1998 10:22:22 MST." <980604102222.ZM13930@candle.brasslantern.com> Date: Fri, 05 Jun 1998 09:32:56 +0200 From: Peter Stephenson Resent-Message-ID: <"EiBVH1.0.uk3.3yvTr"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4046 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu "Bart Schaefer" wrote: > When translating yodl to info, the tt() text style comes out like this: > > `teletype' I have to work around this problem in the FAQ. Actually, what made me do it was rather that formats with special fonts for tt() make the quotes look overfussy, but the effect is the same. What I did is defined a mytt() macro which expands to `this' for plain text, but does tt(this) for other modes. It could be used here, though it's a lot of rewriting. It looks like COMMENT(-- mytt is like tt but adds quotes `like this' for plain text --)\ def(mytt)(1)(\ whentxt(`ARG1')\ whenhtml(tt(ARG1))\ whenlatex(tt(ARG1))\ whenms(tt(ARG1))\ whensgml(tt(ARG1))) -- Peter Stephenson Tel: +39 50 844536 WWW: http://www.ifh.de/~pws/ Gruppo Teorico, Dipartimento di Fisica Piazza Torricelli 2, 56100 Pisa, Italy