groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] How can I do a .tr ~# to convert a \~ ?


From: Werner LEMBERG
Subject: Re: [Groff] How can I do a .tr ~# to convert a \~ ?
Date: Sat, 12 May 2001 08:42:19 +0200 (CEST)

> Is there a way to manage the following thing:
> 
> .char \µ _

This isn't accepted.  You can't define new escape sequences.

> .tr ~µ
> I\~am\~a\~cat
> 
> [output] ==> I_am_a_cat

May I ask that you explain why you need that?

> Of course, this won't work. I think the escape sequence is
> interpreted before the conversion.

Yes.  Everything which doesn't expand to a real glyph (and a space of
any kind isn't a real glyph) is not affected by character translation.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]