From f6b069c5441e2ba598b97c269ac8d00977606ef6 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 30 Oct 2021 03:00:57 +0000
Subject: CTAN sync 202110300300

---
 fonts/bboldx/tex/bboldx.sty | 217 ++++++++++++++++++++++++++++++++------------
 1 file changed, 161 insertions(+), 56 deletions(-)

(limited to 'fonts/bboldx/tex/bboldx.sty')

diff --git a/fonts/bboldx/tex/bboldx.sty b/fonts/bboldx/tex/bboldx.sty
index a840641222..b2432b1681 100644
--- a/fonts/bboldx/tex/bboldx.sty
+++ b/fonts/bboldx/tex/bboldx.sty
@@ -1,76 +1,181 @@
 \NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.422}
-\def\filedate{2021/05/29}
-
-\def\fileversion{1.01}
-\def\filedate{2021/10/21}
-\ProvidesPackage{bboldx}[\filedate\space v\fileversion]
-
-\message{`bboldx' v\fileversion, \filedate\space (Michael Sharpe) Symbol package extending Bbold} 
+\def\fileversion{1.03}
+\def\filedate{2021/10/29}
+\ProvidesPackage{bboldx}[%
+ \filedate\space v\fileversion\space (Michael Sharpe) Symbol package extending Bbold] 
 
+\NeedsTeXFormat{LaTeX2e}
 \RequirePackage{xkeyval}
 
 \newif\ifbboldx@light \bboldx@lightfalse
+\newif\ifbboldx@sym
 \newcommand*{\bboldx@scaled}{s*[1]}
+\newcommand*{\bboldx@m}{m} 
+\newcommand*{\bboldx@b}{b} 
 \DeclareOptionX{scaled}{\renewcommand*{\bboldx@scaled}{s*[#1]}}
 \DeclareOptionX{scale}{\renewcommand*{\bboldx@scaled}{s*[#1]}}
+\DeclareOptionX{bfbb}{\renewcommand*{\bboldx@m}{b}}
 \DeclareOptionX{light}[true]{\@nameuse{bboldx@light#1}}
+\DeclareOptionX{bbsymbols}{\bboldx@symtrue}
+\DeclareOptionX{symbols}{\bboldx@symtrue}
 \ProcessOptionsX\relax
 
 \let\mathbb\relax \let\mathbbb\relax
-\def\bbx@m{m}\def\bbx@b{b}
-\ifbboldx@light\def\bbx@m{l}\def\bbx@b{m}\fi
+%\def\bbx@m{m}\def\bbx@b{b}
+\if b\bboldx@m\else
+  \ifbboldx@light
+    \renewcommand*{\bboldx@m}{l}
+    \renewcommand*{\bboldx@b}{m}
+  \fi
+\fi
 
-\newcommand{\bbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bbx@m}\fontshape{n}\selectfont}
-\newcommand{\bbbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bbx@b}\fontshape{n}\selectfont}
+\newcommand{\bbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bboldx@m}\fontshape{n}\selectfont}
+\newcommand{\bbbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bboldx@b}\fontshape{n}\selectfont}
 %  \DeclareMathAlphabet{\mathbb}{U}{bboldx}{l}{n}
 %  \SetMathAlphabet{\mathbb}{bold}{U}{bboldx}{m}{n}
 %  \DeclareMathAlphabet{\mathbbb}{U}{bboldx}{m}{n}
 \newcommand{\textbb}[1]{{\bbxfamily#1}}
-\newcommand{\textbbb}[1]{{\bbbxfamily#1}}
+\newcommand{\textbfbb}[1]{{\bbbxfamily#1}}
+
+\ifbboldx@sym%
+    \DeclareSymbolFont{bboldx}{U}{bboldx}{\bboldx@m}{n}
+    \DeclareSymbolFontAlphabet{\mathbb}{bboldx}
+    \DeclareFontSubstitution{U}{bboldx}{\bboldx@m}{n}
+    \if b\bboldx@m\else
+      \SetSymbolFont{bboldx}{bold}{U}{bboldx}{\bboldx@b}{n}
+      \DeclareMathAlphabet{\mathbfbb}{U}{bboldx}{\bboldx@b}{n}
+    \fi
+    \DeclareMathSymbol{\bbdotlessi}{\mathord}{bboldx}{128}
+    \DeclareMathSymbol{\bbdotlessj}{\mathord}{bboldx}{129}
+    \DeclareMathSymbol{\bbGamma}{\mathord}{bboldx}{0}
+    \DeclareMathSymbol{\bbDelta}{\mathord}{bboldx}{1}
+    \DeclareMathSymbol{\bbTheta}{\mathord}{bboldx}{2}
+    \DeclareMathSymbol{\bbLambda}{\mathord}{bboldx}{3}
+    \DeclareMathSymbol{\bbXi}{\mathord}{bboldx}{4}
+    \DeclareMathSymbol{\bbPi}{\mathord}{bboldx}{5}
+    \DeclareMathSymbol{\bbSigma}{\mathord}{bboldx}{6}
+    \DeclareMathSymbol{\bbUpsilon}{\mathord}{bboldx}{7}
+    \DeclareMathSymbol{\bbPhi}{\mathord}{bboldx}{8}
+    \DeclareMathSymbol{\bbPsi}{\mathord}{bboldx}{9}
+    \DeclareMathSymbol{\bbOmega}{\mathord}{bboldx}{10}
+    \DeclareMathSymbol{\bbalpha}{\mathord}{bboldx}{11}
+    \DeclareMathSymbol{\bbbeta}{\mathord}{bboldx}{12}
+    \DeclareMathSymbol{\bbgamma}{\mathord}{bboldx}{13}
+    \DeclareMathSymbol{\bbdelta}{\mathord}{bboldx}{14}
+    \DeclareMathSymbol{\bbepsilon}{\mathord}{bboldx}{15}
+    \DeclareMathSymbol{\bbzeta}{\mathord}{bboldx}{16}
+    \DeclareMathSymbol{\bbeta}{\mathord}{bboldx}{17}
+    \DeclareMathSymbol{\bbtheta}{\mathord}{bboldx}{18}
+    \DeclareMathSymbol{\bbiota}{\mathord}{bboldx}{19}
+    \DeclareMathSymbol{\bbkappa}{\mathord}{bboldx}{20}
+    \DeclareMathSymbol{\bblambda}{\mathord}{bboldx}{21}
+    \DeclareMathSymbol{\bbmu}{\mathord}{bboldx}{22}
+    \DeclareMathSymbol{\bbnu}{\mathord}{bboldx}{23}
+    \DeclareMathSymbol{\bbxi}{\mathord}{bboldx}{24}
+    \DeclareMathSymbol{\bbpi}{\mathord}{bboldx}{25}
+    \DeclareMathSymbol{\bbrho}{\mathord}{bboldx}{26}
+    \DeclareMathSymbol{\bbsigma}{\mathord}{bboldx}{27}
+    \DeclareMathSymbol{\bbtau}{\mathord}{bboldx}{28}
+    \DeclareMathSymbol{\bbupsilon}{\mathord}{bboldx}{29}
+    \DeclareMathSymbol{\bbphi}{\mathord}{bboldx}{30}
+    \DeclareMathSymbol{\bbchi}{\mathord}{bboldx}{31}
+    \DeclareMathSymbol{\bbpsi}{\mathord}{bboldx}{32}
+    \DeclareMathSymbol{\bbomega}{\mathord}{bboldx}{127}
+    \DeclareMathSymbol{\bbLbrack}{\mathopen}{bboldx}{`[}
+    \DeclareMathSymbol{\bbRbrack}{\mathclose}{bboldx}{`]}
+    \DeclareMathSymbol{\bbLangle}{\mathopen}{bboldx}{`<}
+    \DeclareMathSymbol{\bbRangle}{\mathclose}{bboldx}{`>}
+    \DeclareMathSymbol{\bbLparen}{\mathopen}{bboldx}{`(}
+    \DeclareMathSymbol{\bbRparen}{\mathclose}{bboldx}{`)}
+    
+    \let\imathbb\bbdotlessi
+    \let\jmathbb\bbdotlessj
+\else
+  \def\bboldx@mpre{\usefont{U}{bboldx}{\bboldx@m}{n}\char}
+  \def\bboldx@bpre{\usefont{U}{bboldx}{\bboldx@b}{n}\char}
+  \def\bboldx@txt#1#2{\@namedef{txtbb#1}{{\bboldx@mpre #2}} \@namedef{txtbfbb#1}{{\bboldx@bpre #2}}}
 
-\DeclareSymbolFont{bboldx}{U}{bboldx}{\bbx@m}{n}
-\SetSymbolFont{bboldx}{bold}{U}{bboldx}{\bbx@b}{n}
-\DeclareFontSubstitution{U}{bboldx}{\bbx@m}{n}
-\DeclareSymbolFontAlphabet{\mathbb}{bboldx}
-\DeclareMathAlphabet{\mathbbb}{U}{bboldx}{b}{n}
+  \bboldx@txt{Gamma}{0}
+  \bboldx@txt{Delta}{1}
+  \bboldx@txt{Theta}{2}
+  \bboldx@txt{Lambda}{3}
+  \bboldx@txt{Xi}{4}
+  \bboldx@txt{Pi}{5}
+  \bboldx@txt{Sigma}{6}
+  \bboldx@txt{Upsilon}{7}
+  \bboldx@txt{Phi}{8}
+  \bboldx@txt{Psi}{9}
+  \bboldx@txt{Omega}{10}
+\bboldx@txt{alpha}{11}
+\bboldx@txt{beta}{12}
+\bboldx@txt{gamma}{13}
+\bboldx@txt{delta}{14}
+\bboldx@txt{epsilon}{15}
+\bboldx@txt{zeta}{16}
+\bboldx@txt{eta}{17}
+\bboldx@txt{theta}{18}
+\bboldx@txt{iota}{19}
+\bboldx@txt{kappa}{20}
+\bboldx@txt{lambda}{21}
+\bboldx@txt{mu}{22}
+\bboldx@txt{nu}{23}
+\bboldx@txt{xi}{24}
+\bboldx@txt{pi}{25}
+\bboldx@txt{rho}{26}
+\bboldx@txt{sigma}{27}
+\bboldx@txt{tau}{28}
+\bboldx@txt{upsilon}{29}
+\bboldx@txt{phi}{30}
+\bboldx@txt{chi}{31}
+\bboldx@txt{psi}{32}
+\bboldx@txt{omega}{127}
+\bboldx@txt{dotlessi}{128}
+\bboldx@txt{dotlessj}{129}
+\bboldx@txt{Lparen}{40}
+\bboldx@txt{Rparen}{41}
+\bboldx@txt{Lbrack}{91}
+\bboldx@txt{Rbrack}{93}
+\bboldx@txt{Rangle}{94}
+\bboldx@txt{Rangle}{95}
 
-\DeclareMathSymbol{\bbdotlessi}{\mathord}{bboldx}{128}
-\DeclareMathSymbol{\bbdotlessj}{\mathord}{bboldx}{129}
-\DeclareMathSymbol{\bbGamma}{\mathord}{bboldx}{0}
-\DeclareMathSymbol{\bbDelta}{\mathord}{bboldx}{1}
-\DeclareMathSymbol{\bbTheta}{\mathord}{bboldx}{2}
-\DeclareMathSymbol{\bbLambda}{\mathord}{bboldx}{3}
-\DeclareMathSymbol{\bbXi}{\mathord}{bboldx}{4}
-\DeclareMathSymbol{\bbPi}{\mathord}{bboldx}{5}
-\DeclareMathSymbol{\bbSigma}{\mathord}{bboldx}{6}
-\DeclareMathSymbol{\bbUpsilon}{\mathord}{bboldx}{7}
-\DeclareMathSymbol{\bbPhi}{\mathord}{bboldx}{8}
-\DeclareMathSymbol{\bbPsi}{\mathord}{bboldx}{9}
-\DeclareMathSymbol{\bbOmega}{\mathord}{bboldx}{10}
-\DeclareMathSymbol{\bbalpha}{\mathord}{bboldx}{11}
-\DeclareMathSymbol{\bbbeta}{\mathord}{bboldx}{12}
-\DeclareMathSymbol{\bbgamma}{\mathord}{bboldx}{13}
-\DeclareMathSymbol{\bbdelta}{\mathord}{bboldx}{14}
-\DeclareMathSymbol{\bbepsilon}{\mathord}{bboldx}{15}
-\DeclareMathSymbol{\bbzeta}{\mathord}{bboldx}{16}
-\DeclareMathSymbol{\bbeta}{\mathord}{bboldx}{17}
-\DeclareMathSymbol{\bbtheta}{\mathord}{bboldx}{18}
-\DeclareMathSymbol{\bbiota}{\mathord}{bboldx}{19}
-\DeclareMathSymbol{\bbkappa}{\mathord}{bboldx}{20}
-\DeclareMathSymbol{\bblambda}{\mathord}{bboldx}{21}
-\DeclareMathSymbol{\bbmu}{\mathord}{bboldx}{22}
-\DeclareMathSymbol{\bbnu}{\mathord}{bboldx}{23}
-\DeclareMathSymbol{\bbxi}{\mathord}{bboldx}{24}
-\DeclareMathSymbol{\bbpi}{\mathord}{bboldx}{25}
-\DeclareMathSymbol{\bbrho}{\mathord}{bboldx}{26}
-\DeclareMathSymbol{\bbsigma}{\mathord}{bboldx}{27}
-\DeclareMathSymbol{\bbtau}{\mathord}{bboldx}{28}
-\DeclareMathSymbol{\bbupsilon}{\mathord}{bboldx}{29}
-\DeclareMathSymbol{\bbphi}{\mathord}{bboldx}{30}
-\DeclareMathSymbol{\bbchi}{\mathord}{bboldx}{31}
-\DeclareMathSymbol{\bbpsi}{\mathord}{bboldx}{32}
-\DeclareMathSymbol{\bbomega}{\mathord}{bboldx}{127}
-\let\imathbb\bbdotlessi
-\let\jmathbb\bbdotlessj
+ %  \newcommand*{\txtbbGamma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char0 }}
+%  \newcommand*{\txtbbDelta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char1 }}
+%  \newcommand*{\txtbbTheta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char2 }}
+%  \newcommand*{\txtbbLambda}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char3 }}
+%  \newcommand*{\txtbbXi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char4 }}
+%  \newcommand*{\txtbbPi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char5 }}
+%  \newcommand*{\txtbbSigma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char6 }}
+%  \newcommand*{\txtbbUpsilon}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char7 }}
+%  \newcommand*{\txtbbPhi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char8 }}
+%  \newcommand*{\txtbbPsi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char9 }}
+%  \newcommand*{\txtbbOmega}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char10 }}
+%  \newcommand*{\txtbbalpha}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char11 }}
+%  \newcommand*{\txtbbbeta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char12 }}
+%  \newcommand*{\txtbbgamma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char13 }}
+%  \newcommand*{\txtbbdelta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char14 }}
+%  \newcommand*{\txtbbepsilon}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char15 }}
+%  \newcommand*{\txtbbzeta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char16 }}
+%  \newcommand*{\txtbbeta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char17 }}
+%  \newcommand*{\txtbbtheta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char18 }}
+%  \newcommand*{\txtbbiota}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char19 }}
+%  \newcommand*{\txtbbkappa}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char20 }}
+%  \newcommand*{\txtbblambda}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char21}}
+%  \newcommand*{\txtbbmu}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char22 }}
+%  \newcommand*{\txtbbnu}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char23 }}
+%  \newcommand*{\txtbbxi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char24 }}
+%  \newcommand*{\txtbbpi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char25 }}
+%  \newcommand*{\txtbbrho}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char26 }}
+%  \newcommand*{\txtbbsigma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char27 }}
+%  \newcommand*{\txtbbtau}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char28 }}
+%  \newcommand*{\txtbbupsilon}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char29 }}
+%  \newcommand*{\txtbbphi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char30 }}
+%  \newcommand*{\txtbbchi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char31 }}
+%  \newcommand*{\txtbbpsi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char32 }}
+%  \newcommand*{\txtbbomega}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char127 }}
+%  \newcommand*{\txtbbdotlessi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char128 }}
+%  \newcommand*{\txtbbdotlessj}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char129 }}
+\fi
+% 
+    
+    
 \endinput
-- 
cgit v1.2.3

