From f385fa454ee3d165f431d1a11e72d5d630bd5289 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 23 Nov 2007 20:06:01 +0000 Subject: update ibycus-babel (very old change from 2005) git-svn-id: svn://tug.org/texlive/trunk@5571 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/ibycus-babel/ibycus.ldf | 36 +++++++++++------- .../texmf-dist/tex/latex/ibycus-babel/lgienc.def | 30 +++++++++++++++ Master/texmf-dist/tex/latex/ibycus-babel/lgifib.fd | 44 ++++++++++++++++++++++ Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd | 44 ---------------------- 4 files changed, 96 insertions(+), 58 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/ibycus-babel/lgienc.def create mode 100644 Master/texmf-dist/tex/latex/ibycus-babel/lgifib.fd delete mode 100644 Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd (limited to 'Master/texmf-dist/tex/latex/ibycus-babel') 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/lgifib.fd b/Master/texmf-dist/tex/latex/ibycus-babel/lgifib.fd new file mode 100644 index 00000000000..481308f5fcd --- /dev/null +++ b/Master/texmf-dist/tex/latex/ibycus-babel/lgifib.fd @@ -0,0 +1,44 @@ +%% +%% This is file `lgifib.fd', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% 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 lgifib.fd. +%% +%% 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{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 ibycus@scale\endcsname\relax + \let\ibycus@@scale\@empty +\else + \edef\ibycus@@scale{s*[\csname ibycus@scale\endcsname]}% +\fi +\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 `lgifib.fd'. diff --git a/Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd b/Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd deleted file mode 100644 index e261e6b2529..00000000000 --- a/Master/texmf-dist/tex/latex/ibycus-babel/ufib.fd +++ /dev/null @@ -1,44 +0,0 @@ -%% -%% This is file `ufib.fd', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% ibycus-babel.dtx (with options: `ufib') -%% -%% 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. -%% -%% 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{ufib.fd}% - [2004/11/19 v2.4 (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 -\else - \edef\fib@@scale{s*[\csname fib@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}{} -\endinput -%% -%% End of file `ufib.fd'. -- cgit v1.2.3