summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-filename.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-filename.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-filename.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-filename.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-filename.html
index 6947b5a95bb..74dbc3cf38a 100644
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-filename.html
+++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-filename.html
@@ -3,7 +3,7 @@
</head><body>
<h3>What&rsquo;s the name of this file</h3>
<p/>One might want this so as to automatically generate a page header or
-footer recording what file is being processed. It&rsquo;s not easy...
+footer recording what file is being processed. It&rsquo;s not easy&hellip;
<p/>TeX retains what it considers the name of the <em>job</em>, only, in
the primitive <code>\</code><code>jobname</code>; this is the name of the file first
handed to TeX, stripped of its directory name and of any extension
@@ -25,7 +25,6 @@ the job is almost trivial:
<blockquote>
<pre>
\def\ThisFile{\jobname}
-\let\OldInput\input
\renewcommand{\input}[1]{%
\renewcommand{\ThisFile}{#1}%
\OldInput{#1}%
@@ -45,7 +44,6 @@ previous file was before returning.
<pre>
\def\ThisFile{\jobname}
\newcounter{FileStack}
-\let\OrigInput\input
\renewcommand{\input}[1]{%
\stackinput{#1}{\OrigInput}%
}
@@ -66,7 +64,6 @@ previous file was before returning.
To do the same for <code>\</code><code>include</code>, we need the simple addition:
<blockquote>
<pre>
-\let\OrigInclude\include
\renewcommand{\include}[1]{%
\stackinput{#1}{\OrigInclude}%
}
@@ -88,7 +85,7 @@ name (without its &lsquo;<code>.tex</code>&rsquo;), use the commands:
The <i>FiNK</i> bundle includes a <i>fink.el</i> that provides
support under <i>emacs</i> with AUC-TeX.
<dl>
-<dt><tt><i>fink.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/fink.zip">macros/latex/contrib/fink</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/fink/">browse the directory</a>)
+<dt><tt><i>fink.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/fink.zip">macros/latex/contrib/fink</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/fink/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=filename">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=filename</a>
</body>