diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ibycus-babel/ibycus.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/ibycus-babel/ibycus.ldf | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/ibycus-babel/ibycus.ldf b/Master/texmf-dist/tex/latex/ibycus-babel/ibycus.ldf index 7ce39b504ba..b16718e2517 100644 --- a/Master/texmf-dist/tex/latex/ibycus-babel/ibycus.ldf +++ b/Master/texmf-dist/tex/latex/ibycus-babel/ibycus.ldf @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesLanguage{ibycus} - [2004/11/19 v2.4 (PH/WaS)] + [2005/11/23 v3.0 (PH/WaS)] \ifx\eTeXversion\@undefined \PackageError{ibycus-babel}{% The TeX engine used by LaTeX \MessageBreak @@ -34,36 +34,41 @@ \ifx\undefined\l@ibycus \@nopatterns{Ibycus} \adddialect\l@ibycus0\fi +\InputIfFileExists{lgienc.def}{% + \message{Loading the definitions for the Greek font encoding LGI}}{% + \errhelp{I can't find the lgienc.def file for the Greek fonts}% + \errmessage{Since I do not know what the LGI encoding means^^J + I can't typeset Greek.^^J + I stop here, while you get a suitable lgienc.def file}\@@end + } +\providecommand{\ibycusdefault}{fib} \DeclareRobustCommand{\ibygr}[1]{\foreignlanguage{ibycus}{#1}} \newenvironment{ibycus}% {\begin{otherlanguage}{ibycus}}{\end{otherlanguage}}% \newcommand*{\setgreekfontscale}[1]{% - \def\fib@scale{#1}} + \def\ibycus@scale{#1}} \@onlypreamble\setgreekfontscale \newcommand{\braceleft}{% - {\fontencoding{U}\fontfamily{fib}\selectfont\char'333}} + {\fontencoding{LGI}\fontfamily{\ibycusdefault}\selectfont\char'333}} \newcommand{\braceright}{% - {\fontencoding{U}\fontfamily{fib}\selectfont\char'337}} + {\fontencoding{LGI}\fontfamily{\ibycusdefault}\selectfont\char'337}} \newcommand{\bracketleftbt}{% - {\fontencoding{U}\fontfamily{fib}\selectfont\char'363}} + {\fontencoding{LGI}\fontfamily{\ibycusdefault}\selectfont\char'363}} \newcommand{\bracketrightbt}{% - {\fontencoding{U}\fontfamily{fib}\selectfont\char'367}} + {\fontencoding{LGI}\fontfamily{\ibycusdefault}\selectfont\char'367}} \newcommand{\sdagger}{% - {\fontencoding{U}\fontfamily{fib}\selectfont\char'375}} + {\fontencoding{LGI}\fontfamily{\ibycusdefault}\selectfont\char'375}} \newcommand{\dbldagger}{% - {\fontencoding{U}\fontfamily{fib}\selectfont\char'376}} + {\fontencoding{LGI}\fontfamily{\ibycusdefault}\selectfont\char'376}} \providehyphenmins{ibycus}{\@ne\tw@} \def\captionsibycus{} \def\dateibycus{} -\DeclareRobustCommand{\latintext}{% - \fontencoding{\latinencoding}\fontfamily{\rmdefault}\selectfont - \def\encodingdefault{\latinencoding}} +\expandafter\let\expandafter\iby@latintext\csname latintext \endcsname +\@namedef{latintext }{\fontfamily{\familydefault}\iby@latintext} \DeclareRobustCommand{\ibycustext}{% - \fontencoding{U}\fontfamily{fib}\selectfont - \def\encodingdefault{U}} + \fontencoding{LGI}\fontfamily{\ibycusdefault}\selectfont} \DeclareRobustCommand{\textibycus}[1]{\leavevmode{\ibycustext #1}} \addto\extrasibycus{\ibycustext} -\addto\noextrasibycus{\latintext} \addto\extrasibycus{% \babel@savevariable{\lccode`\(}\lccode`\(=`\(% \babel@savevariable{\lccode`\)}\lccode`\)=`\)% @@ -72,6 +77,9 @@ \babel@savevariable{\lccode`\`}\lccode`\`=`\`% \babel@savevariable{\lccode`\'}\lccode`\'=`\'% \babel@savevariable{\lccode`\+}\lccode`\+=`\+} +\DeclareRobustCommand{\noibycustext}{% + \fontencoding{\latinencoding}\fontfamily{\familydefault}\selectfont} +\addto\noextrasibycus{\noibycustext} \ldf@finish{ibycus} \endinput %% |