summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel/luababel.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/luababel.def')
-rw-r--r--Master/texmf-dist/tex/generic/babel/luababel.def8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/luababel.def b/Master/texmf-dist/tex/generic/babel/luababel.def
index d72cd4d08be..e27837e44ba 100644
--- a/Master/texmf-dist/tex/generic/babel/luababel.def
+++ b/Master/texmf-dist/tex/generic/babel/luababel.def
@@ -117,6 +117,7 @@
\fi
\repeat
\fi
+ \closein\bbl@readstream
\endgroup
\bbl@trace{Macros for reading patterns files}
\def\bbl@get@enc#1:#2:#3\@@@{\def\bbl@hyph@enc{#2}}
@@ -1667,6 +1668,11 @@ end
{}}%
\fi}
\fi
+ \AtBeginDocument{%
+ \@ifpackageloaded{multicol}%
+ {\toks@\expandafter{\multi@column@out}%
+ \edef\multi@column@out{\bodydir\pagedir\the\toks@}}%
+ {}}
\fi
\ifx\bbl@opt@layout\@nnil\endinput\fi % if no layout
\ifnum\bbl@bidimode>\z@
@@ -1781,7 +1787,7 @@ end
\bbl@add\pgfsys@beginpicture{\bbl@pictsetdir\z@}%
\fi
\ifx\tikzpicture\@undefined\else
- \AddToHook{env/tikzpicture/begin}{\bbl@pictsetdir\z@}%
+ \AddToHook{env/tikzpicture/begin}{\bbl@pictsetdir\tw@}%
\bbl@add\tikz@atbegin@node{\bbl@pictresetdir}%
\bbl@sreplace\tikz{\begingroup}{\begingroup\bbl@pictsetdir\tw@}%
\fi