[Top][All Lists]

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

[bug #55155] .tr is overzealous in nroff output

From: Dave
Subject: [bug #55155] .tr is overzealous in nroff output
Date: Mon, 3 Dec 2018 23:25:44 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #2, bug #55155 (project groff):

It turns out commit babca15fa2d3f5ec1dd7214e31e1efc42759c220vax solved this
specific instance of the problem by changing how nroff displays a dagger
symbol.  So the examples below do not fail in the manner described using the
latest groff code and .tmac files.

But the general problem -- that .tr sometimes changes characters that don't
actually appear in input -- remains.  Using the latest tmac/tty-char.tmac, for
instance, you can get the result:

$ printf '.tr n-\nA \[if] B\n' | nroff | head -1
A <i-fi-ity> B

.tr should only change n's that appear in input, not ones that appear only in
output, and especially not ones part of a predefined symbol.


Reply to this item at:


  Message sent via Savannah

reply via email to

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