home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 448a.lha / Citation_Base_v1.1 / Citation_Base.doc < prev    next >
Encoding:
Text File  |  1990-09-15  |  26.9 KB  |  601 lines

  1. Citation_Base  Copyright 1989, 1990 by Michael J. Arrowood
  2.  
  3. INTRODUCTION:
  4.  
  5.      What is Citation_Base?  Basically, Citation_Base is a
  6. collection of utilities designed for writers who maintain a
  7. sizeable database(s) of bibliographic citations that must be
  8. included in the LITERATURE CITED or BIBLIOGRAPHY section of their
  9. published papers.  A common problem with most "homebrew" citation
  10. databases is that the citation format chosen as "standard"
  11. usually does not conform to the citation format required by the
  12. journal to which the writer submits his/her article(s).  A writer
  13. in such a position must retype the citations in the correct
  14. format before submitting the paper.  If your bibliography is
  15. large, this can seem like a terrible waste of time (and usually
  16. is).
  17.  
  18.      The files in this directory make scientific or professional
  19. writing easier on the Amiga by automating the creation and
  20. maintenance of a database of published citations or references. 
  21. There are actually two ways to accomplish this task.  The first
  22. employs Software Visions Incorporated's excellent database
  23. program entitled "MicroFiche Filer Plus" (hereafter referred as
  24. MFF+).  The second employs any word processor or text editor. 
  25. ARexx macros included in this package rearrange stock citations
  26. to conform to any given bibliographic or journal style.  Put
  27. simply, the macros automatically format ("lay out") the stock
  28. citations so you don't have to.  You get to spend more time
  29. composing your masterpiece (and less time retyping your
  30. bibliography).  The ARexx macros are named LAYOUT.mffm and
  31. LAYOUT.rexx respectively and can be customized to reformat stock
  32. citations into nearly any journal style through the creation of
  33. journal (bibliographic) TEMPLATE files.  The macros use the
  34. TEMPLATE files as guides in formatting citations.
  35.  
  36.      LAYOUT.mffm reads selected citation records (from within
  37. MFF+) one at a time, reformats the citation (as directed by the
  38. TEMPLATE file) and writes the modified citation to an output text
  39. file in one of two forms.  The first output file form can be
  40. RETRIEVED directly into WordPerfect (Amiga version 4.1) for
  41. immediated use in your manuscript.  The second output file form
  42. is in the Rich Text Format (RTF) which enables the file to be
  43. imported into a variety of software programs that run on the IBM
  44. PC, the MacIntosh, and XENIX/UNIX computers.  As a bonus, if the
  45. journal style requires underlining, italics, or boldface in the
  46. citation, the LAYOUT.mffm macro embeds the formatting codes
  47. necessary to turn these features on and off.  If you do not use
  48. WordPerfect or any of the other above mentioned software, it may
  49. still be possible to customize the LAYOUT.mffm macro to embed the
  50. appropriate codes necessary to turn on/off these features for
  51. your word processor (see below).
  52.  
  53.      LAYOUT.rexx reads citations from a text file and reformats
  54. them (the same way that LAYOUT.mffm does, but without the need
  55. for the MFF+ database program).  LAYOUT.rexx is functionally
  56. identical to the MFF+ based LAYOUT.mffm with the exception that
  57. LAYOUT.mffm works within the flexible MFF+ database environment
  58. while LAYOUT.rexx works on text files of citations created with a
  59. word processor or text editor.  The latter allows a user to
  60. create citation databases which can later be imported into MFF+
  61. (the cost effective way of creating databases until MFF+ may be
  62. purchased).  Don't underestimate the utility of LAYOUT.rexx.  I
  63. started out by creating my citation databases as text files using
  64. a word processor.  The users of such text file based citation
  65. databases must perform all numeric or alphabetic sorting and
  66. selection of citation subsets using a word processor or text
  67. editor.  Once the subset of citations has been saved as a text
  68. file, LAYOUT.rexx can be used to "lay out" or format the
  69. citations as directed by the journal TEMPLATE file (see below).
  70.  
  71. FILES FOUND IN THE CITATION_BASE DIRECTORY:
  72.  
  73.   ReadMe                 {shareware disclaimer}
  74.   Citation_Base.doc      {doc file about Citation_Base}
  75.   CB_v1.1_update.doc     {version 1.1 update doc file}
  76.   MFF+_Files <dir>       {MFF+ database example and ARexx macros}
  77.   LAYOUT.templates <dir> {directory of Citation_Base journal
  78.                           templates used by ARexx LAYOUT macros}
  79.   REXX <dir>             {directory of ARexx macros and example
  80.                           text file citation database}
  81.   QView                  {shareware text file viewer}
  82.  
  83. FILES FOUND IN THE MFF+_FILES DIRECTORY:
  84.  
  85.   Example_Base.mff        {example database file}
  86.   Example_Base.mff.info   {corresponding info file}   
  87.   macros <dir>            {ARexx macros for use within MFF+}
  88.   MFF.project.info        {info file makes setting up new MFF+
  89.                           databases easier} 
  90.  
  91. FILES FOUND IN THE MACROS DIRECTORY:
  92.  
  93.   LAYOUT.mffm              {MFF+ ARexx macro #1}
  94.   IMPORT.mffm              {MFF+ ARexx macro #2}
  95.   EXPORT.mffm              {MFF+ ARexx macro #3}
  96.   FULL_JOURNAL.mffm        {MFF+ ARexx macro #4}
  97.   ABBR_JOURNAL.mffm        {MFF+ ARexx macro} ***external***
  98.   AGRICOLA_IMP.mffm        {MFF+ ARexx macro #5}
  99.   PRO-CITE_IMPORT.mffm     {MFF+ ARexx macro #6}
  100.   PRO-CITE_EXPORT.mffm     {MFF+ ARexx macro #7}
  101.   REFER-BibIX_IMPORT.mffm  {MFF+ ARexx macro #8}
  102.   REFER-BibIX_EXPORT.mffm  {MFF+ ARexx macro #9}
  103.  
  104. FILES FOUND IN THE TEMPLATES DIRECTORY:
  105. (LAYOUT.mffm and LAYOUT.rexx journal style templates identified
  106. by name.  Here are two examples.  Please read or print the
  107. directory for a full listing...)
  108.  
  109.   J_Clin_Microbiol.template    {representative template file}
  110.   ALL_TEMPLATES                {file listing all CB templates}
  111.  
  112. FILES FOUND IN THE REXX DIRECTORY:
  113.  
  114.      Example_Base.txt          {citation database, text format}
  115.      AGRICOLA_example.txt      {example AGRICOLA citation file}
  116.      PRO-CITE_example.txt      {example PRO-CITE citation file}
  117.      REFER-BibIX_example.txt   {example REFER-BibIX citation file}
  118.      LAYOUT.rexx               {ARexx macro}
  119.      FULL_JOURNAL.rexx         {ARexx macro}
  120.      ABBR_JOURNAL.rexx         {ARexx macro}
  121.      AGRICOLA_IMPORT.rexx      {ARexx macro}
  122.      PRO-CITE_IMPORT.rexx      {ARexx macro}
  123.      PRO-CITE_EXPORT.rexx      {ARexx macro}
  124.      REFER-BibIX_EXPORT.rexx   {ARexx macro}
  125.      REFER-BibIX_EXPORT.rexx   {ARexx macro}
  126.  
  127.      SORTING_UTILITIES DIRECTORY  {ARexx/Xicon macros for sorting
  128.                                    Citation_Base text databases} 
  129.  
  130. WHAT DO YOU NEED TO USE THIS PACKAGE OF MACROS AND FILES?
  131.  
  132.      You will have to modify (upgrade) your WORKBENCH disk by
  133. first installing William Hawes' ARexx and secondly installing ARP
  134. version 1.3 (AmigaDOS Resource Project version 1.3, available in
  135. the public domain).  If you have WorkBench 2.0, you will already 
  136. have ARexx!  The RexxArpLibrary must also be installed
  137. (as instructed on William Hawes' ARexx disk).  A copy of
  138. MicroFiche Filer Plus (MFF+) must be supplied in order to use the
  139. example citation database file (Example_Base.mffm) and the MFF+
  140. specific ARexx macros.  Alternatively, you may choose to create
  141. text file-based citation databases using a word processor or text
  142. editor.  
  143.  
  144.      You will also need to create (format) a working disk named
  145. CITATION_BASE, onto which the entire CITATION_BASE directory must
  146. be copied.  The reason for this is to allow the existing macros
  147. to work without modifying the disk names and directory
  148. assignments.  That is, the macros look for a disk named
  149. CITATION_BASE, and directories named CITATION_BASE, REXX,
  150. MFF+_FILES, MACROS, and TEMPLATES.  If you do not like these
  151.  
  152. names, the macros can be modified to use any disk or directory
  153. names you prefer.  The most important disk/directory path
  154. assignments are made in the MFF+ macro menu selections one
  155. through eight (where, for example, LAYOUT.mffm is executed by
  156. running macro #1).  Should you change the disk and directory
  157. names, be sure to edit the macro menu selections in MFF+ before
  158. trying to run them, or else they will simply abort without
  159. execution.  The best way to understand the preceding section is
  160. to start up MFF+ (from a CLI or SHELL), load Example_Base.mff and
  161. look at the selections available in the MACROS menu.
  162.  
  163.  
  164. CITATION_BASE OPERATION WITH MICROFICHE FILER PLUS:
  165.  
  166.      There are two ways to create and maintain a citation
  167. database using Micro Fiche Filer Plus (MFF+).  The first way is
  168. to make a backup copy of Example_Base.mff, rename it, open this
  169. example database file and enter new citation records directly. 
  170. There is an alternative or complementary approach available as
  171. well.  Citations can be created in a word processor, saved as a
  172. plain text file (as instructed below) and imported into the
  173. database file using the MFF+ ARexx macro "IMPORT.mffm" included
  174. in this package.  I wrote this simple macro because I must use
  175. IBM and MacIntosh computers at work.  I certainly don't want to
  176. enter the citations I need for work related writing at home, on
  177. my own time.  To get around this problem, I create (save) TEXT
  178. files of citations using word processors at work.  
  179.  
  180.      If the files originated on an IBM, I use one of the
  181. following means to transfer the file to an AmigaDos disk:  1)
  182. Central Coast Software's commercial software DOS-2-DOS, 2)
  183. PCUtils720--Werner Gunter's public domain patch to the PCUtil
  184. programs found on the Amiga EXTRAS disk, 3) Consultron's
  185. commercial software CrossDos, or Olaf Seibert's public domain
  186. program entitled MSH (MessyDos File System).  If the file was
  187. created on a MacIntosh, I use the file transfer software supplied
  188. with ReadySoft's A-Max MacIntosh emulator to transfer the text
  189. files to an AmigaDos disk.  Alternatively, the files could have
  190. been transfered using a modem or Central Coast Software's
  191. MAC-2-DOS.  Once copied to the AmigaDos disk, the citations can
  192. be imported into the MFF+ citation database using MFF+ ARexx
  193. macro #2 (IMPORT.mffm).  Please note, however, that if the
  194. citations in the text file do not conform to the standard format
  195. described below, they will become garbled during the import
  196. process, or may even cause the macro to end prematurely.  You
  197. should always import such files to a backup copy of your parent
  198. (primary) MFF+ citation base file.
  199.  
  200.  
  201.      Three additional macros allow for the importation of
  202. citations from other databases.  You must first move the citation
  203. file from the disk of origin (MAC or IBM) to an AmigaDos disk
  204. (see above).  The first macro, AGRICOLA.IMP.mffm imports
  205. citations that originate on the AGRICOLA database (accessed via
  206. online services or CD ROM-based computer station.  Be careful
  207. when importing these citations, since not all of the citations on
  208. the AGRICOLA CD ROM are entirely accurate.  "Odd" citations are
  209. excluded during the importation process and saved in a "BAD"
  210. citation file.  You can edit these citations by hand and try to
  211. import again, or simply enter them into the database by hand.
  212.  
  213.      The PRO-CITE_IMPORT.mffm and PRO-CITE_EXPORT.mffm macros and
  214. the REFER-BibIX_IMPORT.mffm and REFER-BibIX_EXPORT.mffm macros import
  215. citations that originate from ISI's Current Contents software
  216. (IBM or MAC).  As long as you exclude book citations, these
  217. macros import just fine.  You can also export using these macros
  218. which will allow you to share databases with individual using 
  219. bibliographic software including:  PRO-CITE, EndNote, REFER and
  220. BibIX.  (Each copyright their respective parent companies).
  221.  
  222.      The macro EXPORT.mffm allows the user to export the
  223. citations contained in the MFF+ database as a text file of
  224. stock citations.  This feature allows you to share databases with
  225. other Citation_Base users who do not have a copy of MFF+.
  226.  
  227.      There are two ways to enter the citation database using
  228. MFF+.  Firstly, the citation database file icon (e.g.
  229. Cite_Base.mff.info) can be double clicked, whereupon you will be
  230. prompted to insert your MFF+ disk (MFF+ and the database file are
  231. loaded automatically).  The MFF+ ARexx macros will work fine this
  232. way, but there are advantages to using the second method.  The
  233. second method requires that you open a new CLI or SHELL, load
  234. MFF+ from the CLI or SHELL and finally load the citation database
  235. file from within MFF+.  The CLI/SHELL used to launch MFF+ is then
  236. used as a destination for MFF+ error messages (hopefully zero in
  237. number) and for screen output generated by the ARexx macros.  The
  238. screen output generated by the macros allows the user to monitor
  239. the progress of the macros.
  240.  
  241.      LAYOUT.mffm is executed by using the mouse to select macro
  242. #1 in the macro menu in MFF+ (after SELECTING some citation
  243. records).  Upon execution, the macro displays a requester
  244. requiring the user to select the output file format for the laid
  245. out citations (WordPerfect or Microsoft Word [Rich Text Format]). 
  246. A second requester will appear requiring the user to select or
  247. enter the name of the destination file into which the "laid out"
  248. citations will be saved.  Drive ID's, disk names, directory names
  249. and file names may be "clicked on" in the requester to enter the
  250. path and file name required.  Next, a requester appears requiring
  251.  
  252. the user to select or enter the name of a TEMPLATE file to be
  253. used in "laying out" the citations.  The macro will then proceed
  254. to lay out the citations, echoing the results to the appropriate
  255. CLI/SHELL.  I recommend saving the text file of "laid out"
  256. citations to RAM: or to VD0: to speed up output and reduce the
  257. time your disk drive is tied up.  After LAYOUT.mffm is finished,
  258. remember to copy the file to your floppy or hard disk before
  259. proceeding.  The text file of laid out citations can be RETRIEVED
  260. into WordPerfect or software capable of importing RTF files. 
  261. LAYOUT.mffm is no speed demon, it lays out citations at a rate of
  262. approximately 900 per hour (i.e. 1 citation every 4 seconds). 
  263. While that may seem slow, the alternative (retyping and
  264. proofreading citations) is usually even more time consuming.
  265.  
  266.      Two additional ARexx macros enable the user to export lists
  267. of full journal names or abbreviated journal names from MFF+
  268. citation databases.  Again, these macros may be executed by
  269. selecting the appropriate macro menu item in MFF+
  270. (FULL_JOURNAL.mffm or ABBR_JOURNAL.mffm).  I use the macros to
  271. maintain lists of the names of journals from which the citations
  272. originated and to allow a quick visual cross check for
  273. misspellings.  The exported lists will not be sorted
  274. alphabetically unless you first move the SORT BY ABBR_JOURNAL
  275. form to the SORT FORM slot.
  276.  
  277.  
  278. CITATION_BASE OPERATION WITH A WORD OR TEXT PROCESSOR:
  279.  
  280.      Citation databases may be created with a word processor or
  281. text editor by following the standard citation format described
  282. below.  Since most word processors and text editors do not sort
  283. groups of text lines, you will have to manually enter (insert)
  284. "new" citations in the correct position within existing citation
  285. database files if you wish the citations to be alphabetized or
  286. numerically ordered.  When the citations must be "laid out" for
  287. use in a manuscript, entire citation files may be used or a
  288. subset may be selected and exported as a text file.  I usually
  289. use "block and move" operations in the word processor to move the
  290. necessary citations to the front of the file, delete the
  291. unnecessary citations and save the subset as a separate text
  292. file.  At this point the ARexx macros may be executed.
  293.  
  294.      The LAYOUT.rexx macro may be executed  (launched) by double
  295. clicking on the LAYOUT.rexx icon or by typing "rx LAYOUT" from a
  296. CLI or SHELL.  LAYOUT.rexx functions the same way as LAYOUT.mffm
  297. (see above for details) with the following exception:  the first
  298. requester requires the user to identify a text file of stock
  299. citations to be laid out.
  300.  
  301.  
  302.      Two additional ARexx macros enable the user to export lists
  303. of full journal names or abbreviated journal names from the
  304. citation database text files.  Again, these macros may be
  305. executed by double clicking their icons or by entering
  306. "rx FULL_JOURNAL" or "rx ABBR_JOURNAL" at a CLI/SHELL prompt.  I
  307. use the macros to maintain lists of the names of journals from
  308. which the citations originated and to allow a quick visual cross
  309. check for misspellings.  The exported lists will not be sorted
  310. alphabetically, but this is easily accomplished using the
  311. AmigaDos (ARP version) command SORT.  Enter the following at a
  312. CLI/SHELL prompt:
  313.  
  314.    sort <unsorted file name> <sorted file name>
  315.  
  316. including any relevant directory paths and the file of unsorted
  317. journal names will be sorted and saved into the sorted file.
  318.  
  319.      Additional macros include AGRICOLA IMPORT, PRO-CITE and 
  320. REFER-BibIX IMPORT and EXPORT ARexx macros.  As described above,
  321. these macros import or export citations from other databases, 
  322. altering the formats to closely resemble the CITATION_BASE format.
  323. All require minor editing of the imported citations to completely
  324. match the standard format.  Remember, you must create the
  325. citation lists as text files on the originating computer and move
  326. the files to an AmigaDos disk before these macros can be used.
  327.  
  328.  
  329. CITATION_BASE STANDARD FEATURES:
  330.  
  331. STOCK CITATION FORMAT:
  332.  
  333.      LAYOUT.mffm and LAYOUT.rexx require that the stock
  334. (standard) citations (records in MFF+) conform to the following
  335. format:
  336.  
  337. LINE 1:  surname, initials, surname, initials...
  338. LINE 2:  year of publication
  339. LINE 3:  title
  340. LINE 4:  abbreviated journal name, volume number, first page,
  341.          last page, and keywords separated by commas
  342. LINE 5:  full journal name preceded by an asterix
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352. THREE EXAMPLES OF STOCK CITATIONS:
  353.  
  354.      Zakowski, P, Fligiel, S, Berlin, G W, Johnson, B L Jr
  355.      1982
  356.      Disseminated &Mycobacterium$ &avium$-&intracellulare$
  357.      infection in homosexual men dying of acquired
  358.      immunodeficiency
  359.      J. Am. Med. Assoc., 248, 2980, 2982, case report, AIDS,
  360.      *Journal of the American Medical Association
  361.  
  362.      Gordon, MJ, Huang, X, Pentoney, SLJr, Zare, RN
  363.      1988
  364.      Capillary electrophoresis
  365.      Science, 242, 224, 228, review,
  366.      *Science
  367.  
  368.      Weisman, B L
  369.      1979
  370.      Urticaria and &Giardia$ &lamblia$ infection
  371.      Ann. Allergy, 42, 91,, brief report, protozoan,
  372.      *Annals of Allergy
  373.  
  374. Please note these important features:
  375.  
  376. Line 1)  The authors' surnames and initials are separated by
  377.          commas, and there can be spaces in between each author's
  378.          initials.  The authors' initials are all in capitals
  379.          with the exception of the lowercase 'r' in the
  380.          abbreviation of 'junior' (Jr).  The last set of initials
  381.          in the author list is not followed by any punctuation.
  382.          If the citation contains no author(s) you should
  383.          probably use 'Anonymous' as the surname and leave the
  384.          initials blank.
  385.          For example:  Anonymous, [RETURN]
  386.  
  387. Line 2)  Use the full year designation (e.g. 1988, not '88).
  388.  
  389. Line 3)  The title is entered in full, but do not end it with
  390.          a period (punctuation is added by the LAYOUT macros).   
  391.          Also note that words requiring special formatting (e.g.
  392.          italics) can be accomodated by adding an '&' in front of
  393.          the word to turn ON the formatting and by adding a '$'
  394.          after the word to turn OFF the formatting.  The
  395.          desired format is controlled by a subcode in the
  396.          TEMPLATE string (more on this later).
  397.  
  398. Line 4)  The abbreviated journal name (using periods after each
  399.          abbreviated word) is followed by a comma and a space.
  400.          Next is the journal volume number followed by a comma
  401.  
  402.          and a space.  Next in line is the first page number.
  403.          The second page number follows the first.  Please note
  404.          that if the article is only one page long you should
  405.          enter no character (null) for the last page number, but
  406.          do add a comma to separate the 'null' last page number
  407.          from the first keyword (see above).  Keywords are
  408.          separated by commas.
  409.  
  410. Line 5)  The last line begins with an asterix (*) and is followed
  411.          by the full journal name.
  412.  
  413.          If you are not sure of the appropriate abbreviation for
  414.          a given journal name, verify your abbreviation by
  415.          consulting one of the following:  Bibliographic Guide
  416.          for Editors and Authors, Serial Sources for the BIOSIS
  417.          Data Base, American National Standard for Abbreviation
  418.          of Titles of Periodicals, or Chemical Abstracts Service
  419.          Source Index.  If you cannot find an "accepted" abbrevi-
  420.          ation for the journal name, it is probably best to use
  421.          the full journal name in LINE 4.
  422.  
  423.  
  424. Here is the "first" citation (shown above) "laid out" in two
  425. different journal formats.  Please note that special printing
  426. characters are not shown (i.e. italics and boldface).
  427.  
  428. "JOURNAL OF PARASITOLOGY" format:
  429.  
  430. ZAKOWSKI, P., S. FLIEGAL, G. W. BERLIN AND B. L. JR. JOHNSON.
  431. 1982. Disseminated Mycobacterium avium-intracellulare infection
  432. in homosexual men dying of acquired immunodeficiency. Journal of
  433. the American Medical Association 248:2980-2982.
  434.  
  435. "PARASITOLOGY RESEARCH" format:
  436.  
  437. Zakowski, P, Fliegal, S, Berlin, GW, Johnson, BLJr (1982)
  438. Disseminated Mycobacterium avium-intracellulare infection in
  439. homosexual men dying of acquired immunodeficiency. J Am Med Assoc
  440. 248:2980-2982
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452. CREATING YOUR OWN LAYOUT TEMPLATE FILES:
  453.  
  454.      The TEMPLATE file actually contains a single string broken
  455. up into seven substrings, each with a particular function.  Each
  456. substring is separated by a slash ("/") character.  For example,
  457. the TEMPLATE file "Infect_Immun.template" represents the format
  458. required by the journal INFECTION AND IMMUNITY:
  459.  
  460. {a.} y. t. j {v:}f-l./ i./ @i s/i s,/i s,/s,i,/i/
  461.  
  462.      The first substring represents the structural format of the
  463. entire citation.  In the example above, the curly bracket ("{")
  464. turns ON boldface type.  Next, the "a" indicates that all of the
  465. author names follow, with a period added to the end of the last
  466. author's name.  The closing curly bracket ("}") turns OFF the
  467. boldface type.  A space is then printed followed by the year, a
  468. period and a space.  The title is printed followed by a period
  469. and a space.  The abbreviated journal name is printed next
  470. followed by a space.  Boldface type is again turned ON and the
  471. volume number is printed followed by a colon.  Boldface type is
  472. turned OFF, the first page number is printed followed by a dash,
  473. the last page number and finally a period.  That's it!
  474.  
  475.      The second substring defines the format around each author's
  476. initial(s).  In the above example, each initial is preceded by a
  477. space and followed by a period.
  478.  
  479.      The third substring defines the format around the last
  480. author in the author list.  In the above example, a space
  481. precedes the word "and" (here denoted by the symbol "@"),
  482. followed by the author's initial(s) (see substring 2 for the
  483. initials format).  A space is printed after the author's initials
  484. and finally the author's surname is printed.  REMEMBER, substring
  485. 1 indicated that a period follows the list of author names, so no
  486. period is included at the end of substring 3.
  487.  
  488.      The fourth substring defines the format around the next-to-
  489. the-last author in the author list.  In the above example, the
  490. author's initial(s) are printed followed by a space, the author's
  491. surname and finally a comma.
  492.  
  493.      The fifth substring defines the format around an author in
  494. the middle of a long author list (more than three authors).  In
  495. the above example, the author's initial(s) are printed followed
  496. by a space, the author's surname and finally a comma.  (Same as
  497. substring 4).
  498.  
  499.  
  500.  
  501.  
  502.      The sixth substring defines the format around the first
  503. author in the author list.  In the above example, the author's
  504. surname is printed followed by a comma, the author's initials
  505. (again, as defined by substring 2) and finally a comma.  So what
  506. happens if the citation only has one author?  Do you get a comma
  507. and a period after the author's name?  No.  LAYOUT.mffm and
  508. LAYOUT.rexx check for improper character combinations (like ",.")
  509. and remove the unnecessary character(s).
  510.  
  511.      The seventh substring defines the type of embedded
  512. formatting codes to substitute for the toggle characters ("&" and
  513. "$") used in the title string (in the stock citation).  The five
  514. possible embedded code pairs are identified by the following
  515. characters:
  516.  
  517.   "i" replaces "&" and "$" with italics ON and OFF codes
  518.   "u" replaces "&" and "$" with underline ON and OFF codes
  519.   "b" replaces "&" and "$" with boldface ON and OFF codes
  520.   "S" replaces "&" and "$" with the same characters ("&" and "$")
  521.   "n" replaces "&" and "$" with null values ("")
  522.  
  523.      The TEMPLATE string contains other reserved or special
  524. characters that are decoded into the format used by LAYOUT.mffm.
  525. The following lists these characters and their meanings for
  526. substring 1:
  527.  
  528.   "a" represents the author list
  529.   "y" represents the year
  530.   "t" represents the title
  531.   "f" represents the first page number
  532.   "l" represents the last page number
  533.   "n" represents the citation number (printed in order of output)
  534.   "J" represents the full journal name (capitol "J")
  535.   "j" represents the abbreviated journal name (lowercase "j")
  536.   "k" represents the abbreviated journal name (without periods
  537.       after the abbreviations)
  538.   "{" turns ON boldface type
  539.   "}" turns OFF boldface type
  540.   "[" turns ON italics
  541.   "]" turns OFF italics
  542.   "<" turns ON underline
  543.   ">" turns OFF underline
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.      The following lists the special characters and their
  553. meanings for substrings two through six (initials and author
  554. formats):
  555.  
  556.   "i" represents initials
  557.   "s" represents normal surname (lowercase "s")
  558.   "S" represents surname printed in uppercase (uppercase "S")
  559.   "@" represents the word "and" (it will be printed in either
  560.       upper or lowercase depending on the surname character case)
  561.  
  562.      All other characters present in the TEMPLATE string are
  563. printed directly to the output citation file.  For example,
  564. characters like spaces, periods, commas, colons, semicolons, and
  565. the ampersand ("&") are printed directly as part of the citation.
  566.  
  567.  
  568.      The best way to master the creation of TEMPLATE strings
  569. (files) is to make a printout of all of the TEMPLATE file strings
  570. supplied with this package (see 'ALL_TEMPLATES' file).  Lay out 
  571. the citations in the example database file using each of these 
  572. TEMPLATES, retrieve them into WordPerfect or RTF file compatible 
  573. software and print the laid-out citations.  Compare the TEMPLATE 
  574. strings with their corresponding laid-out citations and use them 
  575. as a guide in creating your own TEMPLATES.
  576.  
  577.      Some journals employ unusual formats that cannot be
  578. completely accommodated by the current versions of LAYOUT.mffm
  579. and LAYOUT.rexx.  Journal templates can usually be devised to
  580. carry out most of the necessary formatting, with the user
  581. supplying additional modification.  For example,
  582. "!J_Am_Vet_Med_Assoc.template" lays out citations in a standard
  583. manner, but the journal requires that citations with more than
  584. three authors follow a special format:  authors number four and
  585. higher in the author list are truncated and replaced with "et
  586. al."  TEMPLATES with unusual formatting conditions are identified
  587. be an exclamation point preceding the TEMPLATE filename.
  588.  
  589.  
  590. SUMMARY:
  591.  
  592.      While I have made every attempt to create a useful package,
  593. the user may find it necessary to customize the macros or
  594. accessory files for his/her own purpose.  If you find a defect or
  595. deficiency in the package or improve it in some way, please let
  596. me know about it so that I can update the files or advertise your
  597. version in future releases of the text file you are now reading.
  598.  
  599. Michael J. Arrowood
  600. September 15, 1990
  601.