diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-19 00:50:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-19 00:50:47 +0000 |
commit | 57e2bc6866ae84cbb5c539506ea229d28e5e1eb4 (patch) | |
tree | 88fb85bf0bf23e704768f91e87b9dbda81d08c84 /Master/texmf-dist/doc/latex/epslatex-fr/export.sty | |
parent | c2cdbdd285ee5c7a88c8a9459685b2f0a291d1be (diff) |
move epslatex-fr out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/epslatex-fr/export.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/epslatex-fr/export.sty | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/epslatex-fr/export.sty b/Master/texmf-dist/doc/latex/epslatex-fr/export.sty new file mode 100644 index 00000000000..f2c16ab0192 --- /dev/null +++ b/Master/texmf-dist/doc/latex/epslatex-fr/export.sty @@ -0,0 +1,164 @@ +%% +%% This is file `export.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% export.dtx (with options: `package') +%% +%% IMPORTANT NOTICE: +%% This file is a stripped version of `export.dtx', +%% copyright (c) 1996, 1997, 1998, 1999, 2000, 2001 by Jean-Pierre Drucbert (drucbert@onecert.fr) +%% +%% +%% You are not allowed to distribute this file. +%% For distribution of the original source see +%% the copyright notice in the source file. +%% +%% Package `export' to use with LaTeX 2e +%% Copyright (C) 1996, 1997, 1998, 1999 Jean-Pierre F. Drucbert, all rights reserved +%% +%% You may use and distribute this file freely, provided that +%% you don't pretend that you wrote it. +\NeedsTeXFormat{LaTeX2e}[1996/06/01] +\ProvidesPackage{export} + [2000/10/16 v1.8 Exportation of LaTeX registers (JPFD)] +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newwrite\export +\newcommand{\openexport}[2][xpt]{% +\PackageInfo{export}{\MessageBreak +Exportations into #2.#1.\MessageBreak}% +\immediate\openout\export #2.#1} +\newcommand{\closeexport}{\immediate\closeout\export% + \PackageInfo{export}{\MessageBreak + End of exportations.\MessageBreak}} +\newcommand{\ExportLength}[1]{% +\PackageInfo{export}{Exportation of length #1}% +\immediate\write\export{\string\setlength{\csname#1\endcsname}% + {\the\csname#1\endcsname}}} +\newcommand{\PreciseExportLength}[1]{% +\PackageInfo{export}{Precise exportation of length #1}% +\immediate\write\export{\string\setlength{\csname#1\endcsname}% + {\number\csname#1\endcsname sp}}} +\newcommand{\ExportMuskip}[1]{% +\PackageInfo{export}{Exportation of muskip #1}% +\immediate\write\export{\string\setlength{\csname#1\endcsname}% + {\the\csname#1\endcsname}}} +\newcommand{\Export}[1]{% +\PackageInfo{export}{Exportation of counter #1}% +\immediate\write\export{\string\setcounter{#1}% + {\@arabic\csname c@#1\endcsname}}} +\newcommand{\ExportParameter}[1]{% +\PackageInfo{export}{Exportation of parameter #1}% +\immediate\write\export% + {\string\providecommand{\expandafter\noexpand\csname#1\endcsname}% + {}} +\immediate\write\export% + {\string\renewcommand{\expandafter\noexpand\csname#1\endcsname}% + {\csname#1\endcsname}}} +\newcommand{\ExportIf}[1]{% +\PackageInfo{export}{Exportation of the if condition ``#1''} +\expandafter\csname if#1\endcsname +\immediate\write\export{\expandafter\noexpand\csname #1true\endcsname} +\else +\immediate\write\export{\expandafter\noexpand\csname #1false\endcsname} +\fi} +\newcommand{\Import}[2][xpt]{% +\PackageInfo{export}{\MessageBreak +Importations from #2.#1\MessageBreak}% +\InputIfFileExists{#2.#1}{\relax}{\relax}} +\def\xcaptionf{\refstepcounter{figure} \@dblarg{\@xcaption{figure}}} +\def\xcaptiont{\refstepcounter{table} \@dblarg{\@xcaption{table}}} +\def\xcaption#1{\refstepcounter{#1} \@dblarg{\@xcaption{#1}}} +\long\def\@xcaption#1[#2]#3{\par\addcontentsline{\csname + ext@#1\endcsname}{#1}{\protect\numberline{\csname + the#1\endcsname}{\ignorespaces #2}}% +} +\def\iprotected@write#1#2#3{% + \begingroup + \let\thepage\relax + #2% + \let\protect\@unexpandable@protect + \edef\reserved@a{\immediate\write#1{#3}}% + \reserved@a + \endgroup + \if@nobreak\ifvmode\nobreak\fi\fi +} +\def\@inputx#1{{\def\bibcite##1##2{\relax}\@input{#1}}} +\newcommand{\AddInputInAux}[1]{% + \iprotected@write\@auxout + {% + \let\label\@gobble \let\index\@gobble \let\glossary\@gobble}% + {\string\@inputx{#1}% + }% + }% +\newcommand{\ExportPageLayout}{% +\PackageInfo{export}{\MessageBreak +Exportation of the PageLayout\MessageBreak}% +\PreciseExportLength{hsize} +\PreciseExportLength{vsize} +\PreciseExportLength{hoffset} +\PreciseExportLength{voffset} +\PreciseExportLength{linewidth} +\PreciseExportLength{columnwidth} +\PreciseExportLength{columnsep} +\PreciseExportLength{columnseprule} +\PreciseExportLength{parindent} +\ExportLength{parskip} +\PreciseExportLength{hoffset} +\PreciseExportLength{voffset} +\PreciseExportLength{oddsidemargin} +\PreciseExportLength{evensidemargin} +\PreciseExportLength{headheight} +\PreciseExportLength{headsep} +\PreciseExportLength{textheight} +\PreciseExportLength{textwidth} +\PreciseExportLength{paperheight} +\PreciseExportLength{paperwidth} +\PreciseExportLength{marginparsep} +\PreciseExportLength{marginparwidth} +\PreciseExportLength{marginparpush} +\PreciseExportLength{footskip} +\PreciseExportLength{topmargin} +\PreciseExportLength{topskip} +\PreciseExportLength{jot} +\@ifundefined{mathindent}{}{\PreciseExportLength{mathindent}} +\ExportLength{abovedisplayskip} +\ExportLength{belowdisplayskip} +\ExportLength{abovedisplayshortskip} +\ExportLength{belowdisplayshortskip} +\ExportLength{floatsep} +\ExportLength{textfloatsep} +\ExportLength{dblfloatsep} +\ExportLength{dbltextfloatsep} +\ExportLength{intextsep} +\Export{topnumber} +\Export{dbltopnumber} +\Export{bottomnumber} +\Export{totalnumber} +\PreciseExportLength{footnotesep} +\ExportParameter{topfraction} +\ExportParameter{bottomfraction} +\ExportParameter{textfraction} +\ExportParameter{floatpagefraction} +\ExportParameter{dbltopfraction} +\ExportParameter{dblfloatfraction} +\ExportLength{baselineskip} +\ExportLength{normalbaselineskip} +\ExportParameter{baselinestretch} +\PackageInfo{export}{\MessageBreak +End of exportation of the PageLayout\MessageBreak}}% +\newcommand{\ExportArrayParams}{% +\PackageInfo{export}{\MessageBreak +Exportation of the ArrayParams\MessageBreak}% +\PreciseExportLength{arraycolsep} +\PreciseExportLength{tabcolsep} +\PreciseExportLength{arrayrulewidth} +\PreciseExportLength{doublerulesep} +\ExportParameter{arraystretch} +\PackageInfo{export}{\MessageBreak +End of exportation of the ArrayParams\MessageBreak}}% +\endinput +%% +%% End of file `export.sty'. |