groff
[Top][All Lists]
Advanced

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

Re: Why are tty-char.tmac and tty.tmac separate files?


From: Ingo Schwarze
Subject: Re: Why are tty-char.tmac and tty.tmac separate files?
Date: Sun, 31 Jul 2022 20:02:52 +0200

Hi Branden,

G. Branden Robinson wrote on Sat, Jul 16, 2022 at 12:05:55AM -0500:

> I added fallbacks in tty.char for \[fm] and \[sd] (both CSTR #54
> glyphs) in May 2021.  I seem to remember that Ingo followed suit
> at least for the latter in mdoc.

mandoc renders as follows:

input:    \(fm
-T ascii: U+0027 APOSTROPHE-QUOTE
-T utf8:  U+2032 PRIME

input:    \(sd
-T ascii: U+0022 QUOTATION MARK
-T utf8:  U+2033 DOUBLE PRIME

The latest related commits are:

mandoc/chars.c revision 1.51
date: 2022/06/26 20:30:00;  author: schwarze;  state: Exp;  lines: +2 -2;
In groff commit 78e66624 on May 7 20:15:33 2021 +1000,
G. Branden Robinson changed the -T ascii rendering
of \(sd, the "second" symbol, U+2033 DOUBLE PRIME, from '' to ".
Follow suit in mandoc.

mandoc/chars.in revision 1.24
date: 2014/10/29 03:34:26;  author: schwarze;  state: Exp;  lines: +20 -20;
Some fine tuning of console rendering of named special characters.
Correct ASCII rendering: \(lb \(<> \(sd    # <=== look here ===<
Make ASCII rendering agree with groff, using backspace overstrike:
\(da \(ua \(dA \(uA \(fa \(c* \(c+ \(ib \(ip \(/_ \(pp \(is \(dd \(dg

Essentially, rev. 1.24 changed " to '' to agree with groff.
That was reverted by Branden in 2021 and i followed again,
even though with a significant delay caused by lazyness on my part.

The mandoc ASCII rendering of \(fm has been stable since it was
first supported in 2009.

Yours,
  Ingo



reply via email to

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