GeneralHow to integrate a customized chapter?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

How to integrate a customized chapter?

Post by carol »

Hi,
I have a list of abbreviations that comes after the list of Tables in my document. First, I don't know how to make a customized title (like chapter title, bold, big font size, unnumbered...) for "list of abbreviations". Second, it's List of tables that appear on the pages of "list of abbreviation". So this customized title should replace the title "list of Tables" the pages of "list of abbreviation".

Moreover, I get page numbering problem in the table of contents perhaps because the "list of abbreviation" that is not considered as a separate or independent chapter. that is, in the table of contents I get

List of Figures 3
List of Tables 5
List of Abbreviations 6
chapter1 4

cheers,

Recommended reading 2024:

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

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

How to integrate a customized chapter?

Post by phi »

Hello,
before trying to do everything manually, consider using one of the many packages that provide complete solution for this kind of lists. A quite flexible one is the glossaries package.
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: How to integrate a customized chapter?

Post by carol »

I installed glossaries package and every thing seemed to be fine. Although glossaries.sty is in /usr/share/texmf/texmf/tex/latex/glossaries/base, on use of /usepackage{glossaries}, I get

File `glossaries.sty' not found.

How could the file be found by latex in the right directory?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to integrate a customized chapter?

Post by localghost »

Don't forget to update the file name database by a texhash in a terminal. Afterwards check whether the package file can be found in the directory tree.

Code: Select all

kpsewhich glossaries.sty

Best regards
Thorsten¹
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: How to integrate a customized chapter?

Post by carol »

I did update the database
texhash texmf
texhash: Updating /usr/share/texmf/texmf/ls-R...
texhash: Done.

kpsewhich glossaries.sty
gives nothing

cheers,

carol
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: How to integrate a customized chapter?

Post by phi »

Which distribution and OS are you running?
Normally, texhash doesn't need a directory name, simply run it as root without options.
And, above all, avoid copying any files to /usr/share manually, they will be deleted during your next update (on Linux at least). Use a tree in /usr/local or in your home directory.
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: How to integrate a customized chapter?

Post by carol »

I use linux, FC10

I followed the installation instructions on http://mirror.switch.ch/ftp/mirror/tex/ ... es/INSTALL. As stated, I installed in /usr/share/ and also texhash is used with option ~/texmf/.

Nevertheless, I installed glossaries in /usr/local and used texhash without option. it doesn't help the situation: File `glossaries.sty' not found
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: How to integrate a customized chapter?

Post by carol »

Do you advise any thing else that should be done?
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: How to integrate a customized chapter?

Post by phi »

The double texmf in /usr/share/texmf/texmf/ seems to be a bit weird. Try putting the files in ~/texmf/tex/latex/glossaries without running texhash. If you have TeX Live 2008, please use the package manager instead.
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: How to integrate a customized chapter?

Post by carol »

Now glossaries package is functional.

How is it possible now to define a chapter without a title of "list of Abbreviation" without numbering nor predceding by "Chapter"?

Moreover, how is it possible to define the width between the acronym (short form) to long description without using dots (like \glslistdottedwidth but without dotting)?

A general question is that if nomencl and acronym packages would do the job that I specified (just a list of abbreviation)? Does acronym sort the entries (like nomencl with [prefix])? How to fix the width between short and long forms of acronyms with nomencl and acronym packages?
Post Reply