diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-09 22:54:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-09 22:54:20 +0000 |
commit | eb1516df0cb0ef6ce41368edad2f9c83b4e2a9f6 (patch) | |
tree | b4af05feb41ff48a01394dfc8896d0e88f61be30 /Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx | |
parent | a65da9cf1cdce267bc729f75cb898f18116eb379 (diff) |
droit-fr (9may13)
git-svn-id: svn://tug.org/texlive/trunk@30356 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx | 130 |
1 files changed, 126 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx index 1f7dde141e4..fbcae9f4928 100644 --- a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx +++ b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx @@ -1,17 +1,22 @@ -\ProvidesFile{droit-fr.bbx}[2012/02/17 v0.1 style droit francais] +\ProvidesFile{droit-fr.bbx}[2013/05/04 v0.2 style droit francais] \RequireBibliographyStyle{verbose-ibid} +\RequireBiber[3] % l'editor ne remplace pas un champ author laissé vide. % il reste imprimé à sa place (généralement après le title). \ExecuteBibliographyOptions{useeditor=false} +% classement par nom, année titre (voir plus bas pour customisation du tri nytx) +\ExecuteBibliographyOptions{sorting=nyt} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % REDEFINITIONS/AJOUT DE MOTS-CLES % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NewBibliographyString{byobservator} \NewBibliographyString{bychronicler} +\NewBibliographyString{numbers} \DefineBibliographyStrings{french}{% in = {in}, @@ -25,6 +30,7 @@ thiscite = {spéc\adddot}, section = {art\adddot}, sections = {art\adddot}, + numbers = {{num\'eros}{n\textsuperscript{os}}} } \DefineBibliographyStrings{british}{% @@ -45,19 +51,31 @@ % Used in citations -% book, thesis, collection, report, legislation, jurisdiction, case = italique +% book, thesis, collection, report, jurisdiction, case = italique +% legislation = normal % inbook, incollection, article, commentary = guillemets \DeclareFieldFormat{citetitle}{\mkbibemph{#1\isdot}} +\DeclareFieldFormat[legislation]{citetitle}{#1\isdot} \DeclareFieldFormat [article,inbook,incollection,inproceedings,patent,unpublished] {citetitle}{\mkbibquote{#1\isdot}} +% pas de P. majuscule +\DeclareFieldFormat{postnote}{\midsentence\mkpageprefix[pagination]{#1}} + % Used in the bibliography -% tout italique +% pas de P. majuscule +\DeclareFieldFormat{pages}{\midsentence\mkpageprefix[bookpagination]{#1}} +\DeclareFieldFormat{pagetotal}{\midsentence\mkpagetotal[bookpagination]{#1}} + + +% tout italique, sauf legislation \DeclareFieldFormat{title}{\mkbibemph{#1\isdot}} \DeclareFieldFormat[thesis]{title}{\mkbibemph{#1\isdot}} -\DeclareFieldFormat{chapter}{#1} % pas de `chap.` +\DeclareFieldFormat[legislation]{title}{#1\isdot} + +\DeclareFieldFormat{chapter}{#1\midsentence} % pas de 'chap.' \DeclareFieldFormat[jurisdiction,legislation]{number}{\biblcstring{number}~#1}% no de l'arret \DeclareFieldFormat[case]{journaltitle}{#1}% pas d'italique' \DeclareFieldFormat[case]{volume}{#1}% pas de 't.' @@ -116,6 +134,110 @@ \usebibmacro{name:first-last}{#1}{#4}{#5}{#7} \usebibmacro{name:andothers}} +% définition d'un nouveau schéma de tri nyt, prenant en compte des champs institution et eventdate +%\DeclareSortingScheme{nytx}{ +% \sort{ +% \field{presort} +% } +% \sort[final]{ +% \field{sortkey} +% } +% \sort{ +% \field{sortname} +% \field{author} +% \field{editor} +% \field{translator} +% \field{sorttitle} +% \field{title} +% } +% % début ajouts +% \sort{ +% \field{institution} +% } +% \sort{ +% \field{eventyear} +% } +% \sort{ +% \field[padside=left,padwidth=2,padchar=0]{eventmonth} +% \literal{00} +% } +% \sort{ +% \field[padside=left,padwidth=2,padchar=0]{eventday} +% \literal{00} +% } +% % fin ajouts +% \sort{ +% \field{sortyear} +% \field{year} +% } +% \sort{ +% \field{sorttitle} +% \field{title} +% } +% \sort{ +% \field[padside=left,padwidth=4,padchar=0]{volume} +% \literal{0000} +% } +%} + +% schéma de tri destiné à la jurisprudence: institution, date de décision +\DeclareSortingScheme{iymd}{ + \sort{ + \field{presort} + } + \sort[final]{ + \field{sortkey} + } + \sort{ + \field{institution} + } + \sort{ + \field{eventyear} + } + \sort{ + \field[padside=left,padwidth=2,padchar=0]{eventmonth} + \literal{00} + } + \sort{ + \field[padside=left,padwidth=2,padchar=0]{eventday} + \literal{00} + } +} + + +% schéma de tri destiné à la jurisprudence: titre (nom d'affaire), date de décision, institution +\DeclareSortingScheme{tymdi}{ + \sort{ + \field{presort} + } + \sort[final]{ + \field{sortkey} + } + \sort{ + \field{sorttitle} + \field{title} + } + \sort{ + \field{eventyear} + } + \sort{ + \field[padside=left,padwidth=2,padchar=0]{eventmonth} + \literal{00} + } + \sort{ + \field[padside=left,padwidth=2,padchar=0]{eventday} + \literal{00} + } + \sort{ + \field{institution} + } +} + +%TODO: abrévations de prénoms +% digrammes (deux consonnes pour un seul son): Ch, Gh, Ph, Th +% consonne ou digramme suivi de L ou R: + + %%%%%%%%%%% % DRIVERS % %%%%%%%%%%% |