Generating index when compiling document

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Dec 1 21:43:18 UTC 2022



Am 01.12.22 um 22:38 schrieb Rich Shepard:
> On Thu, 1 Dec 2022, Udicoudco wrote:
>
>> I also suggest that after you switch from xindy to texindy (or 
>> makeindex)
>> in the preferences menu, open the temporary directory where lyx compiles
>> all the files (to do so, create a latex error on purpose by writing
>> \undefined in ERT for example, press on view complete log, and then open
>> containing directory), and delete all the files there (or atleast files
>> with .idx and .ind extensions).
>
> Udi,
>
> No switching required. And in /tmp/lyx_tmpdir.laolWovT9417/lyx_tmpbuf0 is
> the list of files:
> biota-to-set-wq-standards-blx.bib
> biota-to-set-wq-standards.aux
> biota-to-set-wq-standards.bbl
> biota-to-set-wq-standards.blg
> biota-to-set-wq-standards.idx


After running texindy there must be *.ind file which will be input by
\printindex

Herbert



> biota-to-set-wq-standards.lof
> biota-to-set-wq-standards.log
> biota-to-set-wq-standards.lot
> biota-to-set-wq-standards.pdf
> biota-to-set-wq-standards.run.xml
> biota-to-set-wq-standards.tex
> biota-to-set-wq-standards.tex.dep-pdf
> biota-to-set-wq-standards.toc
>
> And the *.idx file contains:
> \indexentry{Water Pollution Control Act}{xiii}
> \indexentry{Clean Water Act}{xiii}
> \indexentry{CWA| see(Clean Water Act)}{xiii}
> \indexentry{Water quality standards}{xiii}
> \indexentry{Maximum concentration limit}{xiii}
> \indexentry{MCL| see(Water quality standard)}{xiii}
> \indexentry{Designated use}{xiii}
> \indexentry{Beneficial use| see (Designated use)}{xiii}
> \indexentry{Aquatic biota}{xiii}
> \indexentry{Ambient water quality}{xiii}
>
> So why don't these appear in the PDF?
>
> Rich



More information about the lyx-users mailing list