diff options
author | Norbert Preining <preining@logic.at> | 2007-11-23 20:06:01 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-23 20:06:01 +0000 |
commit | f385fa454ee3d165f431d1a11e72d5d630bd5289 (patch) | |
tree | fe4a62af5e8a2e201e5abc14de5b94decba2a452 /Master/texmf-dist/tex/latex/ibycus-babel | |
parent | 103fa01eacdf470af9d47acbbd0f8cd3add32dcf (diff) |
update ibycus-babel (very old change from 2005)
git-svn-id: svn://tug.org/texlive/trunk@5571 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ibycus-babel')
-rw-r--r-- | Master/texmf-dist/tex/latex/ibycus-babel/ibycus.ldf | 36 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ibycus-babel/lgienc.def | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ibycus-babel/lgifib.fd (renamed from Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd) | 30 |
3 files changed, 67 insertions, 29 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 %% diff --git a/Master/texmf-dist/tex/latex/ibycus-babel/lgienc.def b/Master/texmf-dist/tex/latex/ibycus-babel/lgienc.def new file mode 100644 index 00000000000..66701815ddf --- /dev/null +++ b/Master/texmf-dist/tex/latex/ibycus-babel/lgienc.def @@ -0,0 +1,30 @@ +%% +%% This is file `lgienc.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ibycus-babel.dtx (with options: `lgienc') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from lgienc.def. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file ibycus-babel.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +\ProvidesFile{lgienc.def}% + [2005/11/23 v3.0 (PH/WaS)] +\DeclareFontEncoding{LGI}{}{} +\DeclareFontSubstitution{LGI}{fib}{m}{n} +\DeclareErrorFont{LGI}{fib}{m}{n}{10} +\endinput +%% +%% End of file `lgienc.def'. diff --git a/Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd b/Master/texmf-dist/tex/latex/ibycus-babel/lgifib.fd index e261e6b2529..481308f5fcd 100644 --- a/Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd +++ b/Master/texmf-dist/tex/latex/ibycus-babel/lgifib.fd @@ -1,17 +1,17 @@ %% -%% This is file `ufib.fd', +%% This is file `lgifib.fd', %% generated with the docstrip utility. %% %% The original source files were: %% -%% ibycus-babel.dtx (with options: `ufib') +%% ibycus-babel.dtx (with options: `lgifib') %% %% IMPORTANT NOTICE: %% %% For the copyright see the source file. %% %% Any modified versions of this file must be renamed -%% with new filenames distinct from ufib.fd. +%% with new filenames distinct from lgifib.fd. %% %% For distribution of the original source see the terms %% for copying and modification in the file ibycus-babel.dtx. @@ -20,25 +20,25 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -\ProvidesFile{ufib.fd}% - [2004/11/19 v2.4 (PH/WaS)] +\ProvidesFile{lgifib.fd}% + [2005/11/23 v3.0 (PH/WaS)] \ifx\aliasfont\@undefined\else\ifx\aliasfont\relax\else \begingroup \catcode32=10 % \aliasfont fibo84 = fibr84 slant 167 % \endgroup \fi\fi -\expandafter\ifx\csname fib@scale\endcsname\relax - \let\fib@@scale\@empty +\expandafter\ifx\csname ibycus@scale\endcsname\relax + \let\ibycus@@scale\@empty \else - \edef\fib@@scale{s*[\csname fib@scale\endcsname]}% + \edef\ibycus@@scale{s*[\csname ibycus@scale\endcsname]}% \fi -\DeclareFontFamily{U}{fib}{} -\DeclareFontShape{U}{fib}{m}{n}{<-> \fib@@scale fibr84}{} -\DeclareFontShape{U}{fib}{m}{sl}{<-> \fib@@scale fibo84}{} -\DeclareFontShape{U}{fib}{b}{n}{<-> \fib@@scale fibb84}{} -\DeclareFontShape{U}{fib}{m}{it}{<-> ssub * fib/m/sl}{} -\DeclareFontShape{U}{fib}{bx}{n}{<-> ssub * fib/b/n}{} +\DeclareFontFamily{LGI}{fib}{} +\DeclareFontShape{LGI}{fib}{m}{n}{<-> \ibycus@@scale fibr84}{} +\DeclareFontShape{LGI}{fib}{m}{sl}{<-> \ibycus@@scale fibo84}{} +\DeclareFontShape{LGI}{fib}{b}{n}{<-> \ibycus@@scale fibb84}{} +\DeclareFontShape{LGI}{fib}{m}{it}{<-> ssub * fib/m/sl}{} +\DeclareFontShape{LGI}{fib}{bx}{n}{<-> ssub * fib/b/n}{} \endinput %% -%% End of file `ufib.fd'. +%% End of file `lgifib.fd'. |