%OZT%&frlatex / frenchlu.tex  : the LaTeX users manual of the french style
%                                Copyright Bernard Gaulle as in french_doc.pdf
%
% \`{A} transformer en 8bits conform\'{e}ment \`{a} votre syst\`{e}me
%
\documentclass[a4paper,11pt]{article}

%\usepackage[T1]{fontenc}% Switching to EC should not change deeply the output.
%\usepackage{pslatex}% With other fonts you will experiment hyphenation pbs.
\usepackage{url}

% Materiel PdfScreen-HyperRef
\makeatletter\def\tempa{\let\if@screen\iffalse}\makeatother%
\expandafter
\ifx\csname pdfoutput\endcsname\relax
\def\href#1#2{}\let\titcolor\relax\tempa%
\else% Materiel PdfScreen-HyperRef
\usepackage[print]{pdfscreen}
  \definecolor{section0}{rgb}{.722,.525,.431}
  \definecolor{section1}{rgb}{.937,.561,.123}
  \definecolor{section2}{rgb}{.855,.647,.123}      
  \definecolor{section3}{rgb}{.804,.361,.361}
  \definecolor{section4}{rgb}{.545,.271,.750}
  \definecolor{section5}{rgb}{.627,.322,.176}
\def\titcolor{\color{section0}}
\definecolor{bleu}{rgb}{.0,.0,.850}
\hypersetup{pdfwindowui=true,pdfnewwindow=true,%
            colorlinks=true,pdfmenubar=true,pdffitwindow=true,%
            anchorcolor=bleu,urlcolor=bleu,%
            pdfview=FitB,pdfstartview=FitB}
\fi

\usepackage{french,mymaj,myfroptn}
%
% je n'utilise pas mysmaller.sty (il est dans le repertoire tst)
%
%%      checksum        = "37260 132 398 5130"
%%

\makeatletter%
\newcommand{\linkandfootnote}[3]{%
             \href{#3}{#2}\bgroup%
      \expandafter\ifx\csname r@tlf.#1\endcsname\relax%
       \expandafter\global%
       \expandafter\let\csname r@tlf.#1\endcsname\empty%
                  \footnote{\texttt{<}\url{#3}\texttt{>}.\label{lf.#1}}%
                  \else\refmark{lf.#1}%
                  \fi\egroup%
                           }%
\textwidth=132mm  % a4paper is a little short...than a4.sty
\textheight=220mm % a4paper is a little short...than a4.sty

\newif\ifnoDOCinstall\newif\ifnoFINALS
\makeindex
\begin{document}
%\disallowuchyph% C'est ma devise... (inclus dans myfroptn)
% Page de titre :
\makeatletter
\def\@fnsymbol#1{\ensuremath{\ifcase#1\or \star \or \diamond 
                              \or \heartsuit \else\@ctrerr\fi}}
\makeatother
\title{\hbox{}\vspace*{-3cm}
       \huge\bf
       Notice d'utilisation\\ de l'extension \textsl{French Pro}
\footnote{Les marques de mise \`{a} jour dans la marge sont en rapport
          avec la version V5,00 du 22 d\'{e}cembre 2000.}
 \\ pour \LaTeX}
\author{Bernard \fsc{Gaulle} 
\href{mailto:frenchpro@2be.free.fr}{\texttt{<frenchpro@free.fr>}}%
\thanks{Attention, l'adresse m.\'{e}l. fournie via les butineurs est
pi\'{e}g\'{e}e ; il faut la corriger \`{a} la main.}%
}
\date{version pro \frenchstyleid}
\maketitle\thispagestyle{empty}
%% \NNL sert a \'{e}liminer les sauts de page dans la toc ou le sommaire
%% mais cela g\'{e}n\`{e}re de messages << Token not allowed >> avec hyperref.
\newcommand{\NNL}{\protect\let\\\relax}
\makeatletter\def\HyPsd@CatcodeWarning#1{}\makeatother%
%%
\makeatletter\if@screen%
\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{2}
\fi\makeatother

\vspace*{-3 ex}

\begin{resume} Cette notice d\'{e}crit comment installer et utiliser avec \LaTeX{} 
  l'extension \textsl{French Pro} (appel\'{e}e autrefois style \texttt{french}). 
  Cette extension a \'{e}t\'{e} cr\'{e}\'{e}e pour imprimer des documents typographiquement 
  plus conformes \`{a} l'usage fran\c{c}ais que ce que produit \LaTeX{} par d\'{e}faut.
  Un grand nombre de commandes peuvent \^{e}tre utilis\'{e}es mais
  l'emploi courant de cette extension ne n\'{e}cessite 
  {\em a priori\/} aucune connaissance particuli\`{e}re
  ni une utilisation forcen\'{e}e de commandes sp\'{e}cifiques. Toutefois cet
  emploi n'est pas toujours {\em transparent}. 
\maj
  Une version all\'{e}g\'{e}e est fournie (\texttt{frenchle}).
Une version appauvrie (\texttt{pmfrench})
  est aussi utilisable sur tous les sites et dans toutes les
  configurations. L'installation de \textsl{French Pro} s'accompagne d'une
  cr\'{e}ation de {\em format} pour l'introduction, notamment, des
  fichiers de motifs de c\'{e}sure fran\c{c}ais. D'autres extensions l'accompagnent.
\end{resume}

\vspace*{-5 ex}
\sommaire

\let\Subsubsection\subsubsection
\def\subsubsection#1{\Subsubsection[\protect\NNL#1]{\protect\titcolor#1}}
\let\Subsection\subsection
\def\subsection#1{\Subsection[\protect\NNL#1]{\protect\titcolor#1}}
\let\Section\section
\def\section#1{\Section[\protect\NNL#1]{\protect\titcolor#1}}
\let\Chapter\chapter
\def\chapter#1{\Chapter[\protect\NNL#1]{\protect\titcolor#1}}

\bigskip
\index{copyright}%
\index{\protect\copyright}%
\noindent
{\copyright} Bernard {\sc Gaulle} (voir le fichier 
\linkandfootnote{copyright}{\texttt{Copyright.pdf}}
{http://frenchpro.free.fr/frenchpro/french/Copyright.pdf}
 ou \texttt{copyrigh.tex}).
\index{fichier!Copyright.pdf@\texttt{Copyright.pdf}}%
\index{fichier!copyrigh.tex@\texttt{copyrigh.tex}}%

\newpage
\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{2}
\frenchdoc

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
