bug-groff
[Top][All Lists]
Advanced

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

[bug #61909] [tbl] does not suppress inter-sentence space outside of tex


From: G. Branden Robinson
Subject: [bug #61909] [tbl] does not suppress inter-sentence space outside of text blocks
Date: Wed, 30 Nov 2022 07:33:25 -0500 (EST)

Update of bug #61909 (project groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #8:


commit f403592717e07dbf3a7886396d32618ddf73f74a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Nov 29 09:53:12 2022 -0600

    [tbl]: Regression-test Savannah #61909.
    
    * src/preproc/tbl/tests/save-and-restore-inter-sentence-space.sh: Do it.
    * src/preproc/tbl/tbl.am (tbl_TESTS): Run test.
    
    Test fails at this commit.

commit d75543ee567db15b2ac93309a4763401933b8f2c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Nov 29 10:05:21 2022 -0600

    [tbl]: Fix Savannah #61909.
    
    * src/preproc/tbl/table.cpp (SAVED_INTER_WORD_SPACE_SIZE)
      (SAVED_INTER_SENTENCE_SPACE_SIZE): Add new preprocessor macros.
    
    * src/preproc/tbl/table.cpp (SAVED_INTER_WORD_SPACE_SIZE)
      (SAVED_INTER_SENTENCE_SPACE_SIZE): Add new preprocessor macros.
    
      (block_entry::do_divert): Restore saved inter-word and inter-sentence
      space when formatting a text entry.
    
      (table::init_output): When a table region begions, save the values of
      inter-word and inter-sentence space.  Add request to the reset macro
      to restore saved inter-word and inter-sentence space when leaving
      table region.
    
      (table::do_top): Set inter-sentence space to be equal to inter-word
      space.  This way spaces are "literal" in ordinary table extries (but
      not text blocks).
    
    Fixes <https://savannah.gnu.org/bugs/?61909>.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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