% Copyright 2016 Michael Sharpe

\def\fileversion{1.00}
\def\filedate{2016/02/15}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{libertinegc}[\filedate\space v\fileversion]
\message{`libertinegc' v\fileversion, \filedate\space LaTeX support for Libertine Greek and Cyrillic (msharpe)}

\RequirePackage{libertine}
% Check for otf
\iflibertine@otf
\PackageWarningNoLine{libertinegc}{%
  ****************************************\MessageBreak
This package is not useful except with [pdf]LaTeX.\MessageBreak ****************************************}
\endinput
\fi

\IfFileExists{xkeyval.sty}{
    \RequirePackage{xkeyval}
    \DeclareOptionX{scale}{\providecommand*{\LinuxLibertineTGC@scale}{##1}}
    \DeclareOptionX{scaled}{\providecommand*{\LinuxLibertineTGC@scale}{##1}}
}{
    \let\DeclareOptionX\DeclareOption
    \let\ExecuteOptionsX\ExecuteOptions
    \let\ProcessOptionsX\ProcessOptions
}
\ProcessOptionsX\relax

\RequirePackage[OT2,T2C,T2B,T2A,LGR,\encodingdefault]{fontenc}
\endinput