groff
[Top][All Lists]
Advanced

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

Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8


From: Bruno Haible
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark on utf8 device
Date: Wed, 02 May 2012 23:12:55 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

Anton Shepelev wrote:
> Is it possible to tell groff  to  use
> the  standard  hyphen-minus  sign of the ASCII table
> instead of  \[u2012]  for  hyphenation?

People who ask this usually have a groff input that uses '-' both
to designate a hyphen (between English words) and a minus sign (such
as in formulas or in command-line options). But a hyphens looks nicer
when it is thin; \[u2012] achieves this. What you really want to do
is to change your groff input so that it uses
  * - for hyphens,
  * \- for minus signs.

Example:
  \fBiconv \-f ISO\-8859\-1 \-t UTF\-8\fP
  converts input from the old West-European encoding ISO\-8859\-1 to Unicode.

> it can be done using the .shc request.

AFAIU, this will have the effect that hyphens at the end of a line will
look like a minus sign, that is, ugly.

Bruno




reply via email to

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