groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff/contrib/mom ChangeLog om.tmac momdoc/docp...


From: Peter Schaffter
Subject: [Groff-commit] groff/contrib/mom ChangeLog om.tmac momdoc/docp...
Date: Tue, 21 Feb 2012 21:14:20 +0000

CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Peter Schaffter <PTPi>  12/02/21 21:14:20

Modified files:
        contrib/mom    : ChangeLog om.tmac 
        contrib/mom/momdoc: docprocessing.html 

Log message:
        Small bugfixes, doc corrections, changes to TYPEWRITE for
        DOCTYPE NAMED handling.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/ChangeLog?cvsroot=groff&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/om.tmac?cvsroot=groff&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/momdoc/docprocessing.html?cvsroot=groff&r1=1.39&r2=1.40

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/groff/groff/contrib/mom/ChangeLog,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- ChangeLog   8 Sep 2011 18:30:43 -0000       1.72
+++ ChangeLog   21 Feb 2012 21:14:19 -0000      1.73
@@ -1,3 +1,10 @@
+* Sat Feb 18 2012
+
+o Added choice to have DOCTYPE NAMED <name> underscored or not when
+  PRINTSTYLE TYPEWRITE
+
+o Doc fix to DOCTYPE NAMED underlining entry
+
 * Thu Sep 8 2011
 o Added register #SUBHEAD, analagous to #HEAD, to fix excessive
   spacing between SUBHEADs and SUBSUBHEADs.

Index: om.tmac
===================================================================
RCS file: /sources/groff/groff/contrib/mom/om.tmac,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- om.tmac     8 Sep 2011 18:30:43 -0000       1.64
+++ om.tmac     21 Feb 2012 21:14:20 -0000      1.65
@@ -2476,7 +2476,7 @@
 .    char \\*[$PAD_MARKER] \R'#SPACE_TO_END \En(.l-\Enp'\R'#PAD_SPACE 
\En[#SPACE_TO_END]/\En[#PAD_COUNT]'
 .    di PAD_STRING
 .    fam \\*[$FAMILY_FOR_PAD]
-\\f]\\*[$FONT_FOR_PAD]]\\s[\\n[#SIZE_FOR_PAD]u]\\*[$PAD_STRING]
+\\f[\\*[$FONT_FOR_PAD]]\\s[\\n[#SIZE_FOR_PAD]u]\\*[$PAD_STRING]
 .    br
 .    di
 .    char \\*[$PAD_MARKER] \h'\En[#PAD_SPACE]u'
@@ -5675,6 +5675,8 @@
 .       SS DEFAULT
 .       if \\n[#UNDERLINE_QUOTES]=1 \{ .UNDERLINE_QUOTES         \}
 .       if \\n[#UNDERLINE_QUOTES]=0 \{ .UNDERLINE_QUOTES OFF     \}
+.\" +Doctype underlining (if NAMED)
+.       if !r#DOCTYPE_UNDERLINE \{ .nr #DOCTYPE_UNDERLINE 1 \}
 .\" +Quotes and blockquotes
 .       if !r#Q_OFFSET_VALUE \{\
 .          if '\\*[$Q_OFFSET_VALUE]'' \{ .QUOTE_INDENT 1 \}
@@ -7831,7 +7833,12 @@
 .             \}
 .             ie \\n[#SINGLE_SPACE]=0 \{ .sp 2 \}
 .             el \{ .sp \}
+.             ie \\n[#DOCTYPE_UNDERLINE] \{\
 .             UNDERSCORE2 4p "\\*[$DOC_TYPE]"
+.             \}
+.             el \{\
+.                PRINT "\\*[$DOC_TYPE]"
+.             \}
 .             if \\n[#SINGLE_SPACE]=1 \{ .sp \}
 .          \}
 .          if \\n[#PRINT_STYLE]=2 \{\

Index: momdoc/docprocessing.html
===================================================================
RCS file: /sources/groff/groff/contrib/mom/momdoc/docprocessing.html,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- momdoc/docprocessing.html   22 Feb 2011 19:42:29 -0000      1.39
+++ momdoc/docprocessing.html   21 Feb 2012 21:14:20 -0000      1.40
@@ -1588,9 +1588,9 @@
 </p>
 
 <p>
-As an example, supposed you want the doctype-name underlined in the
-docheader with a 2-point rule separated from the head by 3 points.
-The way to accomplish it is:
+As an example, suppose you want the doctype-name underlined in the
+docheader with a 2-point rule separated from the doctype-name by 3
+points.  The way to accomplish it is:
 <br/>
 <span class="pre-in-pp">
   .DOCTYPE_UNDERLINE 2 3p
@@ -1599,7 +1599,7 @@
 default gap of 2 points,
 <br/>
 <span class="pre-in-pp">
-  .DOCTYPE_UNDERLINE 4
+  .DOCTYPE_UNDERLINE 2
 </span>
 would do the trick.
 </p>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]