See my responses and example LyX file...
On Wednesday 26 August 2009 13:02:03 Jürgen Spitzmüller wrote:
> Steve Litt wrote:
> > Indexing on several of my books failed after I moved from
> > Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x.
>
> What version of LyX exactly?
1.6.3:
==============================
sl...@mydesk:/d/at_mony/books$ lyx -version
LyX 1.6.3 (2009-06-03)
Built on Jul 14 2009, 08:43:32
Configuration
Host type: i486-pc-linux-gnu
Special build flags: aiksaurus warnings use-aspell use-ispell
C Compiler: gcc
C Compiler LyX flags:
C Compiler flags: -g -O2
C++ Compiler: g++ (4.3.3)
C++ Compiler LyX flags:
C++ Compiler flags: -g -O2
Linker flags:
Linker user flags: -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-
needed
Qt 4 Frontend:
Qt 4 version: 4.5.0
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx
sl...@mydesk:/d/at_mony/books$
==============================
>
> Could you provide a small example file (ideally both the original LyX 1.5
> and the converted LyX 1.6 version)?
I no longer have 1.5.x, but it doesn't matter. From scratch I created a tiny
LyX file using book document class, with one "right here" index entries, and
two "from here --- to here" entries. Here's how you reproduce the symptom:
lyx --export latex index_bug_simp.lyx
latex index_bug_simp.tex
makeindex index_bug_simp.idx
Here is the resulting .ilg file -- note the errors where I had index ranges:
==============================
This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning input file index_bug_simp.idx....
!! Input index error (file = index_bug_simp.idx, line = 2):
-- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 3):
-- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 4):
-- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 5):
-- Extra `@' at position 12 of first argument.
done (1 entries accepted, 4 rejected).
Sorting entries...done (0 comparisons).
Generating output file index_bug_simp.ind....done (5 lines written, 0
warnings).
Output written in index_bug_simp.ind.
Transcript written in index_bug_simp.ilg.
==============================
And the following is the .idx file producing those errors. Note the
misconfiguration of all index entries that were ranges:
==============================
\indexentry{chapter 1}{1}
\indexentry{chapter 2|(@chapter 2\textbar {}(}{2}
\indexentry{chapter 2|)@chapter 2\textbar{})}{2}
\indexentry{chapter 3|(@chapter 3\textbar {}(}{3}
\indexentry{chapter 3|)@chapter 3\textbar{})}{3}
==============================
How did the at sign (@) and \textbar get put in there? I specified no specific
formatting.
Anyway, index_bug_simp.lyx is attached.
Thanks
SteveT
>
> Jürgen
--
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt
index_bug_simp.lyx
Description: application/lyx
