home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 25.ddi / root.2 / usr / ucblib / doctools / tmac / bib < prev    next >
Encoding:
Text File  |  1990-12-20  |  3.7 KB  |  233 lines

  1. '\"#ident    "@(#)//usr/ucblib/doctools/tmac/bib.sl 1.1 4.0 12/08/90 30263 AT&T-USL"
  2. '\"        PROPRIETARY NOTICE (Combined)
  3. '\"
  4. '\"This source code is unpublished proprietary information
  5. '\"constituting, or derived under license from AT&T's UNIX(r) System V.
  6. '\"In addition, portions of such source code were derived from Berkeley
  7. '\"4.3 BSD under license from the Regents of the University of
  8. '\"California.
  9. '\"
  10. '\"
  11. '\"
  12. '\"        Copyright Notice 
  13. '\"
  14. '\"Notice of copyright on this source code product does not indicate 
  15. '\"publication.
  16. '\"
  17. '\"    (c) 1986,1987,1988,1989  Sun Microsystems, Inc
  18. '\"    (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  19. '\"              All rights reserved.
  20. .ds TL BIBLIOGRAPHY
  21. .    \" HD - header macro
  22. .de HD
  23. .nr PN \\n%
  24. 'sp |.5i-1
  25. .if \\n%>1 .tl ''- \\n(PN -''
  26. 'sp |1i
  27. .ps
  28. .ft
  29. .vs
  30. .ns
  31. ..
  32. .    \" FT - footer macro
  33. .de FT
  34. .ps 10
  35. .ft 1
  36. .vs 12p
  37. 'bp
  38. ..
  39. .so /usr/ucblib/doctools/ms.acc
  40. .wh 0 HD
  41. .wh -1i FT
  42. .if n .na
  43. .if n .nr PD 1v
  44. .if t .nr PD .5v
  45. .nr PI 5n
  46. .    \" RT -  reset everything to normal state
  47. .de RT
  48. .in 0
  49. .ce 0
  50. .ul 0
  51. .ft 1
  52. .ta 5n 10n 15n 20n 25n 30n 35n 40n 45n 50n 55n 60n 65n 70n 75n 80n
  53. .fi
  54. ..
  55. .    \" XP - exdented paragraph
  56. .de XP
  57. .if \\nV=1 .ls 2
  58. .RT
  59. .ne 3.1
  60. .sp \\n(PDu
  61. .in +\\n(PIu
  62. .ti -\\n(PIu
  63. ..
  64. .    \" AP - annotation paragraph
  65. .de AP
  66. .if \\nV=1 .ls 1
  67. .RT
  68. .ne 1.1
  69. .sp \\n(PDu
  70. .in +\\n(PIu
  71. ..
  72. .    \" NP - numbered paragraph
  73. .de NP
  74. .if \\nV=1 .ls 2
  75. .RT
  76. .ne 3.1
  77. .sp \\n(PDu
  78. .in +\\n(PIu
  79. .ti -\\n(PIu
  80. .ta \\n(PIu
  81. \\n+#.\t\c
  82. ..
  83. .    \" refer macros for citations
  84. .de []
  85. .][ \\$1
  86. ..
  87. .de ][
  88. .if \\$1>4 .tm %M (Bell Labs Memorandum) undefined
  89. .[\\$1
  90. ..
  91. .if n .ds [o \&"
  92. .if n .ds [c \&"
  93. .if t .ds [o ``
  94. .if t .ds [c ''
  95. .    \" [0 - other type of citation
  96. .de [0
  97. .XP
  98. .nr [: 0
  99. .if !\\*([Q \{\
  100. .nr [: 1
  101. \\*([Q\c
  102. .\}
  103. .if !\\*([A \{\
  104. .nr [: 1
  105. \\*([A\c
  106. .\}
  107. .if !\\*([T \{\
  108. .if \\n([:>0 ,
  109. .nr [: 1
  110. \f2\\*([T\f1\c
  111. .\}
  112. .if !\\*([S , \\*([S\c
  113. .if !\\*([V , \\*([V\c
  114. .if !\\*([P \{\
  115. .ie \\n([P>0 , pp. \\*([P\c
  116. .el , p. \\*([P\c
  117. .\}
  118. .if !\\*([C , \\*([C\c
  119. .if !\\*([D , \\*([D\c
  120. .if \\n([:>0 \&.
  121. .if !\\*([O \\*([O
  122. ..
  123. .    \" [1 - journal article
  124. .de [1
  125. .XP
  126. .if !\\*([Q \\*([Q,
  127. .if !\\*([A \\*([A,
  128. .if !\\*([T \\*([o\\*([T,\\*([c
  129. \f2\\*([J\f1\c
  130. .if !\\*([V , vol. \\*([V\c
  131. .if !\\*([N , no. \\*([N\c
  132. .if !\\*([P \{\
  133. .ie \\n([P>0 , pp. \\*([P\c
  134. .el , p. \\*([P\c
  135. .\}
  136. .if !\\*([I , \\*([I\c
  137. .if !\\*([C , \\*([C\c
  138. .if !\\*([D , \\*([D\c
  139. \&.
  140. .if !\\*([O \\*([O
  141. ..
  142. .    \" [2 - book
  143. .de [2
  144. .XP
  145. .if !\\*([Q \\*([Q,
  146. .if !\\*([A \\*([A,
  147. .if !\\*([T \f2\\*([T,\f1
  148. .if !\\*([S \\*([S,
  149. .if !\\*([V \\*([V,
  150. .if !\\*([P \{\
  151. .ie \\n([P>0 pp. \\*([P,
  152. .el p. \\*([P,
  153. .\}
  154. \\*([I\c
  155. .if !\\*([C , \\*([C\c
  156. .if !\\*([D , \\*([D\c
  157. \&.
  158. .if !\\*([O \\*([O
  159. ..
  160. .    \" [3 - article in book
  161. .de [3
  162. .XP
  163. .if !\\*([Q \\*([Q,
  164. .if !\\*([A \\*([A,
  165. .if !\\*([T \\*([o\\*([T,\\*([c
  166. in \f2\\*([B\f1\c
  167. .if !\\*([E , ed. \\*([E\c
  168. .if !\\*([S , \\*([S\c
  169. .if !\\*([V , vol. \\*([V\c
  170. .if !\\*([P \{\
  171. .ie \\n([P>0 , pp. \\*([P\c
  172. .el , p. \\*([P\c
  173. .\}
  174. .if !\\*([I , \\*([I\c
  175. .if !\\*([C , \\*([C\c
  176. .if !\\*([D , \\*([D\c
  177. \&.
  178. .if !\\*([O \\*([O
  179. ..
  180. .    \" [4 - report
  181. .de [4
  182. .XP
  183. .if !\\*([Q \\*([Q,
  184. .if !\\*([A \\*([A,
  185. .if !\\*([T \\*([o\\*([T,\\*([c
  186. .if !\\*([R \\*([R\c
  187. .if !\\*([G \& (\\*([G)\c
  188. .if !\\*([P \{\
  189. .ie \\n([P>0 , pp. \\*([P\c
  190. .el , p. \\*([P\c
  191. .\}
  192. .if !\\*([I , \\*([I\c
  193. .if !\\*([C , \\*([C\c
  194. .if !\\*([D , \\*([D\c
  195. \&.
  196. .if !\\*([O \\*([O
  197. ..
  198. .de ]<
  199. .[<
  200. ..
  201. .de [<
  202. .SH
  203. References
  204. .LP
  205. .rm FS FE
  206. ..
  207. .de [>
  208. .]>
  209. ..
  210. .de ]>
  211. .sp
  212. ..
  213. .de ]-
  214. .[-
  215. ..
  216. .de [-
  217. .if !\\n(TL \{\
  218. .    br    \" pseudo-page break
  219. .    ce
  220. \f2\\*(TL\f1
  221. .    sp 2
  222. .    nr TL 1
  223. .\}
  224. .rm [Q [A [T [J [B [E [S [V
  225. .rm [N [P [I [C [D [O [R [G
  226. ..
  227. .    \" command-line registers
  228. .if \nN .nr # \nN-1 1
  229. .if \nN .rn NP XP
  230. .if \nV .ls \nV
  231. .if \nL .ll \nLu
  232. .if \nO .po \nOu
  233.