groff
[Top][All Lists]
Advanced

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

Re: [Groff] Getting properly rendered single quotes in groff


From: Tadziu Hoffmann
Subject: Re: [Groff] Getting properly rendered single quotes in groff
Date: Mon, 16 Jun 2008 11:12:17 +0200
User-agent: Mutt/1.5.16 (2007-06-09)

> > If you don't agree with these mappings, you could use the
> > .tr request to change that, for example
> > 
> >   .tr `'
> > 
> > so that `foo' in input becomes 'foo' in output.
> > Alternatively, you might use the .char request like this:
> > 
> >   .char ` \N'96'
> 
> Yeah, I think that's what's needed.  Debian does tr \[oq] '
> (only) and I'm not sure if that's also be needed.  For latin1,
> it might be nicer to keep ` as it is, and instead map ' and
> \[cq] to an acute accent.
> 
> I'm not sure where this should go -- Debian uses mandoc.local,
> but I don't see why this should be man-specific.

Isn't it possible in the UTF-8 device to create a (pseudo-)
font with ASCII encoding?  The you wouldn't need to change
anything in the manpages (i.e., you could continue to use
ASCII 27 and 60 everywhere) except to mark up shell literals
with a macro to use that font.






reply via email to

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