ご質問はこちらへ
RFC: kanjimap-generator
after the discussion with 土村さん on the (wonderful) TeXConf12 yesterday I have written a kanjimap generator. It is a perl/Tk script which allows to select which fonts should be used for Mincho and Gothic in the various combinations, with or without OTF support, with or without ISO2004 support.
The generator creates all the necessary files to call
updmap-setup-kanji <newpackage>where the name <newpackage> is entered into the generator. Also, two map files
<newpackage>.map and <newpackage>-04.mapare generated that can be used directly with
dvipdfmx -f <newpackage>.map ....to test the combination of fonts.
Map files are generated in the current working directory and need to be moved to the proper locations (TEXMFLOCAL or TEXMFHOME/fonts/map/dvipdfmx/local/<newpackage>/ might be a good position), followed by a call to mktexlsr.
Please let me know what you think of it, and there are for sure a lot of bugs, and errors due to my misunderstanding. So please let me know if you find anything.
Thanks
Norbert
数式について
TeX ユーザの集い 2012
にて開催することになりました.昨年までと異なり,今年は関西での開催となり
ます.詳細は順次 http://oku.edu.mie-u.ac.jp/texconf12/ で公開してまいり
ます.
ご意見・ご要望などをお持ちの方は, texconf12(at)googlegroups.com までお
寄せいただければ幸いです.
TeXユーザの集い 2012
日程: 2012 年 10 月 27 日(土)
場所: 京都大学理学部 6 号館 401, 402 号室(京都市左京区北白川追分町,昨
年までとは違います.アクセス.)
公式サイト: http://oku.edu.mie-u.ac.jp/texconf12/
問合せ先: texconf12(at)googlegroups.com
Babel のテストファイルをコンパイル中に以下のエラーが出ます.
! LaTeX Error : Command \Asbuk already defind.
ファイル russian.def にコマンド \Asbuk の定義があります.
これが関係しているのでしょうか?
TeX の使用環境は以下の通りです.
・Windows 7 Professional
・\documentclass[a4paper,12pt]{jarticle} で使用.
・logファイル( babeltesttn.log )の内容を以下にコピーします.
・logファイルは,途中を省略してあります.
------------------------------------------------
This is e-pTeX, Version 3.1415926-p3.3-110825-2.4 (sjis)
(TeX Live 2012/W32TeX) (format=platex 2012.5.25) 20 OCT 2012 15:06
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**babeltesttn.tex
(./babeltesttn.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2011/06/27> patch level 0)
Babel <v3.8m> and hyphenation patterns for english, german-x-2011-07-01,
ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabic, armenian,
basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi,
finnish, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian, icelandic, assamese, bengali, gujarati, hindi, kannada,
malayalam, marathi, oriya, panjabi, tamil, telugu, indonesian, interlingua,
irish, italian, kurmanji, lao, latin, latvian, lithuanian, mongolian,
mongolianlmc, bokmal, nynorsk, polish, portuguese, romanian, russian,
sanskrit, serbian, serbianc, slovak, slovenian, spanish, swedish,
turkish, turkmen, ukrainian, uppersorbian, welsh, dumylang,
nohyphenation, loaded.
(c:/usr/local/share/texmf/tex/platex/base/jarticle.cls
(c:/usr/local/share/texmf/tex/platex/base/jsize12.clo
File: jsize12.clo 2006/06/27 v1.6 Standard pLaTeX file (size option)
(c:/usr/local/share/texmf/tex/latex/base/fontenc.sty
(c:/usr/local/share/texmf/tex/latex/cyrillic/ot2enc.def
(c:/usr/local/share/texmf/tex/latex/base/t1enc.def
(c:/usr/local/share/texmf/tex/latex/babeltn/babel.sty
(c:/usr/local/share/texmf/tex/latex/babeltn/dutch.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/babel.def
(c:/usr/local/share/texmf/tex/latex/babeltn/bahasai.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/basque.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/breton.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/bulgarian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/catalan.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/croatian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/czech.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/danish.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/dutch.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/esperanto.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/estonian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/finnish.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/frenchb.ldf
*************************************
* Local config file frenchb.cfg used
(c:/usr/local/share/texmf/tex/latex/babeltn/frenchb.cfg))
(c:/usr/local/share/texmf/tex/latex/babeltn/galician.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/germanb.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/greek.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/lgrenc.def
(c:/usr/local/share/texmf/tex/latex/babeltn/interlingua.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/irish.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/italian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/latin.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/lsorbian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/magyar.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/ngermanb.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/norsk.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/norsk.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/polish.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/portuges.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/romanian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/samin.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/swedish.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/scottish.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/serbian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/slovak.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/slovene.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/turkish.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/ukraineb.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/usorbian.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/welsh.ldf
(c:/usr/local/share/texmf/tex/latex/babeltn/english.ldf
(c:/usr/local/share/texmf/tex/tntexfiles/fromxpstytn/scalefnt.sty)
(c:/usr/local/share/texmf/tex/latex/graphics/keyval.sty
(c:/usr/local/share/texmf/tex/tntexfiles/mongoltn/montex/texinput/mls.sty
(c:/usr/local/share/texmf/tex/latex/base/ifthen.sty
File: diagnose.sty 2000/11/01 v0.2 Diagnostic Utility
(c:/usr/local/share/texmf/tex/tntexfiles/mongoltn/montex/texinput/mlstrans.tex
(c:/usr/local/share/texmf/tex/tntexfiles/mongoltn/montex/texinput/mlsgalig.te
(c:/usr/local/share/texmf/tex/tntexfiles/mongoltn/montex/texinput/buryat.def
(c:/usr/local/share/texmf/tex/tntexfiles/mongoltn/montex/texinput/english.def
(c:/usr/local/share/texmf/tex/tntexfiles/mongoltn/montex/texinput/russian.def
! LaTeX Error: Command \Asbuk already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
l.61 ...\Qh\or \"A\or \Yu\or \Ya\else\@ctrerr\fi}}
%
? h
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
? x
Here is how much of TeX's memory you used:
・・・・・・・・
No pages of output.
------------------------------------------------
以上です.何が原因でしょうか? 教えて下さい.よろしくおねがいします.
TEXMFの設定で反省
texmf-local側にあるスタイルファイル群にアクセスできなくなりました.
何が原因か最近やったことを振り返ってみました.
TeX WiKiの[TeX 関連情報]で[最新版 guishell の利用方法]というニュースがあり,これの内容に従い TEXMF と TEXMFCNF をシステム環境変数に追加したために生じたものでした.
自分の場合は,この環境変数を削除し,元通りにしたところ, texmf-local側にアクセスできるようにしました.
-----
texmf.cnfには
TEXMF = {$TEXMFHOME,$TEXMFPROJECTS,$TEXMFLOCAL,$TEXMFMAIN}
が定義されており,これを書き換えてしまった状態になったのが原因だったようです.
-----
ieicej.clsを用いた文書作成(MacTex 2012)
jsarticle での mediabb を使った pdf の取り込み
山下と申します.
最近 jsarticle などの js クラスを使い始めまして,
よく分からないところが出て来ましたのでお尋ねします.
美文書5版のどこかに,文字サイズを 14pt などにしても図のサイズを変更したくなければ,
寸法に全て「true」をつけ,例えば truemm などにすればよい,と書いてあったように思います.
普通に eps ファイルを includegraphics で読み込む際はそれで大丈夫だったのですが,
pdf ファイルを入れる場合はおかしくなってしまうように思います.
以下,apple.pdf は
http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?TeX%E5%85%A5%E9%96%80%2F%E5%9B%B3%E8%A1%A8
にあるものです.
jarticle クラスですと,以下の例のオプションを 12pt に変更しても,りんごはきちんと表示できます.
\documentclass[a4j,10pt]{jarticle}
\usepackage{mediabb}
\unitlength=1truemm
\begin{document}
\includegraphics[viewport=0truemm 0truemm 75truemm 88truemm, clip, keepaspectratio]{apple.pdf}
\end{document}
しかし,jsarticle クラスですと,10pt のときは適切に表示されるものの,
12pt などにするとりんごがはみ出ます.
\documentclass[a4j,10pt]{jsarticle}
\usepackage{mediabb}
\unitlength=1truemm
\begin{document}
\includegraphics[viewport=0truemm 0truemm 75truemm 88truemm, clip, keepaspectratio]{apple.pdf}
\end{document}
基本の文字サイズを変更しても,いつでも pdf が適切に表示されるよう設定することはできませんでしょうか.
以上,ご存じの方,ご教示頂ければ幸いです.