请输入您要查询的百科知识:

 

词条 Refer (software)
释义

  1. Example

  2. Database fields

  3. References

  4. See also

  5. External links

{{lowercase|refer}}{{infobox software
| name = refer
| logo =
| logo alt =
| logo caption =
| screenshot =
| screenshot alt =
| caption =
| collapsible =
| author = Mike Lesk
| developer =
| released =
| discontinued =
| ver layout =
| latest release version =
| latest release date =
| latest preview version =
| latest preview date =
| status =
| programming language =
| operating system = Unix-like
| platform =
| size =
| language =
| language count =
| language footnote =
| genre = Reference management
| license = depends on implementation
| alexa =
| website =
| repo =
| standard =
| AsOf =
}}

refer is a program for managing bibliographic references, and citing them in troff documents. It is implemented as a troff preprocessor.

refer was written by Mike Lesk at Bell Laboratories[1][2] in or before 1978, and is now available as part of most Unix-like operating systems. A free reimplementation exists as part of the groff package.

{{as of|2015}}, refer sees little use, primarily because troff itself is not used much for longer technical writing that might need software support for reference and citation management. {{as of|2016}}, some reference management software (for instance, RefWorks) will import refer data.

Example

refer works with a "reference file", a text file where the author lists works to which she might want to refer. One such reference, to an article in a journal in this case, might look like:

 %A Brian W. Kernighan %A Lorinda L. Cherry %T A System for Typesetting Mathematics %J J. Comm. ACM %V 18 %N 3 %D March 1978 %P 151-157 %K eqn

The author then can refer to it in her troff document by listing keywords which uniquely match this reference:

 .[ kernighan cherry eqn .]

Database fields

A refer bibliographic database is a text file consisting of a series of records, separated by one or more blank lines. Within each record, each field starts with a {{nowrap|%-sign}} at the beginning of the line and one character immediately after. The name of the field should be followed by exactly one space, and then by the contents of the field. Empty fields are ignored. The conventional meaning of each field is shown in the table below. Compare this scheme with the newer EndNote scheme which uses a similar syntax.

Database fields{{nnbsp}}[3]
Field Meaning
%Againsboro|Jr.}} at the end, it should be separated from the last name by a comma. There can be multiple occurrences of the %A field. The order is significant. It is a good idea always to supply an %A field or a %Q field.
%B For an article that is part of a book, the title of the book.
%C The place (city) of publication.
%Dgainsboro|in press}} or {{background|gainsboro|unknown}} can be used.
%Egainsboro|, (ed)}} or {{background|gainsboro|, (eds)}} should be appended to the last author.
%G US Government ordering number.
%I The publisher (issuer).
%J For an article in a journal, the name of the journal.
%K Keywords to be used for searching.
%L Label.
%N Journal issue number.
%O Other information. This is usually printed at the end of the reference.
%Pgainsboro|m-n}}.
%Q The name of the author, if the author is not a person. This will only be used if there are no %A fields. There can only be one %Q field.
%R Technical report number.
%S Series name.
%T Title. For an article in a book or journal, this should be the title of the article.
%V Volume number of the journal or book.
%X Annotation.
{{plainlist|
  • For all fields except %A and %E, if there is more than one occurrence of a particular field in a record, only the last such field will be used.
  • A field with no value given is simply ignored.

}}

References

1. ^Michael Lesk. Some applications of inverted indexes on the Unix system. In UNIX Programmer's manual: Supplementary Documents, volume 2. Holt, Rinehart and Winston, seventh edition, 1982. Also available online  
2. ^{{cite techreport |first1=M. D. |last1=McIlroy |authorlink1=Doug McIlroy |year=1987 |url=http://www.cs.dartmouth.edu/~doug/reader.pdf |title=A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 |series=CSTR |number=139 |institution=Bell Labs}}
3. ^refer man page, {{nowrap|version 1.22.3}}, dated 2{{nbsp}}July 2016.

See also

Data schemes
  • BibTeX – a text-based data format used by LaTeX
  • EndNote – a similar, but not identical, data scheme used by the EndNote program
  • RIS – a text-based data scheme from Research Information Systems
Other
  • Comparison of reference management software
  • Pybliographer

External links

  • Some Applications of Inverted Indexes on the UNIX System (PostScript)
  • man page for refer(1)
  • Extended refer code reference for the HCI bibliography database
{{reference management software}}

3 : Troff|Reference management software|Bibliography file formats

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 13:37:12