aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/tedoc.tes
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tedoc.tes')
-rwxr-xr-xdoc/tedoc.tes27
1 files changed, 13 insertions, 14 deletions
diff --git a/doc/tedoc.tes b/doc/tedoc.tes
index 885f41a..cc4f726 100755
--- a/doc/tedoc.tes
+++ b/doc/tedoc.tes
@@ -8,7 +8,7 @@
@[format_header]{
FD--S .,(:L"S.|Z')@Xa I^J
- EBQ#tm
+ EBN[\#tm]
I\# GENERATED FROM Q.#sc (\.#sc):^J
I.SS  Ga -A-10"N I^J '
:Q.[topics]">
@@ -45,7 +45,7 @@
J <FR^J^J^J;>
J 0A-10"=D'
ZJ -A-10"=-D'
- EBQ#tm
+ EBN[\#tm]
G.[header]
I^J.^J
}
@@ -73,35 +73,34 @@
J <S<MC>; -D I^J -S< -D I^J.I >
J <FRS^J^J;>
J <FR^JS^J;>
- EBN#tm
+ EBN[\#tm]
G.c I^J.^J.^J
}
!* process command-line options *!
-[optstring]C M[getopt]"F (0/0) '
+[optstring]C
+M[getopt]U#ou Q#ou"< Invalid command-line^J 1 '
:Q[getopt.C]"<
[comment.start]!* [comment.end]*!
|
[comment.start]/* [comment.end]*/
'
-LR 0X#ou
-2LR 0X#tm EBN#tm EB L
-[.f
- <:L;R 0X.f EBQ.f EB L>
-].f
--EF
+Q#ou+1U#tm Q#tmU.i <:Q[\.i]:; EBN[\.i] %.i>
+
+!* switch to the main troff template (#tm) *!
+EB EF
I\#
-\# AUTOGENERATED FROM Q#tm
+\# AUTOGENERATED FROM Q[\#tm]
\# DO NOT EDIT MANUALLY!!!
\#^J
!* find insertion point *!
-:FS^J.TEDOC^J^J"F(0/0)'
+:FS^J.TEDOC^J^J"F Missing .TEDOC call^J 1 '
EJ-1<
<
- 2U* [*]#sc
+ 2U* [*].#sc
!* extract comment *!
SQ[comment.start]$;
@@ -127,5 +126,5 @@ EJ-1<
EF
>
-2EL EWQ#ou
+2EL EWQ[\#ou]
EX