# bibviewrc: configuration file for bibview
# -------------------------------------------

# The following sections are allowed
#  [Options]       (optional)
#  [Types]         (optional)
#  [UserFields]    (optional)
#  [SortFields]    (optional)
#  [SearchFields]  (optional)
#  [ListFields]    (optional)
#  [Predefines]    (optional)
#  [LatexHeader]   (optional)
#  [LatexFooter]   (optional)
#  [BibDir]        (optional)
#  [StyleFile]     (optional)
#  [AnnoteField]   (optional)
#  [SortedBy]      (optional)
#  [Indent]        (optional)
# All lines must start in the first column


[Options]
#
# The following options are recognized:
#  Option			  Function                    Default
#  ------------------------------------------------------------------
#  BeepOnError    : (true|false)  Beep on error               true
#  IconsOnDesk    : (true|false)  Icons on Desktop            false
#  MakeBackups    : (true|false)  Backups before Save         true
#  AutoCheckBib   : (true|false)  Autom. check                true
#  RequiredFields : (true|false)  Check before Save.          false
#  IgnoreCase     : (true|false)  Ignore case in search.      true
#  PrintAsBib     : (true|false)  Print file as BibTeX.       true
#  DisplayErrWin  : (true|false)  Display Error Window in     true 
#                                 case of syntax error
#  Orig           : (true|false)  BibView doesn't add the     false
#                                 surrounding entries to
#                                 the edited field         
#  Focus          : (true|false)  Change input focus          true
#                                 using <tab> and <esc>            

BeepOnError : false
IconsOnDesk : false
MakeBackups : true
AutoCheckBib : false
RequiredFields: false
IgnoreCase: true
PrintAsBib: true
Orig: true
Focus: false

[Types]
# With the following lines new BibTeX types can be defined or
# existing types can be changed.
#
# The name of the new type (or an existing type) is
# entered with
#
# t:<type name>  
# (generate a new type or add fields to an existing type)
#
#
# tc:<type name> 
# (generate a new type or add fields to an existing type - 
#  fields that are already defined for that type are removed )
#
# t:all
# fields are added to ALL existing types 
#
#----------------------------------------------------------------
#
# The fieldnames are entered with
#
# f:<field name>  (add a normal field to the type)
#
# rf:<field name> (add a required field to the type)
#

# define new type isonorm
t:isonorm
rf:number
rf:date
rf:title
f:note

# change type phdthesis
# rename field school to university
# add new field advisor
tc:phdthesis
rf: author
rf: title
rf:university
rf:year
f:advisor
f:address
f:month
f:note
f:key
f:category

# add field keywords to all existing types
TC:ALL
f:keywords

[UserFields]
# Define user defined fields for certain types.
# If the field should be in ALL types, you have to
# enter 'all' as type
#
#  type : fieldname
# ----------------------
article : library
article : read
book : owner
all : available 

[SortFields]
# The following lines contain a list of fields by which
# a list can be sorted. 
# All defined field names are accepted.
# By default, a list can be sorted by all standard
# BibTeX fields.
# With $clear$ as the first line, 
# this default can be overridden (except for the fields mainkey
# and BibTeX type which are hardcoded), otherwise the new fields
# are added.
# The field names are entered with
#    <field name> 
# or
#    <field name> : <sort order>
# If a <sort order> is specified, an order other than
# lexicographic order is used. Possible sort orders are
#    'n'  for names (sorting by last name)
#    'd'  for dates (dates of the form dd.mm.yyyy or dd/mm/yyyy)

$clear$
author: n
editor : n
title
year
volume


[SearchFields]
# The following lines contain a list of fields which are
# displayed in the search window.
# All defined field names are accepted.
# By default, all standard BibTeX fields are displayed
# in the search window
# With $clear$ as the first line, this default can be overridden 
# (except for the fields mainkey and BibTeX type which are hardcoded),
# otherwise the new fields are added.
#
$clear$
author
editor
title
note
annote
year
pages


[ListFields]
# The following lines contain a list of the fields that should
# be displayed in the list window, together with information
# concerning the layout.
# All defined field names are accepted.
# By default, the fields author, title, year, category, BibTeX type
# and mainkey are used.
# The field names are entered with
#    <field name> : <width>
# The name for the field with the BibTeX key is mainkey, for the
# field with the BibTeX type is cardtype.

author: 30
editor : 30
title: 50
mainkey : 10


[Predefines]
# Predefined data for search window
#
#  field : data
# --------------------

allfields: UNIX

address:New York
address : Berlin
address:  Washington

author: Hartson
author: Hesketh
author: Hix
author: McCormack
author: Nye
author: O'Reilly

category: ^unix
category: ^x

title: X Toolkit Intrinsics

year: 198
year: 199


[LatexHeader]
# header of LaTeX file produced by the `Print' command
# The following lines until the next section are written as header of the
# LaTeX file.

\documentstyle{article}
\begin{document}
{\large \bf Content of BibTeX file -- \today}

[LatexFooter]
# end of LaTeX file produced by the `Print' command
# The following lines until the next section are written as footer of the
# LaTeX file.

\end{document}

[BibDir]
# The following line is the directory, from where the file selection
# process will start. It must be an absolute pathname.
  /usr/wiss/liebla/bib

[StyleFile]
# The following line is the default style file that is used
# when printing as a file with \nocite commands. The default
# style is "alpha"
    abbrv

[AnnoteField]
# The following line is the name of the field that is used
# for longer comments and can be edited in the annote window.
# The default name of that field is annote.
 abstract

[Indent]
# With the following lines the format of a saved BibTeX file
# can be changed. 
# FldIndent is the number of characters by which
# the field name is indented. 
# ContIndent is the number of characters, by which the first line of 
# the field content is indented.
# NewlineIndent is the number of characters, by which the following
# lines of the field content are indented.
# MaxLinelen is used for setting the maximum length of a line
# when printing files in the format with nocite commands.
# Default:  FldIndent         3
#           ContIndent       15
#           NewlineIndent     7
#           MaxLinelen       80

FldIndent: 4
ContIndent : 14
NewlineIndent : 5
MaxLinelen : 75

[SortedBy]
# The following line is the field by which a list should be sorted
# by default. All defined field names are accepted.
# The default is that a list is sorted by mainkey.
   author

