diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/txtbabel.def')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/txtbabel.def | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/txtbabel.def b/Master/texmf-dist/tex/generic/babel/txtbabel.def new file mode 100644 index 00000000000..c4c5f582f3b --- /dev/null +++ b/Master/texmf-dist/tex/generic/babel/txtbabel.def @@ -0,0 +1,158 @@ +%% +%% This is file `txtbabel.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% babel.dtx (with options: `texxet') +%% +%% +%% Copyright (C) 2012-2017 Javier Bezos and Johannes L. Braams. +%% Copyright (C) 1989-2012 Johannes L. Braams and +%% any individual authors listed elsewhere in this file. +%% All rights reserved. +%% +%% This file is part of the Babel system. +%% -------------------------------------- +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Javier Bezos. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension |.ins|) which are part of the distribution. +%% +\ifx\bbl@opt@layout\@nnil\endinput\fi % No layout +\def\bbl@startskip{\ifcase\bbl@thepardir\leftskip\else\rightskip\fi} +\def\bbl@endskip{\ifcase\bbl@thepardir\rightskip\else\leftskip\fi} +\ifx\bbl@beforeforeign\leavevmode % A poor test for bidi= + \def\@hangfrom#1{% + \setbox\@tempboxa\hbox{{#1}}% + \hangindent\ifcase\bbl@thepardir\wd\@tempboxa\else-\wd\@tempboxa\fi + \noindent\box\@tempboxa} + \def\raggedright{% + \let\\\@centercr + \bbl@startskip\z@skip + \@rightskip\@flushglue + \bbl@endskip\@rightskip + \parindent\z@ + \parfillskip\bbl@startskip} + \def\raggedleft{% + \let\\\@centercr + \bbl@startskip\@flushglue + \bbl@endskip\z@skip + \parindent\z@ + \parfillskip\bbl@endskip} +\fi +\IfBabelLayout{lists} + {\def\list#1#2{% + \ifnum \@listdepth >5\relax + \@toodeep + \else + \global\advance\@listdepth\@ne + \fi + \rightmargin\z@ + \listparindent\z@ + \itemindent\z@ + \csname @list\romannumeral\the\@listdepth\endcsname + \def\@itemlabel{#1}% + \let\makelabel\@mklab + \@nmbrlistfalse + #2\relax + \@trivlist + \parskip\parsep + \parindent\listparindent + \advance\linewidth-\rightmargin + \advance\linewidth-\leftmargin + \advance\@totalleftmargin + \ifcase\bbl@thepardir\leftmargin\else\rightmargin\fi + \parshape\@ne\@totalleftmargin\linewidth + \ignorespaces}% + \def\labelenumii{)\theenumii(}% + \def\p@enumiii{\p@enumii)\theenumii(}} + {} +\IfBabelLayout{contents} + {\def\@dottedtocline#1#2#3#4#5{% + \ifnum#1>\c@tocdepth\else + \vskip \z@ \@plus.2\p@ + {\bbl@startskip#2\relax + \bbl@endskip\@tocrmarg + \parfillskip-\bbl@endskip + \parindent#2\relax + \@afterindenttrue + \interlinepenalty\@M + \leavevmode + \@tempdima#3\relax + \advance\bbl@startskip\@tempdima + \null\nobreak\hskip-\bbl@startskip + {#4}\nobreak + \leaders\hbox{% + $\m@th\mkern\@dotsep mu\hbox{.}\mkern\@dotsep mu$}% + \hfill\nobreak + \hb@xt@\@pnumwidth{\hfil\normalfont\normalcolor#5}% + \par}% + \fi}} + {} +\IfBabelLayout{columns} + {\def\@outputdblcol{% + \if@firstcolumn + \global\@firstcolumnfalse + \global\setbox\@leftcolumn\copy\@outputbox + \splitmaxdepth\maxdimen + \vbadness\maxdimen + \setbox\@outputbox\vbox{\unvbox\@outputbox\unskip}% + \setbox\@outputbox\vsplit\@outputbox to\maxdimen + \toks@\expandafter{\topmark}% + \xdef\@firstcoltopmark{\the\toks@}% + \toks@\expandafter{\splitfirstmark}% + \xdef\@firstcolfirstmark{\the\toks@}% + \ifx\@firstcolfirstmark\@empty + \global\let\@setmarks\relax + \else + \gdef\@setmarks{% + \let\firstmark\@firstcolfirstmark + \let\topmark\@firstcoltopmark}% + \fi + \else + \global\@firstcolumntrue + \setbox\@outputbox\vbox{% + \hb@xt@\textwidth{% + \hskip\columnwidth + \hfil + {\normalcolor\vrule \@width\columnseprule}% + \hfil + \hb@xt@\columnwidth{\box\@leftcolumn \hss}% + \hskip-\textwidth + \hb@xt@\columnwidth{\box\@outputbox \hss}% + \hskip\columnsep + \hskip\columnwidth}}% + \@combinedblfloats + \@setmarks + \@outputpage + \begingroup + \@dblfloatplacement + \@startdblcolumn + \@whilesw\if@fcolmade \fi{\@outputpage + \@startdblcolumn}% + \endgroup + \fi}}% + {} +\IfBabelLayout{counters}% Global or language dependent? At begin doc? + {\let\bbl@latinarabic=\@arabic + \def\@arabic#1{\babelsublr{\bbl@latinarabic#1}}% + \let\bbl@asciiroman=\@roman + \def\@roman#1{\babelsublr{\ensureascii{\bbl@asciiroman#1}}}% + \let\bbl@asciiRoman=\@Roman + \def\@Roman#1{\babelsublr{\ensureascii{\bbl@asciiRoman#1}}}}{} +\endinput +%% +%% End of file `txtbabel.def'. |