summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/inputtrc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-11 00:05:18 +0000
committerKarl Berry <karl@freefriends.org>2010-10-11 00:05:18 +0000
commite8dde3fdf371b3f9c7443830b0613ad123cc735b (patch)
tree7223d779037c7a55847dff8d5721c60055789589 /Master/texmf-dist/tex/latex/inputtrc
parent4da297182796bac2ac16ee38900d38c59fea9a2f (diff)
inputtrc update (10oct10)
git-svn-id: svn://tug.org/texlive/trunk@20045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/inputtrc')
-rw-r--r--Master/texmf-dist/tex/latex/inputtrc/inputtrc.sty27
1 files changed, 22 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/inputtrc/inputtrc.sty b/Master/texmf-dist/tex/latex/inputtrc/inputtrc.sty
index e75c6fe4724..477b32e2ec6 100644
--- a/Master/texmf-dist/tex/latex/inputtrc/inputtrc.sty
+++ b/Master/texmf-dist/tex/latex/inputtrc/inputtrc.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{inputtrc}[2010/10/08 v0.1a input tracing (UL)]
+\ProvidesPackage{inputtrc}[2010/10/09 v0.2 input tracing (UL)]
%% Copyright (C) 2010 Uwe Lueck,
%% http://www.contact-ednotes.sty.de.vu
@@ -37,11 +37,16 @@
\@@input#1
\expandafter\IT@pop@indent\IT@indent \@nil
\expandafter\IT@pop@file \IT@filestack\@nil
+ \IT@maybe@returnmessage %% v0.2
}
\def\IT@pop@indent#1#2\@nil{\gdef\IT@indent{#2}}
\def\IT@pop@file #1#2\@nil{%
\gdef\IT@currfile{#1}\gdef\IT@filestack{#2}}
%% ... cf. LaTeX's `\@pushfilename'/`\@popfilename'.
+\newcommand*{\IT@the@returnmessage}{% %% v0.2
+ \typeout{\IT@indent RETURNING TO \IT@currfile}}
+%% ... the ``active" version of `\IT@maybe@returnmessage',
+%% see below ...
%%
%% === Changing \LaTeX\ (Preparations) ===
%%
@@ -78,10 +83,21 @@
\global \let \InputIfFileExists \IT@ltx@InputIfFileExists
\global \let \@input \IT@ltx@input}
%% |\setinputindentunit{<cmds>}| globally sets the ``indent unit"---the
-%% default setting is <cmds>~= `\space\space'.
+%% default setting is <cmds>~= `\space\space':
\newcommand*{\setinputindentunit}{\gdef\IT@indent@unit}
-%%
\setinputindentunit{\space\space}
+%% |\dotracingreturns| activates the \texttt{RETURNING~TO} message---
+\newcommand*{\dotracingreturns}{%
+ \global \let \IT@maybe@returnmessage \IT@the@returnmessage}
+%% ---|\notracingreturns| turns it off---
+\newcommand*{\notracingreturns}{%
+ \global \let \IT@maybe@returnmessage \IT@the@returnmessage}
+%% ---\emph{not} activated is the default:
+\notracingreturns
+%% |\dotracinginputsreturns| activates \emph{both} `INPUTTING' and
+%% `RETURNING' messages:
+\newcommand*{\dotracinginputsreturns}{%
+ \dotracinginputs \dotracingreturns}
%%
\endinput
%%
@@ -100,6 +116,7 @@
HISTORY
-v0.1 2010/10/08 very first, sent to CTAN same day
+v0.1 2010/10/08 very first, installed on CTAN same day
v0.1a 2010/10/08 doc corrected: LaTeX commands using \@@input;
- manual page breaks
+ manual page breaks -- installed on CTAN 2010/10/09
+v0.2 2010/10/09 \IT@maybe@returnmessage etc.