novathesis icon indicating copy to clipboard operation
novathesis copied to clipboard

List of List of Algorithms > character inserted

Open poliveiraIPB opened this issue 1 year ago • 2 comments

Hi, Im using the List of Algorithms. Configured in this way:

\ntaddlistof{tableofcontents} % The Table of Contents. Probably you want ot leave this as is! ;) \ntaddlistof{listoffigures} % The List of Figures. Comment to omit. \ntaddlistof{listoftables} % The List of Tables. Comment to omit. %\@ifpackageloaded{algorithm2e} % The List of Algorithms for package “algorithm2e”. % {\ntaddlistof{listofalgorithms}}{} % The List of Algorithms for Algorithm2e \@ifpackageloaded{algorithm} % The List of Algorithms for package “algorithms”. {\ntaddlistof{listofalgorithms}}{} \@ifpackageloaded{listings} % The List of Listings for package “listings”. {\ntaddlistof{lstlistoflistings}}{} \@ifpackageloaded{minted} % The List of Listings for the “minted” package. {\ntaddlistof{listoflistings}}{} \ntaddlistof{listsofglossaries} % The Glossary, and the lists of Acronyms and Symbols

But the Index always shown a > character after the last index item.

list_alg

poliveiraIPB avatar Aug 08 '22 10:08 poliveiraIPB

That because you have the ">" somewhere! :) Which test editor are you using? If it allows to do a global search (in all the files), search for ">" inside the folder "Chapters". I believe you'll find it. Let me know...

joaomlourenco avatar Aug 08 '22 17:08 joaomlourenco

I already do that, and I have no character. t will only appears when I enable the list of algorithms. I will also try with only one algorithm line, and it will appears. Also without any algorithm it will appears as the image.

So must be something on the list of algorithms generation.

Captura de ecrã 2022-08-09, às 10 03 51

poliveiraIPB avatar Aug 09 '22 09:08 poliveiraIPB

Humm… which version are you using? Please update to the latest version (please be aware of the change in the way keywords are written in the abstract) and let me know if you still have the same problem.

joaomlourenco avatar Aug 16 '22 19:08 joaomlourenco

Humm… which version are you using? Please update to the latest version (please be aware of the change in the way keywords are written in the abstract) and let me know if you still have the same problem.

Hi, i upgrade now to the last version [6.10.1].

And the problem remains.

I think i found a bug.

At 6_list_of.tex

You have: \@ifpackageloaded{algorithms} % The List of Algorithms for package “algorithms”. {\ntaddlistof{lstlistoflistings}}{}

But for me only work with:

\@ifpackageloaded{algorithm} % The List of Algorithms for package “algorithms”. {\ntaddlistof{listofalgorithms}}{}

Because the package i use is: algorithm And if i stay with lstlistoflistings, the list is show wit title List of Listings, and the > character is not show.

But when I change to listofalgorithms, the character > appears.

poliveiraIPB avatar Aug 17 '22 10:08 poliveiraIPB

I found the error at novathesis.cls line 867.

Captura de ecrã 2022-08-17, às 11 54 38

poliveiraIPB avatar Aug 17 '22 10:08 poliveiraIPB

@poliveiraIPB thank you for the bug report and bug diagnosis! 👍 Also, thanks for the note on the \listofalgorithms. I fixed the file Config/6_list_of.tex. Hope everything is ok now.

joaomlourenco avatar Aug 19 '22 09:08 joaomlourenco