⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bibdoc.ms

📁 早期freebsd实现
💻 MS
📖 第 1 页 / 共 5 页
字号:
\fBBMACLIB\fP\fI/bib.myfile..PPIf none are found, an error message is issued, and execution halts..de Ex.sp.RS.nf.ta 3m...bp.ce \fBReference File Formats\fP.sp.PPA reference file contains any number of referenceitems.  Reference items are separated by one or more blank lines.There are no restrictions placed on the order of reference items in a file,although the user will find that imposing some order simplifies updates..PPA reference item is a collection of field tags and values.A field tag is a percent sign followed by a single letter.Currently, the following field tags are recognized:.Ex.ta 0.5iA	Author's name \(dgB	Title of book containing itemC	City of publicationD	DateE	Editor(s) of book containing item \(dgF	CaptionG	Government (NTIS) ordering numberI	Issuer (publisher)J	Journal nameK	Keys for searching \(sc \(dgN	Issue numberO	Other information \(sc \(dgP	Page(s) of articleR	Technical report numberS	Series titleT	TitleV	Volume numberW	Where the item can be found locally \(sc \(dgX	Annotations \(sc \(dg.RE.PPFields marked with \(dg are \fIaccumulated\fP fieldsand can be repeated as necessary, but for all othersonly the last occurence of the field in any reference will be used.Those fields marked with \(sc are ignored by most styles designed for publication, but can have additional information and areavailable to database listing styles and other software tools.A field can be as long as necessary and can extend onto new lines.  Nocontinuation characters are necessary:lines that do not begin with a percent sign or a periodand are not blankare treated as continuations of the previous line.The order of fields is irrelevant, except that accumulated fieldsare listed in the order of occurrence..PPThe format of the reference file for \fIbib\fPis similar to that used by \fIrefer\fPexcept that \fIbib\fP has the following additional capabilities:.IP 1.An F field, if present, overrides whatever citation string would otherwisebe constructed..IP 2.Certain defined names can be used, and will be expanded differently bydifferent document styles.  For example, the string CACM is expanded into`Communications of the ACM' by some document styles, `Comm.ACM' by others,and `Comm. of the Assoc. of Comp. Mach.' by yet others.Appendix 1 lists some of the currently recognized names..IP 3.The program automatically abbreviates names, reverses names, andhyphenates strings of contiguous references, if requested..IP 4.A reference can have more than one editor field, and editor's namescan be abbreviated, reversed, and/or printed in cap/small caps style,independent of any processing done to authors names..IP 5.Comments (lines with '#' in the first column) can be interspersedthroughout the reference file.  They are not used as sources ofkeywords (use the %O or %X fields for that)..PPThe format of the reference file for \fIbib\fP is also similar to thatused by \fItib\fP, which shares a lot of source code with \fIbib\fP,with the following exceptions:.IP 1.\fIBib\fP does not recognize field tags \fIM\fP, \fIZ\fP, \fIa\fP through \fIz\fP and \e, while \fItib\fP does..IP 2.\fITib\fP currently does not recognize field tag \fIX\fP, and \fIbib\fPdoes..IP 3.\fITib\fP currently does not have any form of comment lines in thereference file, while \fIbib\fP marks comment lines with a '#' at thebeginning of a line..IP 4.\fITroff\fP commands may be inserted verbatim into \fIbib\fP references.In \fItib\fP the `%\e' field tag is used to insert TeX commands..PPThere may be (and probably are) other differences between \fIbib\fP,\fItib\fP, and \fIrefer\fP not documented here..PPGenerally a reference falls into one of several basic categories: book,journal article, conference paper, article in a book, compilations,technical report, PhD thesis, etc.An example of each and a brief comment is given below.  With lessstandard references (Archival Sources, Correspondence, GovernmentDocuments, Newspapers) generally some experimentation is necessary..SHBooks.PPA book is something with a publisher that isn't a journal article ora technical report.  Generally, books also have authors and titlesand dates of publication (although some don't).  For books not publishedby a major publishing house it is also helpful to give a city for thepublisher.  Some government documents also qualify as books, so a bookmay have a government ordering number..PPIt is conventional that the authors names appear in the reference inthe same form as on the title page of the book.  Note also thatstring definitions are provided for most of the major publishing houses(PRHALL for Prentice-Hall, for example).The string definition may include the city as part of the definition,depending on the database in use..Ex%A	R. E. Griswold%A	J. F. Poage%A	I. P. Polonsky%T	The SNOBOL4 Programming Language%I	PRHALL%D	second edition 1971.RE.PPSometimes a book (particularly old books) will have no listed publisher.The reference entry must still have an I field..Ex%A	R. Colt Hoare%T	A Tour through the Island of Elba%I	(no listed publisher)%C	London%D	1814.RE.PPIf a reference database contains entries from many people (suchas a departmental-wide database), the W field can be used to indicatewhere the referenced item can be found; using the initials of the owner,for example.Any entry style can take a W field, since this field is not used informatting the reference..PPThe K field is used to define general subject categories for an entry.This is useful in locating all entries pertaining to a specific subjectarea.Note the use of the backslash to indicate the last name is Van Tassel,and not simply Tassel..Ex%A	Dennie Van\e\0Tassel%T	Program Style, Design, Efficiency,Debugging and Testing%I	PRHALL%D	1978%W	tab%K	testing debugging.RE.SHJournal article.PPThe only requirement for a journal article is that it have ajournal name and a volume number.Usually journal articles also have authors, titles, pagenumbers, and a date of publication.  They may also have numbers, and,less frequently, a publisher.  (Generally, publishers are only listed forobscure journals)..PPNote that string names (such as CACM for \fICommunications of the ACM\fP)are defined for most major journals.There are also string names for the months of the year, so that monthscan be abbreviated to the first three (capital) letters.Note also in this example the use of the %K field to define a shortname (hru) that can be used as a shorthand in an imprecise citation.(This is to be contrasted with BibTeX which not only \fIrequires\fPuser selected abbreviations, but also requires that they all be distinct from oneanother.).Ex%A	M. A. Harrison%A	W. L. Ruzzo%A	J. D. Ullman%T	Protection in Operating Systems%J	CACM%V	19%N	8%P	461-471%D	AUG 1976%K	hru.RE.SHArticle in conference proceedings.PPAn article from a conference is printed as though it were a journalarticle and the journal name was the name of the conference.Note that string names (SOSP, The Symposium on Operating System Principles)are also defined for the major conferences..Ex%A	M. Bishop%A	L. Snyder%T	The Transfer of Information and Authorityin a Protection System%J	Proceedings of the 7th SOSP%P	45-54%D	1979.RE.SHArticle in book.PPAn article in a book has two titles, the title of the article and the titleof the book.  The first goes into the T field and the second into the Bfield.  Similarly the author of the article goes into the A field and theeditor of the book goes into the E field..Ex%A	John B. Goodenough%T	A Survey of Program Testing Issues%B	Research Directions in Software Technology%E	Peter Wegner%I	MIT Press%P	316-340%D	1979.RE.PPIf a work as more than one editor, they each get their own %E field..Ex%A	R. J. Lipton%A	L. Snyder%T	On Synchronization and Security%E	Richard A. DeMillo%E	David P. Dobkin%E	Anita K. Jones%E	Richard J. Lipton%B	Foundations of Secure Computation%P	367-388%I	ACPRESS%D	1978.RE.PPSometimes the book is part of a multi-volume series, and hence maycontain a volume field and/or a series name..Ex%A	C.A.R. Hoare%T	Procedures and parameters: An axiomatic approach%B	Symposium on semantics of algorithmic languages%E	E. Engeler%P	102-116%S	Lecture Notes in Mathematics%V	188%I	Springer-Verlag%C	Berlin-Heidelberg-New York%D	1971.RE.PPIn any reference format, the O field can be used to give additional information.This is frequently used, for example, for secondary references..Ex%A	A. Girard%A	J-C Rault%T	A Programming Technique for Software Reliability%B	Symposium on Software Reliability%I	IEEE%C	Montvale, New Jersey%D	1977%O	(Discussed in Glib [32]).RE.SHCompilations.PPA compilation is the work of several authors gathered together by an editorinto a book.  The reference format is the same as for a book, withthe editor(s) taking the place of the author..Ex%E	R. A. DeMillo%E	D. P. Dobkin%E	A. K. Jones%E	R. J. Lipton%T	Foundations of Secure Computation%I	ACPRESS%D	1978.RE.SHTechnical Reports.PPA technical report must have a report number.  They usually have authors,titles, dates and an issuing institution (the I field is used for this).They may also have a city and a government issue number.  Again stringvalues (UATR for `University of Arizona Technical Report') willfrequently simplify typing references..Ex%A	T. A. Budd%T	An APL Complier%R	UATR 81-17%C	Tucson, Arizona%D	1981.RE.PPIf the institution name is not part of the technical report number, thenthe institution should be given separately..Ex%A	Douglas Baldwin%A	Frederick Sayward%T	Heuristics for Determining Equivalence of Program Mutations%R	Technical Report Number 161%I	Yale University%D	1979.RE.SHPhD Thesis.PPA PhD thesis is listed as if it were a book, and the institution grantingthe degree the publisher..Ex%A	Martin Brooks%T	Automatic Generation of Test Data forRecursive Programs Having Simple Errors%I	PhD Thesis, Stanford University%D	1980.RE.PPSome authors prefer to treat Master's and Bachelor theses similarly, althoughmost references on style instruct say to treat a Master's degree as anarticle or as a report..Ex%A	A. Snyder%T	A Portable Compiler for the Language C%R	Master's Thesis%I	M.I.T.%D	1974.RE.SHMiscellaneous.PPA miscellaneous object is something that does not fit into any other form.It can have any of the the following fields; an author, a title, a date,page numbers, and, most generally, other information (the O field)..PPAny reference item can contain an F field, and the corresponding textwill override whatever citation would otherwise be constructed..Ex%F	BHS--%A	Timothy A. Budd%A	Robert Hess%A	Frederick G. Sayward%T	User's Guide for the EXPER Mutation Analysis system%O	(Yale university, memo).RE.bp.ce\fBReference Format Designer's Guide\fP.sp.PPThis section need only be read by those userswho wish to write their own formatting macro packages..PPThe information necessary for generating citations and references of aparticular style is contained in a \fIformat file\fP.  A format fileconsists of two parts; a sequence of format commands, which are read andinterpreted by \fIbib\fP, and a sequence of text lines (usually \fItroff\fP macrodefinitions) which are merely copied to output.The format file name is always prefixed by `bib.'.Thus the format file for a standard document type, such as stdn, is foundin a file called bib.stdn..PPEach formatting command is distinguished by a singleletter, which must be the first character on a line.The formatting commands in a database file are similar to the command line optionsfor \fIbib\fP.  The legal commands,and their arguments, are as follows:.sp.IP "#\fItext\fP" 8mA line beginning with a sharp sign is a comment, and all remaining text on theline is ignored..sp.IP A

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -