Interactive mode:
refdbnd
Non-interactive mode:
refdbnd
basename
doctype
pubtype
database
style
encoding
[css-file
] [fo-driver
] [html-driver
] [xhtml-driver
]
This script should be the first choice for novices for creating new SGML,XML, or RTF documents for use with RefDB(7). If called without arguments, the script runs in a novice-friendly interactive mode and collects a few answers about the new document. Based on these answers it will create a skeleton document as well as a custom-tailored Makefile that performs all necessary steps to create formatted output from the document.
Alternatively you can call this script from a directory that contains an existing SGML, XML, or RTF file. Pass the full name to the script when it asks for a filename, and the script will try to guess some of the settings from the existing file.
The script can create the following document types:
Versions 3.1, 4.0, 4.1
Versions 4.1.2, 4.2, 4.3, 5.0
Versions P4, P5
Version 1.9 (M$ Word 2007 and earlier, OpenOffice, AbiWord, and most other contemporary word processors)
The skeleton documents created by the script contain the appropriate prolog for the selected document type. If required (SGML, DTD-based XML), an external entity is declared in the internal subset in order to include the bibliography.
The basename of the document, i.e. sans extension. If you want to end up with foo.pdf, use foo
Available options are db31, db40, and db41 for DocBook SGML; db41x, db42x, and db43x for DocBook XML; teix for TEI XML; rtf for RTF
This is one of set, book, or article for DocBook, and TEI.2 for TEI. This argument is ignored by the other document types, but must be present nonetheless (pass "foo" or "bar", depending on your mood).
The name of the database that contains your references.
The name of the bibliography style.
The character encoding of the document.
The name of a CSS file for the HTML output. This option is meaningless for RTF documents and can be left out.
A custom driver file for fo output. Please consult the manual for the requirements of such a driver. This option is meaningless for RTF documents and can be left out.
A custom driver file for html output. Please consult the manual for the requirements of such a driver. This option is meaningless for RTF documents and can be left out.
A custom driver file for xhtml output. Please consult the manual for the requirements of such a driver. This option is meaningless for RTF documents and can be left out.
The Makefile is set up to process your document properly depending on its type. The following targets are available for SGML and XML documents:
Creates a set of HTML files.
Creates a PDF file.
Creates a Postscript file (SGML documents only).
Creates a RTF file. The Rich Text Format can be edited by most Word Processors.
Not all FO processors offer RTF output, so this target may not work for XML documents with your setup.
This is the default if you call make without specifying a target. It will build all of the above targets.
Creates a .tar.gz
archive of the HTML files.
Creates a .tar.gz
archive of the PDF file.
Creates a .tar.gz
archive of the Postscript file (SGML documents only).
Creates a .tar.gz
archive of the RTF file.
This will build all of the above archives.
This will remove all built files, except for the source document using the full citation format.
This will remove all built files, including the source document using the full citation format.
For RTF output there is only a default target which you can invoke by running make without an argument, and the "clean" target which removes generated files.
PREFIX/share/refdb/db/examples/Makefile.template
PREFIX/share/refdb/db/examples/Makefile.rtf.template
The templates used to create the Makefile.
RefDB (7).
RefDB manual (local copy) PREFIX/share/doc/refdb-<version>/refdb-manual/index.html
RefDB manual (web) <http://refdb.sourceforge.net/manual/index.html>
RefDB on the web <http://refdb.sourceforge.net/>