/[groff]/groff/src/preproc/tbl/table.cpp
ViewVC logotype

Diff of /groff/src/preproc/tbl/table.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by wlemb, Mon Apr 19 06:17:46 2004 UTC revision 1.5 by wl, Mon Sep 13 08:13:48 2004 UTC
# Line 30  Foundation, 59 Temple Place - Suite 330, Line 30  Foundation, 59 Temple Place - Suite 330,
30  const int DEFAULT_COLUMN_SEPARATION = 3;  const int DEFAULT_COLUMN_SEPARATION = 3;
31    
32  #define DELIMITER_CHAR "\\[tbl]"  #define DELIMITER_CHAR "\\[tbl]"
 #define PREFIX "3"  
33  #define SEPARATION_FACTOR_REG PREFIX "sep"  #define SEPARATION_FACTOR_REG PREFIX "sep"
34  #define BOTTOM_REG PREFIX "bot"  #define BOTTOM_REG PREFIX "bot"
35  #define RESET_MACRO_NAME PREFIX "init"  #define RESET_MACRO_NAME PREFIX "init"
# Line 64  const int DEFAULT_COLUMN_SEPARATION = 3; Line 63  const int DEFAULT_COLUMN_SEPARATION = 3;
63  // this must be one character  // this must be one character
64  #define COMPATIBLE_REG PREFIX "c"  #define COMPATIBLE_REG PREFIX "c"
65    
66    #define LEADER_REG PREFIX LEADER
67    
68  #define BLOCK_WIDTH_PREFIX PREFIX "tbw"  #define BLOCK_WIDTH_PREFIX PREFIX "tbw"
69  #define BLOCK_DIVERSION_PREFIX PREFIX "tbd"  #define BLOCK_DIVERSION_PREFIX PREFIX "tbd"
70  #define BLOCK_HEIGHT_PREFIX PREFIX "tbh"  #define BLOCK_HEIGHT_PREFIX PREFIX "tbh"
# Line 1695  void table::init_output() Line 1696  void table::init_output()
1696      prints(".nr " LINESIZE_REG " \\n[.s]\n");      prints(".nr " LINESIZE_REG " \\n[.s]\n");
1697    if (!(flags & CENTER))    if (!(flags & CENTER))
1698      prints(".nr " SAVED_CENTER_REG " \\n[.ce]\n");      prints(".nr " SAVED_CENTER_REG " \\n[.ce]\n");
1699      if (compatible_flag)
1700        prints(".ds " LEADER_REG " \\a\n");
1701    prints(".de " RESET_MACRO_NAME "\n"    prints(".de " RESET_MACRO_NAME "\n"
1702           ".ft \\n[.f]\n"           ".ft \\n[.f]\n"
1703           ".ps \\n[.s]\n"           ".ps \\n[.s]\n"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26