ご質問はこちらへ
hirapropパッケージがインストールできない
TLUtils::download_file: persistent connection ok, but download failed: http://texlive.texjp.org/current/tltex/tlpkg/texlive.tlpdb.xz
TLUtils::download_file: retrying with wget.
TLUtils::download_file: retry with wget failed: http://texlive.texjp.org/current/tltex/tlpkg/texlive.tlpdb.xz
TLDownload::get_file: response error: 404 Not Found (for http://texlive.texjp.org/current/tltex/tlpkg/texlive.tlpdb)
TLUtils::download_file: persistent connection ok, but download failed: http://texlive.texjp.org/current/tltex/tlpkg/texlive.tlpdb
TLUtils::download_file: retrying with wget.
TLUtils::download_file: retry with wget failed: http://texlive.texjp.org/current/tltex/tlpkg/texlive.tlpdb
mendexのコンソール出力が変になる2
■各種情報
* OS:universal-darwin, x86_64-darwinが動くMac OS X
* こちらで試したMac OS X:10.6.8, 10.11.6
* TeX Live環境:TeX Live 2016最新版もしくは次期TeX Live 2017 svn 20170401時点の自己ビルドの mendex, upmendex
■不具合の再現
mendbug2.tar.gz を展開して、
$ mendex -r -c -s mendbug2.ist ooo-bug-ebook.idx
もしくは
$ upmendex -r -c -s mendbug2.ist ooo-bug-ebook.idx
を実行しますと、期待するログファイル名ooo-bug-ebook.ilgでないファイル名となる場合があります。
これを 100 回実行する ./run2.sh を数回ほど実行して、
必要な部分だけgrepで抽出したログを以下に貼り付けます。
以下のように、期待するログファイル名ooo-bug-ebook.ilgでないファイル名となる場合があることが分かります。
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilPTEX_IN_FILTER.mendex.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.il.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilp?星?.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilPTEX_IN_FILTER.mendex.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.ilp?@?.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilしせんすう.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il自然数.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il?.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il?@.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.il?FP.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.il自然数.
0 warnings, written in ooo-bug-ebook.il.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.ilしせんすう.
$ ./run2.sh 2>&1 | tee run2.log | grep "0 warnings, written in" | grep -v "ebook.ilg.$"
0 warnings, written in ooo-bug-ebook.il??.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
0 warnings, written in ooo-bug-ebook.ilアカサタナハマヤラワ.
■その他
* idxのファイル名の長さかファイル名の文字列に依り、本不具合が起こる場合がありました。
* idxファイルの内容を変えると、別の文字列がログファイルの拡張子部分に現れます。
* Mac OS XのTeX Live 2012から2015までのmendex, upmendexでは、本不具合が発生しませんでした。Mac OS Xのバージョンに依らずに本件が発生しそうです。
* LinuxのTeX Live 2012から2016まで, 2017dev(svn 20170401時点の自己ビルド)のmendex, upmendex では、本不具合が発生しませんでした。Windowsでは本件を未調査です。
以上、まずは報告のみです。
xyzzy+katexについて
文字をCID番号の文字で置き換える方法について
\documentclass{jarticle}
\usepackage{otf}
\catcode`\@=11
\newcommand{\test}[2]{
\catcode"#1=\active
\begingroup
\lccode`\~="#1\relax
\lowercase{\gdef~}{#2}
\endgroup}
\catcode`\@=12
\begin{document}
1
\test{0031}{\CID{18}}
1
\end{document}