Debian Codegraph @

contrib/mom/examples/copyright-default.mom

raw
1 .\" -*- mode: text; coding: utf-8; -*-
2 \#
3 \# Copyright (C) 2019-2020 Free Software Foundation, Inc.
4 \#
5 \# Copying and distribution of this file, with or without modification,
6 \# are permitted in any medium without royalty provided the copyright
7 \# notice and this notice are preserved.
8 \#
9 .ig
10 ***Template for creating a copyright page, DOCTYPE DEFAULT***
11
12 Mom documents comprised of titled sections using DOCTYPE DEFAULT
13 (e.g. a collection of articles or a book of short stories by
14 different authors) require the START macro to begin each new
15 section, and the COLLATE macro to join it to the subsequent section.
16 .
17 A copyright page (also called an edition page) should be treated
18 as a titled section. The text of the copyright page is entered
19 after START and joined to the next major section (i.e. the beginning
20 of a document's content) with COLLATE.
21 .
22 Copyright pages are not identified by a title or heading, however
23 they require a TITLE in order to be included in PDF viewer outlines
24 and, if desired, the Table of Contents. Supplying '.TITLE "Copyright"'
25 but disabling the DOCHEADER achieves both these requirements.
26 .
27 Pagination should also be disabled for the copyright page. Both
28 docheader and pagination should be re-enabled before the START of
29 the first (titled) section of the document.
30 ..
31 .
32 .\" Cover and PDF viewer setup
33 .
34 .\" By default, mom uses the last TITLE macro before START for the
35 .\" title that appears on the cover. Since the TITLE is "Copyright,"
36 .\" mom needs to be told explicitly to use a different title.
37 .
38 .TITLE DOC_COVER \
39 "Document Title"
40 .EDITOR DOC_COVER \
41 "Document Editor"
42 .ATTRIBUTE_STRING DOC_COVER \
43 "Edited by"
44 .DOC_COVER \
45 TITLE EDITOR
46 .PDF_TITLE \
47 "DOCTYPE DEFAULT with copyright page" \" For PDF viewer titlebar
48 .
49 .\" Copyright page setup
50 .
51 .PRINTSTYLE TYPESET
52 .DOCHEADER off 1i \" Turn off docheader for copyright page.
53 . \" Begin text 1 inch from page top.
54 .PAGINATION off \" Disable pagination for copyright page.
55 .
56 .TITLE "Copyright" \" Required for PDF viewer outline; does not
57 . \" get printed because docheader is disabled.
58 .NO_TOC_ENTRY \" So copyright page is not included in the TOC
59 .
60 .START \" Begin copyright page
61 .PDF_OUTLINE_PN SUSPEND \" So copyright page has no pagenumber in the pdf outline
62 . \" Outline page numbering resumes after the next START
63 All rights reserved. No part of this publication may be reproduced,
64 distributed, or transmitted in any form or by any means, including
65 photocopying, recording, or other electronic or mechanical methods,
66 without the prior written permission of the publisher, except
67 in the case of brief quotations embodied in critical reviews
68 and certain other noncommercial uses permitted by copyright
69 law. For permission requests, write to the publisher, addressed
70 “Attention: Permissions Coordinator,” at the address below.
71 .SP
72 .LEFT
73 Copyright \[co]2019 Copyright Holder
74 .SP
75 Additional information...
76 .TOC_AFTER_HERE \" Place TOC after copyright page.
77 .
78 .COLLATE
79 .
80 .\" Sample article setup
81 .
82 .TITLE \
83 "Sample article" \" Title of first article
84 .AUTHOR \
85 "Article Author"
86 .DOCHEADER \" Re-enable docheader.
87 .PAGINATE \" Re-enable pagination.
88 .PAGENUMBER 1
89 .
90 .START
91 .PP
92 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at
93 ante. Mauris eleifend, quam a vulputate dictum, massa quam dapibus
94 leo, eget vulputate orci purus ut lorem. In fringilla mi in ligula.
95 Pellentesque aliquam quam vel dolor. Nunc adipiscing. Sed quam odio,
96 tempus ac, aliquam molestie, varius ac, tellus. Vestibulum ut nulla
97 aliquam risus rutrum interdum. Pellentesque lorem. Curabitur sit
98 amet erat quis risus feugiat viverra. Pellentesque augue justo,
99 sagittis et, lacinia at, venenatis non, arcu. Nunc nec libero. In
100 cursus dictum risus. Etiam tristique nisl a nulla. Ut a orci.
101 Curabitur dolor nunc, egestas at, accumsan at, malesuada nec, magna.
102 .PP
103 Nulla facilisi. Nunc volutpat. Vestibulum ante ipsum primis in
104 faucibus orci luctus et ultrices posuere cubilia Curae; Ut sit
105 amet orci vel mauris blandit vehicula. Nullam quis enim. Integer
106 dignissim viverra velit. Curabitur in odio. In hac habitasse platea
107 dictumst. Ut consequat, tellus eu volutpat varius, justo orci
108 elementum dolor, sed imperdiet nulla tellus ut diam. Vestibulum
109 ipsum ante, malesuada quis, tempus ac, placerat sit amet, elit.
110 .PP
111 Sed eget turpis a pede tempor malesuada. Vivamus quis mi at leo
112 pulvinar hendrerit. Cum sociis natoque penatibus et magnis dis
113 parturient montes, nascetur ridiculus mus. Pellentesque aliquet
114 lacus vitae pede. Nullam mollis dolor ac nisi. Phasellus sit amet
115 urna. Praesent pellentesque sapien sed lacus. Donec lacinia odio
116 in odio. In sit amet elit. Maecenas gravida interdum urna. Integer
117 pretium, arcu vitae imperdiet facilisis, elit tellus tempor nisi,
118 vel feugiat ante velit sit amet mauris. Vivamus arcu. Integer
119 pharetra magna ac lacus. Aliquam vitae sapien in nibh vehicula
120 auctor. Suspendisse leo mauris, pulvinar sed, tempor et, consequat
121 ac, lacus. Proin velit. Nulla semper lobortis mauris. Duis urna
122 erat, ornare et, imperdiet eu, suscipit sit amet, massa. Nulla nulla
123 nisi, pellentesque at, egestas quis, fringilla eu, diam.
124 .PP
125 Donec semper, sem nec tristique tempus, justo neque commodo nisl,
126 ut gravida sem tellus suscipit nunc. Aliquam erat volutpat. Ut
127 tincidunt pretium elit. Aliquam pulvinar. Nulla cursus. Suspendisse
128 potenti. Etiam condimentum hendrerit felis. Duis iaculis aliquam
129 enim. Donec dignissim augue vitae orci. Curabitur luctus felis a
130 metus. Cum sociis natoque penatibus et magnis dis parturient montes,
131 nascetur ridiculus mus. In varius neque at enim. Suspendisse massa
132 nulla, viverra in, bibendum vitae, tempor quis, lorem.
133 .PP
134 Donec dapibus orci sit amet elit. Maecenas rutrum ultrices lectus.
135 Aliquam suscipit, lacus a iaculis adipiscing, eros orci pellentesque
136 nisl, non pharetra dolor urna nec dolor. Integer cursus dolor vel
137 magna. Integer ultrices feugiat sem. Proin nec nibh. Duis eu dui
138 quis nunc sagittis lobortis. Fusce pharetra, enim ut sodales luctus,
139 lectus arcu rhoncus purus, in fringilla augue elit vel lacus. In
140 hac habitasse platea dictumst. Aliquam erat volutpat. Fusce iaculis
141 elit id tellus. Ut accumsan malesuada turpis. Suspendisse potenti.
142 Vestibulum lacus augue, lobortis mattis, laoreet in, varius at,
143 nisi. Nunc gravida. Phasellus faucibus. In hac habitasse platea
144 dictumst. Integer tempor lacus eget lectus. Praesent fringilla augue
145 fringilla dui.
146 .TOC
147 .\" Local Variables:
148 .\" mode: nroff
149 .\" End:
150 .\" vim: filetype=groff: