diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/preproc/eqn/box.cc | 2 | ||||
-rw-r--r-- | src/preproc/eqn/main.cc | 4 |
3 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,11 @@ +2002-02-04 Werner LEMBERG <wl@gnu.org> + + * src/preproc/eqn/box.cc (output_string): Don't use \\*[...]. + * src/preproc/eqn/main.cc (do_file, inline_equation): Call + `restore_compatibility' before `output_string' -- the LINE_STRING + register now already contains proper switches from and to + compatibility mode. + 2002-02-03 Werner LEMBERG <wl@gnu.org> Added three new requests `ds1', `as1', and `ami'. The former two diff --git a/src/preproc/eqn/box.cc b/src/preproc/eqn/box.cc index 0c0a3259..9369aa04 100644 --- a/src/preproc/eqn/box.cc +++ b/src/preproc/eqn/box.cc @@ -232,7 +232,7 @@ void start_string() void output_string() { - printf("\\*[" LINE_STRING "]\n"); + printf("\\*(" LINE_STRING "\n"); } void restore_compatibility() diff --git a/src/preproc/eqn/main.cc b/src/preproc/eqn/main.cc index 064dfc26..5c26ab3b 100644 --- a/src/preproc/eqn/main.cc +++ b/src/preproc/eqn/main.cc @@ -132,11 +132,11 @@ void do_file(FILE *fp, const char *filename) non_empty_flag = 0; inline_flag = 0; yyparse(); + restore_compatibility(); if (non_empty_flag) { printf(".lf %d\n", current_lineno - 1); output_string(); } - restore_compatibility(); printf(".lf %d\n", current_lineno); put_string(linebuf, stdout); if (html && (suppress_html == 0)) @@ -217,9 +217,9 @@ static int inline_equation(FILE *fp, string &linebuf, string &str) break; } } + restore_compatibility(); printf(".lf %d\n", current_lineno); output_string(); - restore_compatibility(); printf(".lf %d\n", current_lineno + 1); return 1; } |