home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / net / refer.macro / tmac.refCACM < prev    next >
Text File  |  1987-03-02  |  4KB  |  229 lines

  1. .\"        Refer Macros, ACM Communications format
  2. .\"        R. Goebel, September 20, 1983
  3. .\"        Test version: report bugs to rggoebel
  4. .\"        Documentation:    /u/rggoebel/pub/doc/refer.text
  5. .\"                /u/rggoebel/pub/doc/tmac.ref.7.text
  6. .\"             ________________________________________________
  7. .\"
  8. .\"        Inform user about required Refer options
  9. .\"
  10. .tm CACM format: requires Refer options "-a -s"
  11. .\"
  12. .\"        reference format selection macro
  13. .\"        notice last entry is default format
  14. .de ][
  15. .ie \\*([lbook .[0
  16. .el .ie \\*([ljournal-article .[1
  17. .el .ie \\*([lproceedings-article .[2
  18. .el .ie \\*([lbook-article .[3
  19. .el .ie \\*([ledited-book .[4
  20. .el .ie \\*([ledited-proceedings .[5
  21. .el .ie \\*([ltechnical-report .[6
  22. .el .ie \\*([lmanuscript .[7
  23. .el .ie \\*([ldissertation .[8
  24. .el .ie \\*([ledited-journal .[9
  25. .el .[d
  26. ..
  27. .\"        placement of in text citation
  28. .de rF
  29. .ne 4
  30. \f3\\*([F\f1.
  31. .
  32. .\"        punctuation definition
  33. .ds >. .
  34. .ds <. \&
  35. .ds >, ,
  36. .ds <, \&
  37. .ds >; ;
  38. .ds <; \&
  39. .ds >: :
  40. .ds <: \&
  41. .\"        in-text citation brackets
  42. .ds [.  [
  43. .ds .] ]
  44. .\"        reference list initialization macro
  45. .de ]<
  46. .ft R
  47. .ls 1
  48. .na
  49. .sp
  50. ..
  51. .\"        reference list termination macro
  52. .de ]>
  53. .ft P
  54. .ad
  55. ..
  56. .\"        string definition reset macro
  57. .de ]-
  58. .rm [V [P [A [T [N [C [B [O [R [I [E [D [L [J [S [M [l [e [n [c
  59. ..
  60. .de [0        \" book format
  61. .rF
  62. \\*([A\&
  63. \\f2\\*([T\\f1\c
  64. .if !\\*([n , \\f2edition \\*([n\\f1\c
  65. .if !\\*([S , \\f2\\*([S\\f1\c
  66. .if !\\*([V , \\f2vol.\ \\*([V\\f1\c
  67. , \\*([I\c
  68. .if !\\*([C , \\*([C\c
  69. , \\*([D\c
  70. .ie \\*([O \&.
  71. .el \& [\\*([O].
  72. ..
  73. .de [1        \" journal-article format
  74. .rF
  75. \\*([A\&
  76. \\*([T,
  77. \\f2\\*([J\\f1
  78. .if !\\*([V \\f2\\*([V\\f1\c
  79. .if !\\*([N , \\*([N
  80. .ie !\\*([M , (\\*([M \\*([D),
  81. .el (\\*([D),
  82. .if !\\*([P , \\*([P\c
  83. .ie \\*([O \&.
  84. .el \& [\\*([O].
  85. ..
  86. .de [2        \" proceedings-article format
  87. .rF
  88. \\*([A\&
  89. \\*([T,
  90. \\f2\\*([J\\f1\c
  91. .if !\\*([V \& \\f2\\*([V\\f1\c
  92. .if !\\*([M , \\*([M\c
  93. , \\*([D\c
  94. .if !\\*([I , \\*([I\c
  95. .if !\\*([C , \\*([C\c
  96. .if !\\*([E \{\
  97. , \\*([E
  98. .ie !\\*([e (eds.)\c
  99. .el (ed.)\c
  100. .\}
  101. .if !\\*([P , \\*([P\c
  102. .ie \\*([O \&.
  103. .el \& [\\*([O].
  104. ..
  105. .de [3        \" book-article format
  106. .rF
  107. \\*([A\&
  108. \\*([T,
  109. \\f2\\*([B\\f1\c
  110. .if !\\*([n , \\f2edition \\*([n\\f1\c
  111. .if !\\*([S , \\f2\\*([S\\f1\c
  112. .if !\\*([V , \\f2vol.\ \\*([V\\f1\c
  113. .if !\\*([E \{\
  114. , \\*([E
  115. .ie !\\*([e (eds.)\c
  116. .el (ed.)\c\}
  117. , \\*([I\c
  118. .if !\\*([C , \\*([C\c
  119. , \\*([D
  120. .if !\\*([P , \\*([P\c
  121. .ie \\*([O \&.
  122. .el \& [\\*([O].
  123. ..
  124. .de [4        \" edited-book format
  125. .rF
  126. \\*([A\&
  127. .ie \\*([e (ed.).\&
  128. .el (eds.).\&
  129. \\f2\\*([T\\f1\c
  130. .if !\\*([n , \\f2edition \\*([n\\f1\c
  131. .if !\\*([S , \\f2\\*([S\\f1\c
  132. .if !\\*([V , \\f2vol.\ \\*([V\\f1\c
  133. , \\*([I\c
  134. .if !\\*([C , \\*([C\c
  135. , \\*([D\c
  136. .ie \\*([O \&.
  137. .el \& [\\*([O].
  138. ..
  139. .de [5        \" edited-proceedings format
  140. .rF
  141. \\*([A\&
  142. .ie \\*([e (ed.).\&
  143. .el (eds.).\&
  144. \\f2\\*([J\\f1\c
  145. .if !\\*([V \& \\f2\\*([V\\f1\c
  146. .if !\\*([M , \\*([M\c
  147. , \\*([D\c
  148. .if !\\*([I , \\*([I\c
  149. .if !\\*([C , \\*([C\c
  150. .ie \\*([O \&.
  151. .el \& [\\*([O].
  152. ..
  153. .de [6        \" technical-report format
  154. .rF
  155. \\*([A\&
  156. \\*([T\c
  157. .if !\\*([R , \\*([R\c
  158. .if !\\*([S , \\*([S\c
  159. .if !\\*([I , \\*([I\c
  160. .if !\\*([C , \\*([C\c
  161. .if !\\*([M , \\*([M\c
  162. , \\*([D\c
  163. .if !\\*([P , \\*([P\c
  164. .ie \\*([O \&.
  165. .el \& [\\*([O].
  166. ..
  167. .de [7        \" manuscript format
  168. .rF
  169. \\*([A\&
  170. \\*([T\c
  171. .if !\\*([S , \\*([S\c
  172. .if !\\*([I , \\*([I\c
  173. .if !\\*([C , \\*([C\c
  174. .if !\\*([M , \\*([M\c
  175. , \\*([D\c
  176. .if !\\*([P , \\*([P\c
  177. .ie \\*([O \&.
  178. .el \& [\\*([O].
  179. ..
  180. .de [8        \" dissertation format
  181. .rF
  182. \\*([A\&
  183. \\*([T\c
  184. .if !\\*([Q , \\*([Q dissertation\c
  185. .if !\\*([S , \\*([S\c
  186. .if !\\*([I , \\*([I\c
  187. .if !\\*([C , \\*([C\c
  188. .if !\\*([M , \\*([M\c
  189. , \\*([D\c
  190. .if !\\*([P , \\*([P\c
  191. .ie \\*([O \&.
  192. .el \& [\\*([O].
  193. ..
  194. .de [9        \" edited-journal
  195. .rF
  196. \\*([A\&
  197. .ie \\*([e (ed.).
  198. .el (eds.).
  199. \\*([T,
  200. \\f2\\*([J\\f1
  201. .if !\\*([V \\f2\\*([V\\f1\c
  202. .if !\\*([N , \\*([N
  203. .ie !\\*([M , (\\*([M \\*([D),
  204. .el (\\*([D),
  205. .if !\\*([P , \\*([P\c
  206. .ie \\*([O \&.
  207. .el \& [\\*([O].
  208. ..
  209. .de [d        \" default format
  210. .rF
  211. \\*([A\&
  212. \\*([T\c
  213. .if !\\*([E \{\
  214. , \\*([E
  215. .ie !\\*([e (eds.)\c
  216. .el (ed.)\c\}
  217. .if !\\*([B , \\f2\\*([B\\f1\c
  218. .if !\\*([S , \\*([S\c
  219. .if !\\*([I , \\*([I\c
  220. .if !\\*([J , \\f2\\*([J\\f1
  221. .if !\\*([V , vol.\ \\*([V\\f1\c
  222. .if !\\*([N , no.\ \\*([N
  223. .if !\\*([M , \\*([M\c
  224. .if !\\*([D , \\*([D\c
  225. .if !\\*([P , \\*([P\c
  226. .ie \\*([O \&.
  227. .el \& [\\*([O].
  228. ..
  229.