[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] replacement for col
From: |
walter harms |
Subject: |
Re: [Groff] replacement for col |
Date: |
Wed, 25 Jul 2012 10:19:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 |
Am 24.07.2012 18:16, schrieb Denis M. Wilson:
> Hello all
>
> On Tue, 24 Jul 2012 16:50:09 +0200
> walter harms <address@hidden> wrote:
>
>> hi list,
>> i run into a problem that may be solved by others already.
>>
>> I show a groff file as latin1, that worked fine. i had some ^H but
>> that where filtered by "tr" no problem. But i added some boldface to
>> the text and i got something like that N^HNi^Hic^Hch^Hht^Ht. No real
>> surprise i know that "col" could handle that. Unfortunately the
>> current version (util-linux-2.21.2) stumble over some umlauts in the
>> text (older version also).
>>
>> Does someone have an sed statement that replaces col ?
>> Is there an easy way to tell groff to avoid N^HN for bold ?
>
> Pass on options to grotty; the following removes all backspaces:
>
> groff -ww -Tlatin1 -P-c -P-b -P-o -P-u
>
Works fine for me.
A nice extension for grotty would be a switch for pure/plain that disables
all bold, underlines etc.
re,
wh