Re: Generating index when compiling document

2022-12-03 Thread Dr Eberhard W Lisse
Running an 8 yrar old Linux. Hmm. el On 02/12/2022 01:01, Rich Shepard wrote: > On Fri, 2 Dec 2022, Udicoudco wrote: > >> Which latex distribution did you install and which operating system are >> you working on? > > Udi, > > Slackware-14.2/x86_64 and texlive-2021.210418-x86_64-1slint. > >

Re: Generating index when compiling document

2022-12-03 Thread Dr Eberhard W Lisse
WHat I am seeing is that texindy is not (properly) installed. I would figure out to which slackware package texindy belongs (probably texlive) and reinstall that. el On 02/12/2022 16:33, Rich Shepard wrote: > On Fri, 2 Dec 2022, Herbert Voss wrote: > >> Rich, export your document to LaTeX, go

Re: Generating index when compiling document

2022-12-03 Thread Rich Shepard
On Sat, 3 Dec 2022, Herbert Voss wrote: /usr/local/bin   makes more sense to me Herbert, Slackware puts executables in /usr/bin. Are you really sure, that there is no other copy in your system? which -a texindy One copy only. But the texindy.pl installed had 544 perms. When I changed

Re: Generating index when compiling document [RESOLVED]

2022-12-03 Thread Herbert Voss
Am 03.12.22 um 01:08 schrieb Rich Shepard: On Fri, 2 Dec 2022, Rich Shepard wrote: Okay. Found the problem, but the solution doesn't work. Well, part of the problem. I had texindy.pl in the wrong directory and it had perms 544. Moving it to /usr/share/texmf-dist-scripts/xindy/ and

Re: Generating index when compiling document

2022-12-02 Thread Herbert Voss
Am 02.12.22 um 20:47 schrieb Rich Shepard: On Fri, 2 Dec 2022, Rich Shepard wrote: $ texindy biota-to-set-wq-standards.idx texindy: not a symlink as required for TeX Live at /usr/bin/texindy line 414. Okay. Found the problem, but the solution doesn't work. I copied texindy.pl into

Re: Generating index when compiling document [RESOLVED]

2022-12-02 Thread Rich Shepard
On Fri, 2 Dec 2022, Rich Shepard wrote: Okay. Found the problem, but the solution doesn't work. Well, part of the problem. I had texindy.pl in the wrong directory and it had perms 544. Moving it to /usr/share/texmf-dist-scripts/xindy/ and changing the perms to 755 got it working. I now have

Re: Generating index when compiling document

2022-12-02 Thread Rich Shepard
On Fri, 2 Dec 2022, Rich Shepard wrote: $ texindy biota-to-set-wq-standards.idx texindy: not a symlink as required for TeX Live at /usr/bin/texindy line 414. Okay. Found the problem, but the solution doesn't work. I copied texindy.pl into /usr/share/texmf-dist/scripts/ where its perms are

Re: Generating index when compiling document

2022-12-02 Thread Rich Shepard
On Fri, 2 Dec 2022, Rich Shepard wrote: They're perl scripts and don't need the package manager; I'll just have root copy them (without the .pl extension) to /usr/bin/. I copied xindy.pl and texindy.pl to /usr/share/texmf-dist/scripts/xindy/. And, the two files, minux the .pl extension, to

Re: Generating index when compiling document

2022-12-02 Thread Rich Shepard
On Fri, 2 Dec 2022, Herbert Voss wrote: it is part of the xindy package. Attached both scripts. You should also be able to reinstall xindy with your package manager. Hrbert, Thank you. They're perl scripts and don't need the package manager; I'll just have root copy them (without the .pl

Re: Generating index when compiling document

2022-12-02 Thread Rich Shepard
On Fri, 2 Dec 2022, Herbert Voss wrote: what does which texindy $ which texindy /usr/bin/texindy and which xindy $ which xindy /usr/bin/xindy xindy -C utf8 -I latex file.idx $ xindy -C utf8 -I latex biota-to-set-wq-standards.idx *** - PROGN: variable LANG/GENERAL/UTF8-LANG.XDY has no

Re: Generating index when compiling document

2022-12-02 Thread Herbert Voss
Am 02.12.22 um 15:33 schrieb Rich Shepard: Yesterday I ran texindy on the *.idx file in /tmp; today produced the same result. Exported document to latex (pdflatex). $ pdflatex biota-to-set-wq-standards.tex $ texindy biota-to-set-wq-standards.idx texindy: not a symlink as required for TeX

Re: Generating index when compiling document

2022-12-02 Thread Rich Shepard
On Fri, 2 Dec 2022, Herbert Voss wrote: Rich, export your document to LaTeX, go into the directory of the exported code and then run pdflatex texindy file.idx then you'll see what happens. If you know the temporary directory of the LyX files, you can also run texindy in that directory with the

Re: Generating index when compiling document

2022-12-02 Thread Herbert Voss
Am 02.12.22 um 14:46 schrieb Rich Shepard: On Fri, 2 Dec 2022, Herbert Voss wrote: Did you insert the command »Insert -> Lists -> Index«  into your document? Yes. Since texindy is a perl script I'll look for a newer version to replace it. Rich, export your document to LaTeX, go into

Re: Generating index when compiling document

2022-12-02 Thread Rich Shepard
On Fri, 2 Dec 2022, Herbert Voss wrote: Did you insert the command »Insert -> Lists -> Index«  into your document? Herbert, Yes. Since texindy is a perl script I'll look for a newer version to replace it. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org

Re: Generating index when compiling document

2022-12-01 Thread Herbert Voss
Am 01.12.22 um 22:47 schrieb Rich Shepard: On Thu, 1 Dec 2022, Herbert Voss wrote: After running texindy there must be *.ind file which will be input by \printindex That's what I thought, but it's not there. Where should I look for the reason? Did you insert the command »Insert ->

Re: Generating index when compiling document

2022-12-01 Thread Rich Shepard
On Fri, 2 Dec 2022, Udicoudco wrote: Which latex distribution did you install and which operating system are you working on? Udi, Slackware-14.2/x86_64 and texlive-2021.210418-x86_64-1slint. Rich -- lyx-users mailing list lyx-users@lists.lyx.org

Re: Generating index when compiling document

2022-12-01 Thread Udicoudco
On Fri, Dec 2, 2022 at 12:12 AM Rich Shepard wrote: > > On Fri, 2 Dec 2022, Udicoudco wrote: > > > Udi, > > Interesting result: > # texindy biota-to-set-wq-standards.idx > texindy: not a symlink as required for TeX Live at /usr/bin/texindy line 414. > > Here's that function, starting at line 409:

Re: Generating index when compiling document

2022-12-01 Thread Rich Shepard
On Fri, 2 Dec 2022, Udicoudco wrote: If you open your terminal, cd to the temp directory and write:texindy biota-to-set-wq-standards.idx does this produce a file called biota-to-set-wq-standards.ind? Udi, Interesting result: # texindy biota-to-set-wq-standards.idx texindy: not a symlink as

Re: Generating index when compiling document

2022-12-01 Thread Udicoudco
On Thu, Dec 1, 2022 at 11:48 PM Rich Shepard wrote: > > On Thu, 1 Dec 2022, Herbert Voss wrote: > > Herbert, > > That's what I thought, but it's not there. Where should I look for the > reason? > > Thanks, > > Rich Rich, If you open your terminal, cd to the temp directory and write:texindy

Re: Generating index when compiling document

2022-12-01 Thread Rich Shepard
On Thu, 1 Dec 2022, Herbert Voss wrote: After running texindy there must be *.ind file which will be input by \printindex Herbert, That's what I thought, but it's not there. Where should I look for the reason? Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org

Re: Generating index when compiling document

2022-12-01 Thread Herbert Voss
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

Re: Generating index when compiling document

2022-12-01 Thread Rich Shepard
On Thu, 1 Dec 2022, Udicoudco wrote: Try to delete the files in the temporary directory and export to pdf again. Udi, No change in the /tmp/* files, no index in the PDF. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: Generating index when compiling document

2022-12-01 Thread 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

Re: Generating index when compiling document

2022-12-01 Thread Udicoudco
On Thu, Dec 1, 2022 at 11:31 PM Rich Shepard wrote: > > On Thu, 1 Dec 2022, Udicoudco wrote: > > Udi, > > I mis-remembered the Tools -> Preferences -> Output/LaTeX -> Index > generation processor. It's texindy. > > Thanks, > > Rich Rich, Try to delete the files in the temporary directory and

Re: Generating index when compiling document

2022-12-01 Thread Rich Shepard
On Thu, 1 Dec 2022, Udicoudco wrote: If you want to produce an index for LaTeX documents, the command texindy (1) is probably more of interest for you. It is a wrapper for xindy that turns on many LaTeX conventions by default." Udi, I mis-remembered the Tools -> Preferences -> Output/LaTeX

Re: Generating index when compiling document

2022-12-01 Thread Udicoudco
On Thu, Dec 1, 2022 at 10:16 PM Rich Shepard wrote: > > On Thu, 1 Dec 2022, Rich Shepard wrote: > > > Your memory is correct. I did that yesterday and I have the little > > white-filled box with 'Index' placed after the bibliography. But, when the > > file is compiled with pdflatex there's no

Re: Generating index when compiling document

2022-12-01 Thread Rich Shepard
On Thu, 1 Dec 2022, Rich Shepard wrote: Your memory is correct. I did that yesterday and I have the little white-filled box with 'Index' placed after the bibliography. But, when the file is compiled with pdflatex there's no index at the end. That's the part I'm missiing. And, yes, I added a

Re: Generating index when compiling document

2022-12-01 Thread Udicoudco
On Thu, Dec 1, 2022 at 10:01 PM Rich Shepard wrote: > On Thu, 1 Dec 2022, Udicoudco wrote: > > > If I remember correctly, it can be found in Insert->List/TOC->Index > > List. > > Udi, > > Your memory is correct. I did that yesterday and I have the little > white-filled box with 'Index' placed

Re: Generating index when compiling document

2022-12-01 Thread Rich Shepard
On Thu, 1 Dec 2022, Udicoudco wrote: If I remember correctly, it can be found in Insert->List/TOC->Index List. Udi, Your memory is correct. I did that yesterday and I have the little white-filled box with 'Index' placed after the bibliography. But, when the file is compiled with pdflatex

Re: Generating index when compiling document

2022-12-01 Thread Udicoudco
On Thu, Dec 1, 2022 at 9:54 PM Rich Shepard wrote: > Section 6.6.6 (Index Program) in the User Guide told me to look in the > document's preferences for the index-related tools installed here. I have > both xindy and makeindex installed (xindy is the default selection), and > I've no idea what