summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bibleref-french
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-11 22:51:33 +0000
committerKarl Berry <karl@freefriends.org>2011-10-11 22:51:33 +0000
commitcb7441b1e993714d541a3ac8ec26843cd16a301b (patch)
treed8838df057657a8b5de6877a111353f1239e27fc /Master/texmf-dist/tex/latex/bibleref-french
parent461f6d18d0867fd29bff5f5368bf30f5d2d6af6e (diff)
bibleref-french (11oct11)
git-svn-id: svn://tug.org/texlive/trunk@24267 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bibleref-french')
-rw-r--r--Master/texmf-dist/tex/latex/bibleref-french/bibleref-french.sty128
1 files changed, 73 insertions, 55 deletions
diff --git a/Master/texmf-dist/tex/latex/bibleref-french/bibleref-french.sty b/Master/texmf-dist/tex/latex/bibleref-french/bibleref-french.sty
index 95d0978d1d1..2debe0d13eb 100644
--- a/Master/texmf-dist/tex/latex/bibleref-french/bibleref-french.sty
+++ b/Master/texmf-dist/tex/latex/bibleref-french/bibleref-french.sty
@@ -19,8 +19,8 @@
%% version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}
-\def\BRFfileversion{v2.1}%
-\def\BRFfiledate{2011/09/18}%
+\def\BRFfileversion{v2.2}%
+\def\BRFfiledate{2011/10/09}%
\def\BRFfileinfo{French translation of the bibleref package}%
\ProvidesPackage{bibleref-french}
[\BRFfiledate\space\BRFfileversion\space\BRFfileinfo]
@@ -29,7 +29,14 @@
\RequirePackage{bibleref}
\RequirePackage{etoolbox}
-\patchcmd{\@bible@verse}{\@bv@idxsort{\csname br@#1\endcsname}}{\@bv@idxsort{#1}}
+\patchcmd{\@bible@verse}{\@bv@idxsort{\csname br@#1\endcsname}}{\@bv@idxsort{#1}}{}{}
+\newcommand*{\BRbookofp}{}% For proper noun
+\newcommand*{\BRbookofm}{}% For masculine name
+\newcommand*{\BRbookofme}{}% For masculine name preceded by elision
+\newcommand*{\BRbookoff}{}% For feminine name
+\newcommand*{\BRbookoffe}{}% For feminine name preceded by elision
+\newcommand*{\BRbookofpl}{}% For plural name
+\newcommand*{\BRbookofe}{}% For name preceded by elision.
\renewcommand*{\BRbooknumberstyle}[1]{#1~}%
\renewcommand*{\BRepistlenumberstyle}[1]{#1~}%
\renewcommand*{\BRbooktitlestyle}[1]{#1}%
@@ -67,57 +74,57 @@
\renewcommand*{\BRvsep}{ ; }%
\renewcommand*{\BRperiod}{}}
\newcommand*{\brfullname@catholic}{%
-\def\br@Genesis{\BRbookof Gen\`ese}%
-\def\br@Exodus{\BRbookof Exode}%
-\def\br@Leviticus{\BRbookof L\'evitique}%
-\def\br@Numbers{\BRbookof Nombres}%
-\def\br@Deuteronomy{\BRbookof Deut\'eronome}%
-\def\br@Joshua{\BRbookof Josu\'e}%
-\def\br@Judges{\BRbookof Juges}%
-\def\br@Ruth{\BRbookof Ruth}%
-\def\br@ISamuel{\BRbooknumberstyle{1}\BRbookof Samuel}%
-\def\br@IISamuel{\BRbooknumberstyle{2}\BRbookof Samuel}%
-\def\br@IKings{\BRbooknumberstyle{1}\BRbookof Rois}%
-\def\br@IIKings{\BRbooknumberstyle{2}\BRbookof Rois}%
-\def\br@IChronicles{\BRbooknumberstyle{1}\BRbookof Chroniques}%
-\def\br@IIChronicles{\BRbooknumberstyle{2}\BRbookof Chroniques}%
-\def\br@Ezra{\BRbookof Esdras}%
-\def\br@Nehemiah{\BRbookof N\'eh\'emie}%
-\def\br@Tobit{\BRbookof Tobie}%
-\def\br@Judith{\BRbookof Judith}%
-\def\br@Esther{\BRbookof Esther}%
-\def\br@IMaccabees{\BRbooknumberstyle{1}\BRbookof Maccab\'ees}%
-\def\br@IIMaccabees{\BRbooknumberstyle{2}\BRbookof Maccab\'ees}%
-\def\br@Job{\BRbookof Job}%
-\def\br@Psalms{\BRbookof Psaumes}%
-\def\br@Proverbs{\BRbookof Proverbes}%
-\def\br@Ecclesiastes{\BRbookof Qoh\'elet}%
-\def\br@SongofSongs{\BRbookof Cantique des cantiques}%
-\def\br@Wisdom{\BRbookof Sagesse}%
-\def\br@Ecclesiasticus{\BRbookof Siracide}%
-\def\br@Isaiah{\BRbookof Isa\"ie}%
-\def\br@Jeremiah{\BRbookof J\'er\'emie}%
-\def\br@Lamentations{\BRbookof Lamentations}%
-\def\br@Baruch{\BRbookof Baruch}%
-\def\br@Ezekiel{\BRbookof \'Ez\'echiel}%
-\def\br@Daniel{\BRbookof Daniel}%
-\def\br@Hosea{\BRbookof Os\'ee}%
-\def\br@Joel{\BRbookof Jo\"el}%
-\def\br@Amos{\BRbookof Amos}%
-\def\br@Obadiah{\BRbookof Abdias}%
-\def\br@Jonah{\BRbookof Jonas}%
-\def\br@Micah{\BRbookof Mich\'ee}%
-\def\br@Nahum{\BRbookof Nahum}%
-\def\br@Habakkuk{\BRbookof Habaquq}%
-\def\br@Zephaniah{\BRbookof Sophonie}%
-\def\br@Haggai{\BRbookof Agg\'ee}%
-\def\br@Zechariah{\BRbookof Zacharie}%
-\def\br@Malachi{\BRbookof Malachie}%
+\def\br@Genesis{\BRbookoff Gen\`ese}%
+\def\br@Exodus{\BRbookofme Exode}%
+\def\br@Leviticus{\BRbookofm L\'evitique}%
+\def\br@Numbers{\BRbookofpl Nombres}%
+\def\br@Deuteronomy{\BRbookofm Deut\'eronome}%
+\def\br@Joshua{\BRbookofp Josu\'e}%
+\def\br@Judges{\BRbookofpl Juges}%
+\def\br@Ruth{\BRbookofp Ruth}%
+\def\br@ISamuel{\BRbooknumberstyle{1}\BRbookofp Samuel}%
+\def\br@IISamuel{\BRbooknumberstyle{2}\BRbookofp Samuel}%
+\def\br@IKings{\BRbooknumberstyle{1}\BRbookofpl Rois}%
+\def\br@IIKings{\BRbooknumberstyle{2}\BRbookofpl Rois}%
+\def\br@IChronicles{\BRbooknumberstyle{1}\BRbookofpl Chroniques}%
+\def\br@IIChronicles{\BRbooknumberstyle{2}\BRbookofpl Chroniques}%
+\def\br@Ezra{\BRbookofe Esdras}%
+\def\br@Nehemiah{\BRbookofp N\'eh\'emie}%
+\def\br@Tobit{\BRbookofp Tobie}%
+\def\br@Judith{\BRbookofp Judith}%
+\def\br@Esther{\BRbookofe Esther}%
+\def\br@IMaccabees{\BRbooknumberstyle{1}\BRbookofpl Maccab\'ees}%
+\def\br@IIMaccabees{\BRbooknumberstyle{2}\BRbookofpl Maccab\'ees}%
+\def\br@Job{\BRbookofp Job}%
+\def\br@Psalms{\BRbookofpl Psaumes}%
+\def\br@Proverbs{\BRbookofpl Proverbes}%
+\def\br@Ecclesiastes{\BRbookofm Qoh\'elet}%
+\def\br@SongofSongs{\BRbookofm Cantique des cantiques}%
+\def\br@Wisdom{\BRbookoff Sagesse}%
+\def\br@Ecclesiasticus{\BRbookofm Siracide}%
+\def\br@Isaiah{\BRbookofe Isa\"ie}%
+\def\br@Jeremiah{\BRbookofp J\'er\'emie}%
+\def\br@Lamentations{\BRbookofpl Lamentations}%
+\def\br@Baruch{\BRbookofp Baruch}%
+\def\br@Ezekiel{\BRbookofe \'Ez\'echiel}%
+\def\br@Daniel{\BRbookofp Daniel}%
+\def\br@Hosea{\BRbookofe Os\'ee}%
+\def\br@Joel{\BRbookofp Jo\"el}%
+\def\br@Amos{\BRbookofe Amos}%
+\def\br@Obadiah{\BRbookofe Abdias}%
+\def\br@Jonah{\BRbookofp Jonas}%
+\def\br@Micah{\BRbookofp Mich\'ee}%
+\def\br@Nahum{\BRbookofp Nahum}%
+\def\br@Habakkuk{\BRbookofp Habaquq}%
+\def\br@Zephaniah{\BRbookofp Sophonie}%
+\def\br@Haggai{\BRbookofe Agg\'ee}%
+\def\br@Zechariah{\BRbookofp Zacharie}%
+\def\br@Malachi{\BRbookofp Malachie}%
\def\br@Matthew{\BRgospel Matthieu}%
\def\br@Mark{\BRgospel Marc}%
\def\br@Luke{\BRgospel Luc}%
\def\br@John{\BRgospel Jean}%
-\def\br@Acts{Actes}%
+\def\br@Acts{Actes des ap\^otres}%
\def\br@Romans{\BRepistletothe Romains}%
\def\br@ICorinthians{\BRepistlenumberstyle{1}\BRepistletothe Corinthiens}%
\def\br@IICorinthians{\BRepistlenumberstyle{2}\BRepistletothe Corinthiens}%
@@ -139,7 +146,7 @@
\def\br@IIJohn{\BRepistlenumberstyle{2}\BRepistleof Jean}%
\def\br@IIIJohn{\BRepistlenumberstyle{3}\BRepistleof Jean}%
\def\br@Jude{\BRepistleof Jude}%
-\def\br@Revelation{\BRbookof Apocalypse}}
+\def\br@Revelation{\BRbookoffe Apocalypse}}
\brfullname
\newcommand*{\brabbrvname@catholic}{%
\def\br@Genesis{Gn\BRperiod}%
@@ -433,13 +440,24 @@
\renewcommand*{\brs@text}{%
\biblerefstyle{default}%
\renewcommand{\BRbooknumberstyle}[1]{%
-\protect\Ordinalstringnum{##1}\ }%
+\ifnum ##1 = 1%
+Premier %
+\else%
+\protect\Ordinalstringnum{##1}\ %
+\fi%
+}%
\renewcommand{\BRepistlenumberstyle}[1]{%
\protect\Ordinalstringnum{##1}\ }%
-\renewcommand{\BRbookof}{Livre de }%
+\renewcommand*{\BRbookofm}{Livre du }% For masculine name
+\renewcommand*{\BRbookofme}{Livre de l'}% For masculine name preceded by elision
+\renewcommand*{\BRbookofp}{Livre de }% For proper noun
+\renewcommand*{\BRbookoff}{Livre de la }% For feminine name
+\renewcommand*{\BRbookoffe}{Livre de l'}% For feminine name precede by elision
+\renewcommand*{\BRbookofpl}{Livre des }% For plural name
+\renewcommand*{\BRbookofe}{Livre d'}% For name preceded by elision.
\renewcommand{\BRgospel}{\'Evangile selon Saint }%
\renewcommand{\BRepistletothe}{\'Ep\^itre aux }%
-\renewcommand{\BRepistleto}{\'Ep\^itre à }%
+\renewcommand{\BRepistleto}{\'Ep\^itre \`a }%
\renewcommand{\BRepistleof}{\'Ep\^itre de }%
\renewcommand{\BRchapterstyle}[1]{%
chapitre \protect\numberstringnum{##1}}%
@@ -453,7 +471,7 @@ chapitre \protect\numberstringnum{##1}}%
}
\newcommand*{\brfullname@protestant}{%
\brfullname@catholic%
-\def\br@Isaiah{\BRbookof Esa\"ie}%
+\def\br@Isaiah{\BRbookofe Esa\"ie}%
}
\newcommand*{\brabbrvname@protestant}{%
\brabbrvname@catholic%