Page LayoutRemove only 1 entry from table of contents

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Moustique
Posts: 3
Joined: Fri Apr 20, 2012 4:16 pm

Remove only 1 entry from table of contents

Post by Moustique »

Hi,

So I am writing my thesis and I need a glossary. The package I am using for that is the gloss package. Problem is, it is apparently incorporated into the package to create an entry in the table of contents but the entry it produces is quite terrible, misaligned, misfonted etc... so I would like to remove it, but I just can't figure out how.
Anyone would have an idea?

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Remove only 1 entry from table of contents

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Before we fix that - are you sure that you would like to use the gloss package? Did you check if the glossaries package would be good for your purpose? Because this package is a very good one, provides many options and some styles, allows many customizations and is very well documented.

Stefan
LaTeX.org admin
Moustique
Posts: 3
Joined: Fri Apr 20, 2012 4:16 pm

Re: Remove only 1 entry from table of contents

Post by Moustique »

Hi!

Thanks for answering so fast :)
So here is the problem, I am using a cls file which I haven't made and to which I don't understand much! I tried using the glossaries package instead and while it doesn't per say bug, it doesn't output anything either... I didn't get any error message but when using makeindex it would tell me that the .glo is empty and so is the .gls, even if I had added entries... And no glossary page was actually showing up so I gave up... I just guessed that somewhere there was an incompatibility with the cls file or something and that's why I switched back to the gloss package... :(
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Remove only 1 entry from table of contents

Post by Stefan Kottwitz »

Moustique wrote:So here is the problem, I am using a cls file which I haven't made and to which I don't understand much!
Do you have to use it? Or did you just get it from somewhere?
Moustique wrote:I tried using the glossaries package instead and while it doesn't per say bug, it doesn't output anything either...
Perhaps this can be solved, with the log file or better a Infominimal working example which shows that problem. The author of the package also visits this forum and helps with questions regarding the package.
Moustique wrote:I just guessed that somewhere there was an incompatibility with the cls file or something and that's why I switched back to the gloss package.
I think it's compatible to common classes. Perhaps attach your class file to a post, if it's not confidential.

Stefan
LaTeX.org admin
Moustique
Posts: 3
Joined: Fri Apr 20, 2012 4:16 pm

Remove only 1 entry from table of contents

Post by Moustique »

Do you have to use it? Or did you just get it from somewhere?
Yeah I do have to use it. And everything works fine in it (except the glossary) so I don't want to try to make one myself.. I don't have time (nor skill) for that.
Perhaps this can be solved, with the log file or better a minimal working example which shows that problem. The author of the package also visits this forum and helps with questions regarding the package.
So I can't give you a minimal example because I have no idea how to reproduce the problem but here is what I do, and maybe you will find soemthing that I do wrong:

In my thesis.tex:

Code: Select all

\usepackage{glossaries}
\makeglossary
.
.
. blah blah blah bunch of includes

Code: Select all

\printglossary
In my chapter.tex:

Code: Select all

\newglossaryentry{greekletter}{name={Greek letters},description={ploum}}
Then I do makeindex and that's what I get:

Code: Select all

makeindex -s thesis.ist -t thesis.glg -o thesis.gls thesis.glo
This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support).
Scanning style file ./thesis.ist...........................done (27 attributes redefined, 0 ignored).
Scanning input file thesis.glo...done (0 entries accepted, 1 rejected).
Nothing written in thesis.gls.
Transcript written in thesis.glg.
Like I said, there is no error per say... just emptiness... nothing shows up... no glossary page (even empty) no nothing... and no error... so errr. :)
Oh btw maybe I should mention I use kile? Who knows if that's the problem!
Perhaps attach your class file to a post
You mean the cls file? I don't think I have the right to... it's the university one :(

Thanks again for your help btw! I appreciate it alot!
Post Reply