groff
[Top][All Lists]
Advanced

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

Re: [Groff] ASCII dash in UTF-8 locale


From: Carsten Kunze
Subject: Re: [Groff] ASCII dash in UTF-8 locale
Date: Fri, 23 Jan 2015 17:05:24 +0100 (CET)

Hello Ingo and Anthony, 

> That shouldn't happen in manual pages.  Both tmac/an-old.tmac
> and tmac/doc.tmac contain:
> 
>  .\" For UTF-8, map some characters conservatively for the sake
>  .\" of easy cut and paste.
>  .
>  .if '\*[.T]'utf8' \{\
>  .  rchar \- - ' `
>  .
>  .  char \- \N'45'
>  .  char  - \N'45'
>  .  char  ' \N'39'
>  .  char  ` \N'96'
>  .\}

it indeed works with -mdoc (didn't test -man).  I use -mdoc for manpages too 
but in case of my document a manpage is not the suited format, it's rather in a 
book format which I view with nroff.
So for GNU nroff I'll inlcude the above statements in my document...

Thanks,
Carsten



reply via email to

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