groff
[Top][All Lists]
Advanced

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

[Groff] W.: [bug #42978] tbl does not restore the tab settings


From: Carsten Kunze
Subject: [Groff] W.: [bug #42978] tbl does not restore the tab settings
Date: Wed, 13 Aug 2014 22:03:06 +0200 (CEST)

tbl(1) may be not in charge of this.  This is a function of the macro package.  
AFAIK it is not possible for the preprocessor to read the tab positions (for 
restoring it).  So *you* should restore them (maybe some macro packages do it 
for you).


----- Original Nachricht ----
Von:     Bjarni Ingi Gislason <address@hidden>
An:      Bjarni Ingi Gislason <address@hidden>, address@hidden
Datum:   13.08.2014 21:33
Betreff: [bug #42978] tbl does not restore the tab settings

Follow-up Comment #1, bug #42978 (project groff):

  Had to use "verbatim" markup!

Package: groff
Version: 1.22.2
Severity: normal
Tags: upstream
Charmap: ISO-8859-1

  The GNU tbl command changes the setting of the tabs and does not
restore them when finished.

  Example

.TH TBS-TEST 1 "12-08-2014"
.LP
.TS
l l.
Line 1, first column    second column
Line 2, first column    second column
.TE
.EX
#!/bin/sh
case $#
1)
        if something; then
                this
        else
                the other thing
        fi
;;
esac
.EE

  Output from "man -l ..." is:

TBS-TEST(1)                 General Commands Manual               
TBS-TEST(1)



       Line 1, first column   second column
       Line 2, first column   second column
       #!/bin/sh
       case $#
       1)
                           if somthing; then
                                           this
                           else
                                           the other thing
                           fi
       ;;
       esac



                                  12-08-2014                      
TBS-TEST(1)
## End of man output


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42978>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
bug-groff mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-groff



reply via email to

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