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.

Reply via email to