%%
%% This is file `paresse.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% paresse.dtx  (with options: `common,package')
%% This is a generated file.
%% 
%% Copyright (C) 2011, 2013
%% by Yvon Henel, alias le TeXnicien de surface
%% <le.texnicien.de.surface@wanadoo.fr>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\def\fileversion{v4.1}
\def\filedate{2013/02/16}
\def\fileinfo{fichier paresse par le TeXnicien de surface}
\ProvidesPackage{paresse}
   [\filedate\space\fileversion\space\fileinfo]
\RequirePackage{skeyval-bc}
\RequirePackage{ifluatex}
\RequirePackage{ifxetex}
\define@bitogkeys[GA]{paresse.sty}[GA@]{legacy}[true]{levi}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{wild}[true]{tame}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{ttau}[true]{ttheta}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{varepsilon}[true]{epsilon}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{varphi}[true]{phi}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{pi}[true]{varpi}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{sigma}[true]{varsigma}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{rho}[true]{varrho}{}{}
\define@bitogkeys[GA]{paresse.sty}[GA@]{theta}[true]{vartheta}{}{}
\DeclareOptionX*{\PackageError{paresse} {The option "\CurrentOption"
    is not known!\MessageBreak The default options are:\MessageBreak
    legacy, varepsilon, theta, pi, rho, sigma, and varphi.}%
  {Choose between `wild' (for an active Paresse in all the document)
    \MessageBreak and `tame', so that the character obtained by
    \string\S\MessageBreak prints the section symbol \string\S).
    \MessageBreak See the documentation for other options.}}
\ExecuteOptionsX[GA]{legacy,wild,varepsilon,theta,pi,rho,sigma,varphi}
\ProcessOptionsX[GA]\relax
\iftogon{GA@varepsilon}{%
  \def\GA@epsilon{\varepsilon}}{\def\GA@epsilon{\epsilon}}
\iftogon{GA@vartheta}{\def\GA@theta{\vartheta}}{\def\GA@theta{\theta}}
\iftogon{GA@varpi}{\def\GA@pi{\varpi}}{\def\GA@pi{\pi}}
\iftogon{GA@varrho}{\def\GA@rho{\varrho}}{\def\GA@rho{\rho}}
\iftogon{GA@varsigma}{\def\GA@sigma{\varsigma}}{\def\GA@sigma{\sigma}}
\iftogon{GA@varphi}{\def\GA@phi{\varphi}}{\def\GA@phi{\phi}}
\ifluatex
  \PackageInfo{paresse}{compiling with luatex}
  \InputIfFileExists{paresseold.sto}{%
    \PackageInfo{paresse}{paresseold loaded}}{%
    \PackageInfo{paresse}{paresseold not loaded}}
\else
  \ifxetex
    \PackageInfo{paresse}{compiling with xetex}
    \InputIfFileExists{paresseold.sto}{%
      \PackageInfo{paresse}{paresseold loaded}}{%
      \PackageInfo{paresse}{paresseold not loaded}}
  \else
\newcommand\encoding@error{%
  \@latex@error{%
    paresse needs inputenc loaded with option "utf8"
    or option such as "latin1" (8 bits encodign).}{}\stop}
\@ifpackageloaded{inputenc}\relax
{\PackageError{paresse}{%
    Please, load inputenc package before paresse}{%
  With LaTeX, "paresse" needs to know the encoding to work well and so
  the package "inputenc" must be loaded, with \string\usepackage, before
  loading "paresse" itself}}
\AtBeginDocument{%
  \@ifpackageloaded{inputenc}\find@encoding\encoding@error}
\newtog[GA@]{utf8}[false]
\newcommand\find@encoding{%
  \begingroup
  \def\utf@encoding{utf8}%
  \def\temp@a{\togoff{GA@utf8}%
    \PackageInfo{paresse}{8-bit encoding expected\@gobble}}
  \ifx\utf@encoding\inputencodingname
  \def\temp@a{\togon{GA@utf8}%
    \PackageInfo{paresse}{utf8 encoding detected\@gobble}}
  \fi
  \expandafter\endgroup\temp@a}
\AtBeginDocument{%
  \makeatletter
  \iftogoff{GA@utf8}{%
    \InputIfFileExists{paresseold.sto}{%
      \PackageInfo{paresse}{old loaded\@gobble}}{%
      \PackageError{paresse}{paresseold.sto not found}{%
        The package "paresse" needs to load the file "paresseold.sto"
        but can't find it. Something seems to be broken in your TeX
        system}}}{%
    \InputIfFileExists{paresseutf8.sto}{%
    \PackageInfo{paresse}{utf8 loaded\@gobble}}{%
    \PackageError{paresse}{paresseutf8 not found}{%
        The package "paresse" needs to load the file "paresseutf8.sto"
        but can't find it. Something seems to be broken in your TeX
        system}}}
  \makeatother}
\fi
\fi
\endinput
%%
%% End of file `paresse.sty'.
