Aide pour exprimer la condition dans le système PubUR

english

 

 

Règles de syntaxe Des exemples Les principaux types et champs BibTeX En savoir plus

 

Règles de syntaxe

 

Quelques exemples

Les principaux types et champs BibTeX

Les types de documents et les champs obligatoires et facultatifs de chacun d'entre eux:

Ceci est un extrait commenté de ftp://ftp.tex.ac.uk/ctan/tex-archive/documentation/bibtex.hlp: ne figurent ici que les plus usuels.

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.

Pour plus d'informations

Voici un extrait de
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


Retour au debut

Copyright © INRA 2014 | Mentions légales