On Wednesday 13 March 2002 13:17, Yvonne Becherini wrote:
> Hallo,
> I've tried to make an index for my book, but lyx does not do anything!
> I'm running LyX 1.1.6Fix4 on RedHat 7.2, gcc-2.96-98.
>
> Yvonne

Here's how I build my index:

Comment: 1. Save the LyX document

Comment: 2. From utp directory, run ./mkidx utp

Comment: 3. If utp.ilg shows errors or warnings, fix and rerun prev steps. A 
no-warning utp.ilg is 6 lines long.

Comment: 4. Save and view postscript

Comment: 5. Make sure the Enjoy! index entry corresponds to the last page of 
the last chapter.

Comment: Note: This works only if you have \usepackage{makeidx} and 
\makeindex at the top of the preamble, and if the \printindex{} above this 
comment remains intact.


And here's the  mkidx program:

rm -f $1.aux
rm -f $1.dvi
rm -f $1.idx
rm -f $1.ilg
rm -f $1.ind
rm -f $1.log
rm -f $1.tex
rm -f $1.toc
lyx --export latex $1.lyx
latex $1.tex
makeindex $1.idx
konqueror $1.ind $1.ilg

There are simpler ways, but my method works around issues where inserting an 
index button doesn't do the right thing. Note also that there's a lot of 
valuable information in ind.dvi and makeindex.dvi. On my Mandrake 8 box those 
are in /usr/share/texmf/doc/makeindex/. Your mileage may vary.

Steve

-- 
_____________________________________________________________
Steve Litt
Author: 
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com/bookstore/

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-------------------------------------------------------------



Reply via email to