summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-06 22:29:57 +0000
committerKarl Berry <karl@freefriends.org>2010-09-06 22:29:57 +0000
commit240dbb5ee820f2e77e4106bf872f363540c413e2 (patch)
tree3921b3f18013915f30f418d31199a3770604a0db /Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx
parent6892558c73756d9f24023e6269e025fa6f3cf15d (diff)
biblatex 0.9d (4sep10)
git-svn-id: svn://tug.org/texlive/trunk@19592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx79
1 files changed, 36 insertions, 43 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx b/Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx
index 6f89a47df69..b0c954cf058 100644
--- a/Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex/lbx/greek.lbx
@@ -1,7 +1,7 @@
-% $Id: greek.lbx,v 0.9a 2010/03/19 19:52:15 lehman beta $
+% $Id: greek.lbx,v 0.9d 2010/09/03 20:11:58 lehman beta $
\ProvidesFile{greek.lbx}
-[\abx@lbxid $Id: greek.lbx,v 0.9a 2010/03/19 19:52:15 lehman beta $]
+[\abx@lbxid $Id: greek.lbx,v 0.9d 2010/09/03 20:11:58 lehman beta $]
% STATUS OF THIS FILE
% * incomplete
@@ -18,28 +18,15 @@
% This file requires UTF-8 support!
-\ifundef\XeTeXrevision
- {\ifundef\@inpenc@undefined
- {\@firstofone}
- {\begingroup
- \ifundef\inputencodingname % inputenc >= 2006/05/05 v1.1b, inputenx
- {\def\@inpenc@undefined@#1{\def\inputencodingname{#1}}%
- \@inpenc@undefined}
- {}%
- \ifdefstring\inputencodingname{utf8x} % ucs
- {\aftergroup\@gobble}
- {\ifdefstring\inputencodingname{utf8}
- {\aftergroup\@gobble}
- {\aftergroup\@firstofone}}%
- \endgroup}}
- {\@gobble}
-{\PackageError{biblatex}
- {Greek requires UTF-8 support}
- {The 'greek.lbx' file requires UTF-8 encoding but you
- seem\MessageBreak to be using a different encoding.
- This is a fatal error. I will\MessageBreak abort loading
- greek.lbx now.}%
- \endinput}
+\lbx@ifutfinput
+ {}
+ {\PackageError{biblatex}
+ {Greek requires UTF-8 support}
+ {The 'greek.lbx' file requires UTF-8 encoding but you
+ seem\MessageBreak to be using a different encoding.
+ This is a fatal error. I will\MessageBreak abort loading
+ greek.lbx now.}%
+ \endinput}
\NewBibliographyString{%
datejanuary,
@@ -56,6 +43,8 @@
datedecember%
}
+\DeclareRedundantLanguages{greek}{greek}
+
\DeclareBibliographyExtras{%
\DeclareCapitalPunctuation{.!;?}%
\let\finalandcomma=\empty
@@ -66,24 +55,8 @@
\protected\def\mkbibordinal{\mkbibmascord}%
\protected\def\mkbibmascord#1{\stripzeros{#1}ος}%
\protected\def\mkbibfemord#1{\stripzeros{#1}η}%
- \protected\def\mkbibdatemonth#1{%
- \ifcase0#1\relax
- #1\BibliographyWarning{Month out of range}%
- \or\bibstring{datejanuary}%
- \or\bibstring{datefebruary}%
- \or\bibstring{datemarch}%
- \or\bibstring{dateapril}%
- \or\bibstring{datemay}%
- \or\bibstring{datejune}%
- \or\bibstring{datejuly}%
- \or\bibstring{dateaugust}%
- \or\bibstring{dateseptember}%
- \or\bibstring{dateoctober}%
- \or\bibstring{datenovember}%
- \or\bibstring{datedecember}%
- \else
- #1\BibliographyWarning{Month out of range}%
- \fi}%
+ \savecommand\mkbibmonth
+ \let\mkbibmonth\lbx@gr@mkbibmonth
\protected\def\mkbibdatelong#1#2#3{%
\iffieldundef{#3}
{}
@@ -111,6 +84,7 @@
}
\UndeclareBibliographyExtras{%
+ \restorecommand\mkbibmonth
\restorecommand\mkbibordedition
\restorecommand\mkbibordseries
}
@@ -285,7 +259,7 @@
byfounder = {{αρχική δημιουργία από}{αρχική δημιουργία από}}
bycontinuator = {{συνέχεια από}{συνέχεια από}}
bycollaborator = {{συνεργασία από}{συνεργασία από}}
- bytranslator = {{μετάφραση \lbx@fromlang\ υπό}{μετάφραση \lbx@fromlang\ υπό}},
+ bytranslator = {{μετάφραση \lbx@lfromlang\ υπό}{μετάφραση \lbx@sfromlang\ υπό}},
bycommentator = {{υπομνηματισμός υπό}{υπομνηματισμός υπό}},
byannotator = {{υπομνηματισμός υπό}{υπομνηματισμός υπό}},
withcommentator = {{υπομνηματισμός υπό}{υπομνηματισμός υπό}}
@@ -493,4 +467,23 @@
annotation = {{σχολιασμοί}{σχολιασμοί}},
}
+\protected\def\lbx@gr@mkbibmonth#1{%
+ \ifcase0#1\relax
+ #1\BibliographyWarning{Month out of range}%
+ \or\abx@bibmonth{datejanuary}%
+ \or\abx@bibmonth{datefebruary}%
+ \or\abx@bibmonth{datemarch}%
+ \or\abx@bibmonth{dateapril}%
+ \or\abx@bibmonth{datemay}%
+ \or\abx@bibmonth{datejune}%
+ \or\abx@bibmonth{datejuly}%
+ \or\abx@bibmonth{dateaugust}%
+ \or\abx@bibmonth{dateseptember}%
+ \or\abx@bibmonth{dateoctober}%
+ \or\abx@bibmonth{datenovember}%
+ \or\abx@bibmonth{datedecember}%
+ \else
+ #1\BibliographyWarning{Month out of range}%
+ \fi}%
+
\endinput