summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/jadetex/base/jadetex.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/jadetex/base/jadetex.ltx')
-rw-r--r--Master/texmf-dist/tex/jadetex/base/jadetex.ltx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/jadetex/base/jadetex.ltx b/Master/texmf-dist/tex/jadetex/base/jadetex.ltx
index f3013af1c26..6fb8be2d3b6 100644
--- a/Master/texmf-dist/tex/jadetex/base/jadetex.ltx
+++ b/Master/texmf-dist/tex/jadetex/base/jadetex.ltx
@@ -1309,7 +1309,9 @@
\let\AtBeginDocument\@firstofone
\ifdim\topskip<1sp\global\topskip 1sp\relax\fi
\global\@maxdepth\maxdepth
- \@begindocumenthook
+ \@kernel@before@begindocument
+ \UseOneTimeHook{begindocument}%
+ \@kernel@after@begindocument
\global\let\@begindocumenthook\@undefined
\global\let\@filelist\relax
\global\let\@addtofilelist\@gobble