summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxbase/bxbase.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxbase/bxbase.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bxbase/bxbase.sty70
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bxbase/bxbase.sty b/Master/texmf-dist/tex/latex/bxbase/bxbase.sty
new file mode 100644
index 00000000000..d506fc37a62
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bxbase/bxbase.sty
@@ -0,0 +1,70 @@
+%
+% bxbase.sty
+%
+
+%%%% package declaration
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{bxbase}[2010/06/15 v0.5 BX base library]
+
+%%%% include 'bxbase.def'
+\input{bxbase.def}
+\bxBDHookBabel
+\bxBDHookUnicode
+\bxBDHookSafeCaret
+
+%%%% error messages
+\def\bx@pkgname{bxbase}
+\def\bx@error{\PackageError\bx@pkgname}
+\def\bx@alert{\PackageWarningNoLine\bx@pkgname}
+\def\bx@warn{\PackageInfo\bx@pkgname}
+\def\bx@warn@aecs#1{\px@warn{Command \string#1 already exists}}
+
+%%------
+
+%%<*> \Ux, \UI, \AJ
+\ifx\Ux\@undefined \def\Ux{\bxUx}%
+\else \px@warn@aecs\Ux \fi
+\ifx\UI\@undefined \def\UI{\bxUI}%
+\else \px@warn@aecs\UI \fi
+\ifx\AJ\@undefined \def\AJ{\bxAJ}%
+\else \px@warn@aecs\AJ \fi
+
+%%<*> \JI, \KI
+\ifx\JI\@undefined \def\JI{\bxJI}%
+\else \px@warn@aecs\JI \fi
+\ifx\KI\@undefined \def\KI{\bxKI}%
+\else \px@warn@aecs\KI \fi
+
+%%%% withnohyph environment
+\expandafter\ifx\csname l@nohyphenation\endcsname\relax
+ \newlanguage\l@nohyphenation \fi
+\def\withnohyph{\language\l@nohyphenation}
+\let\endwithnohyph\relax
+
+%%------ all done
+\endinput
+%% EOF
+%
+% * bxbase provides:
+% - bx@Uxh@fb (terminal)
+% - bxUx (passed to bx@Ux)
+% - bxUI (passed to bx@UI)
+% - bxUHex (passed to bx@Uxh)
+% * bxutf8 provides:
+% - conversion from UTF8 string to bxUHex
+% * bxucs provides:
+% - bx@Ux@ucs (fallback to bx@UI)
+% - bx@Uxh@ucs (fallback to bx@UIh)
+% * utf/otf provides:
+% - bx@UIh@p (terminal)
+%
+% [default]
+% bx@Ux bx@Uxh
+% v v
+% bx@UI > bx@UIh = bx@UIh@fb or bx@UIh@p
+%
+% [with bxucs]
+% bx@Ux = bx@Ux@ucs bx@Uxh = bx@Uxh@ucs
+% v v
+% bx@UI > bx@UIh = bx@Uxh@fb or bx@UIh@p
+%