Re: Babel:バルト三カ国語/Romanian

名前: ZR
日時: 2007-02-13 09:15:06
IPアドレス: 59.140.98.*

>>46954 ># ルーマニア語用の定義が欠落しているのは,チェコ語・スロバキア語用 ># パッケージなので必要がないからか,あるいは,単に忘れたのか不明ですが。 CS フォント(csr10 等)にはルーマニア語の文字は入っていません。 csr10 のコード表を出力してみてください。 # 例えば "tex testfont" とか。 (>>46951) >エンコーディング名を変えるかというのは、結局、CS フォント(csr10 とか)と >LM フォント(cs-lmr10 とか)のエンコーディングのどちらを "IL2" と呼ぶかと >いう認識の問題だと思います。 と書いたのは「両者のエンコーディングが同一ではない」という認識があった からです。 >! Corrupted NFSS tables. >wrong@fontshape ...message {Corrupted NFSS tables} >l.100 \fontencoding\encodingdefault\selectfont >このようなエラーがでました。そこで,独自に fd を作ってみました。 il2enc.def (か myil2enc.sty)には \DeclareFontSubstitution{IL2}{cmr}{m}{n} と書いてあるのに il2cmr.fd がない、あるいは il2cmr.fd の中に \DeclareFontShape{IL2}{cmr}{m}{n}{...} がないのだと思われます。"lmr" の方があってもダメです。il2lmr.fd だけで 済ませるには \DeclareFontSubstitution{IL2}{lmr}{m}{n} が指定されていないといけません。 (>>44669 の関連の話。) ---- LM に合わせた IL2 の定義。 %<myil2enc.sty> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{myil2enc}[2007/02/13] \DeclareFontEncoding{IL2}{}{} \DeclareFontSubstitution{IL2}{lmr}{m}{n} \DeclareTextAccent{\"}{IL2}{127} \DeclareTextAccent{\'}{IL2}{19} \DeclareTextAccent{\.}{IL2}{95} \DeclareTextAccent{\=}{IL2}{22} \DeclareTextAccent{\^}{IL2}{94} \DeclareTextAccent{\`}{IL2}{18} \DeclareTextAccent{\~}{IL2}{126} \DeclareTextAccent{\H}{IL2}{125} \DeclareTextAccent{\u}{IL2}{21} \DeclareTextAccent{\v}{IL2}{20} \DeclareTextAccent{\r}{IL2}{23} \DeclareTextCommand{\b}{IL2}[1] {\hmode@bgroup\o@lign{\relax#1\crcr\hidewidth\ltx@sh@ft{-3ex}% \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}\egroup} \DeclareTextCommand{\c}{IL2}[1] {\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1% \else{\ooalign{\unhbox\z@\crcr\hidewidth\char24\hidewidth}}\fi} \DeclareTextCommand{\d}{IL2}[1] {\hmode@bgroup \o@lign{\relax#1\crcr\hidewidth\ltx@sh@ft{-1ex}.\hidewidth}\egroup} \DeclareTextCommand{\k}{IL2}[1] {\hmode@bgroup\ooalign{\null#1\crcr\hidewidth\char"9D}\egroup} \DeclareTextCommand{\textogonekcentered}{IL2}[1] {\hmode@bgroup\ooalign{\null#1\crcr\hidewidth\char"9D\hidewidth}\egroup} \DeclareTextSymbol{\AE}{IL2}{29} \DeclareTextSymbol{\OE}{IL2}{30} \DeclareTextSymbol{\O}{IL2}{31} \DeclareTextSymbol{\ae}{IL2}{26} \DeclareTextSymbol{\i}{IL2}{16} \DeclareTextSymbol{\j}{IL2}{17} \DeclareTextSymbol{\oe}{IL2}{27} \DeclareTextSymbol{\o}{IL2}{28} \DeclareTextSymbol{\ss}{IL2}{25} \DeclareTextSymbol{\textemdash}{IL2}{124} \DeclareTextSymbol{\textendash}{IL2}{123} \DeclareTextCommand{\textexclamdown}{IL2}{!`} \DeclareTextCommand{\textquestiondown}{IL2}{?`} \DeclareTextSymbol{\textquotedblleft}{IL2}{92} \DeclareTextSymbol{\textquotedblright}{IL2}{`\"} \DeclareTextSymbol{\textquoteleft}{IL2}{`\`} \DeclareTextSymbol{\textquoteright}{IL2}{`\'} \DeclareTextSymbol{\L}{IL2}{"A3} \DeclareTextSymbol{\l}{IL2}{"B3} \DeclareTextCompositeCommand{\r}{IL2}{A} {\leavevmode\setbox\z@\hbox{!}\dimen@\ht\z@\advance\dimen@-1ex% \rlap{\raise.67\dimen@\hbox{\char23}}A} \DeclareTextCommand{\ij}{IL2}{% \nobreak\hskip\z@skip i\kern-0.02em j\nobreak\hskip\z@skip} \DeclareTextCommand{\IJ}{IL2}{% \nobreak\hskip\z@skip I\kern-0.02em J\nobreak\hskip\z@skip} \DeclareTextSymbol{\textdollar}{IL2}{`\$} \DeclareTextSymbol{\textbackslash}{IL2}{`\\} \DeclareTextSymbol{\textellipsis}{IL2}{"80} \DeclareTextSymbol{\textdagger}{IL2}{"81} \DeclareTextSymbol{\textdaggerdbl}{IL2}{"82} \DeclareTextSymbol{\textbullet}{IL2}{"83} \DeclareTextSymbol{\textsterling}{IL2}{"84} \DeclareTextSymbol{\textparagraph}{IL2}{"85} \DeclareTextSymbol{\texteuro}{IL2}{"86} \DeclareTextSymbol{\texttrademark}{IL2}{"88} \DeclareTextSymbol{\textcopyright}{IL2}{"89} \DeclareTextSymbol{\textregistered}{IL2}{"8A} \DeclareTextSymbol{\textperthousand}{IL2}{"8D} \DeclareTextSymbol{\guilsinglleft}{IL2}{"8E} \DeclareTextSymbol{\guilsinglright}{IL2}{"8F} \DeclareTextSymbol{\textlongs}{IL2}{"95} \DeclareTextSymbol{\textflorin}{IL2}{"97} \DeclareTextSymbol{\quotesinglbase}{IL2}{"9A} \DeclareTextSymbol{\guillemotleft}{IL2}{"9E} \DeclareTextSymbol{\guillemotright}{IL2}{"9F} \DeclareTextSymbol{\textcurrency}{IL2}{"A4} \DeclareTextSymbol{\textsection}{IL2}{"A7} \DeclareTextSymbol{\textcurrency}{IL2}{"A4} \DeclareTextSymbol{\textdegree}{IL2}{"B0} \DeclareTextSymbol{\DH}{IL2}{"D0} \DeclareTextSymbol{\textmultiply}{IL2}{"D7} \DeclareTextSymbol{\dh}{IL2}{"F0} \DeclareTextSymbol{\textdivide}{IL2}{"F7} \DeclareTextSymbol{\textquotedblleft}{IL2}{"FE} \DeclareTextSymbol{\textquotedblright}{IL2}{"FF} \DeclareTextComposite{\.}{IL2}{i}{`\i} \DeclareTextComposite{\.}{IL2}{\i}{`\i} \DeclareTextCompositeCommand{\`}{IL2}{i}{\@tabacckludge`\i} \DeclareTextCompositeCommand{\"}{IL2}{i}{\"\i} \DeclareTextComposite{\`}{IL2}{A}{"98} \DeclareTextComposite{\k}{IL2}{A}{"A1} \DeclareTextComposite{\v}{IL2}{L}{"A5} \DeclareTextComposite{\'}{IL2}{S}{"A6} \DeclareTextComposite{\v}{IL2}{S}{"A9} \DeclareTextComposite{\c}{IL2}{S}{"AA} \DeclareTextComposite{\v}{IL2}{T}{"AB} \DeclareTextComposite{\'}{IL2}{Z}{"AC} \DeclareTextComposite{\v}{IL2}{Z}{"AE} \DeclareTextComposite{\.}{IL2}{Z}{"AF} \DeclareTextComposite{\k}{IL2}{a}{"B1} \DeclareTextComposite{\v}{IL2}{l}{"B5} \DeclareTextComposite{\'}{IL2}{s}{"B6} \DeclareTextComposite{\`}{IL2}{a}{"B8} \DeclareTextComposite{\v}{IL2}{s}{"B9} \DeclareTextComposite{\c}{IL2}{s}{"BA} \DeclareTextComposite{\v}{IL2}{t}{"BB} \DeclareTextComposite{\'}{IL2}{z}{"BC} \DeclareTextComposite{\c}{IL2}{t}{"BD} \DeclareTextComposite{\v}{IL2}{z}{"BE} \DeclareTextComposite{\.}{IL2}{z}{"BF} \DeclareTextComposite{\'}{IL2}{R}{"C0} \DeclareTextComposite{\'}{IL2}{A}{"C1} \DeclareTextComposite{\^}{IL2}{A}{"C2} \DeclareTextComposite{\u}{IL2}{A}{"C3} \DeclareTextComposite{\"}{IL2}{A}{"C4} \DeclareTextComposite{\'}{IL2}{L}{"C5} \DeclareTextComposite{\'}{IL2}{C}{"C6} \DeclareTextComposite{\c}{IL2}{C}{"C7} \DeclareTextComposite{\v}{IL2}{C}{"C8} \DeclareTextComposite{\'}{IL2}{E}{"C9} \DeclareTextComposite{\k}{IL2}{E}{"CA} \DeclareTextComposite{\"}{IL2}{E}{"CB} \DeclareTextComposite{\v}{IL2}{E}{"CC} \DeclareTextComposite{\'}{IL2}{I}{"CD} \DeclareTextComposite{\^}{IL2}{I}{"CE} \DeclareTextComposite{\v}{IL2}{D}{"CF} \DeclareTextComposite{\'}{IL2}{N}{"D1} \DeclareTextComposite{\v}{IL2}{N}{"D2} \DeclareTextComposite{\'}{IL2}{O}{"D3} \DeclareTextComposite{\^}{IL2}{O}{"D4} \DeclareTextComposite{\H}{IL2}{O}{"D5} \DeclareTextComposite{\"}{IL2}{O}{"D6} \DeclareTextComposite{\v}{IL2}{R}{"D8} \DeclareTextComposite{\r}{IL2}{U}{"D9} \DeclareTextComposite{\'}{IL2}{U}{"DA} \DeclareTextComposite{\H}{IL2}{U}{"DB} \DeclareTextComposite{\"}{IL2}{U}{"DC} \DeclareTextComposite{\'}{IL2}{Y}{"DD} \DeclareTextComposite{\c}{IL2}{T}{"DE} \DeclareTextComposite{\'}{IL2}{r}{"E0} \DeclareTextComposite{\'}{IL2}{a}{"E1} \DeclareTextComposite{\^}{IL2}{a}{"E2} \DeclareTextComposite{\u}{IL2}{a}{"E3} \DeclareTextComposite{\"}{IL2}{a}{"E4} \DeclareTextComposite{\'}{IL2}{l}{"E5} \DeclareTextComposite{\'}{IL2}{c}{"E6} \DeclareTextComposite{\c}{IL2}{c}{"E7} \DeclareTextComposite{\v}{IL2}{c}{"E8} \DeclareTextComposite{\'}{IL2}{e}{"E9} \DeclareTextComposite{\k}{IL2}{e}{"EA} \DeclareTextComposite{\"}{IL2}{e}{"EB} \DeclareTextComposite{\v}{IL2}{e}{"EC} \DeclareTextComposite{\'}{IL2}{i}{"ED} \DeclareTextComposite{\'}{IL2}{\i}{"ED} \DeclareTextComposite{\^}{IL2}{i}{"EE} \DeclareTextComposite{\^}{IL2}{\i}{"EE} \DeclareTextComposite{\v}{IL2}{d}{"EF} \DeclareTextComposite{\'}{IL2}{n}{"F1} \DeclareTextComposite{\v}{IL2}{n}{"F2} \DeclareTextComposite{\'}{IL2}{o}{"F3} \DeclareTextComposite{\^}{IL2}{o}{"F4} \DeclareTextComposite{\H}{IL2}{o}{"F5} \DeclareTextComposite{\"}{IL2}{o}{"F6} \DeclareTextComposite{\v}{IL2}{r}{"F8} \DeclareTextComposite{\r}{IL2}{u}{"F9} \DeclareTextComposite{\'}{IL2}{u}{"FA} \DeclareTextComposite{\H}{IL2}{u}{"FB} \DeclareTextComposite{\"}{IL2}{u}{"FC} \DeclareTextComposite{\'}{IL2}{y}{"FD} %<EOF>

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)