diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/libertine/babel')
3 files changed, 118 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/libertine/babel/README b/Master/texmf-dist/tex/latex/libertine/babel/README new file mode 100644 index 00000000000..324ae1219bf --- /dev/null +++ b/Master/texmf-dist/tex/latex/libertine/babel/README @@ -0,0 +1,39 @@ +============================================================ + The xl-Ibycus-Babel interface +============================================================ + +Overview +-------- +This file are copied from the Ibycus-Bael projekt and +modified for the libertine font. + + +Installing the hyphenation patterns +----------------------------------- +The file ibyhyph.tex provides the hyphenation patterns for +the Greek language with the particular encoding of the +Ibycus fonts. + +Store the file in a directory where LaTeX will find it. To +make LaTeX actually use it, edit the configuration file for +the hyphenation patterns. Most likely, the file has the +name "language.dat" in your TeX system. Add the following +line to this file: + +xlibycus ibyhyph + +Thus, you establish a relation between the language name +"ibycus" and the file name "ibyhyph.tex". Update the +filename database (if applicable) and create a new LaTeX +format file, which will use the additional hyphenation +patterns. If you do not know how to do this, check the +documentation of your TeX distribution, or consult the FAQ +at http://www.tex.ac.uk/cgi-bin/texfaq2html?label=formatstymy + +ibyhyph.tex was generated from a set of Greek hyphenation +patterns for LGR encoding, using the Perl script ibyhyph.pl +and adding further patches affecting the processing of the +"lunate sigma". The script ibyhph.pl is part of the +distribution for reference puposes only; it is not needed by +the TeX system. + diff --git a/Master/texmf-dist/tex/latex/libertine/babel/xlibycus.ldf b/Master/texmf-dist/tex/latex/libertine/babel/xlibycus.ldf new file mode 100644 index 00000000000..da6394720cb --- /dev/null +++ b/Master/texmf-dist/tex/latex/libertine/babel/xlibycus.ldf @@ -0,0 +1,69 @@ +%% +%% This is file `xlibycus.ldf'. +%% +%% The original source file were ibicus.ldf from ibycus-babel.dtx. +%% +\ProvidesLanguage{xlibycus} + [2008/08/07 v0.1 (Nm)] +\ifx\eTeXversion\@undefined + \PackageError{xlibycus-babel}{% + The TeX engine used by LaTeX \MessageBreak + does not provide the the eTeX extensions.\MessageBreak + This may cause wrong hyphenation\MessageBreak + in mixed Latin/Greek paragraphs} + {Proceed, with fingers crossed...} +\fi +\LdfInit{xlibycus}{captionsxlibycus} +\ifx\undefined\l@xlibycus + \@nopatterns{xlIbycus} + \adddialect\l@xlibycus0\fi +\InputIfFileExists{xllgienc.def}{% + \message{Loading the definitions for the Greek font encoding LGI}}{% + \errhelp{I can't find the xllgienc.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{\xlibycusdefault}{fxl} +\DeclareRobustCommand{\ibygr}[1]{\foreignlanguage{xlibycus}{#1}} +\newenvironment{xlibycus}% + {\begin{otherlanguage}{xlibycus}}{\end{otherlanguage}}% +\newcommand*{\setgreekfontscale}[1]{% + \def\xlibycus@scale{#1}} +\@onlypreamble\setgreekfontscale +\newcommand{\braceleft}{% + {\fontencoding{LGI}\fontfamily{\xlibycusdefault}\selectfont\char'333}} +\newcommand{\braceright}{% + {\fontencoding{LGI}\fontfamily{\xlibycusdefault}\selectfont\char'337}} +\newcommand{\bracketleftbt}{% + {\fontencoding{LGI}\fontfamily{\xlibycusdefault}\selectfont\char'363}} +\newcommand{\bracketrightbt}{% + {\fontencoding{LGI}\fontfamily{\xlibycusdefault}\selectfont\char'367}} +\newcommand{\sdagger}{% + {\fontencoding{LGI}\fontfamily{\xlibycusdefault}\selectfont\char'375}} +\newcommand{\dbldagger}{% + {\fontencoding{LGI}\fontfamily{\xlibycusdefault}\selectfont\char'376}} +\providehyphenmins{xlibycus}{\@ne\tw@} +\def\captionsxlibycus{} +\def\datexlibycus{} +\expandafter\let\expandafter\iby@latintext\csname latintext \endcsname +\@namedef{latintext }{\fontfamily{\familydefault}\iby@latintext} +\DeclareRobustCommand{\xlibycustext}{% + \fontencoding{LGI}\fontfamily{\xlibycusdefault}\selectfont} +\DeclareRobustCommand{\textxlibycus}[1]{\leavevmode{\xlibycustext #1}} +\addto\extrasxlibycus{\xlibycustext} +\addto\extrasxlibycus{% + \babel@savevariable{\lccode`\(}\lccode`\(=`\(% + \babel@savevariable{\lccode`\)}\lccode`\)=`\)% + \babel@savevariable{\lccode`\=}\lccode`\==`\=% + \babel@savevariable{\lccode`\|}\lccode`\|=`\|% + \babel@savevariable{\lccode`\`}\lccode`\`=`\`% + \babel@savevariable{\lccode`\'}\lccode`\'=`\'% + \babel@savevariable{\lccode`\+}\lccode`\+=`\+} +\DeclareRobustCommand{\noxlibycustext}{% + \fontencoding{\latinencoding}\fontfamily{\familydefault}\selectfont} +\addto\noextrasxlibycus{\noxlibycustext} +\ldf@finish{xlibycus} +\endinput +%% +%% End of file `xlibycus.ldf'. diff --git a/Master/texmf-dist/tex/latex/libertine/babel/xllgienc.def b/Master/texmf-dist/tex/latex/libertine/babel/xllgienc.def new file mode 100644 index 00000000000..a28c0bf6198 --- /dev/null +++ b/Master/texmf-dist/tex/latex/libertine/babel/xllgienc.def @@ -0,0 +1,10 @@ +%% +%% This is file `xllgienc.def'. +%% +\ProvidesFile{xllgienc.def}% + [2008/08/07 v0.1 (Nm)] +\DeclareFontEncoding{LGI}{}{} +\DeclareFontSubstitution{LGI}{fxl}{m}{n} +\endinput +%% +%% End of file `xllgienc.def'. |