summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/patch/source2e.tex.diff
blob: 0f8d7c15fe7b2bacb7c7163bd99b098bb9c32c6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
*** source2e.tex.org	2009-09-25 09:56:20.000000000 +0200
--- source2e.tex	2010-05-04 22:17:43.000000000 +0200
***************
*** 71,76 ****
--- 71,81 ----
  
  \documentclass{ltxdoc}
  
+ \newdimen\OldHeadHeight
+ \OldHeadHeight=\headheight
+ \newdimen\OldHeadSep
+ \OldHeadSep=\headsep
+ 
  \listfiles
  
  % Do not index some TeX primitives, and some common plain TeX commands.
***************
*** 301,306 ****
--- 306,325 ----
  \clearpage
  \pagestyle{headings}
  
+ \makeatletter
+ \headheight=\OldHeadHeight
+ \headsep=\OldHeadSep
+ \addtolength{\textheight}{-\headheight}
+ \addtolength{\textheight}{-\headsep}
+ \addtolength{\textheight}{\footskip}
+ \newdimen\OldFootSkip
+ \OldFootSkip=\footskip
+ \footskip=\z@
+ \vsize=\textheight
+ \@colht\textheight
+ \@colroom\textheight
+ \makeatother
+ 
  % Make TeX shut up.
  \hbadness=10000
  \newcount\hbadness
***************
*** 315,320 ****
--- 334,359 ----
  
  \clearpage
  
+ \makeatletter
+ \footskip=85pt
+ \addtolength{\footskip}{\OldFootSkip}
+ \addtolength{\footskip}{-\baselineskip}
+ \addtolength{\textheight}{-\footskip}
+ \vsize=\textheight
+ \@colht=\textheight
+ \@colroom\textheight
+ \newsavebox\FileKeyBox
+ \g@addto@macro\index@prologue{%
+   \sbox\FileKeyBox{%
+     \parbox[b]{\textwidth}{\strut\footnotesize
+     \raggedright{\bfseries File Key:} \filekey}%
+   }%
+   \typeout{FileKeyBox: ht=\the\ht\FileKeyBox, dp=\the\dp\FileKeyBox}%
+   \gdef\@oddfoot{\copy\FileKeyBox}%
+   \let\@evenfoot\@oddfoot
+ }%
+ \makeatother
+ 
  % makeindex needs a symbol between the parts of composite page numbers
  % but we dont want one, so:
  \typeout{%