6. Scribe User Manual -- Bibliography

6. Scribe User Manual -- Bibliography

Browsing

Home: Scribe User Manual

Previous chapter: Index
Next chapter: Computer programs


Bibliography

Bibliography
Print-bibliography


Chapters

Getting Started
Syntax
Standard Library
Hyperlinks and References
Index
Bibliography
Computer programs
Graphical User Interfaces
Customization
Scribe style files
Editing Scribe Programs
Compiling Scribe programs
Compiling Texi documents
Using Bibtex databases
Functions and Variables


Scribe

Home page:Scribe

Documentation:user
expert


Scribe supports bibliographies. In order to use bibliography references it is needed to:

  • Provide a bibliography database.
  • Load the database by the mean of the bibliography Scribe function call.
  • Reference to a bibliography entry, with a ref Scribe function call.

Scribe bibliographies can be customized in different ways. They are described in the Scribe Programming Manual.

6.1 Bibliography

(bibliography entries)Scribe function

Loads bibliography entries into the Scribe memory. An entry is either a list representing one entry (such as an article or book reference) or a string which denotes then a file name that contains several entries. All the entries loaded in memory are available for references. A bibliography database must be loaded before any reference is introduced. It is advised to place the bibliography Scribe function call before the call to the document function call.

The Scribe bibliography database uses a format very close to the Bibtex one. It is a parenthetic version of Bibtex. Here is the syntax of an entry:

<entry>  -->  (<kind> <key> <field>+)
<kind>   -->  techreport | article | inproceedings | book
<key>    -->  <symbol>
<field>  -->  (<symbol> <string>)

Bibtex files cannot be directly loaded in Scribe but the tool scribebibtex can be use to automatically convert Bibtex format to Scribe bibliography format. Here is an example of a simple Scribe database

(book ieee
   (title "IEEE Standard for the Scheme Programming Language")
   (author "IEEE Std 1178-1990")
   (publisher "Institute of Electrical and Electronic Engineers, Inc.")
   (address "New York, NY")
   (year "1991"))

(misc r4rs
   (title "The Revised4 Report on the Algorithmic Language Scheme")
   (author "Clinger, W. and Rees, J.")
   (month "Nov")
   (year "1991"))

(article r5rs
   (title "The Revised5 Report on the Algorithmic Language Scheme")
   (author "Kelsey, R. and Clinger, W. and Rees, J.")
   (journal "Higher-Order and Symbolic Computation")
   (volume "11")
   (number "1")
   (month "Sep")
   (year "1998")
   (url "http://kaolin.unice.fr/Bigloo/doc/r5rs.html"))

(book sicp
   (author "Abelson, H. and Sussman, G.")
   (title "Structure and Interpretation of Computer Programs")
   (year "1985")
   (publisher "MIT Press")
   (address "Cambridge, Mass., USA"))


6.2 Print-bibliography

(print-bibliography [:all #f])Scribe function

Displays the bibliography. If the argument :all is #t all the entries of the loaded database are displayed. If :all is #f only the entries referenced to by a ref function call are displayed. The example:

(font :size -1 (print-bibliography :all #t))

produces:

[1] IEEE Std 1178-1990 -- IEEE Standard for the Scheme Programming Language -- Institute of Electrical and Electronic Engineers, Inc., New York, NY, 1991.

[2] Clinger, W. and Rees, J. -- The Revised4 Report on the Algorithmic Language Scheme -- Nov, 1991.

[3] Kelsey, R. and Clinger, W. and Rees, J. -- The Revised5 Report on the Algorithmic Language Scheme -- Higher-Order and Symbolic Computation, 11(1), Sep, 1998.

[4] Abelson, H. and Sussman, G. -- Structure and Interpretation of Computer Programs -- MIT Press, Cambridge, Mass., USA, 1985.



This
Scribe page is generated by scribeinfo.
Last update Fri May 10 20:19:00 2002