[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ./ChangeLog ./NEWS man/groff_diff.man src...
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ./ChangeLog ./NEWS man/groff_diff.man src... |
Date: |
Tue, 23 Nov 2004 04:26:40 -0500 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Werner LEMBERG <address@hidden> 04/11/23 09:20:48
Modified files:
. : ChangeLog NEWS
man : groff_diff.man
src/devices/grohtml: html-table.cpp
Log message:
* src/devices/grohtml/html-table.cpp
(html_table::emit_table_header): Don't emit `cols' attribute which
doesn't exist in HTML 4.0 and is thus invalid.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.759&tr2=1.760&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/NEWS.diff?tr1=1.195&tr2=1.196&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/man/groff_diff.man.diff?tr1=1.51&tr2=1.52&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grohtml/html-table.cpp.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.759 groff/ChangeLog:1.760
--- groff/ChangeLog:1.759 Sat Nov 20 09:27:57 2004
+++ groff/ChangeLog Tue Nov 23 09:20:48 2004
@@ -1,3 +1,9 @@
+2004-11-22 Werner LEMBERG <address@hidden>
+
+ * src/devices/grohtml/html-table.cpp
+ (html_table::emit_table_header): Don't emit `cols' attribute which
+ doesn't exist in HTML 4.0 and is thus invalid.
+
2004-11-18 Werner LEMBERG <address@hidden>
* tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
Index: groff/NEWS
diff -u groff/NEWS:1.195 groff/NEWS:1.196
--- groff/NEWS:1.195 Sat Nov 20 09:27:57 2004
+++ groff/NEWS Tue Nov 23 09:20:48 2004
@@ -52,52 +52,66 @@
Macro packages
--------------
-o The ms macros now support fractional point sizes: A value for the PS, VS,
- FPS, and VPS register larger than or equal to 1000 is always divided by
- 1000. For example, `.nr PS 10250' sets the document's font size to
- 10.25 points.
-
-o The `Ds' and `De' macros provided in ms since groff version 1.19 have been
- removed; the equivalent `DS' and `DE' macros should be used instead. X11
- documents which actually use `Ds' and `De' always load a specific macro
- file from the X11 distribution (macros.t) which provides proper
- definitions for the two macros.
-
-o The following registers have been added to the ms macros for improving
- layout control:
-
- PORPHANS
- Defines number of lines following LP, PP, QP, IP or XP which must be
- kept together, before any automatic page break.
-
- HORPHANS
- Sets number of lines of following paragraph which must be kept with a
- heading, defined by NH or SH, before any automatic page break.
-
- GROWPS
- Sets the first level of heading (set with NH) which will keep the same
- point size as body text.
-
- PSINCR
- Sets the point size increment for each level of heading (set with NH),
- below the threshold level set by GROWPS; e.g., if \n[PS] = 10,
- \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, then .NH 1 will produce 14pt
- headings, .NH 2 will produce 12pt, and all other levels will remain
- at 10pt (because \n[PS] = 10).
-
-o The SH macro in the ms package now accepts a numeric argument, to make
- heading size match that of NH with same argument value when the
- GROWPS/PSINCR feature is enabled.
+o ms.tmac
-o www.tmac:
+ . Support for fractional point sizes: A value for the `PS', `VS', `FPS',
+ and `VPS' register larger than or equal to 1000 is always divided by
+ 1000. For example, `.nr PS 10250' sets the document's font size to
+ 10.25 points.
- The HR macro no longer causes an empty line for non-HTML devices.
+ . The `Ds' and `De' macros provided in ms since groff version 1.19 have
+ been removed; the equivalent `DS' and `DE' macros should be used
+ instead. X11 documents which actually use `Ds' and `De' always load a
+ specific macro file from the X11 distribution (`macros.t') which
+ provides proper definitions for the two macros.
+
+ . The following registers have been added for improving layout control:
+
+ PORPHANS
+ Defines number of lines following `LP', `PP', `QP', `IP' or `XP' which
+ must be kept together, before any automatic page break.
+
+ HORPHANS
+ Sets number of lines of following paragraph which must be kept with a
+ heading, defined by `NH' or `SH', before any automatic page break.
+
+ GROWPS
+ Sets the first level of heading (set with `NH') which will keep the
+ same point size as body text.
+
+ PSINCR
+ Sets the point size increment for each level of heading (set with
+ `NH'), below the threshold level set by `GROWPS'; e.g., if
+ \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, then `.NH 1' will
+ produce 14pt headings, `.NH 2' will produce 12pt, and all other levels
+ will remain at 10pt (because \n[PS] = 10).
+
+ . The `SH' macro now accepts a numeric argument, to make heading size
+ match that of `NH' with same argument value when the `GROWPS'/`PSINCR'
+ feature is enabled.
+
+ Please refer to the documentation of the ms package for other, minor
+ improvements.
+
+o me.tmac
+
+ The section type set with the `++' request is available in the `_M'
+ register. This isn't new but hasn't been documented before.
+
+o www.tmac
+
+ The `HR' macro no longer causes an empty line for non-HTML devices.
A new macro `HEAD' has been added to directly add data to the
<head>...</head> block.
-Please refer to the documentation of the ms package for other, minor
-improvements.
+Miscellaneous
+-------------
+
+o Two new keywords to the DESC file have been added which are needed for
+ grohtml: `image_generator' and `unscaled_charwidths'. The former gives
+ the name of the program which creates PNG images, and the latter makes
+ troff always use unscaled character widths.
VERSION 1.19.1
Index: groff/man/groff_diff.man
diff -u groff/man/groff_diff.man:1.51 groff/man/groff_diff.man:1.52
--- groff/man/groff_diff.man:1.51 Tue Jul 27 01:29:24 2004
+++ groff/man/groff_diff.man Tue Nov 23 09:20:48 2004
@@ -3522,7 +3522,7 @@
provides a
.B compatibility mode
that allows to process roff code written for classical
-.troff
+.B troff
or for other implementations of roff in a consistent way.
.
.P
Index: groff/src/devices/grohtml/html-table.cpp
diff -u groff/src/devices/grohtml/html-table.cpp:1.2
groff/src/devices/grohtml/html-table.cpp:1.3
--- groff/src/devices/grohtml/html-table.cpp:1.2 Tue Oct 12 21:39:31 2004
+++ groff/src/devices/grohtml/html-table.cpp Tue Nov 23 09:20:48 2004
@@ -332,8 +332,6 @@
last_col = NULL;
if (linelength > 0) {
- int n = no_columns() + no_gaps();
-
out->nl();
out->nl();
@@ -345,9 +343,7 @@
start_space = space;
out->put_string("<table width=\"100%\"")
.put_string(" border=0 rules=\"none\" frame=\"void\"\n")
- .put_string(" cols=\"")
- .put_number(n)
- .put_string("\" cellspacing=\"0\" cellpadding=\"0\"")
+ .put_string(" cellspacing=\"0\" cellpadding=\"0\"")
.put_string(start_space ? " style=\"margin-top: 8px; margin-bottom:
8px\"" : "")
.put_string(">")
.nl();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ./ChangeLog ./NEWS man/groff_diff.man src...,
Werner LEMBERG <=