ご質問はこちらへ
bxjaprnindパッケージが処理できない
以下,その問題の再現を記載します.
作業環境はWindows8.1,W32TeX,upLaTeX+dvipdfmx,TeXworksです.
LaTeXコード(.tex)
------------------------------
%% Document class
\documentclass[a4paper,10pt,twocolumn]{utarticle}
\usepackage{lltjp-geometry}
\usepackage[pass,dvipdfm]{geometry}
\usepackage{bxjaprnind}
%% Font command
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[uplatex]{otf}
\usepackage{lmodern}
\renewcommand{\rmdefault}{ptm}
\usepackage[scaled]{helvet}
\frenchspacing
\begin{document}
彼女は尋ねた.
「どうして?」
彼はため息をつきながら答えた.
「誠に残念な事だが、ここは現実世界だ」
「それは解っている!」
\end{document}
------------------------------
DOSコマンド(.bat)
------------------------------
uplatex -jobname="%~n1" -kanji=utf8 -no-guess-input-enc %1 && ^
uplatex -jobname="%~n1" -kanji=utf8 -no-guess-input-enc %1 && ^
dvipdfmx -f embase14.map -f hiraginopron.map "%~n1"
------------------------------
処理のログ(TeXworksのコンソール出力)
------------------------------
This is e-upTeX, Version 3.14159265-p3.7-u1.20-150805-2.6 (utf8.uptex) (TeX Live 2015/W32TeX) (preloaded format=uplatex)
restricted \write18 enabled.
entering extended mode
(./ut.tex
pLaTeX2e <2011/05/07u00>+0 (based on LaTeX2e <2015/10/01> patch level 2)
Babel <3.9m> and hyphenation patterns for 79 languages loaded.
(c:/w32tex/share/texmf-dist/tex/uplatex/base/utarticle.cls
Document Class: utarticle 2011/05/07 v1.6_u00 Standard upLaTeX class
(c:/w32tex/share/texmf-dist/tex/uplatex/base/utsize10.clo)
(c:/w32tex/share/texmf-dist/tex/platex/base/plext.sty))
(c:/w32tex/share/texmf-local/tex/latex/lltjp-geometry.sty
(c:/w32tex/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(c:/w32tex/share/texmf-dist/tex/latex/filehook/filehook.sty))
(c:/w32tex/share/texmf-dist/tex/latex/geometry/geometry.sty
(c:/w32tex/share/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/w32tex/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(c:/w32tex/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(c:/w32tex/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(c:/w32tex/share/texmf-dist/tex/latex/geometry/geometry.cfg))
(c:/w32tex/share/texmf-dist/tex/latex/geometry/geometry.cfg)
(c:/w32tex/share/texmf-dist/tex/latex/bxjatool/bxjaprnind.sty
(c:/w32tex/share/texmf-dist/tex/latex/bxbase/bxtoolbox.sty
(c:/w32tex/share/texmf-dist/tex/latex/bxbase/bxtoolbox.def
(c:/w32tex/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty))
(c:/w32tex/share/texmf-dist/tex/latex/bxbase/bxtoolbox-ext.def)
(c:/w32tex/share/texmf-dist/tex/latex/bxbase/bxtoolbox-ja.def
(c:/w32tex/share/texmf-dist/tex/latex/pxbase/pxbsjc.def)
! Improper alphabetic or KANJI constant.
<to be read again>
\@nil
l.129 \expandafter\bxtb@tmpb\bxtb@tmpa\@nil
?
------------------------------
エラーとされている部分
------------------------------
bxtoolbox-ja.def 129
Improper alphabetic or KANJI constant.
<to be read again>
\@nil
l.129 \expandafter\bxtb@tmpb\bxtb@tmpa\@nil
------------------------------
この問題への対処をご教授ください.よろしくお願いします.
tikzで作成した図の位置を指定し表示したいです。
extractbbのInvalid xref table
TeX Live 中の min10.tfm が古いものに巻き戻っている?
lv で表示させたところ
(CHARSINTYPE O 3
ゞ 〃 々 ∴ ♂ ♀ $ ¢ £ ぁ
ぃ ぅ ぇ ぉ っ ゃ ゅ ょ ゎ ァ
ィ ゥ ェ ォ ッ ャ ュ ョ ヮ ヵ
ヶ ^@
)
と,「ヶ」の後ろに余計なエントリがありました.
od -t x1 でバイト列を確認したところ,
> 0001100 25 76 00 03 25 77 00 03 04 11 01 00 02 11 01 51
となっており,余計なエントリは「JIS コード 2577」 です.
いくつか調べてみたところ,
* W32TeX: 1196 バイト
* tetex3, ptexlive2009: 1196 バイト
* TL 2011, 2013, 2014: 1200 バイト
* TL source 内の web2c/[u]ptexdir/tests/: 1196 バイト
* TL source 内の makejvf/tests/: 1200 バイト
と,サイズの異なる 2 種類の min10.tfm が混ざっていました.
pTeX の公式ページをみると,
pLaTeX <2004/08/10> (ptex-texmf-2.2.tar.gz) の変更点として
> min, goth, nmin, ngoth のtfmに余計な文字コードの定義があったので 削除。
とあるので,1196 バイトの方が現在では正式なのだと思います.
# pTeX 公式から落とせる standard.tar.gz 中の min10.tfm も
# 「古い」1200 バイトのものでした.混ざった原因はこれ?
旧TeX Q&Aのサイト内検索の不具合報告
¥refした時に式番号がおなじになってしまう
%
\usepackage[top=2cm, bottom=1cm, left=2cm, right=2cm, includefoot]{geometry}
\usepackage[dvipdfmx]{graphicx}
\usepackage[dvipdfmx, hidelinks]{hyperref}
\usepackage[at]{easylist}
%
\subsubsection{光度}
\begin{eqnarray}
M=m+5-5\log_{10} pc &M&:絶対等級\\
&m&:視等級\nonumber
\label{eq:絶対等級}
\end{eqnarray}
\begin{eqnarray}
L=10^{0.4\left(M_{\odot}-M\right)}L_{\odot} &M_{\odot}&:太陽質量\\
&L_{\odot}&:太陽光度\nonumber
\label{eq:L}
\end{eqnarray}
天体の光度は天体観測から直接決定することはできない.唯一決定される値が視等級mと距離pc(パーセク)である.式\ref{eq:絶対等級}を用いると視等級mを絶対等級Mに変換することができる.そして式\ref{eq:L}に絶対等級Mを代入することで光度Lを求めることができる.
\subsubsection{質量光度比}
天体の質量と光度の比を質量光度比といい,通常太陽の値で規格化した値としてM/Lであらわす.すなわち,天体の質量を$M_{p}$,光度を$L_{p}$とすると
\begin{eqnarray}
M/L=\frac{M_{p}/M_{\odot}}{L_{p}/L_{\odot}}
\label{eq:質量光度比}
\end{eqnarray}
以上が出力前の概要です
ここでは式が3つあるから
参照しようと次のように記述すると
式\ref{eq:絶対等級},式\ref{eq:L},式\ref{eq:質量光度比}
出力後には
式1式2式2
となってしまいます
解決するにはどうしたら良いですか
otf パッケージを読み込むと PDF の埋め込みフォントが変わる
tlmgr 39277 警告がでますが問題ないですか?
tlmgr update --self
をしろというので,更新すると
39006 -> 39277
になって,そのあと
tlmgr update -all
をすると
Unrecognized escape \k passed through at (eval 24) line 1.
Unrecognized escape \A passed through at (eval 24) line 1.
Unrecognized escape \T passed through at (eval 24) line 1.
Unrecognized escape \k passed through at (eval 24) line 1.
Unrecognized escape \A passed through at (eval 24) line 1.
Unrecognized escape \T passed through at (eval 24) line 1.
と出てきます.
問題がなければ放置しますが,どうなんでしょうか