Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Use of tt() formatting in yodl doc sources
- X-seq: zsh-workers 4046
- From: Peter Stephenson <pws@xxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Use of tt() formatting in yodl doc sources
- Date: Fri, 05 Jun 1998 09:32:56 +0200
- In-reply-to: ""Bart Schaefer""'s message of "Thu, 04 Jun 1998 10:22:22 MST." <980604102222.ZM13930@xxxxxxxxxxxxxxxxxxxxxxx>
"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 <pws@xxxxxx> Tel: +39 50 844536
WWW: http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author