[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff/src/preproc/eqn main.cpp
From: |
Eric S. Raymond |
Subject: |
[Groff-commit] groff/src/preproc/eqn main.cpp |
Date: |
Sat, 03 Feb 2007 07:26:32 +0000 |
CVSROOT: /sources/groff
Module name: groff
Changes by: Eric S. Raymond <esr> 07/02/03 07:26:32
Modified files:
src/preproc/eqn: main.cpp
Log message:
Fix a minor glitch in some cases of displayed-equation MathML markup.
Doesn't affect troff markup.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/eqn/main.cpp?cvsroot=groff&r1=1.4&r2=1.5
Patches:
Index: main.cpp
===================================================================
RCS file: /sources/groff/groff/src/preproc/eqn/main.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- main.cpp 3 Feb 2007 05:32:55 -0000 1.4
+++ main.cpp 3 Feb 2007 07:26:32 -0000 1.5
@@ -111,7 +111,10 @@
inline_flag = 0;
yyparse();
restore_compatibility();
- if (output_format == troff && non_empty_flag) {
+ if (non_empty_flag)
+ if (output_format == mathml)
+ putchar('\n');
+ else {
printf(".lf %d\n", current_lineno - 1);
output_string();
}