diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty index 697a8bcbb7a..7592ef4b44b 100644 --- a/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty +++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% interfaces : 2011/01/19 v2.9 - interfaces : interfaces with keys for other packages (FC) +%% interfaces : 2011/01/26 v3.0 - interfaces : interfaces with keys for other packages (FC) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -43,10 +43,8 @@ %% interfaces: interfaces with keys for other packages (FC) %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %% -\let\CTANLinks=y -\let\interfacesquick=n \ProvidesPackage{interfaces-LaTeX} - [2011/01/19 v2.9 pgfkeys macros for LaTeX (FC)] + [2011/02/12 v3.0 pgfkeys macros for LaTeX (FC)] \RequirePackage{interfaces-base} \itf@pgfkeys \newrobustcmd*\changefont[1]{\itf@pgfkeys @@ -93,6 +91,25 @@ \pgfkeysifdefined{/itf/LaTeX/changefont/color/.@cmd}{} {\pgfkeys{/itf/LaTeX/changefont/color/.code=\color{#1}}}% }% AfterPackage xcolor +\newrobustcmd*\quickprofile{\begingroup \afterassignment \itf@quickprofile \count@} +\def\itf@quickprofile{\afterassignment \itf@profileloop \toks@} +\def\itf@profileloop{% + \edef\itf@N {\the\count@}\let\itf@n \z@ + \edef\itf@time{\the\pdfelapsedtime}% + \loop + \message{^^JProfiler: step \number\itf@n}% + \setbox\z@=\vbox{{\the\toks@}}% + \count@ \itf@n\advance\count@ \@ne + \ifnum \count@<\itf@N + \edef\itf@n{\the\count@}% + \repeat + \message{^^J(interfaces) quickprofile: Time elapsed for \itf@N\space cycles: + \the\numexpr(\pdfelapsedtime-\itf@time-32767)/65536\relax sec + \the\numexpr\numexpr(\pdfelapsedtime-\itf@time) + -\numexpr(\pdfelapsedtime-\itf@time-32767)/65536\relax*65536\relax + *1000/65536\relax ms}% + \endgroup +}% \itf@profileloop \endinput %% %% End of file `interfaces-LaTeX.sty'. |