1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
HELPMARK D1
+-----------------------------------------------------------------------------+
| autoendnote |
+-----------------------------------------------------------------------------+
Abbreviation: ã|\aenã%
Parameters: ã|textã%
ã|Description:ã%
The \autoendnote markup adds notes to the end of a document or the end
of a chapter. It has one parameter, the text of the endnote, which it
places in working storage to be printed when called by \printendnotes. An
endnote reference number is placed in the text where the markup occurred.
By default this reference number is surrounded by square brackets. The
endnote number will be automatically incremented by one for each use of
\autoendnote.
ã|Example:ã%
There is a well-marked division of
labor.\autoendnote{Such as it is. Things could be
different in the geological world, but they are not.}
Details of organization have evolved by an
optimization . . .
+-----------------------------------------------------------------------------+
| |
| There is a well-marked division of labor.[1] Details of organization |
| have evolved by an optimization . . . |
| |
+-----------------------------------------------------------------------------+
The endnote printed following the next \printendnotes markup would look
like:
+-----------------------------------------------------------------------------+
| |
| 1. Such as it is. Things could be different in the geological world, but |
| they are not. |
| |
+-----------------------------------------------------------------------------+
ã|Notes:ã%
You cannot use \autoendnote within \settabs, \vbox, \hbox, \asisbegin,
\drawbox, \paragraphbox, \label, \part, \chapter, \centerline, \halign,
\rightlinesbegin, or \centerlinesbegin.
The endnote number is reset to 1 at the beginning of each part. To
reset the endnote number outside of a \part, use the \setendnotenumber
markup.
Use the \endnoteformat markup to change the \autoendnote style.
There are occasions when you need to include a very long endnote. If
the endnote exceeds 2,048 characters in length, you will need to split the
note into two parts as follows. First, at the beginning of your document
you will need to include a special definition for a new markup. You may
give it any name you choose. For this example, we'll define a markup called
\continue. Enter these three lines at the top of the document:
\catcode'*=11
\let\continue=\en*w
\catcode'*=12
Next, break the endnote into paragraphs of not more than 2,048 characters
each. In the source below, the sentence beginning "First paragraph" is
the first paragraph with not more than 2,048 characters, and the second
paragraph beginning "Second paragraph" is the last paragraph of the endnote.
line containt the note.\autoendnote{First paragraph
of a very long endnote . . . }
\continue{Second paragraph of the long endnote,
which will print in the \printendnotes after
the first paragraph}
Sentence following the word "note."
|