こんにちは。 以下のエラー(バグ)を報告させていただきます。 (GitHubにあげるべきでしたらすみません、こちらのコミュニティが活発なので。。。)
以下のmain.tex を uplatex で処理しますと、以下のエラーが発生します。 bxjsarticle クラス(bxjsarticle 2023/07/01 v2.8b BXJS document classes)と bm パッケージ(bm 2022/01/05 v1.2f Bold Symbol Support (DPC/FMi)) が衝突しているようです。 jsarticle クラスを使用する場合は発生しません。 ログファイルも添付いたします。
対症療法として、bm → amsfonts の順に読み込むと、\boldsymbol{\mathsf{hoge} はOKなので、そちらを使うとよさそうです。
--------------------------------------- 以下 main.tex ---------------------------------------------------
\RequirePackage{plautopatch}
\documentclass[uplatex,dvi = dvipdfmx,ja=standard]{bxjsarticle}
%\documentclass[uplatex,dvipdfmx]{jsarticle}
\RequirePackage{bm}
\begin{document}
Sans serif no bold: $\mathsf{A}$
Sans serif bold: $\boldsymbol{\mathsf{A}}$
Sans serif bold2: $\bm{\mathsf{A}}$
\end{document}
--------------------------------------- 以下エラーメッセージ(の一部)---------------------------------------------------
\DualLang@mathalph@bet ... \let \DualLang@Mfontsw
\DLMfontsw@standard \else ...
l.9 Sans serif bold: $\boldsymbol{\mathsf{A}}
$
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), typeI' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.