[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: Trivial fixes to example files.
From: |
Peter Schaffter |
Subject: |
[groff] 01/01: Trivial fixes to example files. |
Date: |
Sat, 24 Nov 2018 15:46:31 -0500 (EST) |
PTPi pushed a commit to branch master
in repository groff.
commit f01d899a91a4aca54580ebb3e10f662f43154ecb
Author: Peter Schaffter <address@hidden>
Date: Sat Nov 24 15:45:48 2018 -0500
Trivial fixes to example files.
---
contrib/mom/examples/mom-pdf.mom | 6 +-----
contrib/mom/examples/mon_premier_doc.mom | 2 +-
contrib/mom/examples/sample_docs.mom | 1 -
contrib/mom/examples/typesetting.mom | 1 -
4 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/contrib/mom/examples/mom-pdf.mom b/contrib/mom/examples/mom-pdf.mom
index dbf7665..17c0b4c 100644
--- a/contrib/mom/examples/mom-pdf.mom
+++ b/contrib/mom/examples/mom-pdf.mom
@@ -332,7 +332,6 @@ links.
.PP
The default colour can be restored by calling
\*[cod]PDF_LINK_COLOR\*[codx] with no parameter.
-.SP -1
.FLOAT
.JUSTIFY
.BOX-NOTE 3P
@@ -404,7 +403,6 @@ to accomplish this is
.COD "\&.PDF_TITLE\ \[dq]<window title>\[dq]
It can take any text, so the viewer window title need not be the
same as the document's title.
-.SP -1
.FLOAT
.JUSTIFY
.BOX-NOTE 4P+8p
@@ -613,7 +611,6 @@ underlining (e.g., of italics)
.ITEM
generally produces larger files; these can be reduced by piping
the output through \[ps2pdf]\*[B]
-.SP -1
.FLOAT
.QUAD LEFT
.BR_AT_LINE_KERN
@@ -628,8 +625,7 @@ their metadata, notably the window title set with
.SP .75
.FLOAT off
.ITEM
-is newer code with less testing\c
-.EL
+is newer code with less testing
.LIST OFF
.TOC
.\" Local Variables:
diff --git a/contrib/mom/examples/mon_premier_doc.mom
b/contrib/mom/examples/mon_premier_doc.mom
index c02ce14..ffb1b19 100644
--- a/contrib/mom/examples/mon_premier_doc.mom
+++ b/contrib/mom/examples/mon_premier_doc.mom
@@ -11,7 +11,7 @@
\#
.TITLE "Mon Premier Document"
.AUTHOR "Cicéron"
-
+.
.DOCTYPE DEFAULT
.PRINTSTYLE TYPESET
.
diff --git a/contrib/mom/examples/sample_docs.mom
b/contrib/mom/examples/sample_docs.mom
index 0fa616e..5c25a2a 100644
--- a/contrib/mom/examples/sample_docs.mom
+++ b/contrib/mom/examples/sample_docs.mom
@@ -488,7 +488,6 @@ amet. Consetetur sadipscing elitr, sed diam nonumy.
Eirmod tempor
invidunt ut labore et do\%lo\%re magna ali\%quyam erat. Sed diam voluptua
at vero eos et accusam et justo.
\#
-.if \n[#PRINT_STYLE]=2 .sp 1p \" A little tweak
.BLOCKQUOTE
Stet clita kasd gubergren, no sea takimata sanctus est lorem.
Ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
diff --git a/contrib/mom/examples/typesetting.mom
b/contrib/mom/examples/typesetting.mom
index 77153d8..a35b237 100644
--- a/contrib/mom/examples/typesetting.mom
+++ b/contrib/mom/examples/typesetting.mom
@@ -313,7 +313,6 @@ This example demonstrates the use of left and hanging
indents for
simple enumerated lists. Nested lists are possible, as the example
shows; however, the more complex the nesting, the wiser it becomes
to use (string) tabs, as seen in Example 4.
-.RLD 1v \" Move upwards 1/2 linespace
.DBX .5 0 \n[.l]u 2P+9p \" Draw box; \n[.l]u means "the current line length"
.IB 6p \" Indent from both left and right margins
.ALD 14p
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: Trivial fixes to example files.,
Peter Schaffter <=