groff
[Top][All Lists]
Advanced

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

Re: [Groff] _Unix Text Processing_ Fails to Build.


From: Werner LEMBERG
Subject: Re: [Groff] _Unix Text Processing_ Fails to Build.
Date: Sun, 06 Jan 2013 16:41:11 +0100 (CET)

>> Today, sort of for grins, I extracted the tarball and ran make.  I
>> got a bunch of errors from eqn and it didn't finish all the way.

Uh, oh, this is a bug in groff itself due to bad interaction between
tbl and eqn.  Thanks for the report!

The problem is that UTP uses the backtick character (`) for short eqn
formulae.  However, code emitted by tbl contains this:

  .tm1 "warning: file `\n[.F]', around line \n[.c]:
  .tm1 "  table wider than line width

Obviously the single backquote character in .tm1 ruins everything
afterwards...

Two possible quick fixes:

. Add the `nowarn' parameter to all global tbl options, this is,
  change for example

    .TS
    center,box

  to

    .TS
    center,box,nowarn

. Use e.g. `$' instead of the backtick for all short eqn formulae.


Actually, this is quite a serious problem IMHO: How can I guarantee
that tbl and eqn harmonize?  Maybe ignore .tm and .tm1 lines
completely?


    Werner


PS: There are more problems while compiling UTP which I will analyze
    later.



reply via email to

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