bug-groff
[Top][All Lists]
Advanced

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

[bug #61379] [*.tmac] Detect use of preprocessor "tbl" and "table wider


From: Bjarni Ingi Gislason
Subject: [bug #61379] [*.tmac] Detect use of preprocessor "tbl" and "table wider than line"
Date: Sun, 24 Oct 2021 23:31:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?61379>

                 Summary: [*.tmac] Detect use of preprocessor "tbl" and "table
wider than line"
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Mon 25 Oct 2021 03:31:19 AM UTC
                Category: Macro - man
                Severity: 3 - Normal
              Item Group: New feature
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

[*.tmac] Detect use of preprocessor "tbl" and "table wider than line"

  Add this to the beginning of the definition of macro "TE" (End of
Table):

.  if !r TW \{\
.\" nroff in contiuous mode (default) can output a lot of empty lines
.\" to fill the page with the defined number of lines after aborting
.    pl 0v
.    ds msg \\n[.F]: table preprocessing is missing, \"
.    as msg for example option '-t'; aborting\"
.    ab \\*[msg]
.  \}
.
.\"If table is wider than the line
.  if \\n[.l]-\\n[.i]-\\n[TW]<0 \{\
.    tm1 "      .l = \\n[.l]u .i = \\n[.i]u TW (table width) = \\n[TW]u
.  \}
.

####

  The macro "TE" is used in "an.tmac", "e.tmac", "m.tmac", "om.tmac",
"s.tmac", and "www.tmac.in".





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61379>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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