Index on manual in Latex (to Andrey)
Hi, Andrey. Phyllis put an Index to the CinGG manual in Latex (see git). But I can't get it to work in TexStudio. I put the following line in Configure --> Commands --> Makeindex: makeindex -s nomencl.ist -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo but if I try to build it via Tools --> Commands --> MakeIndex I get the following error: "Process started: makeindex -s nomencl.ist -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo Input index file CinelerraGG_Manual.nlo not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...] Process exited with error(s)" Actually the CinelerraGG_Manual.nlo file exists, but it is the one created for the glossary and in fact contains the glossary entries. Can you suggest a solution?
Andrea, Check to see if the file CinelerraGG_Manual.idx exists (in the same place where CinelerraGG_Manual.nlo exists). Making the index is simpler than the glossary. I think the line should just be "makeindex CinelerraGG_Manual.idx" instead of the Glossary line. On Fri, Dec 11, 2020 at 5:55 AM Andrea paz via Cin < [email protected]> wrote:
Hi, Andrey. Phyllis put an Index to the CinGG manual in Latex (see git). But I can't get it to work in TexStudio. I put the following line in Configure --> Commands --> Makeindex:
makeindex -s nomencl.ist -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo
but if I try to build it via Tools --> Commands --> MakeIndex
I get the following error:
"Process started: makeindex -s nomencl.ist -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo
Input index file CinelerraGG_Manual.nlo not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Process exited with error(s)"
Actually the CinelerraGG_Manual.nlo file exists, but it is the one created for the glossary and in fact contains the glossary entries. Can you suggest a solution? -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
On Fri, 11 Dec 2020, Andrea paz via Cin wrote:
"Process started: makeindex -s nomencl.ist -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo
Input index file CinelerraGG_Manual.nlo not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
I just tried to translate the manual from command line: pdflatex CinelerraGG_Manual pdflatex CinelerraGG_Manual pdflatex CinelerraGG_Manual makeindex -s nomencl -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo pdflatex CinelerraGG_Manual It simply works and places Glossary before the list of tables/figures. No problem at all when run from command line. _______________________________________________________________________________ Georgy Salnikov NMR Group Novosibirsk Institute of Organic Chemistry Lavrentjeva, 9, 630090 Novosibirsk, Russia Phone +7-383-3307864 Email [email protected] _______________________________________________________________________________
I have to run "pdflatex CinelerraGG_Manual" twice before the makeindex, and twice afterwards. If I run it only once afterwards, the List Of Tables gets a wrong page number. MatN On Fri, 11 Dec 2020 23:45:53 +0700 (+07) Georgy Salnikov via Cin wrote:
On Fri, 11 Dec 2020, Andrea paz via Cin wrote:
"Process started: makeindex -s nomencl.ist -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo
Input index file CinelerraGG_Manual.nlo not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
I just tried to translate the manual from command line:
pdflatex CinelerraGG_Manual pdflatex CinelerraGG_Manual pdflatex CinelerraGG_Manual makeindex -s nomencl -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo pdflatex CinelerraGG_Manual
It simply works and places Glossary before the list of tables/figures. No problem at all when run from command line. _______________________________________________________________________________
Georgy Salnikov NMR Group Novosibirsk Institute of Organic Chemistry Lavrentjeva, 9, 630090 Novosibirsk, Russia Phone +7-383-3307864 Email [email protected] _______________________________________________________________________________
Georgy, I just tried to translate the manual from command line:
pdflatex CinelerraGG_Manual pdflatex CinelerraGG_Manual pdflatex CinelerraGG_Manual makeindex -s nomencl -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo pdflatex CinelerraGG_Manual
It simply works and places Glossary before the list of tables/figures. No problem at all when run from command line.
I added an index (with just a couple of entries until more can be added).
So this takes 2 more lines. I just use the simple command lines in a shell: #!/bin/bash pdflatex CinelerraGG_Manual.tex makeindex -s nomencl.ist -o CinelerraGG_Manual.nls CinelerraGG_Manual.nlo pdflatex CinelerraGG_Manual.tex makeindex CinelerraGG_Manual.idx pdflatex CinelerraGG_Manual.tex
Hi Andrea and others! Right now I'm using Vim with vimtex plugin, so I leave glossary generation to latexmk script. And it seems that new version of TexStudio overwrites my old config. So I'll quote one of my previous emails:
In my TeXstudio setup I use separate >command for glossary creation. To do so, go to Options-> Configure >TeXstudio -> Commands. Change Makeindex command to: makeindex %.nlo -s nomencl.ist -o %.nls Click Ok and go to Tools -> Commands -> >Makeindex.
Here the latexmk config for glossary: # Custom dependency and function for nomencl package add_cus_dep( 'nlo', 'nls', 0, 'makenlo2nls' ); sub makenlo2nls { system( "makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"" ); } I've compiled the last version from git and glossary works as expected. P.S. The new version of Cinelera's manual is really eye candy! You are done a very good job to create it. P.P.S The first page uses a raster image with relative low resolution, I think it should be changed into vector one. Best regards, Andrey
Despite the error I reported, CinelerrGG_Manual.idx is created. The result of the pdf, however, is to have two Glossaries and not a Glossary and an Index. It seems to me that the makeindex command works for both the Glossary and Index, and only a double Glossary comes out of this overlap. I remember that I'm talking about TexStudio, and not the terminal. PS: the cover image was created by Sam for the CinGG start splash screen. I don't think a svg version exists. Sam, do you confirm?
Andrea, I put the latest Manual update on the website and it only has one Glossary and then the List of Tables/Figures and finally the Index. I was able to use the index from there. Entries for the Index are simply next to an item as \index{phrase you want to go into the index} . You can see an example in Plugins.tex for Motion51. So I do not know why you would be getting 2 glossaries but maybe it is because of running "makeindex" twice? and maybe there is a way to make it create both the Glossary and the index at the same time? Also, updated releasenotes.pdf to reflect the Prores improvements you made that were checked into GIT today. On Fri, Dec 11, 2020 at 2:31 PM Andrea paz via Cin < [email protected]> wrote:
Despite the error I reported, CinelerrGG_Manual.idx is created. The result of the pdf, however, is to have two Glossaries and not a Glossary and an Index. It seems to me that the makeindex command works for both the Glossary and Index, and only a double Glossary comes out of this overlap. I remember that I'm talking about TexStudio, and not the terminal.
PS: the cover image was created by Sam for the CinGG start splash screen. I don't think a svg version exists. Sam, do you confirm? -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Hi Andrea, I had created this cover image in Gimp and it only exists as a pixel file, so unfortunately no SVG file exists. Sam Am 11.12.20 um 22:32 schrieb Andrea paz via Cin:
Despite the error I reported, CinelerrGG_Manual.idx is created. The result of the pdf, however, is to have two Glossaries and not a Glossary and an Index. It seems to me that the makeindex command works for both the Glossary and Index, and only a double Glossary comes out of this overlap. I remember that I'm talking about TexStudio, and not the terminal.
PS: the cover image was created by Sam for the CinGG start splash screen. I don't think a svg version exists. Sam, do you confirm?
participants (6)
-
Andrea paz -
Georgy Salnikov -
Nieuwenhoven -
Phyllis Smith -
Sam -
Андрей Спицын