Re: ハイフネーションとBabel

名前: 栗山雅俊
日時: 2006-09-02 22:28:33
IPアドレス: 219.126.147.*

>>44608 本田さん、こんばんは。 \DeclareFontSubstitution についての解説、ありがとう ございます。 サンプルについては期待通りに処理できたかどうか覚束ない のですが、とりあえず > \DeclareEncoding{HOGE}{}{} は \DeclareFontEncoding{HOGE}{}{} > \f@famiy は \f@family でしょうか。 これで処理すると以下のようになりました。 要はフォント指定がなかったり誤っている場合に字義どおり 「代替する substitute 」ということなのですね。サンプル では最初 `HOGE/bar/foo/bee' で代替しようとするも未定義 のため、最終的には `OT1/cmr/m/n' で代替されたということ のようです。 ------------------------------------------------------- This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=latex 2006.2.16) 2 SEP 2006 04:56 entering extended mode **hyphenqa44608.tex (./hyphenqa44608.tex LaTeX2e <2003/12/01> Babel <v3.8h> and hyphenation patterns for american, british, french, german, n german, bahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esp eranto, estonian, finnish, ancientgreek, monogreek, polygreek, icelandic, irish , italian, latin, magyar, norsk, polish, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, turkish, ukrainian, interlingua, samin, usor bian, galician, mongolian, welsh, coptic, ibycus, pinyin, dumylang, nohyphenati on, loaded. (/usr/local/teTeX/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/local/teTeX/share/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.5 \DeclareFontShape{H OGE}{bar}{foo}{bee}{ <-> s * [2] cmr10 }{} ? h You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. ? (./hyphenqa44608.aux) \openout1 = `hyphenqa44608.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for HOGE/bar/foo/bee on input line 8. ! LaTeX Error: This NFSS system isn't set up properly. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.8 \begin{document} ? h For encoding scheme HOGE the defaults bar/foo/bee do not form a valid font shap e ? >>>>cmr::m::n LaTeX Font Info: Try loading font information for HOGE+cmr on input line 12. LaTeX Font Info: No file HOGEcmr.fd. on input line 12. LaTeX Font Warning: Font shape `HOGE/cmr/m/n' undefined (Font) using `HOGE/bar/foo/bee' instead on input line 12. LaTeX Font Warning: Font shape `HOGE/bar/foo/bee' undefined (Font) using `HOGE/bar/foo/bee' instead on input line 12. ! Corrupted NFSS tables. wrong@fontshape ...message {Corrupted NFSS tables} error@fontshape else let f... l.12 \fontencoding{HOGE}\selectfont AAAA ? h This error message was generated by an \errmessage command, so I can't give any explicit help. Pretend that you're Hercule Poirot: Examine all clues, and deduce the truth by order and method. ? LaTeX Font Warning: Font shape `HOGE/bar/foo/bee' undefined (Font) using `OT1/cmr/m/n' instead on input line 12. [1 ] (./hyphenqa44608.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. ) Here is how much of TeX's memory you used: 214 strings out of 94299 2351 string characters out of 1170095 47198 words of memory out of 1000000 3529 multiletter control sequences out of 10000+50000 3640 words of font info for 14 fonts, out of 500000 for 2000 678 hyphenation exceptions out of 1000 23i,4n,17p,151b,121s stack positions out of 1500i,500n,5000p,200000b,5000s Output written on hyphenqa44608.dvi (1 page, 276 bytes).

この書き込みへの返事:

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