summaryrefslogtreecommitdiff
path: root/src/preproc/tbl/table.cc
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-01-07 14:33:59 +0000
committerwlemb <wlemb>2003-01-07 14:33:59 +0000
commit6a6692c458f9d417c14f1715a9f3d848ff26b27c (patch)
tree2932180af263b44522b29c77f13ee9bd612fb8fd /src/preproc/tbl/table.cc
parentd16dfe57b0fed9b9fa9409495410569e1469049d (diff)
downloadgroff-6a6692c458f9d417c14f1715a9f3d848ff26b27c.tar.gz
`is' is now a text symbol (only relevant for dvi). The math variant
can be accessed with `integral'. * font/devX*/S: Regenerated. * font/devdvi/generate/texex.map: Remove `is'. * font/devdvi/EX: Updated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'. * font/devlj4/generate/special.map: Ditto. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `integral'. * font/devps/S: Regenerated. * tmac/dvi.tmac: Define `is'. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'. * src/preproc/tbl/main.cc (process_format): Fix error message.
Diffstat (limited to 'src/preproc/tbl/table.cc')
-rw-r--r--src/preproc/tbl/table.cc17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/preproc/tbl/table.cc b/src/preproc/tbl/table.cc
index c7f96cd3..32068c36 100644
--- a/src/preproc/tbl/table.cc
+++ b/src/preproc/tbl/table.cc
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2003
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -454,7 +455,6 @@ text_entry::~text_entry()
a_delete contents;
}
-
repeated_char_entry::repeated_char_entry(char *s, const entry_modifier *m)
: text_entry(s, m)
{
@@ -735,8 +735,6 @@ void left_block_entry::print()
prints(".in\n");
}
-
-
right_block_entry::right_block_entry(char *s, const entry_modifier *m)
: block_entry(s, m)
{
@@ -804,7 +802,6 @@ void line_entry::note_double_vrule_on_left(int is_corner)
double_vrule_on_left = is_corner ? 1 : 2;
}
-
single_line_entry::single_line_entry(const entry_modifier *m)
: line_entry(m)
{
@@ -996,7 +993,6 @@ void restore_inline_modifier(const entry_modifier *m)
prints("\\v'.5v'");
}
-
struct stuff {
stuff *next;
int row; // occurs before row `row'
@@ -1027,7 +1023,6 @@ struct text_stuff : public stuff {
void print(table *);
};
-
text_stuff::text_stuff(const string &s, int r, const char *fn, int ln)
: stuff(r), contents(s), filename(fn), lineno(ln)
{
@@ -1688,7 +1683,6 @@ void table::determine_row_type()
}
}
-
void table::init_output()
{
prints(".nr " COMPATIBLE_REG " \\n(.C\n"
@@ -1854,7 +1848,6 @@ string span_alphabetic_width_reg(int start_col, int end_col)
return string(name);
}
-
string column_separation_reg(int col)
{
static char name[sizeof(COLUMN_SEPARATION_PREFIX)+INT_DIGITS];
@@ -1914,11 +1907,10 @@ void compute_span_width(int start_col, int end_col)
span_left_numeric_width_reg(start_col, end_col),
span_right_numeric_width_reg(start_col, end_col),
span_alphabetic_width_reg(start_col, end_col));
-
}
// Increase the widths of columns so that the width of any spanning entry
-// is no greater than the sum of the widths of the columns that it spans.
+// is not greater than the sum of the widths of the columns that it spans.
// Ensure that the widths of columns remain equal.
void table::divide_span(int start_col, int end_col)
@@ -1954,7 +1946,6 @@ void table::divide_span(int start_col, int end_col)
prints(".\\}\n");
}
-
void table::sum_columns(int start_col, int end_col)
{
assert(end_col > start_col);
@@ -2008,7 +1999,6 @@ void table::build_span_list()
}
}
-
void table::compute_separation_factor()
{
if (flags & (ALLBOX|BOX|DOUBLEBOX))
@@ -2475,7 +2465,6 @@ void table::define_bottom_macro()
".ec\n");
}
-
// is the vertical line before column c in row r horizontally spanned?
int table::vline_spanned(int r, int c)