Help to express the condition in the PubUR system

english

 

Syntax rules Some examples The main types and BibTeX fields To know more

 

Syntax rules

 

Some examples

The main BibTeX types and their fields

This is a commented abstract of
ftp://ftp.tex.ac.uk/ctan/tex-archive/documentation/bibtex.hlp.
ARTICLE
An article from a journal or magazine
Required: author, title, journal, year
Optional: volume,number,pages,month,note, key.
BOOK
A book with an explicit publisher
Required: author or editor, title, publisher, year
Optional: volume, series, address, edition, month, note, key.
INBOOK
A part of a book, which may be a chapter and/or a range of pages.
Required: author or editor, title, chapter and/or pages, publisher, year
Optional: volume, series, address, edition, month, note, key
INPROCEEDINGS
An article in a conference proceedings
Required: author, title, booktitle, year
Optional: editor, volume or number, series, pages, address, month, organization, publisher, note, key.
MISC
Use this type when nothing else seems appropriate.
Required: none
Optional: author, title, howpublished, month, year, note, key.
PHDTHESIS
A PhD thesis. (thèse de doctorat)
Required: author, title, school, year
Optional: type, address,month,note, key.
MASTERSTHESIS
A Master's thesis. (stages, dont DEA)
Required: author, title, school, year
Optional: type, address,month,note, key.
TECHREPORT
A report
Required: author, title, institution, year
Optional: type, number, address,month,note, key.

For more information

The following section is extracted from
http://www.lri.fr/~filliatr/bibtex2html/doc/.

3.2   Filter conditions

A filter condition is a boolean expression that is evaluated against a BibTeX entry to decide whether this entry should be selected. A condition is either: where an expression is either: Comparison operators are the usual ones: =, <, >, <=, >= and <>.

The field names are any sequences of lowercase or uppercase letters (but no distinction is made between lowercase and uppercase letters).

Regular expressions must be put between single or double quotes, and must follow the GNU syntax of regular expressions, as for example in GNU Emacs. Any character other than $^.*+?[] matches itself, see Table 1 for the meaning of the special characters.


. matches any character except newline
[..] character set; ranges are denoted with -, as in [a-z]; an initial ^, as in [^0-9], complements the set
^ matches the beginning of the string matched
$ matches the end of the string matched
\b matches word boundaries
\ quotes special characters
regexp* matches regexp zero, one or several times
regexp+ matches regexp one or several times
regexp? matches regexp once or not at all
regexp1 \| regexp2 alternative between two regular expressions, this operator has low priority against *, + and ?
\( regexp \) grouping regular expression

Table 1: Syntax of regular expressions



Cond ® Cond and Cond | Cond or Cond | not Cond | exists Id
Cond ® Cond & Cond | Cond | Cond | ! Cond | ? Id
    | Expr   Comp   Expr | Expr : String | ( Cond )
Comp ® = | > | < | >= | <= | <>
Expr ® Id | String | Int | $key | $type
Id ® [a-zA-Z]+
String ® " ([^"\] | \" | \\ )* " | ' ([^'\] | \' | \\ )* '
Integer ® [0-9]+

Table 2: Syntax of conditions


Top

Copyright © INRA 2014 | Legal notice