ご質問はこちらへ
bxjsarticleとbmパッケージの衝突について
こんにちは。 以下のエラー(バグ)を報告させていただきます。 (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.
藤村の『若菜集』、以前は正常に動作していたのですが、エラーで止まつてしまいます。
藤田先生のスタイルファイルが使えない。
macOSは12
TwXShop(5.24)を使っています。 コンパイルできないファイルはすべて藤田眞作先生のkokugo.styなどをつかった縦書きの国語テストです。
/usr/local/texlive/2021/texmf-dist/tex/latex/kokugoの中に藤田先生のスタイルファイルを入れています。
スタイルファイルはすべてUTF-8にエンコーディングしなおしました。
コンパイルすると
LaTeX Error: File `tkokugo.sty' not found.
とでます。
よろしくご教示ください。
小生latexはつかえますが、その仕組みなどはさっぱり理解できていません。
よろしくお願いいたします。
ユニコード統合漢字 U+22931「𢤱」
環境:e-upTeX, Version 3.141592653-p4.0.0-u1.28-220214-2.6 (utf8.uptex) (TeX Live 2022) (preloaded format=uplatex)
M1のマックmacOS Sonoma 14.1.2で使っています
多言語環境は、以下のような感じで設定しています
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage[prefernoncjk]{pxcjkcat}
\usepackage{extaccent,DeclareUnicode}
\usepackage[schinese,japanese]{pxbabel}
どのフォントが必要で、どうしたら使用できるのかというレベルから分かりません
よろしくお願いします