groff
[Top][All Lists]
Advanced

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

Re: [Groff] tbl problem


From: pgerbrandt
Subject: Re: [Groff] tbl problem
Date: Wed, 14 Nov 2001 17:07:58 +0100

Hi

I tryed to produce this tables and got this error from gs as I opened it:

AFPL Ghostscript 7.03 (2001-10-20)
Copyright (C) 2001 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /typecheck in --.unread--
Operand stack:
   true   --nostringval--   true   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   
--nostringval--   1   1   3   --nostringval--   %for_pos_int_continue   
--nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:998/1123(ro)(G)--   --dict:0/20(G)--   --dict:67/200(L)--
Current allocation mode is local
AFPL Ghostscript 7.03: Unrecoverable error, exit code 1

As I tryed to open another postscript document I got no errors.

Peter Gerbrandt


- - - - - - - - - - - - - - Originalnachricht - - - - - - - - - - - - - -
Von: Werner LEMBERG <address@hidden>
Betreff: [Groff] tbl problem
Datum: 14.11.01 09:32


Consider the following table (note the starting `.sp'):

  .sp
  .TS
  tab(@), center;
  c c c | c c c
  r rI lB | r rI lB.
  address@hidden@address@hidden@address@hidden
  _
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  address@hidden@address@hidden@address@hidden
  .TE

This produces:

                             |
        Bit   Code   Warning | Bit    Code      Warning
        ---------------------+----------------------------
          0      1   char    |  10     1024   reg
          1      2   number  |  11     2048   tab
          2      4   break   |  12     4096   right-brace
          3      8   delim   |  13     8192   missing
          4     16   el      |  14    16384   input
          5     32   scale   |  15    32768   escape
          6     64   range   |  16    65536   space
          7    128   syntax  |  17   131072   font
          8    256   di      |  18   262144   ig
          9    512   mac     |  19   524288   color

Two problems:

  . Note the ugly `|' in the first line.  Does UNIX tbl produce a
    similar result?  I would like to get rid of the superfluous `|'.

  . Without the leading `.sp', grotty produces a warning

      grotty:tbl:232: character above first line discarded

    and discards the first line.  I think this is not good behaviour.
    grotty is right, and tbl should be fixed.

Finally a question regarding a feature not documented in the original
tbl manual.  GNU troff strips leading and trailing spaces from data
fields -- this is very convenient since it makes table data much more
readable.  What about UNIX tbl?


  Werner
_______________________________________________
Groff maillist  -  address@hidden
http://ffii.org/mailman/listinfo/groff

reply via email to

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