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

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