[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 03/04: Small alterations incorporating version 2.1 changes
From: |
Peter Schaffter |
Subject: |
[groff] 03/04: Small alterations incorporating version 2.1 changes |
Date: |
Thu, 05 Feb 2015 20:21:09 +0000 |
PTPi pushed a commit to branch master
in repository groff.
commit f3df08a2a55f38b2552a92bba1ac97caaf003d4f
Author: Peter Schaffter <address@hidden>
Date: Thu Feb 5 15:18:57 2015 -0500
Small alterations incorporating version 2.1 changes
---
contrib/mom/examples/README-fr.txt | 2 +-
contrib/mom/examples/README.txt | 4 +-
contrib/mom/examples/letter.mom | 2 +-
contrib/mom/examples/mom-pdf.mom | 109 +++++++++------
contrib/mom/examples/mon_premier_doc.mom | 5 +-
contrib/mom/examples/sample_docs.mom | 225 +++++++++++++++++++++---------
contrib/mom/examples/typesetting.mom | 2 +-
7 files changed, 238 insertions(+), 111 deletions(-)
diff --git a/contrib/mom/examples/README-fr.txt
b/contrib/mom/examples/README-fr.txt
index 0cbbc27..c5573f9 100644
--- a/contrib/mom/examples/README-fr.txt
+++ b/contrib/mom/examples/README-fr.txt
@@ -19,7 +19,7 @@ Je n'ai pas inclu les PDF parce que je voulais conserver
l'archive mom
aussi petite que possible. Pour générer les PDF, traitez les fichiers
avec pdfmom(1).
- pdfmom letter.mom > letter.pdf
+ pdfmom -k letter.mom > letter.pdf
pdfmom mom-pdf.mom > mom-pdf.pdf
pdfmom -k mon_premier_doc.mom > mon_premier_doc.pdf
pdfmom sample_docs.mom > sample_docs.pdf
diff --git a/contrib/mom/examples/README.txt b/contrib/mom/examples/README.txt
index 2892f5f..e4fefb1 100644
--- a/contrib/mom/examples/README.txt
+++ b/contrib/mom/examples/README.txt
@@ -1,5 +1,5 @@
-*- text -*-
- Copyright (C) 2004-2014 Free Software Foundation, Inc.
+ Copyright (C) 2004-2015 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -18,7 +18,7 @@ I haven't included the PDF output because I want to keep the
mom
archive as lean as possible. To view the PDF output, process the
files with pdfmom(1).
- pdfmom letter.mom > letter.pdf
+ pdfmom -k letter.mom > letter.pdf
pdfmom mom-pdf.mom > mom-pdf.pdf
pdfmom -k mon_premier_doc.mom > mon_premier_doc.pdf
pdfmom sample_docs.mom > sample_docs.pdf
diff --git a/contrib/mom/examples/letter.mom b/contrib/mom/examples/letter.mom
index a6e19b6..5be8674 100644
--- a/contrib/mom/examples/letter.mom
+++ b/contrib/mom/examples/letter.mom
@@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: utf-8; -*-
.
-\# Copyright (C) 2004-2014 Free Software Foundation, Inc.
+\# Copyright (C) 2004-2015 Free Software Foundation, Inc.
\#
\# Copying and distribution of this file, with or without modification,
\# are permitted in any medium without royalty provided the copyright
diff --git a/contrib/mom/examples/mom-pdf.mom b/contrib/mom/examples/mom-pdf.mom
index 72610df..b972c69 100644
--- a/contrib/mom/examples/mom-pdf.mom
+++ b/contrib/mom/examples/mom-pdf.mom
@@ -1,5 +1,5 @@
.\" -*- nroff -*-
-.\" Copyright (C) 2012-2014 Free Software Foundation, Inc.
+.\" Copyright (C) 2012-2015 Free Software Foundation, Inc.
.\"
.\" This file is part of mom, which is part of groff, a free software
.\" project.
@@ -8,68 +8,92 @@
.\" GNU General Public License as published by the "Free Software
\" Foundation", version\~2.
.\"
-.\" The license text is available in the internet at
+.\" The license text is available on the internet at
.\" <http://www.gnu.org/licenses/gpl-2.0.html>
.\"
-.PAPER A4
+.PAPER A4
.\" Reference macros (metadata)
.TITLE "Producing PDFs" "with groff and mom"
.PDF_TITLE "\*[$TITLE]
-.AUTHOR "\v'-.5v'\*[UP 4p]Deri James" \
- "\v'-.5v'\*[UP 8p]and" \
- "\v'-.5v'\*[UP 11p]Peter Schaffter"
-.MISC "This file is part of groff." \
- ".sp .25v" \
- "groff is free software; you can redistribute it" \
- "and\*[FU3]/or modify it under the terms of the GNU" \
- "General Public License as published by the" \
- "Free Software Foundation, either version 3" \
- "of the License, or (at your option) any later" \
- "version." \
- ".sp .25v" \
- "You should have received a copy of the GNU" \
- "General Public License along with this program." \
- "If not, see:" \
- ".sp .25v" \
- ".IL 2P" \
- ".PDF_WWW_LINK http://www.gnu.org/licenses/" \
- ".IQ CLEAR"
-.COPYRIGHT "20\*[BU3]1\*[BU2]2 Free Software Foundation
+.COPYRIGHT "20\*[BU3]1\*[BU2]5 Free Software Foundation
+.AUTHOR "Deri James" "\*[UP .5p]and" "Peter Schaffter"
+.\" Cover author style
+.COVER_AUTHOR_STYLE \
+ LEAD 15 \
+ SPACE -.5v
+.\" Docheader author style
+.AUTHOR_STYLE \
+ LEAD 14 \
+ SPACE -.75
.ATTRIBUTE_STRING "" \" Don't print 'by'
+.\"
.PDF_BOOKMARKS_OPEN 2
-.\" Cover and page header
-.COVER TITLE AUTHOR COPYRIGHT MISC
-.HEADER_LEFT "James, Schaffter"
-.\" Page, style, formatting
+.\" Formatting style, margins
.PRINTSTYLE TYPESET
.L_MARGIN 2.5c
.R_MARGIN 2.5c
.B_MARGIN 2.5c
-.\"
+.\" General defaults
.FAM H
.FT R
.PT_SIZE 10.5
.AUTOLEAD 3
-.PARA_INDENT 0 \" Because we're spacing paragraphs.
+.PARA_INDENT 0 \" No indent because we're spacing paragraphs.
+.\" Copyright notice
+.COVERTEXT
+.SP .5v
+.QUAD CENTER
+.HY off
+.IB 8P
+This file is part of groff.
+.SP .5v
+Groff is free software. You can redistribute it
+and\*[FU3]/or modify it under the terms of the GNU
+General Public License as published by the
+Free Software Foundation, either version 3
+of the License, or (at your option) any later
+version.
+.SP .5v
+You should have received a copy of the GNU
+General Public License along with this program.
+If not, see:
+.SP .25v
+.PDF_WWW_LINK http://www.gnu.org/licenses/
+.IQ CLEAR
+.HY
+.COVERTEXT end
+.\" Cover and page header
+.COVER TITLE AUTHOR COPYRIGHT COVERTEXT
+.HEADER_LEFT "James, Schaffter"
.\"
.COVER_LEAD +3.5
.DOCHEADER_LEAD +3.5
.\" Color for code snippets
.NEWCOLOUR dark-grey RGB #343434
.\" Make QUOTE look like CODE
-.QUOTE_FAMILY C
-.QUOTE_FONT B
-.QUOTE_SIZE +1.5
-.QUOTE_COLOR dark-grey
-.QUOTE_INDENT 9p
+.QUOTE_STYLE \
+ FAMILY C \
+ FONT B \
+ SIZE +1.5 \
+ COLOR dark-grey \
+ INDENT 9p
.\"
-.CODE_FONT B
-.CODE_SIZE 115
-.CODE_COLOR dark-grey
-.CONDENSE 87
+.CODE_STYLE \
+ FONT B \
+ SIZE 115 \
+ COLOR dark-grey
+.CONDENSE 87 \" Condense percentage used in COD
.\"
-.HEADING_STYLE 1 NUMBER FONT B SIZE +1 BASELINE_ADJUST \n[.v]/5
-.HEADING_STYLE 2 NUMBER FONT I SIZE +.25 BASELINE_ADJUST \n[.v]/5
+.HEADING_STYLE 1 \
+ NUMBER \
+ FONT B \
+ SIZE +1 \
+ BASELINE_ADJUST \n[.v]/5
+.HEADING_STYLE 2 \
+ NUMBER \
+ FONT I \
+ SIZE +.25 \
+ BASELINE_ADJUST \n[.v]/5
.\"
.FOOTNOTE_SIZE -1
.\" Character definitions for program names, opts, etc.
@@ -119,10 +143,11 @@
.TOC_ENTRY_STYLE 2 FONT I
.TOC_LEAD 14
.\"
-.DOCHEADER_ADVANCE 5c \" Begin this distance down from top of page
+.DOCHEADER_ADVANCE 5c \" Begin docheader this distance down from top of page
.\"
.START
.\"
+.SP .5c
.HEADING 1 NAMED intro "Introduction"
.PP
.RW .12
@@ -198,6 +223,7 @@ Furthermore, \*[cod]NAMED\|<id>\*[codx] stores the text of
the
heading for use later on when linking to it (see
.PDF_LINK internal SUFFIX ). +
If headings are being numbered, the heading number is prepended.
+.NO_SHIM off
.HEADING 2 NAMED target "Creating destination points at arbitrary locations"
.PP
Any part of a document can be a link destination, not just headings.
@@ -209,6 +235,7 @@ just above the table in the source file. As with
\*[cod]HEADING\*[codx], \*[cod]<id>\*[codx] is any unique name.
\*[cod]<text>\*[codx] is optional. \*[cod]<id>\*[codx] can now be linked
to from anywhere in the document.
+.sp 2.5p
.HEADING 2 NAMED internal "Creating internal links"
.PP
Internal links are clickable text areas that allow you to jump to
diff --git a/contrib/mom/examples/mon_premier_doc.mom
b/contrib/mom/examples/mon_premier_doc.mom
index 1b3becc..698d6d9 100644
--- a/contrib/mom/examples/mon_premier_doc.mom
+++ b/contrib/mom/examples/mon_premier_doc.mom
@@ -1,5 +1,5 @@
.\" -*- mode: troff; coding: utf-8; -*-
-\# Copyright (C) 2014 Free Software Foundation, Inc.
+\# Copyright (C) 2015 Free Software Foundation, Inc.
\#
\# Copying and distribution of this file, with or without modification,
\# are permitted in any medium without royalty provided the copyright
@@ -15,7 +15,7 @@
.PAPER A4
.DOC_COVERTITLE "Mon Premier Document"
.DOC_COVER DOC_COVERTITLE
-.COVER TITLE AUTHOR DOCTYPE
+.COVER TITLE AUTHOR
.ATTRIBUTE_STRING "par"
.TOC_HEADER_STRING "Table des matières"
.AUTO_RELOCATE_TOC
@@ -106,6 +106,7 @@ Maecenas adipiscing ante non diam sodales hendrerit.
.PP
Trois axes de progressions sont envisageables:
.LIST
+.SHIFT_LIST 3m
.ITEM
Lorem ipsum dolor sit amet.
.ITEM
diff --git a/contrib/mom/examples/sample_docs.mom
b/contrib/mom/examples/sample_docs.mom
index 3fc21f8..8c06262 100644
--- a/contrib/mom/examples/sample_docs.mom
+++ b/contrib/mom/examples/sample_docs.mom
@@ -1,4 +1,4 @@
-\# Copyright (C) 2004-2014 Free Software Foundation, Inc.
+\# Copyright (C) 2004-2015 Free Software Foundation, Inc.
\#
\# Copying and distribution of this file, with or without modification,
\# are permitted in any medium without royalty provided the copyright
@@ -31,43 +31,102 @@
\# subheads and paraheads. I've turned the feature on merely to
\# demonstrate it.
\#
-\# Reference macros (metadata)
+\# Information for the cover pages
+\#
+\# Title, subtitle and copyright for the document cover.
+\#
+.TITLE DOC_COVER \
+ "Sample mom Documents"
+.SUBTITLE DOC_COVER \
+ "Three types of mom documents" \
+ "assembled and collated" \
+ "by mom's author"
+.COPYRIGHT DOC_COVER \
+ "2015 Peter Schaffter"
+\#
+\# What appears in the pdf viewer's window title
+\#
+.PDF_TITLE "Sample mom documents"
+\#
+\# Reference macros (metadata) for the first section of the collated
+\# document.
\#
.TITLE "Lake Attica's Shores"
.SUBTITLE "A Romance Novel"
.AUTHOR "Rosemary Winspeare"
-.COPYRIGHT "2004 Alma Podborski"
-.PDF_TITLE "Sample mom documents"
+.COPYRIGHT "2015 Alma Podborski"
+\#
+\# What to put on the cover for the whole document (in mom-speak,
+\# the "doc cover"). The title, subtitle, and author are what were
+\# given to TITLE DOC_COVER, SUBTITLE DOC_COVER, and COPYRIGHT
+\# DOC_COVER.
\#
-\# Additional information, for the cover
+.DOC_COVER TITLE SUBTITLE COPYRIGHT
\#
-.DOC_COVERTITLE "Sample mom Documents"
-.MISC "Three types of mom documents" "assembled and collated by mom's author"
+\# What to put on the first document's title page (in mom-speak, the
+\# "cover"). In this case, we're using the metadata from TITLE,
+\# SUBTITLE, AUTHOR and COPYRIGHT, which will also be used to
+\# generate the docheader (minus the copyright).
+\#
+.COVER TITLE AUTHOR DOCTYPE COPYRIGHT
\#
\# Docstyle macros (templates)
\#
.DOCTYPE NAMED "Outline"
-.PRINTSTYLE TYPESET \" Or TYPEWRITE to preview "typewritten, double-spaced"
+.PRINTSTYLE TYPESET
.PAPER LETTER
\#
-\# What to put on the cover and first title page
-\#
-.DOC_COVER DOC_COVERTITLE MISC
-.COVER TITLE AUTHOR DOCTYPE COPYRIGHT
-\#
-\# Style for nested heading levels
+\# Here we style the covers a bit.
+\#
+.DOC_COVER_TITLE_STYLE \
+ SIZE +8 \
+ SMALLCAPS \
+ UNDERLINE 1 3p
+.DOC_COVER_SUBTITLE_STYLE \
+ FONT I \
+ SIZE +3 \
+ LEAD 18 \
+ SPACE .5v
+.DOC_COVER_COPYRIGHT_SIZE +.5
+\#
+.COVER_TITLE_SIZE +5
+.COVER_ATTRIBUTE_STYLE \
+ SIZE +2 \
+ SPACE .25v
+.COVER_AUTHOR_STYLE \
+ SIZE +2 \
+ LEAD 18
+.COVER_DOCTYPE_STYLE \
+ SIZE +4 \
+ UNDERLINE DOUBLE 1
+.COVER_COPYRIGHT_SIZE +.5
+\#
+\# Here we style the docheader a bit.
+\#
+.SUBTITLE_SPACE .25v
+.DOCTYPE_UNDERLINE 1 2p
+\#
+\# Styles for nested heading levels
\#
\# The first two instances of level-1 headings will be paragraph heads
\# so we set the paragraph head style here, then change it when
\# level-1 headings become main heads.
\#
-.HEADING_STYLE 1 FONT BI SIZE +.25
-.HEADING_STYLE 2 FONT B SIZE +.5 BASELINE_ADJUST \n[.v]/8 \" ie 1/8 the leading
+.HEADING_STYLE 1 \
+ FONT BI \
+ SIZE +.75
+.HEADING_STYLE 2 \
+ FONT B \
+ SIZE +.5 \
+ BASELINE_ADJUST \n[.v]/8 \" ie 1/8 the leading
+\#
+.AUTO_RELOCATE_TOC \" Move table of contents to the top of the doc
+.SPACE_TOC_ITEMS \" Prettify TOC spacing
\#
-.AUTO_RELOCATE_TOC
-.SPACE_TOC_ITEMS
+\# Begin the document
\#
.START
+\#
.PP
.HEADING 1 PARAHEAD "A note on the setting"
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
@@ -99,8 +158,15 @@ ut labore et do\%lo\%re magna ali\%quyam erat, sed diam
voluptua.
\#
\# Change level-1 style and add numbering to levels 1 and 2
\#
-.HEADING_STYLE 1 FONT B SIZE +1.5 CAPS UNDERSCORE .5 2p QUAD C \
- NO_SPACE_AFTER BASELINE_ADJUST +0 NUMBER
+.HEADING_STYLE 1 \
+ FONT B \
+ SIZE +1.5 \
+ CAPS \
+ UNDERSCORE .5 2p \
+ QUAD C \
+ NO_SPACE_AFTER \
+ BASELINE_ADJUST +0 \
+ NUMBER
.HEADING_STYLE 2 NUMBER
\#
.HEADING 1 "Part One"
@@ -168,32 +234,30 @@ gubergren, no sea takimata sanctus.
.PP
At vero eos et accusam et justo duo do\%lo\%res et ea rebum. Stet clita
kasd gubergren. Sea takimata sanctus est lorem ipsum dolor
-sit amet. Accusam et justo duo do\%lo\%res et ea rebum
-.SPREAD
+sit amet. Accusam et justo duo do\%lo\%res et ea rebum. Diam
+nonumy eirmod tempor invidunt ut labore et do\%lo\%re magna.
.RIGHT
\*[BD]\&...end of sample outline\c
.EL
.COLLATE
\#
-\# The .EL after the line "...end of sample outline" ensures that
-\# mom doesn't spring the page trap, which would deposit a header at
-\# the top of the next page. COLLATE doesn't print a page header
-\# on the first page of a collated document, but if the page trap
-\# has already deposited one there, COLLATE can't undo it.
+\# The '\c /.EL' keeps mom from depositing a line break which,
+\# because "...end of sample outline" falls exactly on the last
+\# baseline of the page, would spring the page trap that sets a
+\# header at the top of the next page. Since the next page is a
+\# title page, we don't want that. Normally, this isn't required,
+\# although using it routinely before COLLATE is a good habit.
\#
-\# Normally, this isn't necessary; here we require it because the
-\# line falls right at the bottom of the page.
-\#
-\# Please notice, too, the use of "\&" before "..." Whenever an
-\# input line begins with either a period, an apostrophe or a space,
-\# you must precede it with \&, otherwise the line will disappear,
-\# even when, as here, there's an inline escape that starts the
-\# line.
+\# Notice, too, the use of "\&" before "..." Whenever an input line
+\# begins with either a period, an apostrophe or a space, you must
+\# precede it with \&, otherwise the line will disappear, even when,
+\# as here, there's an inline escape beforehand.
\#
\# =====================================================================
\#
-\# Next, two pages of a chapter, set in DRAFT style, showing the use
-\# of the EPIGRAPH BLOCK macro and the QUOTE macro.
+\# Next, a document composed of two pages of a chapter, set in DRAFT
+\# style, showing the use of the EPIGRAPH BLOCK macro and the QUOTE
+\# macro.
\#
\# You'll notice that the starting page number of this "draft" is 1 (in
\# roman numerals). COPYSTYLE DRAFT always numbers the first page of a
@@ -214,10 +278,20 @@ sit amet. Accusam et justo duo do\%lo\%res et ea rebum
.EPIGRAPH_FONT I \" Epigraphs are normally set in roman
.DRAFT_WITH_PAGENUMBER \" Draft/revision info usually goes in the header
\#
-.COVER_MISC_FAMILY H
-.COVER_MISC_QUAD RIGHT
+\# Style the title page
+\#
+.COVER_CHAPTER_SIZE +3
+.COVER_CHAPTER_TITLE_STYLE \
+ SIZE +5 \
+ SPACE .25v
+.COVER_MISC_SIZE +.5
+\#
+\# What goes on the title page
+\#
.COVER CHAPTER+TITLE MISC
\#
+\# Begin the document
+\#
.START
.EPIGRAPH BLOCK
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
@@ -225,7 +299,8 @@ nonumy eirmod tempor invidunt ut labore et do\%lo\%re magna
ali\%quyam erat,
sed diam voluptua.
.RIGHT
\#
-\# If running PRINTSTYLE TYPEWRITE, add space before citation
+\# If running PRINTSTYLE TYPEWRITE, this adds space before
+\# attribution ("Joseph E. Blough")
\#
.if \n[#PRINT_STYLE]=1 .sp
\#
@@ -317,24 +392,45 @@ do\%lo\%res et ea rebum.
\# create a stylesheet, along with some of the control macros that
\# can be used.
\#
-.TITLE "CONTROL EQUALS CHAOS"
+\# Style the title page
+\#
+.COVER_TITLE_CAPS
+.COVER_ATTRIBUTE_SPACE .5v
+.COVER_AUTHOR_STYLE \
+ SIZE +1.5 \
+ LEAD 14 \
+ SPACE .25v
+.COVER_MISC_STYLE \
+ QUAD L \
+ SIZE +0
+.COVER_COPYRIGHT_SIZE +0
+\#
+\# What goes on the title page
+\#
+.COVER TITLE AUTHOR COPYRIGHT MISC
+\#
+.DOCTYPE DEFAULT
+.COPYSTYLE FINAL
+\#
+.TITLE "Control Equals Chaos"
.SUBTITLE "\*[ALD1]The Psychological and Auditory \
Impact of Serial vs. Aleatoric Music\*[RLD1]"
.AUTHOR "Joe Chang" "and" "Brad Hegel Connors"
-.COPYRIGHT "2004 J. Chang, B.H. Connors
-.MISC "Submitted June 3, 2004" "\*[IT]Piano Quarterly\*[PREV]"
+.COPYRIGHT "2015 J. Chang, B.H. Connors
+.MISC "Submitted June 3, 2015" "\*[IT]Piano Quarterly\*[PREV]"
\#
-.DOCTYPE DEFAULT
-.COPYSTYLE FINAL
+\# Style the docheader
+\#
+.TITLE_CAPS
+.ATTRIBUTE_SPACE .33
+.AUTHOR_SIZE +1
+.SUBTITLE_SIZE +2
\#
.L_MARGIN 6P
.R_MARGIN 4P+6p
.PT_SIZE 10
.AUTOLEAD 1.5
\#
-.AUTHOR_SIZE +.5
-.SUBTITLE_SIZE +1
-\#
.RECTO_VERSO
.PAGENUM 1
\#
@@ -350,27 +446,30 @@ Impact of Serial vs. Aleatoric Music\*[RLD1]"
.if \n[#PRINT_STYLE]=2 \{\
. PARA_INDENT 1P
. QUOTE_INDENT 2
+. BLOCKQUOTE_INDENT 2
.\}
\#
-.HEADING_STYLE 1 QUAD L SIZE +0 NO_NUMBER NO_CAPS NO_UNDERSCORE \
- NO_SPACE_AFTER BASELINE_ADJUST \n[.v]/8 \" ie 1/8 of the leading
+\# Style heading 1
\#
-.BLOCKQUOTE_FAMILY H
-.BLOCKQUOTE_SIZE -2
-.BLOCKQUOTE_AUTOLEAD 2
+.HEADING_STYLE 1 \
+ QUAD L \
+ SIZE +0 \
+ NO_NUMBER \
+ NO_CAPS \
+ NO_UNDERSCORE \
+ NO_SPACE_AFTER \
+ BASELINE_ADJUST \n[.v]/8 \" ie 1/8 of the leading
\#
-.COVERTITLE "\*[UP 3p]\E*[$TITLE]" \" Use $TITLE, but raise 3 points
+\# Style the blockquotes
\#
-.COVER_LEAD +2
-.COVER_AUTHOR_SIZE +1.5
-.COVER_MISC_FAMILY T
-.COVER_MISC_QUAD L
-.COVER_MISC_SIZE +0
-.COVER_COPYRIGHT_SIZE +0
+.BLOCKQUOTE_STYLE \
+ FAMILY H \
+ SIZE -2 \
+ AUTOLEAD 2
\#
-.COVER COVERTITLE AUTHOR COPYRIGHT MISC
+.COLUMNS 2 1P+6p \" Set in two columns
\#
-.COLUMNS 2 1P+6p
+\# Being the document
\#
.START
.PP
@@ -384,7 +483,7 @@ 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.
\#
-.sp 1p
+.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 9448556..7201078 100644
--- a/contrib/mom/examples/typesetting.mom
+++ b/contrib/mom/examples/typesetting.mom
@@ -310,7 +310,7 @@ 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 .25v \" Move upwards 1/2 linespace
+.RLD .5v \" 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] 03/04: Small alterations incorporating version 2.1 changes,
Peter Schaffter <=