名前: 越 日時: 2006-10-02 10:49:56 IPアドレス: 133.253.102.*
>>45211 >>45214 稲垣様,栗山様,こんにちは. 私のTeXはギリシア語未対応につき,下記ソースで確認しました. (ひととおりの必要なアクセント類・記号類を入れたつもりです. アラビア語には,「"'」で単独のハムザを入れてみました.) \documentclass{article} \usepackage[spanish,english]{babel} \usepackage{arabtex} \begin{document} \begin{otherlanguage}{spanish} "<~N~n"> "?~A~a ~E~e ~I~i ~O~o ~U~u? "!"U"u "C"c ~C~c! 1"er 1"o 1"a $\lim$ \end{otherlanguage} "<~N~n"> "?~A~a ~E~e ~I~i ~O~o ~U~u? "!"U"u "C"c ~C~c! 1"er 1"o 1"a $\lim$ {\selectlanguage{spanish} "<~N~n"> "?~A~a ~E~e ~I~i ~O~o ~U~u? "!"U"u "C"c ~C~c! 1"er 1"o 1"a $\lim$ } \RL{```arabiyyaT 'amruN "'u''} \end{document} 現行 spanish.ldf との互換性を考慮して,稲垣様の定義ファイル に次の変更 (diff.exe による)を加えたもので試したところ,ほぼうまく通りますが,$\lim$ だけがだめです. 通常 l\'{\i}m のようにアクセントが付くのですが,今回の結果では付きませんでした. *************** *** 547,555 **** --- 547,569 ---- \babel@save\'% \def\'#1{\if#1i\es@accent\'{19}\i\else\es@accent\'{19}{#1}\fi}} \fi %<<<<<< + \declare@shorthand{spanish}{"a}{\protect\es@sptext{a}} + \declare@shorthand{spanish}{"A}{\protect\es@sptext{A}} + \declare@shorthand{spanish}{"o}{\protect\es@sptext{o}} + \declare@shorthand{spanish}{"O}{\protect\es@sptext{O}} + \declare@shorthand{spanish}{"e}{\protect\es@sptext@r{e}} + \declare@shorthand{spanish}{"E}{\protect\es@sptext@r{E}} \def\es@sptext@r#1#2{\es@sptext{#1#2}} + \declare@shorthand{spanish}{"u}{\"u} + \declare@shorthand{spanish}{"U}{\"U} + + \declare@shorthand{spanish}{"c}{\c{c}} + \declare@shorthand{spanish}{"C}{\c{C}} + + \declare@shorthand{spanish}{"<}{\guillemotleft{}} + \declare@shorthand{spanish}{">}{\guillemotright{}} \declare@shorthand{spanish}{"-}{\bbl@allowhyphens\-\bbl@allowhyphens} \declare@shorthand{spanish}{"=}% {\bbl@allowhyphens\char\hyphenchar\font\hskip\z@skip} *************** *** 612,633 **** \bbl@activate{"}} \addto\noextrasspanish{\bbl@deactivate{"}} ! \declare@shorthand{spanish}{"a}{\@tabacckludge'a}% ! \declare@shorthand{spanish}{"A}{\@tabacckludge'A}% ! \declare@shorthand{spanish}{"e}{\@tabacckludge'e}% ! \declare@shorthand{spanish}{"E}{\@tabacckludge'E}% ! \declare@shorthand{spanish}{"i}{\@tabacckludge'i}% ! \declare@shorthand{spanish}{"I}{\@tabacckludge'I}% ! \declare@shorthand{spanish}{"o}{\@tabacckludge'o}% ! \declare@shorthand{spanish}{"O}{\@tabacckludge'O}% ! \declare@shorthand{spanish}{"u}{\@tabacckludge'u}% ! \declare@shorthand{spanish}{"U}{\@tabacckludge'U}% ! \declare@shorthand{spanish}{"n}{\~n}% ! \declare@shorthand{spanish}{"N}{\~N}% ! \declare@shorthand{spanish}{"c}{\c{c}} ! \declare@shorthand{spanish}{"C}{\c{C}} ! \declare@shorthand{spanish}{"<}{\guillemotleft{}} ! \declare@shorthand{spanish}{">}{\guillemotright{}} \def\es@enumerate#1#2#3#4{% \def\es@enum{{#1}{#2}{#3}{#4}}} --- 626,647 ---- \bbl@activate{"}} \addto\noextrasspanish{\bbl@deactivate{"}} ! \declare@shorthand{spanish}{~a}{\@tabacckludge'a}% ! \declare@shorthand{spanish}{~A}{\@tabacckludge'A}% ! \declare@shorthand{spanish}{~e}{\@tabacckludge'e}% ! \declare@shorthand{spanish}{~E}{\@tabacckludge'E}% ! \declare@shorthand{spanish}{~i}{\@tabacckludge'i}% ! \declare@shorthand{spanish}{~I}{\@tabacckludge'I}% ! \declare@shorthand{spanish}{~o}{\@tabacckludge'o}% ! \declare@shorthand{spanish}{~O}{\@tabacckludge'O}% ! \declare@shorthand{spanish}{~u}{\@tabacckludge'u}% ! \declare@shorthand{spanish}{~U}{\@tabacckludge'U}% ! \declare@shorthand{spanish}{~n}{\~n}% ! \declare@shorthand{spanish}{~N}{\~N}% ! \declare@shorthand{spanish}{~c}{\c{c}} ! \declare@shorthand{spanish}{~C}{\c{C}} ! \declare@shorthand{spanish}{~<}{\guillemotleft{}} ! \declare@shorthand{spanish}{~>}{\guillemotright{}} \def\es@enumerate#1#2#3#4{% \def\es@enum{{#1}{#2}{#3}{#4}}}
この書き込みへの返事: