Re: Did something about indexes change between 1.5.x and 1.6.x?
Vincent van Ravesteijn wrote: Your testfile works perfectly for me with 1.6.3. Same here, bot from LyX itself and via command line export. Jürgen
Re: Did something about indexes change between 1.5.x and 1.6.x?
Vincent van Ravesteijn wrote: Your testfile works perfectly for me with 1.6.3. Same here, bot from LyX itself and via command line export. Jürgen
Re: Did something about indexes change between 1.5.x and 1.6.x?
Vincent van Ravesteijn wrote: > Your testfile works perfectly for me with 1.6.3. Same here, bot from LyX itself and via command line export. Jürgen
Did something about indexes change between 1.5.x and 1.6.x?
Hi all, Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x. Here are some errors from the .ilg file: = This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support). Scanning style file ./rl_21.ist..done (2 attributes redefined, 0 ignored). Scanning input file RL21.jqVMOhYaDS.idx !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 14): -- Extra `@' at position 10 of first argument. !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 15): -- Extra `@' at position 10 of first argument. !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 16): -- Extra `@' at position 20 of first argument. = And here are lines 12-16 of the .ind file. Note lines 12 and 13 produce no error, but are just included to exploit the differences: = \indexentry{Ph.D.|see{post graduate degree}}{i} \indexentry{Cobol|hyperpage}{1} \indexentry{college|(@college\textbar {}(}{2} \indexentry{college|)@college\textbar{})}{2} \indexentry{community college|(@community college\textbar {}(}{2} = In fact, line 14 that references college|( was the first index entry in the file to specify a range rather than this page like lines 12 and 13. The following is the LyX file's entry corresponding to college|( and college|) and the material in between: = \begin_layout Subsection \begin_inset LatexCommand index name college|( \end_inset College \end_layout \begin_layout Standard College is great for learning unchanging principles, and unchanging principles can be very handy in technological survival. However, college is an ineffective way to keep up with technology. College courses typically teach technology two to ten years old in a world with two year technology lifespans. \begin_inset LatexCommand index name college|) \end_inset \end_layout = Finally, the following is the contents of my makeidx config file, which is called rl_21.ist = suffix_2p delim_r -- = So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Did something about indexes change between 1.5.x and 1.6.x?
So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? 4 Hours!? I thought you were the troubleshooting guru! (Sorry - couldn't resist) ;-)
Re: Did something about indexes change between 1.5.x and 1.6.x?
On Wednesday 26 August 2009 12:51:51 James C. Sutherland wrote: So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? 4 Hours!? I thought you were the troubleshooting guru! (Sorry - couldn't resist) ;-) :-) Reminds me of my mentor at the Pacific Stereo service department. When a fellow technician asked him how he fixed so many stereos every day, he said his fingers were like divining rods leading him to the bad transistor. I still haven't gotten that divining rod thing down, so 4 hours is still my story and I'm still sticking to it :-) But YOU can make it 10 minutes if you just tell me what changed about indexing between 1.5.x and 1.6.x. :-) SteveT
Re: Did something about indexes change between 1.5.x and 1.6.x?
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? Could you provide a small example file (ideally both the original LyX 1.5 and the converted LyX 1.6 version)? Jürgen
Re: Did something about indexes change between 1.5.x and 1.6.x?
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.inddone (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
Re: Did something about indexes change between 1.5.x and 1.6.x?
OK, I've researched it a little more, and during the lyx --export latex, LyX is converting a LyX idx inset containing chapter 2|( without the quotes to the following LaTeX: \index{chapter 2|(@chapter 2\textbar{}(} The stuff from the @ through the last ( is superflous and causes errors. I have two choices: 1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when converting from LyX to latex, or 2) Create a computer program to go through my entire LaTeX file after export, and remove all of those little extras. That would be incredibly kludgy and I'd prefer not do do it. So does anyone know why LyX 1.6.3 adds the extraneous material on range index entries, and how I can turn off this behavior? Thanks SteveT On Wednesday 26 August 2009 13:35:22 Steve Litt wrote: 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.inddone (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
Re: Did something about indexes change between 1.5.x and 1.6.x?
Steve Litt schreef: OK, I've researched it a little more, and during the lyx --export latex, LyX is converting a LyX idx inset containing chapter 2|( without the quotes to the following LaTeX: \index{chapter 2|(@chapter 2\textbar{}(} The stuff from the @ through the last ( is superflous and causes errors. I have two choices: 1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when converting from LyX to latex, or 2) Create a computer program to go through my entire LaTeX file after export, and remove all of those little extras. That would be incredibly kludgy and I'd prefer not do do it. So does anyone know why LyX 1.6.3 adds the extraneous material on range index entries, and how I can turn off this behavior? LyX adds the stuf _before_ the @ to ensure that the entries are sorted correctly. For example if you have \index{\LyX}, then this would be sorted on top of the list, not among the other index entries that start with an l. Therefore lyx outputs \index{...@\lyx}. LyX does so whenever there is any character in the entry that is 'escaped' or a macro. In your case, LyX clearly thinks that he has to translate | into \textbar{}... , but this is wrong. LyX has learned to recognize the |. Your testfile works perfectly for me with 1.6.3. Vincent
Did something about indexes change between 1.5.x and 1.6.x?
Hi all, Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x. Here are some errors from the .ilg file: = This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support). Scanning style file ./rl_21.ist..done (2 attributes redefined, 0 ignored). Scanning input file RL21.jqVMOhYaDS.idx !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 14): -- Extra `@' at position 10 of first argument. !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 15): -- Extra `@' at position 10 of first argument. !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 16): -- Extra `@' at position 20 of first argument. = And here are lines 12-16 of the .ind file. Note lines 12 and 13 produce no error, but are just included to exploit the differences: = \indexentry{Ph.D.|see{post graduate degree}}{i} \indexentry{Cobol|hyperpage}{1} \indexentry{college|(@college\textbar {}(}{2} \indexentry{college|)@college\textbar{})}{2} \indexentry{community college|(@community college\textbar {}(}{2} = In fact, line 14 that references college|( was the first index entry in the file to specify a range rather than this page like lines 12 and 13. The following is the LyX file's entry corresponding to college|( and college|) and the material in between: = \begin_layout Subsection \begin_inset LatexCommand index name college|( \end_inset College \end_layout \begin_layout Standard College is great for learning unchanging principles, and unchanging principles can be very handy in technological survival. However, college is an ineffective way to keep up with technology. College courses typically teach technology two to ten years old in a world with two year technology lifespans. \begin_inset LatexCommand index name college|) \end_inset \end_layout = Finally, the following is the contents of my makeidx config file, which is called rl_21.ist = suffix_2p delim_r -- = So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Did something about indexes change between 1.5.x and 1.6.x?
So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? 4 Hours!? I thought you were the troubleshooting guru! (Sorry - couldn't resist) ;-)
Re: Did something about indexes change between 1.5.x and 1.6.x?
On Wednesday 26 August 2009 12:51:51 James C. Sutherland wrote: So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? 4 Hours!? I thought you were the troubleshooting guru! (Sorry - couldn't resist) ;-) :-) Reminds me of my mentor at the Pacific Stereo service department. When a fellow technician asked him how he fixed so many stereos every day, he said his fingers were like divining rods leading him to the bad transistor. I still haven't gotten that divining rod thing down, so 4 hours is still my story and I'm still sticking to it :-) But YOU can make it 10 minutes if you just tell me what changed about indexing between 1.5.x and 1.6.x. :-) SteveT
Re: Did something about indexes change between 1.5.x and 1.6.x?
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? Could you provide a small example file (ideally both the original LyX 1.5 and the converted LyX 1.6 version)? Jürgen
Re: Did something about indexes change between 1.5.x and 1.6.x?
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.inddone (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
Re: Did something about indexes change between 1.5.x and 1.6.x?
OK, I've researched it a little more, and during the lyx --export latex, LyX is converting a LyX idx inset containing chapter 2|( without the quotes to the following LaTeX: \index{chapter 2|(@chapter 2\textbar{}(} The stuff from the @ through the last ( is superflous and causes errors. I have two choices: 1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when converting from LyX to latex, or 2) Create a computer program to go through my entire LaTeX file after export, and remove all of those little extras. That would be incredibly kludgy and I'd prefer not do do it. So does anyone know why LyX 1.6.3 adds the extraneous material on range index entries, and how I can turn off this behavior? Thanks SteveT On Wednesday 26 August 2009 13:35:22 Steve Litt wrote: 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.inddone (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
Re: Did something about indexes change between 1.5.x and 1.6.x?
Steve Litt schreef: OK, I've researched it a little more, and during the lyx --export latex, LyX is converting a LyX idx inset containing chapter 2|( without the quotes to the following LaTeX: \index{chapter 2|(@chapter 2\textbar{}(} The stuff from the @ through the last ( is superflous and causes errors. I have two choices: 1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when converting from LyX to latex, or 2) Create a computer program to go through my entire LaTeX file after export, and remove all of those little extras. That would be incredibly kludgy and I'd prefer not do do it. So does anyone know why LyX 1.6.3 adds the extraneous material on range index entries, and how I can turn off this behavior? LyX adds the stuf _before_ the @ to ensure that the entries are sorted correctly. For example if you have \index{\LyX}, then this would be sorted on top of the list, not among the other index entries that start with an l. Therefore lyx outputs \index{...@\lyx}. LyX does so whenever there is any character in the entry that is 'escaped' or a macro. In your case, LyX clearly thinks that he has to translate | into \textbar{}... , but this is wrong. LyX has learned to recognize the |. Your testfile works perfectly for me with 1.6.3. Vincent
Did something about indexes change between 1.5.x and 1.6.x?
Hi all, Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x. Here are some errors from the .ilg file: = This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support). Scanning style file ./rl_21.ist..done (2 attributes redefined, 0 ignored). Scanning input file RL21.jqVMOhYaDS.idx !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 14): -- Extra `@' at position 10 of first argument. !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 15): -- Extra `@' at position 10 of first argument. !! Input index error (file = RL21.jqVMOhYaDS.idx, line = 16): -- Extra `@' at position 20 of first argument. = And here are lines 12-16 of the .ind file. Note lines 12 and 13 produce no error, but are just included to exploit the differences: = \indexentry{Ph.D.|see{post graduate degree}}{i} \indexentry{Cobol|hyperpage}{1} \indexentry{college|(@college\textbar {}(}{2} \indexentry{college|)@college\textbar{})}{2} \indexentry{community college|(@community college\textbar {}(}{2} = In fact, line 14 that references college|( was the first index entry in the file to specify a range rather than "this page" like lines 12 and 13. The following is the LyX file's entry corresponding to college|( and college|) and the material in between: = \begin_layout Subsection \begin_inset LatexCommand index name "college|(" \end_inset College \end_layout \begin_layout Standard College is great for learning unchanging principles, and unchanging principles can be very handy in technological survival. However, college is an ineffective way to keep up with technology. College courses typically teach technology two to ten years old in a world with two year technology lifespans. \begin_inset LatexCommand index name "college|)" \end_inset \end_layout = Finally, the following is the contents of my makeidx config file, which is called rl_21.ist = suffix_2p " " delim_r "--" = So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Did something about indexes change between 1.5.x and 1.6.x?
So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? 4 Hours!? I thought you were the troubleshooting guru! (Sorry - couldn't resist) ;-)
Re: Did something about indexes change between 1.5.x and 1.6.x?
On Wednesday 26 August 2009 12:51:51 James C. Sutherland wrote: > > So, before I devote 4 hours to troubleshooting, does anyone have any > > suggestions on what to try either to resolve the problem or how to > > narrow it > > down? > > 4 Hours!? I thought you were the troubleshooting guru! > (Sorry - couldn't resist) > ;-) :-) Reminds me of my mentor at the Pacific Stereo service department. When a fellow technician asked him how he fixed so many stereos every day, he said his fingers were like divining rods leading him to the bad transistor. I still haven't gotten that divining rod thing down, so 4 hours is still my story and I'm still sticking to it :-) But YOU can make it 10 minutes if you just tell me what changed about indexing between 1.5.x and 1.6.x. :-) SteveT
Re: Did something about indexes change between 1.5.x and 1.6.x?
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? Could you provide a small example file (ideally both the original LyX 1.5 and the converted LyX 1.6 version)? Jürgen
Re: Did something about indexes change between 1.5.x and 1.6.x?
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.inddone (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
Re: Did something about indexes change between 1.5.x and 1.6.x?
OK, I've researched it a little more, and during the lyx --export latex, LyX is converting a LyX idx inset containing "chapter 2|(" without the quotes to the following LaTeX: \index{chapter 2|(@chapter 2\textbar{}(} The stuff from the "@" through the last "(" is superflous and causes errors. I have two choices: 1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when converting from LyX to latex, or 2) Create a computer program to go through my entire LaTeX file after export, and remove all of those little extras. That would be incredibly kludgy and I'd prefer not do do it. So does anyone know why LyX 1.6.3 adds the extraneous material on range index entries, and how I can turn off this behavior? Thanks SteveT On Wednesday 26 August 2009 13:35:22 Steve Litt wrote: > 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.inddone (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
Re: Did something about indexes change between 1.5.x and 1.6.x?
Steve Litt schreef: OK, I've researched it a little more, and during the lyx --export latex, LyX is converting a LyX idx inset containing "chapter 2|(" without the quotes to the following LaTeX: \index{chapter 2|(@chapter 2\textbar{}(} The stuff from the "@" through the last "(" is superflous and causes errors. I have two choices: 1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when converting from LyX to latex, or 2) Create a computer program to go through my entire LaTeX file after export, and remove all of those little extras. That would be incredibly kludgy and I'd prefer not do do it. So does anyone know why LyX 1.6.3 adds the extraneous material on range index entries, and how I can turn off this behavior? LyX adds the stuf _before_ the @ to ensure that the entries are sorted correctly. For example if you have \index{\LyX}, then this would be sorted on top of the list, not among the other index entries that start with an l. Therefore lyx outputs \index{...@\lyx}. LyX does so whenever there is any character in the entry that is 'escaped' or a macro. In your case, LyX clearly thinks that he has to translate | into \textbar{}... , but this is wrong. LyX has learned to recognize the |. Your testfile works perfectly for me with 1.6.3. Vincent