diff options
author | Karl Berry <karl@freefriends.org> | 2009-02-19 01:25:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-02-19 01:25:52 +0000 |
commit | a5c8c6295232984f863247ecdea9896921d1830b (patch) | |
tree | 908ac73709260f710fdaf272327085d7fd052e0f /Master/texmf-dist/tex/latex/bgreek/bgreek.ldf | |
parent | 5b6f93171d7172ec05d3db7011cd737f9897ca44 (diff) |
new package bgreek (18feb09)
git-svn-id: svn://tug.org/texlive/trunk@12184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bgreek/bgreek.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/bgreek/bgreek.ldf | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bgreek/bgreek.ldf b/Master/texmf-dist/tex/latex/bgreek/bgreek.ldf new file mode 100644 index 00000000000..2b880f9a465 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bgreek/bgreek.ldf @@ -0,0 +1,62 @@ +\ProvidesLanguage{bgreek} + [2009/02/13 v0.3 bgreek support from the babel system] +\LdfInit{bgreek}{captionsbgreek} +\ifx\undefined\l@bgreek + \@nopatterns{bgreek} + \adddialect\l@bgreek0\fi +\InputIfFileExists{bcgenc.def}{% + \message{Loading the definitions for the Beta Code Greek font encoding}}{% + \errhelp{I can't find the bcgenc.def file for the Greek fonts}% + \errmessage{Since I do not know what the BCG encoding means^^J + I can't typeset Greek.^^J + I stop here, while you get a suitable bcgenc.def file}\@@end + } +\DeclareRobustCommand{\bgreektext}{\fontencoding{BCG}\selectfont\def\encodingdefault{BCG}% + \catcode`\|=12\catcode`\#=12\catcode`\%=12\catcode`\@=0\catcode`\\=12} +\DeclareRobustCommand{\textbgreek}[1]{\foreignlanguage{bgreek}{\scantokens{\bgroup\bgreektext#1@egroup}}} +\providehyphenmins{bgreek}{\tw@\tw@} +\def\captionsbgreek{% + \def\bibname{Bibliografi/a}% <---------- + \def\chaptername{Kefa/laio}% <---------- + \def\appendixname{Para/rteema}% <----------- + \def\contentsname{Periejo/mena}% <---------- + \def\listfigurename{Eiko/nej}% <---------- + \def\listtablename{Pi/nakej}% <---------- + \def\indexname{Eureth/rio}% <---------- + \def\figurename{Eiko/na}% <---------- + \def\tablename{Pi/nakaj}% <---------- + \def\partname{Me/roj}% <---------- +} +\def\datebgreek{} +\addto\extrasbgreek{\languageshorthands{bgreek}} +\addto\extrasbgreek{\bbl@frenchspacing} +\addto\noextrasbgreek{\bbl@nonfrenchspacing} +\addto\extrasbgreek{% + \let\guillemetleft\guillemotleft + \let\guillemetright\guillemotright + } +% the kludge macro from betababel +\initiate@active@char{!} +\addto\extrasbgreek{\bbl@activate{!}} +\addto\noextrasbgreek{\bbl@deactivate{!}} +\declare@shorthand{bgreek}{!}{\char92{}} +% A few symbols missing in the standard Greek +% but accessible as Greek numerals. + \DeclareTextSymbol{\varqoppa}{BCG}{"13} + \DeclareTextSymbol{\Qoppa}{BCG}{"1F} + \DeclareTextSymbol{\Sampi}{BCG}{"19} + \DeclareTextSymbol{\vardigamma}{BCG}{"07} +\ldf@finish{bgreek} +\endinput +% Miscelaneous symbols already defined elsewhere + \DeclareTextSymbol{\anwtonos}{BCG}{"FE} + \DeclareTextSymbol{\katwtonos}{BCG}{"FF} + \DeclareTextSymbol{\qoppa}{BCG}{"13} + \DeclareTextSymbol{\stigma}{BCG}{"06} + \DeclareTextSymbol{\sampi}{BCG}{"1B} + \DeclareTextSymbol{\guillemetleft}{BCG}{"7B} + \DeclareTextSymbol{\guillemetright}{BCG}{"7D} + \DeclareTextSymbol{\boxeddelta}{BCG}{"02} + \DeclareTextSymbol{\boxedeta}{BCG}{"03} + \DeclareTextSymbol{\boxedxi}{BCG}{"04} + \DeclareTextSymbol{\boxedmu}{BCG}{"05} |