[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Using variables from register within fractions or equations
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Using variables from register within fractions or equations |
Date: |
Sun, 14 Apr 2013 16:06:11 +0100 |
Hi maouinin,
Tadziu wrote:
> With groff, instead of "--", you have to use "\[en]" to get an
> en-dash. For left and right quotes use "\[lq]" and "\[rq]".
Or the older style of \(en for the two-letter ones. There's also
preconv(1), normally invoked with groff's -k option. That way you can
feed groff UTF-8 as preconv runs beforehand and produces the Unicode
references.
$ nroff <<<'\(en \[lq] \(rq' | grep . | preconv
.lf 1 -
\[u2013] \[u201C] \[u201D]
$
Cheers, Ralph.