groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: [mom]: Version 2.6_b, update example files


From: Peter Schaffter
Subject: [groff] 01/01: [mom]: Version 2.6_b, update example files
Date: Mon, 22 Jan 2024 14:52:17 -0500 (EST)

PTPi pushed a commit to branch master
in repository groff.

commit 8388779261a4643b7643fd8882a6b1473163d14b
Author: Peter Schaffter <peter@schaffter.ca>
AuthorDate: Mon Jan 22 14:51:42 2024 -0500

    [mom]: Version 2.6_b, update example files
---
 contrib/mom/examples/copyright-chapter.mom | 4 +++-
 contrib/mom/examples/copyright-default.mom | 7 ++++---
 contrib/mom/examples/mom-pdf.mom           | 4 ++--
 contrib/mom/examples/sample_docs.mom       | 5 ++++-
 4 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/contrib/mom/examples/copyright-chapter.mom 
b/contrib/mom/examples/copyright-chapter.mom
index 261c7122d..cf70e3912 100644
--- a/contrib/mom/examples/copyright-chapter.mom
+++ b/contrib/mom/examples/copyright-chapter.mom
@@ -59,7 +59,9 @@ the first chapter.
 .                   \" get printed because docheader is disabled.
 .NO_TOC_ENTRY       \" So copyright page is not included in the TOC
 .
-.START              \" Begin example copyright page
+.START \" Begin copyright page
+.PDF_OUTLINE_PN SUSPEND  \" So copyright page has no pagenumber in the pdf 
outline
+.                        \" Outline page numbering resumes after the next START
 All rights reserved.  No part of this publication may be reproduced,
 distributed, or transmitted in any form or by any means, including
 photocopying, recording, or other electronic or mechanical methods,
diff --git a/contrib/mom/examples/copyright-default.mom 
b/contrib/mom/examples/copyright-default.mom
index 25a428fbb..d447c6542 100644
--- a/contrib/mom/examples/copyright-default.mom
+++ b/contrib/mom/examples/copyright-default.mom
@@ -7,7 +7,7 @@
 \# notice and this notice are preserved.
 \#
 .ig
-***Template for created a copyright page, DOCTYPE DEFAULT***
+***Template for creating a copyright page, DOCTYPE DEFAULT***
 
 Mom documents comprised of titled sections using DOCTYPE DEFAULT
 (e.g. a collection of articles or a book of short stories by
@@ -55,10 +55,11 @@ the first (titled) section of the document.
 .
 .TITLE "Copyright" \" Required for PDF viewer outline; does not
 .                  \" get printed because docheader is disabled.
-.
 .NO_TOC_ENTRY      \" So copyright page is not included in the TOC
 .
-.START             \" Begin copyright page
+.START \" Begin copyright page
+.PDF_OUTLINE_PN SUSPEND  \" So copyright page has no pagenumber in the pdf 
outline
+.                        \" Outline page numbering resumes after the next START
 All rights reserved.  No part of this publication may be reproduced,
 distributed, or transmitted in any form or by any means, including
 photocopying, recording, or other electronic or mechanical methods,
diff --git a/contrib/mom/examples/mom-pdf.mom b/contrib/mom/examples/mom-pdf.mom
index 15cf6dfff..1803571a0 100644
--- a/contrib/mom/examples/mom-pdf.mom
+++ b/contrib/mom/examples/mom-pdf.mom
@@ -140,7 +140,7 @@ If not, see:
 .\"
 .NO_SHIM \" Use flex spacing
 .START
-.\"
+.
 .SP .5c
 .HEADING 1 NAMED intro "Introduction"
 .PP
@@ -405,7 +405,7 @@ can remove the window title by issuing
 .COD ".PDF_TITLE \[dq]\[dq] \e\[dq] ie. with a blank argument
 .IBQ
 .FLOAT off
-\#.SP .5v
+.SP .5v
 .HEADING 1 NAMED toc "Tables of Contents"
 .RLD .5v
 .HEADING 2 NAMED toc:gen "Generating a Table of Contents 
diff --git a/contrib/mom/examples/sample_docs.mom 
b/contrib/mom/examples/sample_docs.mom
index f9b293346..29bd1beef 100644
--- a/contrib/mom/examples/sample_docs.mom
+++ b/contrib/mom/examples/sample_docs.mom
@@ -124,6 +124,7 @@
 \#
 .AUTO_RELOCATE_TOC \" Move table of contents to the top of the doc
 .SPACE_TOC_ITEMS   \" Prettify TOC spacing
+.TOC_PADDING 1     \" Only one placeholder for page numbers
 \#
 \# Begin the document
 \#
@@ -298,6 +299,7 @@ nonumy eirmod tempor invidunt ut labore et do\%lo\%re magna.
 .CHAPTER_TITLE_SIZE +5
 .CHAPTER_TITLE_SPACE +3p
 .START
+.SP -1
 .EPIGRAPH BLOCK
 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
 nonumy eirmod tempor invidunt ut labore et do\%lo\%re magna ali\%quyam erat,
@@ -311,6 +313,7 @@ sed diam voluptua.
 \#
 \*[ROM]\[em]Joseph E. Blough
 .EPIGRAPH OFF
+.SP -1
 .PP
 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
 nonumy eirmod tempor invidunt ut labore et do\%lo\%re magna ali\%quyam erat,
@@ -474,7 +477,7 @@ Impact of Serial vs. Aleatoric Music\*[RLD1]"
 \#
 .COLUMNS 2 1P+6p \" Set in two columns
 \#
-\# Being the document
+\# Begin the document
 \#
 .START
 .PP



reply via email to

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