作者Xaos2 (Xaos2)
看板LaTeX
标题[问题] Index 的格式
时间Fri Dec 21 16:38:11 2007
利用 LaTeX 来编一本中文书的索引,AAA.tex 为文件档,查到索引的样式可
以自己设定在 AAA.mst内,可是每次 latex AAA.tex 後、再 makeindex AAA.idx
就会出错、编译不出来。是哪里出错了吗?要如何改正?谢谢。
-------- AAA.mst (和AAA.tex放在一起)------
%%
page_compositor "$\sim$"
heading_prefix "{\\bfseries\\hfil "
heading_suffix "\\hfil}\\nopagebreak\n"
headings_flag 1
delim_0 "\\dotfill "
delim_1 "\\dotfill "
delim_2 "\\dotfill "
-------------------------------------------
-------- AAA.idx ------------------------------
\indexentry{?179?196?74?90}{1-1}
\indexentry{effective focal length, EFL}{1-1}
\indexentry{?225?74?90}{1-1}
....
...
..
.
-----------------------------------------------
-------- AAA.ilg ------------------------------
This is makeindex.exe, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning style file AAA.mst.......done (7 attributes redefined, 0 ignored).
Scanning input file AAA.idx...
!! Input index error (file = AAA.idx, line = 1):
-- Illegal Arabic digit: position 2 in 1-1.
!! Input index error (file = AAA.idx, line = 2):
-- Illegal Arabic digit: position 2 in 1-1.
!! Input index error (file = AAA.idx, line = 3):
-- Illegal Arabic digit: position 2 in 1-1.
!! Input index error (file = AAA.idx, line = 4):
-- Illegal Arabic digit: position 2 in 1-1.
!! Input index error (file = AAA.idx, line = 5):
-- Illegal Arabic digit: position 2 in 1-1.
!! Input index error (file = AAA.idx, line = 6):
-- Illegal Arabic digit: position 2 in 1-1.
.....
....
...
..
.
---------------------------------------------------
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.115.40.84